{"_id":"@canton-network/core-splice-codegen","_rev":"6-a40cadec0191cf23a84ff2fd3d43870b","name":"@canton-network/core-splice-codegen","dist-tags":{"latest":"1.2.4"},"versions":{"1.1.0":{"name":"@canton-network/core-splice-codegen","version":"1.1.0","author":"Mateusz Piątkowski <mateusz.piatkowski@digitalasset.com>","license":"Apache-2.0","_id":"@canton-network/core-splice-codegen@1.1.0","maintainers":[{"name":"ov4_da","email":"oscar.valle@digitalasset.com"},{"name":"cantonfoundation","email":"amanda@canton.foundation"},{"name":"nycnewman","email":"edward@digitalasset.com"},{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},{"name":"asangeethada","email":"abhi.sangeetha@digitalasset.com"}],"homepage":"https://github.com/canton-network/wallet/tree/main/core/splice-codegen#readme","bugs":{"url":"https://github.com/canton-network/wallet/issues"},"dist":{"shasum":"11b82a074638f086c518209d5f5d7ed4990ccba3","tarball":"https://registry.npmjs.org/@canton-network/core-splice-codegen/-/core-splice-codegen-1.1.0.tgz","fileCount":31,"integrity":"sha512-5gZyytbM6BPXLHoqrizX6Fp1EnaEKkxDcbNIGWCDi5QN+2cMa7myATTRx4E146v0ruGUxC7GfFZQb9xquD4jJw==","signatures":[{"sig":"MEUCIQChWMAxAsPNSJGvGc3UD91HpM7oWeteGYhD9va2tx0JcQIgVMr5BRB90/WhZK7zSBRIPSH/3kabhCAUyPaYW1p/fUw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1192491},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","browser":"./dist/index.browser.js","default":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"rollup -c -w","build":"pnpm --workspace-root generate:codegen && pnpm clean && rollup -c && pnpm clean:types-tmp","clean":"rm -rf dist","flatpack":"pnpm pack --pack-destination \"$FLATPACK_OUTDIR\"","clean:types-tmp":"rm -rf dist/types"},"_npmUser":{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},"repository":{"url":"git+https://github.com/canton-network/wallet.git","type":"git","directory":"core/splice-codegen"},"description":"daml codegen js for default packages","directories":{},"_nodeVersion":"26.0.0","dependencies":{"zod":"^4.4.3","uuid":"^14.0.0","lodash":"^4.18.1","@daml/types":"^3.5.2","openapi-fetch":"^0.17.0","@canton-network/core-types":"^1.11.0","@canton-network/wallet-sdk":"^1.4.0","@mojotech/json-type-validation":"^3.1.0","@canton-network/core-wallet-auth":"^1.11.0","@canton-network/core-token-standard":"^1.11.0","@canton-network/core-ledger-client-types":"^1.11.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.62.0","playwright":"^1.60.0","typescript":"^5.9.3","@types/node":"^25.9.3","rollup-plugin-dts":"^6.4.1","@rollup/plugin-json":"^6.1.0","@rollup/plugin-alias":"^5.1.1","@rollup/plugin-commonjs":"^29.0.3","@rollup/plugin-typescript":"^12.3.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/core-splice-codegen_1.1.0_1788288044611_0.999265430059388","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@canton-network/core-splice-codegen","version":"1.2.0","author":"Mateusz Piątkowski <mateusz.piatkowski@digitalasset.com>","license":"Apache-2.0","_id":"@canton-network/core-splice-codegen@1.2.0","maintainers":[{"name":"ov4_da","email":"oscar.valle@digitalasset.com"},{"name":"cantonfoundation","email":"amanda@canton.foundation"},{"name":"nycnewman","email":"edward@digitalasset.com"},{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},{"name":"asangeethada","email":"abhi.sangeetha@digitalasset.com"}],"homepage":"https://github.com/canton-network/wallet/tree/main/core/splice-codegen#readme","bugs":{"url":"https://github.com/canton-network/wallet/issues"},"dist":{"shasum":"840617196ce681196ec81edaaa82fb7e85ddf16f","tarball":"https://registry.npmjs.org/@canton-network/core-splice-codegen/-/core-splice-codegen-1.2.0.tgz","fileCount":35,"integrity":"sha512-c51gYJpCV5peyzh0URNtumnhqYLgwrZJok1pjtV1rwA1lNTrWaFBxb5SkSn/Spto0x7gIjGV4E1pfPFrTUq6jQ==","signatures":[{"sig":"MEUCIQDs6GOOjY+XomvMolwk9FqWacykCAYhk7IYtCWOF8dZlQIgU8cZj3Ycvb+vJeyTXN05MkDkZIJbz6YTkPZfOE53aPc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1191570},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","browser":"./dist/index.browser.js","default":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"rollup -c -w","build":"pnpm --workspace-root generate:codegen && pnpm clean && rollup -c && pnpm clean:types-tmp","clean":"rm -rf dist","flatpack":"pnpm pack --pack-destination \"$FLATPACK_OUTDIR\"","clean:types-tmp":"rm -rf dist/types"},"_npmUser":{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},"repository":{"url":"git+https://github.com/canton-network/wallet.git","type":"git","directory":"core/splice-codegen"},"description":"daml codegen js for default packages","directories":{},"_nodeVersion":"26.0.0","dependencies":{"zod":"^4.4.3","uuid":"^14.0.0","lodash":"^4.18.1","@daml/types":"^3.5.2","openapi-fetch":"^0.17.0","@canton-network/core-types":"^1.12.0","@canton-network/wallet-sdk":"^1.5.0","@mojotech/json-type-validation":"^3.1.0","@canton-network/core-wallet-auth":"^1.12.0","@canton-network/core-token-standard":"^1.12.0","@canton-network/core-ledger-client-types":"^1.12.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.62.0","playwright":"^1.60.0","typescript":"^5.9.3","@types/node":"^25.9.3","rollup-plugin-dts":"^6.4.1","@rollup/plugin-json":"^6.1.0","@rollup/plugin-alias":"^5.1.1","@rollup/plugin-commonjs":"^29.0.3","@rollup/plugin-typescript":"^12.3.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/core-splice-codegen_1.2.0_1788992855118_0.20244023711770653","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@canton-network/core-splice-codegen","version":"1.2.1","author":"Mateusz Piątkowski <mateusz.piatkowski@digitalasset.com>","license":"Apache-2.0","_id":"@canton-network/core-splice-codegen@1.2.1","maintainers":[{"name":"ov4_da","email":"oscar.valle@digitalasset.com"},{"name":"cantonfoundation","email":"amanda@canton.foundation"},{"name":"nycnewman","email":"edward@digitalasset.com"},{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},{"name":"asangeethada","email":"abhi.sangeetha@digitalasset.com"}],"homepage":"https://github.com/canton-network/wallet/tree/main/core/splice-codegen#readme","bugs":{"url":"https://github.com/canton-network/wallet/issues"},"dist":{"shasum":"046970c104b7c30612b811a17aee1a869727b3be","tarball":"https://registry.npmjs.org/@canton-network/core-splice-codegen/-/core-splice-codegen-1.2.1.tgz","fileCount":35,"integrity":"sha512-cim7KzfIvlBc6FIPqX7eWtT6PYc5XLQx1KH9ZY8cc0fs/xMQoHM+l6yPXYSqFGkW57Ex9dk+PySo2mKlcsNugA==","signatures":[{"sig":"MEUCIBRKTvBCu4PqdApcDn8eNBgUydC4BqJePzIWCFsI7XxcAiEAuwjlPVNqQd+4pAQ7zlUjLEszxFD+w4fA6UKCPPvr25M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1191570},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","browser":"./dist/index.browser.js","default":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"rollup -c -w","build":"pnpm --workspace-root generate:codegen && pnpm clean && rollup -c && pnpm clean:types-tmp","clean":"rm -rf dist","flatpack":"pnpm pack --pack-destination \"$FLATPACK_OUTDIR\"","clean:types-tmp":"rm -rf dist/types"},"_npmUser":{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},"repository":{"url":"git+https://github.com/canton-network/wallet.git","type":"git","directory":"core/splice-codegen"},"description":"daml codegen js for default packages","directories":{},"_nodeVersion":"26.0.0","dependencies":{"zod":"^4.4.3","uuid":"^14.0.0","lodash":"^4.18.1","@daml/types":"^3.5.2","openapi-fetch":"^0.17.0","@canton-network/core-types":"^1.12.0","@canton-network/wallet-sdk":"^1.5.0","@mojotech/json-type-validation":"^3.1.0","@canton-network/core-wallet-auth":"^1.12.0","@canton-network/core-token-standard":"^1.12.0","@canton-network/core-ledger-client-types":"^1.12.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.62.0","playwright":"^1.60.0","typescript":"^5.9.3","@types/node":"^25.9.3","rollup-plugin-dts":"^6.4.1","@rollup/plugin-json":"^6.1.0","@rollup/plugin-alias":"^5.1.1","@rollup/plugin-commonjs":"^29.0.3","@rollup/plugin-typescript":"^12.3.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/core-splice-codegen_1.2.1_1789074092568_0.5182790755619486","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@canton-network/core-splice-codegen","version":"1.2.2","author":"Mateusz Piątkowski <mateusz.piatkowski@digitalasset.com>","license":"Apache-2.0","_id":"@canton-network/core-splice-codegen@1.2.2","maintainers":[{"name":"ov4_da","email":"oscar.valle@digitalasset.com"},{"name":"cantonfoundation","email":"amanda@canton.foundation"},{"name":"nycnewman","email":"edward@digitalasset.com"},{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},{"name":"asangeethada","email":"abhi.sangeetha@digitalasset.com"}],"homepage":"https://github.com/canton-network/wallet/tree/main/core/splice-codegen#readme","bugs":{"url":"https://github.com/canton-network/wallet/issues"},"dist":{"shasum":"76147ec31cc9db53a7e09fb7ab42d25ad8760718","tarball":"https://registry.npmjs.org/@canton-network/core-splice-codegen/-/core-splice-codegen-1.2.2.tgz","fileCount":35,"integrity":"sha512-mbdHBI8SDluAM1SwDuLRHih3oHNtaY3OocqNUDeb2HLLjdDZXB5qwja9h1wtQuwpZWTgV8cFy5oeyRSj0OciDw==","signatures":[{"sig":"MEYCIQCZym8fuzAjhW/faC++YjmKXg5EuYdspSZg0lFYIQJjlgIhANHezHBt05JpG3lal20l0DER+ZJI9bgdlfBADkiFRUf5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1191570},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","browser":"./dist/index.browser.js","default":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"rollup -c -w","build":"pnpm --workspace-root generate:codegen && pnpm clean && rollup -c && pnpm clean:types-tmp","clean":"rm -rf dist","flatpack":"pnpm pack --pack-destination \"$FLATPACK_OUTDIR\"","clean:types-tmp":"rm -rf dist/types"},"_npmUser":{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},"repository":{"url":"git+https://github.com/canton-network/wallet.git","type":"git","directory":"core/splice-codegen"},"description":"daml codegen js for default packages","directories":{},"_nodeVersion":"26.0.0","dependencies":{"zod":"^4.4.3","uuid":"^14.0.0","lodash":"^4.18.1","@daml/types":"^3.5.2","openapi-fetch":"^0.17.0","@canton-network/core-types":"^1.12.0","@canton-network/wallet-sdk":"^1.5.1","@mojotech/json-type-validation":"^3.1.0","@canton-network/core-wallet-auth":"^1.12.0","@canton-network/core-token-standard":"^1.12.0","@canton-network/core-ledger-client-types":"^1.12.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.62.0","playwright":"^1.60.0","typescript":"^5.9.3","@types/node":"^25.9.3","rollup-plugin-dts":"^6.4.1","@rollup/plugin-json":"^6.1.0","@rollup/plugin-alias":"^5.1.1","@rollup/plugin-commonjs":"^29.0.3","@rollup/plugin-typescript":"^12.3.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/core-splice-codegen_1.2.2_1789078885054_0.018902351507025683","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@canton-network/core-splice-codegen","version":"1.2.3","author":"Mateusz Piątkowski <mateusz.piatkowski@digitalasset.com>","license":"Apache-2.0","_id":"@canton-network/core-splice-codegen@1.2.3","maintainers":[{"name":"ov4_da","email":"oscar.valle@digitalasset.com"},{"name":"cantonfoundation","email":"amanda@canton.foundation"},{"name":"nycnewman","email":"edward@digitalasset.com"},{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},{"name":"asangeethada","email":"abhi.sangeetha@digitalasset.com"}],"homepage":"https://github.com/canton-network/wallet/tree/main/core/splice-codegen#readme","bugs":{"url":"https://github.com/canton-network/wallet/issues"},"dist":{"shasum":"8125d2c1b805490acb2e6fb3e3123ff505b2ca37","tarball":"https://registry.npmjs.org/@canton-network/core-splice-codegen/-/core-splice-codegen-1.2.3.tgz","fileCount":35,"integrity":"sha512-YRg1OdSAD+2tFNcofd8CZV+YlnFzrH4rOofzSf+qlwhsEfk0vli+tF2RDoaS/EFOz4r/yJ6YAA01dbgFt8teFA==","signatures":[{"sig":"MEYCIQDKo1dC2yBvW6U/tlk7gSM4Hy6QPUhr1js0m3r6Igu9FQIhAMyRdv19t9HBBcB8LPR0gxKMU5yc62ovaTzSQ7dw+sFW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCdKadRffdIccjxGWDNu3WtpZMa+8lY8gFAiJTRl68BYAIgcQSv0axhJf3lvKpUZIpCh9u6xsXT3xDeCcN8lbLPpos=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1191570},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","browser":"./dist/index.browser.js","default":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"rollup -c -w","build":"pnpm --workspace-root generate:codegen && pnpm clean && rollup -c && pnpm clean:types-tmp","clean":"rm -rf dist","flatpack":"pnpm pack --pack-destination \"$FLATPACK_OUTDIR\"","clean:types-tmp":"rm -rf dist/types"},"_npmUser":{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},"repository":{"url":"git+https://github.com/canton-network/wallet.git","type":"git","directory":"core/splice-codegen"},"description":"daml codegen js for default packages","directories":{},"dependencies":{"zod":"^4.4.3","uuid":"^14.0.0","lodash":"^4.18.1","@daml/types":"^3.5.2","openapi-fetch":"^0.17.0","@canton-network/core-types":"^1.12.1","@canton-network/wallet-sdk":"^1.5.2","@mojotech/json-type-validation":"^3.1.0","@canton-network/core-wallet-auth":"^1.12.1","@canton-network/core-token-standard":"^1.12.1","@canton-network/core-ledger-client-types":"^1.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.62.0","playwright":"^1.60.0","typescript":"^5.9.3","@types/node":"^25.9.3","rollup-plugin-dts":"^6.4.1","@rollup/plugin-json":"^6.1.0","@rollup/plugin-alias":"^5.1.1","@rollup/plugin-commonjs":"^29.0.3","@rollup/plugin-typescript":"^12.3.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/core-splice-codegen_1.2.3_1789650863619_0.10411138945496767","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"_id":"@canton-network/core-splice-codegen@1.2.4","bugs":{"url":"https://github.com/canton-network/wallet/issues"},"dist":{"shasum":"a5b560037665d51282566cb2556ecc01b9bbb33f","tarball":"https://registry.npmjs.org/@canton-network/core-splice-codegen/-/core-splice-codegen-1.2.4.tgz","fileCount":35,"integrity":"sha512-biTp6Qd5ibI0JKgzTvR4CBcSN1GTDQOonu5uLfy//hrUy5zrySXu4HJyeMf4IgvUXbvG/XMLGWsY+MYgfMQ7uQ==","signatures":[{"sig":"MEUCIQD8atrNrvkul3qS4lEufA+xQBdr0gPS5Ve8Sz/cVbEFpAIgBhk/O93gFTp1KxUaABgDrCY2Vfo0ILqd2u8cCki7eY0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDHSBvSL5bplTCMva1RFV8DJy4S13KQZ8VyRkC8BVO0lwIhANIw8hMkGkxjTJ0cu9CDqpaNu2/TS/j3sw5Ruej8V9Kq"}],"unpackedSize":1191570},"main":"dist/index.cjs","name":"@canton-network/core-splice-codegen","type":"module","types":"dist/index.d.ts","author":"Mateusz Piątkowski <mateusz.piatkowski@digitalasset.com>","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","browser":"./dist/index.browser.js","default":"./dist/index.js","require":"./dist/index.cjs"}},"license":"Apache-2.0","scripts":{"dev":"rollup -c -w","build":"pnpm --workspace-root generate:codegen && pnpm clean && rollup -c && pnpm clean:types-tmp","clean":"rm -rf dist","flatpack":"pnpm pack --pack-destination \"$FLATPACK_OUTDIR\"","clean:types-tmp":"rm -rf dist/types"},"version":"1.2.4","_npmUser":{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},"homepage":"https://github.com/canton-network/wallet/tree/main/core/splice-codegen#readme","repository":{"url":"git+https://github.com/canton-network/wallet.git","type":"git","directory":"core/splice-codegen"},"description":"daml codegen js for default packages","directories":{},"maintainers":[{"name":"ov4_da","email":"oscar.valle@digitalasset.com"},{"name":"cantonfoundation","email":"amanda@canton.foundation"},{"name":"nycnewman","email":"edward@digitalasset.com"},{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},{"name":"asangeethada","email":"abhi.sangeetha@digitalasset.com"}],"dependencies":{"zod":"^4.4.3","uuid":"^14.0.0","lodash":"^4.18.1","@daml/types":"^3.5.2","openapi-fetch":"^0.17.0","@canton-network/core-types":"^1.12.1","@canton-network/wallet-sdk":"^1.5.3","@mojotech/json-type-validation":"^3.1.0","@canton-network/core-wallet-auth":"^1.12.1","@canton-network/core-token-standard":"^1.12.1","@canton-network/core-ledger-client-types":"^1.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.62.0","playwright":"^1.60.0","typescript":"^5.9.3","@types/node":"^25.9.3","rollup-plugin-dts":"^6.4.1","@rollup/plugin-json":"^6.1.0","@rollup/plugin-alias":"^5.1.1","@rollup/plugin-commonjs":"^29.0.3","@rollup/plugin-typescript":"^12.3.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core-splice-codegen_1.2.4_1789663882978_0.3912098578233021"}}},"time":{"created":"2026-09-01T18:40:44.406Z","modified":"2026-09-17T16:51:23.280Z","1.1.0":"2026-09-01T18:40:44.799Z","1.2.0":"2026-09-09T22:27:35.277Z","1.2.1":"2026-09-10T21:01:32.747Z","1.2.2":"2026-09-10T22:21:25.221Z","1.2.3":"2026-09-17T13:14:23.768Z","1.2.4":"2026-09-17T16:51:23.082Z"},"bugs":{"url":"https://github.com/canton-network/wallet/issues"},"author":"Mateusz Piątkowski <mateusz.piatkowski@digitalasset.com>","license":"Apache-2.0","homepage":"https://github.com/canton-network/wallet/tree/main/core/splice-codegen#readme","repository":{"url":"git+https://github.com/canton-network/wallet.git","type":"git","directory":"core/splice-codegen"},"description":"daml codegen js for default packages","maintainers":[{"name":"ov4_da","email":"oscar.valle@digitalasset.com"},{"name":"cantonfoundation","email":"amanda@canton.foundation"},{"name":"nycnewman","email":"edward@digitalasset.com"},{"name":"alexmatson-da","email":"alex.matson@digitalasset.com"},{"name":"asangeethada","email":"abhi.sangeetha@digitalasset.com"}],"readme":"# @canton-network/core-splice-codegen\n\nTyped wrappers around generated DAML JS packages used by Splice examples and SDK integrations.\n\nThis package currently exposes two modules:\n\n- `TestToken` (from `@daml.js/test-token-v1`)\n- `OTCTrade` (from `@daml.js/otc-trade`)\n\n## Installation\n\n```sh\npnpm install @canton-network/core-splice-codegen\n```\n\n## Requirements\n\nThis package requires a localnet instance that relies on Splice v0.6.12 or higher. Please ensure you have the latest localnet fetched.\n\n## Build\n\nFrom repository root:\n\n```sh\npnpm --filter @canton-network/core-splice-codegen build\n```\n\n## Regenerating DAML Codegen Inputs\n\nThis package depends on generated DAML JS artifacts under\n`damljs/test-token-v1`.\n\nTo refresh those artifacts, run:\n\n```sh\npnpm generate:codegen\n```\n\nThen rebuild this package.\n\n## Usage\n\n```ts\nimport { TestToken, OTCTrade } from '@canton-network/core-splice-codegen'\n\n// Template references\nconsole.log(TestToken.DAR.TestTokenV1.TokenRules.templateId)\nconsole.log(OTCTrade.DAR.TradingApp.OTCTradeProposal.templateId)\n\n// Typed create command\nconst createRules = TestToken.commands.create.rules({\n    admin: 'Alice::1220...',\n})\n\n// Typed exercise command\nconst settleTrade = OTCTrade.commands.exercise.otcTrade.settle({\n    contractId: '00abc...',\n    choiceArgument: {\n        allocationsWithContext: {},\n    },\n})\n```\n\n## DAR Vetting Utility\n\nBoth modules expose `utils.vetDar`, which loads a local DAR file and uploads it through the SDK:\n\n```ts\nimport { TestToken } from '@canton-network/core-splice-codegen'\n\nawait TestToken.utils.vetDar(sdk)\nawait TestToken.utils.vetDar(sdk, 'global-synchronizer-id')\n```\n\nNotes:\n\n- `vetDar` expects local DAR files to exist under `.localnet/dars/`.\n- If those files are absent, DAR upload will fail at runtime.\n\n## Relationship To Token Standard\n\n`TestToken` command helpers are wired to choice names from `@canton-network/core-token-standard`:\n\n- transfer-instruction choices\n- allocation choices\n- transfer/allocation factory choices\n\nThis keeps command generation aligned with Token Standard API semantics while staying strongly typed against DAML templates.\n\n## License\n\nApache-2.0\n","readmeFilename":""}