{"_id":"@curiodao/curio-parachain-interfaces","_rev":"4-8d63746b395ec9bde1d1c93e546500fe","name":"@curiodao/curio-parachain-interfaces","dist-tags":{"latest":"1.28.0"},"versions":{"1.25.0":{"name":"@curiodao/curio-parachain-interfaces","version":"1.25.0","author":{"name":"CurioTeam"},"license":"GPL-3.0-only","_id":"@curiodao/curio-parachain-interfaces@1.25.0","maintainers":[{"name":"ivonin","email":"d.ivonin@rebase.agency"},{"name":"curio-team","email":"team.curio@yahoo.com"},{"name":"kaptn","email":"buka.kapitonenko@gmail.com"}],"dist":{"shasum":"e10a2b301af4e6a342c8484ec5827b3013ed0717","tarball":"https://registry.npmjs.org/@curiodao/curio-parachain-interfaces/-/curio-parachain-interfaces-1.25.0.tgz","fileCount":60,"integrity":"sha512-yq8gn3aTfWXOy2SYUWOE1R+FBV6z3oTcHLiGBRUJAQ4QEHnQlyJRoOkynAQsfZ6+zJcHZp8T36puvIElNv6kpA==","signatures":[{"sig":"MEYCIQCNXrr35DR6GQ0CWe8BqVMgAtg5XvAdhr+FzGCPjQ7YEwIhAJi3GwBZ36N5ZRqmicajUXU/gZpPuSIqmgnl9YDJAVKM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1081362},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"},"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js","require":"./dist/*.js"}},"scripts":{"lint":"tsc --noEmit --pretty","build":"rm -rf build/ && npm run generate:defs && npm run generate:meta && npx tsc","generate:defs":"node --experimental-specifier-resolution=node --loader ts-node/esm node_modules/.bin/polkadot-types-from-defs --package curio-parachain-interfaces/interfaces --input ./src/interfaces --endpoint ./metadata.json","generate:meta":"node --experimental-specifier-resolution=node --loader ts-node/esm node_modules/.bin/polkadot-types-from-chain --package curio-parachain-interfaces/interfaces --endpoint ./metadata.json --output ./src/interfaces"},"_npmUser":{"name":"ivonin","email":"d.ivonin@rebase.agency"},"_npmVersion":"11.16.0","description":"1. Switch to `src` branch. 2. Compile new runtime in `--release` mod with required features. 3. Install [subwasm](https://github.com/chevdor/subwasm). It is required for the following step. 4. Update `metadata.json` with the following command: `./metadata","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@polkadot/api":"^15.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610","devDependencies":{"ts-node":"^10.9.2","typescript":"^5.6.3","@polkadot/typegen":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/curio-parachain-interfaces_1.25.0_1785154576182_0.5738156796559957","host":"s3://npm-registry-packages-npm-production"}},"1.25.1":{"name":"@curiodao/curio-parachain-interfaces","version":"1.25.1","author":{"name":"CurioTeam"},"license":"GPL-3.0-only","_id":"@curiodao/curio-parachain-interfaces@1.25.1","maintainers":[{"name":"ivonin","email":"d.ivonin@rebase.agency"},{"name":"curio-team","email":"team.curio@yahoo.com"},{"name":"kaptn","email":"buka.kapitonenko@gmail.com"}],"dist":{"shasum":"118db2d138b332d6bee1b284790b0b4baa5488a5","tarball":"https://registry.npmjs.org/@curiodao/curio-parachain-interfaces/-/curio-parachain-interfaces-1.25.1.tgz","fileCount":60,"integrity":"sha512-Y+zP0v3owUwmbYQG5rSM8om9ESXBIbxFzJ7NeUe4wSUdG4W3Nb77MZmILP+FFDPjUo5tAQejFDpzTZIIUShTtw==","signatures":[{"sig":"MEYCIQD4107sPp8KCpfn47EEE4zhXDig0rl0Mg3JMAk+ssk/kwIhAJL+KDestAUVdYifc6bEZLIT0m9y4lpkYSd877iJNhdn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1110492},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"},"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js","require":"./dist/*.js"}},"gitHead":"da5a554d02b88bad08c1080d51d51deb0807a20d","scripts":{"lint":"tsc --noEmit --pretty","build":"rm -rf dist/ && npm run generate:defs && npm run generate:meta && npx tsc","generate:defs":"node --experimental-specifier-resolution=node --loader ts-node/esm node_modules/.bin/polkadot-types-from-defs --package curio-parachain-interfaces/interfaces --input ./src/interfaces --endpoint ./metadata.json","generate:meta":"node --experimental-specifier-resolution=node --loader ts-node/esm node_modules/.bin/polkadot-types-from-chain --package curio-parachain-interfaces/interfaces --endpoint ./metadata.json --output ./src/interfaces"},"_npmUser":{"name":"ivonin","email":"d.ivonin@rebase.agency"},"_npmVersion":"11.16.0","description":"1. Ensure the chain node **WITH NEW RUNTIME** is running locally. 2. Update `metadata.json` with: `python3 metadata.py [endpoint]` (defaults to `http://localhost:9811`). 3. Build with: `npm run build`. 4. Update package version so minor and patch versions","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@polkadot/api":"^15.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610","devDependencies":{"ts-node":"^10.9.2","typescript":"^5.6.3","@polkadot/typegen":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/curio-parachain-interfaces_1.25.1_1785170690462_0.2199627129955497","host":"s3://npm-registry-packages-npm-production"}},"1.25.2":{"name":"@curiodao/curio-parachain-interfaces","version":"1.25.2","author":{"name":"CurioTeam"},"license":"GPL-3.0-only","_id":"@curiodao/curio-parachain-interfaces@1.25.2","maintainers":[{"name":"ivonin","email":"d.ivonin@rebase.agency"},{"name":"curio-team","email":"team.curio@yahoo.com"},{"name":"kaptn","email":"buka.kapitonenko@gmail.com"}],"dist":{"shasum":"62c2fdc9535cc74fa44e16b53775444ec6716088","tarball":"https://registry.npmjs.org/@curiodao/curio-parachain-interfaces/-/curio-parachain-interfaces-1.25.2.tgz","fileCount":42,"integrity":"sha512-qC8PHCQEioiksJm3YoWlQbs6vpo4SJ2ZdlVswtQAVFqRqQpbqEDyT6IBS/eUlwR4QyfQDMAuP0aNgNi6RuZ4hA==","signatures":[{"sig":"MEUCIHG7HUuUlPdD4dkKSukLqus3Ek05QUOf4fSJ2/mx4wfrAiEAutGh3rMCA3qflDwImReW5WTrfsKd+JFNoQ9a977k4FY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1103938},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"},"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js","require":"./dist/*.js"}},"gitHead":"ca3dde9f7e97b2e4fa8fce66f82125804101c881","scripts":{"lint":"tsc --noEmit --pretty","build":"rm -rf dist/ && npm run generate:defs && npm run generate:meta && npx tsc","generate:defs":"node --experimental-specifier-resolution=node --loader ts-node/esm node_modules/.bin/polkadot-types-from-defs --package curio-parachain-interfaces/interfaces --input ./src/interfaces --endpoint ./metadata.json","generate:meta":"node --experimental-specifier-resolution=node --loader ts-node/esm node_modules/.bin/polkadot-types-from-chain --package curio-parachain-interfaces/interfaces --endpoint ./metadata.json --output ./src/interfaces"},"_npmUser":{"name":"ivonin","email":"d.ivonin@rebase.agency"},"_npmVersion":"11.16.0","description":"1. Ensure the chain node **WITH NEW RUNTIME** is running locally. 2. Update `metadata.json` with: `node metadata.mjs [ws-endpoint]` (defaults to `ws://localhost:9811`). 3. Build with: `npm run build`. 4. Update package version so minor and patch versions ","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@polkadot/api":"^15.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610","devDependencies":{"ts-node":"^10.9.2","typescript":"^5.6.3","@polkadot/typegen":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/curio-parachain-interfaces_1.25.2_1785340622553_0.9564625966803328","host":"s3://npm-registry-packages-npm-production"}},"1.28.0":{"name":"@curiodao/curio-parachain-interfaces","version":"1.28.0","type":"module","scripts":{"build":"rm -rf dist/ && npm run generate:defs && npm run generate:meta && npx tsc","generate:defs":"node --experimental-specifier-resolution=node --loader ts-node/esm node_modules/.bin/polkadot-types-from-defs --package curio-parachain-interfaces/interfaces --input ./src/interfaces --endpoint ./metadata.json","generate:meta":"node --experimental-specifier-resolution=node --loader ts-node/esm node_modules/.bin/polkadot-types-from-chain --package curio-parachain-interfaces/interfaces --endpoint ./metadata.json --output ./src/interfaces","lint":"tsc --noEmit --pretty"},"author":{"name":"CurioTeam"},"license":"GPL-3.0-only","description":"1. Ensure the chain node **WITH NEW RUNTIME** is running locally. 2. Update `metadata.json` with: `node metadata.mjs [ws-endpoint]` (defaults to `ws://localhost:9811`). 3. Build with: `npm run build`. 4. Update package version so minor and patch versions ","devDependencies":{"@polkadot/typegen":"^15.0.0","ts-node":"^10.9.2","typescript":"^5.6.3"},"dependencies":{"@polkadot/api":"^15.0.0"},"packageManager":"yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/*.d.ts","require":"./dist/*.js","default":"./dist/*.js"}},"gitHead":"493a37e5f9a9138ce459caa75b509f25d3fd61fc","_id":"@curiodao/curio-parachain-interfaces@1.28.0","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-mMDOZcyRQ3SaC29nw87NwCur22Frvrw5N5f1ixfTgthQ6hGG3ihfHoO6tz+KB43fKNwj0c9szuaBqpjZdJygXg==","shasum":"c3f249774238e719ecaf7a08657ad035d02acf43","tarball":"https://registry.npmjs.org/@curiodao/curio-parachain-interfaces/-/curio-parachain-interfaces-1.28.0.tgz","fileCount":42,"unpackedSize":991773,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEQfKdfjhPj6fFWwKamhWJ8c9BQNL+9/PN94T6jXpZ58AiEAoqWxG6b/nVx1pZghnCxp+Q5ALNfQcOZi1WjC20uvsAg="}]},"_npmUser":{"name":"ivonin","email":"d.ivonin@rebase.agency"},"directories":{},"maintainers":[{"name":"ivonin","email":"d.ivonin@rebase.agency"},{"name":"curio-team","email":"team.curio@yahoo.com"},{"name":"kaptn","email":"buka.kapitonenko@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/curio-parachain-interfaces_1.28.0_1785942144733_0.03669638787701257"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-27T12:16:15.956Z","modified":"2026-08-05T15:02:25.171Z","1.25.0":"2026-07-27T12:16:16.338Z","1.25.1":"2026-07-27T16:44:50.623Z","1.25.2":"2026-07-29T15:57:02.703Z","1.28.0":"2026-08-05T15:02:24.907Z"},"author":{"name":"CurioTeam"},"license":"GPL-3.0-only","description":"1. Ensure the chain node **WITH NEW RUNTIME** is running locally. 2. Update `metadata.json` with: `node metadata.mjs [ws-endpoint]` (defaults to `ws://localhost:9811`). 3. Build with: `npm run build`. 4. Update package version so minor and patch versions ","maintainers":[{"name":"ivonin","email":"d.ivonin@rebase.agency"},{"name":"curio-team","email":"team.curio@yahoo.com"},{"name":"kaptn","email":"buka.kapitonenko@gmail.com"}],"readme":"### How to update ts-interfaces\n\n1. Ensure the chain node **WITH NEW RUNTIME** is running locally.\n2. Update `metadata.json` with: `node metadata.mjs [ws-endpoint]` (defaults to `ws://localhost:9811`).\n3. Build with: `npm run build`.\n4. Update package version so minor and patch versions are equal to such versions of the new runtime.\n5. Commit and push.\n6. Publish with `npm publish --access public` if you have permission.\n\n### Notes\n- The runtime must declare `impl_runtime_apis!` in the same module scope as `construct_runtime!` (not in a separate `mod apis;`) — otherwise V15 metadata will have empty runtime APIs.\n\n- If build fails with errors like `Cannot find name 'SpConsensusSlotsSlotDuration'` or `CurioParachainRuntimeRuntimeCall` and these types are used in `augment-api-runtime.ts`, add the missing type aliases to `src/interfaces/common/definitions.ts` under `types`.\n","readmeFilename":"README.md"}