{"_id":"@atlasdepin/atlas.js","_rev":"2-f2c0a3ad60e2eb9e17740aa80a4c28ea","name":"@atlasdepin/atlas.js","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@atlasdepin/atlas.js","version":"0.1.0","author":{"name":"Ahmed Moussa"},"license":"MIT","_id":"@atlasdepin/atlas.js@0.1.0","maintainers":[{"name":"ahm23","email":"ahm222223@gmail.com"}],"dist":{"shasum":"50db7705bcd80a62792ec7f41ea5d60a55b2f1f0","tarball":"https://registry.npmjs.org/@atlasdepin/atlas.js/-/atlas.js-0.1.0.tgz","fileCount":6,"integrity":"sha512-SSQHoD+JyxywBiyvwn/Af/pqrSwa3WVEswKBua7FCqIh9M6mKEZAvm3nT0T72mAcb5fY5INC/phqK83f+PT7DA==","signatures":[{"sig":"MEQCIEKCWjmge4r1cIAsgcZ0TcYPbKQLNval2dVY7o29/Nn5AiBvdWrjirVlsA0et18efrjMUNViatsJbFJ1IT2oVLIUUg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55987900},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"ed6c498332bb60b3747e4eaa943e5a7d2fe41045","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"vite build","type-check":"tsc --noEmit","docs:typedoc":"typedoc","docs:website:dev":"pnpm docs:website:gen && cd website && pnpm start","docs:website:gen":"npx typedoc --options website/typedoc.json && find website/docs/api -name '*.md' -exec sed -i 's/{EventEmitter}/`EventEmitter`/g; s/{EventTarget}/`EventTarget`/g' {} +","docs:website:build":"pnpm docs:website:gen && cd website && pnpm build","docs:website:serve":"cd website && pnpm serve"},"_npmUser":{"name":"ahm23","email":"ahm222223@gmail.com"},"_npmVersion":"11.14.1","description":"TypeScript SDK for interacting with Atlas Protocol — wallet management, storage, file tree, and transactions.","directories":{},"_nodeVersion":"26.1.0","dependencies":{"util":"^0.12.5","axios":"^1.13.3","buffer":"^6.0.3","events":"^3.3.0","eciesjs":"^0.5.0","treeify":"^1.1.0","xxh3-ts":"^2.0.1","hash-wasm":"^4.12.0","cosmjs-types":"^0.11.0","merkletreejs":"^0.6.0","@noble/hashes":"^1.8.0","@cosmology/lcd":"^0.15.0","@cosmjs/encoding":"^0.38.1","@cosmjs/stargate":"^0.38.1","@cosmjs/proto-signing":"^0.38.1","@cosmjs/tendermint-rpc":"^0.38.1","@openzeppelin/merkle-tree":"^1.0.8","@atlasdepin/atlas.js-protos":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","tslib":"^2.8.1","esbuild":"^0.28.0","typedoc":"^0.28.19","ts-alias":"^0.0.7","typescript":"^5.0.4","@types/node":"^22.9.0","vite-plugin-dts":"^4.0.3","vite-tsconfig-paths":"^4.2.1","@rollup/plugin-commonjs":"^29.0.3","typedoc-plugin-markdown":"^4.11.0","@rollup/plugin-typescript":"^12.3.0","vite-plugin-node-polyfills":"^0.23.0","@rollup/plugin-node-resolve":"^16.0.3","rollup-plugin-typescript-paths":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/atlas.js_0.1.0_1783890003032_0.4251335632126334","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@atlasdepin/atlas.js","version":"0.1.1","description":"TypeScript SDK for interacting with Atlas Protocol — wallet management, storage, file tree, and transactions.","license":"MIT","author":{"name":"Ahmed Moussa"},"types":"./dist/index.d.ts","main":"./dist/index.js","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"publishConfig":{"access":"public"},"scripts":{"build":"vite build","type-check":"tsc --noEmit","test":"echo \"Error: no test specified\" && exit 1","docs:typedoc":"typedoc","docs:website:gen":"npx typedoc --options website/typedoc.json && find website/docs/api -name '*.md' -exec sed -i 's/{EventEmitter}/`EventEmitter`/g; s/{EventTarget}/`EventTarget`/g' {} +","docs:website:dev":"pnpm docs:website:gen && cd website && pnpm start","docs:website:build":"pnpm docs:website:gen && cd website && pnpm build","docs:website:serve":"cd website && pnpm serve"},"devDependencies":{"@rollup/plugin-commonjs":"^29.0.3","@rollup/plugin-node-resolve":"^16.0.3","@rollup/plugin-typescript":"^12.3.0","@types/node":"^22.9.0","esbuild":"^0.28.0","rollup-plugin-typescript-paths":"^1.5.0","ts-alias":"^0.0.7","tslib":"^2.8.1","typedoc":"^0.28.19","typedoc-plugin-markdown":"^4.11.0","typescript":"^5.0.4","vite":"^6.2.0","vite-plugin-dts":"^4.0.3","vite-plugin-node-polyfills":"^0.23.0","vite-tsconfig-paths":"^4.2.1"},"dependencies":{"@cosmjs/encoding":"^0.38.1","@cosmjs/proto-signing":"^0.38.1","@cosmjs/stargate":"^0.38.1","@cosmjs/tendermint-rpc":"^0.38.1","@cosmology/lcd":"^0.15.0","@noble/hashes":"^1.8.0","@openzeppelin/merkle-tree":"^1.0.8","@atlasdepin/atlas.js-protos":"^0.1.1","axios":"^1.13.3","buffer":"^6.0.3","cosmjs-types":"^0.11.0","eciesjs":"^0.5.0","events":"^3.3.0","hash-wasm":"^4.12.0","merkletreejs":"^0.6.0","treeify":"^1.1.0","util":"^0.12.5","xxh3-ts":"^2.0.1"},"gitHead":"68e8b52702652b38251b78f4fb08347bd608ac45","_id":"@atlasdepin/atlas.js@0.1.1","_nodeVersion":"26.1.0","_npmVersion":"11.14.1","dist":{"integrity":"sha512-XGhqf3jqj+qw98OR2l61H/eqFq1UZMTtPbW6swBO2qRJA8dTRJrF9V4zkjkM2/2OVVp9DEBi3zMacNWL0LOH2A==","shasum":"cb129eadb953ab5a18f65a53ec1d717c93fa3e62","tarball":"https://registry.npmjs.org/@atlasdepin/atlas.js/-/atlas.js-0.1.1.tgz","fileCount":6,"unpackedSize":55987924,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDIQZxR4ekGqgSYj2Dd+c+zLWckVTQUXVowmTZkzK7URQIhAKRT5AY9/dLKOHrDI+DfnBZeFemdW0dYZgnEZp3RWLMq"}]},"_npmUser":{"name":"ahm23","email":"ahm222223@gmail.com"},"directories":{},"maintainers":[{"name":"ahm23","email":"ahm222223@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/atlas.js_0.1.1_1783891283920_0.07762932063824168"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-12T21:00:02.787Z","modified":"2026-07-12T21:21:24.362Z","0.1.0":"2026-07-12T21:00:03.283Z","0.1.1":"2026-07-12T21:21:24.233Z"},"author":{"name":"Ahmed Moussa"},"license":"MIT","description":"TypeScript SDK for interacting with Atlas Protocol — wallet management, storage, file tree, and transactions.","maintainers":[{"name":"ahm23","email":"ahm222223@gmail.com"}],"readme":"# atlas.js\n\nTypeScript SDK for interacting with the Atlas Protocol blockchain.\n\n## Installation\n\n```bash\nnpm install @atlasdepin/atlas.js\n```\n\n## Quick start\n\n```ts\nimport { AtlasClient, WalletType } from '@atlasdepin/atlas.js';\n\nconst client = await AtlasClient.new({\n  chainId: 'atlas-1',\n  rpcEndpoint: 'https://rpc.atlasprotocol.cloud',\n});\n\nawait client.connectWallet(WalletType.KEPLR);\n\nconst stats = await client.query.storageStats();\nconsole.log(stats);\n```\n\n## Overview\n\n| Class | Purpose |\n|---|---|\n| `AtlasClient` | High-level client: wallet lifecycle, queries, signing, broadcasting |\n| `StorageManager` | Full storage lifecycle: subscriptions, drives, directory tree, queue-based uploads with encryption, downloads |\n| `StorageHandler` | Lightweight storage operations: direct upload/download/delete without filetree or queue state |\n| `QueryHelper` | Typed read-only queries, accessible via `client.query` |\n| `FiletreeHelper` | File tree node CRUD and access control |\n\n## Documentation\n\n- [atlas.js docs] https://docs.atlasprotocol.cloud/docs/atlas-js/intro\n- [SDK reference] https://docs.atlasprotocol.cloud/docs/api\n\n## License\n\nMIT\n","readmeFilename":"README.md"}