{"_rev":"4-093e980e5d7f2cfda148393b601be292","time":{"created":"2026-07-05T00:15:18.346Z","modified":"2026-07-05T00:15:18.809Z","0.1.0":"2026-07-04T23:25:45.728Z","0.1.1":"2026-07-05T00:15:18.623Z"},"_id":"@cosmos-registry/wasm-registry","name":"@cosmos-registry/wasm-registry","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@cosmos-registry/wasm-registry","version":"0.1.1","description":"TypeScript client for Cosm Registry CosmWasm contract","license":"MIT","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"repository":{"type":"git","url":"git+https://github.com/Cosmos-registry/cosmos-registry-js.git"},"homepage":"https://github.com/Cosmos-registry/cosmos-registry-js","bugs":{"url":"https://github.com/Cosmos-registry/cosmos-registry-js/issues"},"scripts":{"sync:schemas":"bash scripts/sync-schemas.sh","build":"tsc -p tsconfig.json","test":"vitest run","test:watch":"vitest","lint":"npx eslint \"src/**/*.ts\"","typecheck":"tsc --noEmit"},"dependencies":{"@cosmjs/cosmwasm-stargate":"^0.38.1"},"devDependencies":{"@eslint/js":"^10.0.1","eslint":"^10.6.0","eslint-config-prettier":"^10.1.8","globals":"^17.7.0","jiti":"^2.7.0","prettier":"^3.9.4","typescript":"^6.0.3","typescript-eslint":"^8.62.1","vitest":"^4.1.9"},"gitHead":"8ba8309a87b33f377be1de3461dd2d5f599f0ac1","_id":"@cosmos-registry/wasm-registry@0.1.1","_nodeVersion":"24.15.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-U412PzoRjnxLgBmLeBNef9yM2iqdq7pBeSEOn8g9yXUxLtqfRSutp5mNUv8D0PgG+YbnHMXk+ZyV+Hbqw1YvHQ==","shasum":"44619e6ca3bbb2f19917d9fad58643f38c3aaef6","tarball":"https://registry.npmjs.org/@cosmos-registry/wasm-registry/-/wasm-registry-0.1.1.tgz","fileCount":8,"unpackedSize":12352,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC+IVyv26k17SQUe8t0RqikbXW9MeSv1wxAnUMEkGa/gwIgRgYf4J7oOioshzYSOhBNXQTqfIXCg/8kGyWNV9aMPAY="}]},"_npmUser":{"name":"galadrin","email":"dapie@cros-nest.com"},"directories":{},"maintainers":[{"name":"galadrin","email":"dapie@cros-nest.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wasm-registry_0.1.1_1783210518461_0.4996134549179154"},"_hasShrinkwrap":false}},"maintainers":[{"name":"galadrin","email":"dapie@cros-nest.com"}],"description":"TypeScript client for Cosm Registry CosmWasm contract","homepage":"https://github.com/Cosmos-registry/cosmos-registry-js","repository":{"type":"git","url":"git+https://github.com/Cosmos-registry/cosmos-registry-js.git"},"bugs":{"url":"https://github.com/Cosmos-registry/cosmos-registry-js/issues"},"license":"MIT","readme":"# cosmjs-registry\n\nA TypeScript client for querying the Cosm Registry (CosmWasm) contract via CosmJS.\n\n## Installation\n\n```bash\nnpm install\n```\n\n## Build\n\n```bash\nnpm run build\n```\n\n## Synchronize V1 Schemas\n\n```bash\nnpm run sync:schemas\n```\n\nThe script copies the JSON schemas from the contract repository to `schemas/raw/`.\nYou can override the source with `CONTRACT_REPO=/path/to/Cosm-registry`.\n\n## Tests\n\n```bash\nnpm test\n```\n\n## API\n\n- `getChain(chainId)`\n- `getChains({ startAfter, limit })`\n- `getEndpoints({ chainId, kind, includeInactive })`\n- `exportChainJson(chainId)`\n- `getOwner()`\n- `getParams()`\n\n## Write API\n\nUse `SigningCosmRegistryClient` to execute the following messages:\n\n- `createChain(chainMeta)`\n- `createEndpoint(chainId, endpointInput)`\n- `addToken(chainId, asset)`\n- `updateChainMeta(chainId, update)`\n- `topUpEndpoint(chainId, endpointId, amount)`\n- `removeEndpoint(chainId, endpointId)`\n- `setParams(params)`\n- `setEndpointFlags(chainId, endpointId, { verified, preferred })`\n\nAll type definitions are aligned with the V1 schemas generated in the contract repository.\n","readmeFilename":"README.md"}