{"_id":"@0gfoundation/0g-ts-sdk","_rev":"20-f4ecd53b7890fea4e6c0927c33c953fc","name":"@0gfoundation/0g-ts-sdk","dist-tags":{"latest":"1.2.8"},"versions":{"1.0.0":{"name":"@0gfoundation/0g-ts-sdk","version":"1.0.0","keywords":[],"author":{"name":"0G Labs"},"license":"ISC","_id":"@0gfoundation/0g-ts-sdk@1.0.0","maintainers":[{"name":"0g-peterzhang","email":"peter@0g.ai"}],"homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"dist":{"shasum":"2e0c00c9b2c0419eb2cdd9a3dd97ce290dc97e1c","tarball":"https://registry.npmjs.org/@0gfoundation/0g-ts-sdk/-/0g-ts-sdk-1.0.0.tgz","fileCount":510,"integrity":"sha512-PJITjAlgVgDpAJrqyWkGwfCB0C3Ghe0nKX+7EKTxayfzicrYi0wOGUWe6RvZQXyEzGlQn6gYfKw3aXEh00EI4g==","signatures":[{"sig":"MEQCIALOSNhfnRIPDbS54/GXmujxDhBitVamXwg5JX6KHeIkAiBE1LLTWM35lHKKf9k3NL73opY39AYwjIBrgvwWS/lvhA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4424941},"exports":{".":{"types":"./lib.commonjs/index.d.ts","import":"./lib.esm/index.js","default":"./lib.esm/index.js","require":"./lib.commonjs/index.js"},"./browser":{"types":"./lib.esm/index.d.ts","import":"./dist/zgstorage.esm.js","default":"./dist/zgstorage.esm.min.js","require":"./dist/zgstorage.umd.min.js"}},"gitHead":"9773176127fd9d47c922394add2884247801be90","scripts":{"test":"jest","clean":"rm -rf dist lib.esm lib.commonjs types","format":"prettier --write src.ts/**/*.ts src.ts/*.ts","release":"npm run build-all && npm run gen-type-package-json && npm run build-dist","build-all":"npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json","build-cjs":"tsc --project tsconfig.commonjs.json","build-esm":"tsc --project tsconfig.esm.json","build-dist":"npm run build-esm && npm run _build-dist && npm run _dist-stats","_build-dist":"rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js","_dist-stats":"gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js","gen-type-package-json":"echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json","gen-contract-type-flow":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'","gen-contract-type-market":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'"},"_npmUser":{"name":"0g-peterzhang","email":"peter@0g.ai"},"deprecated":"This package has moved. Please use @0gfoundation/0g-storage-ts-sdk instead.","repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"_npmVersion":"11.6.0","description":"JS/TS SDK for 0G Storage","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@ethersproject/bytes":"^5.7.0","open-jsonrpc-provider":"^0.2.1","@ethersproject/keccak256":"^5.7.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.1","devDependencies":{"jest":"^29.6.4","tslib":"^2.6.2","rollup":"^3.28.1","js-sha3":"^0.9.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","typechain":"^8.3.1","uglify-js":"^3.17.4","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^20.5.9","@typechain/ethers-v6":"^0.5.0","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","rollup-plugin-polyfill-node":"^0.12.0"},"peerDependencies":{"ethers":"6.13.1"},"_npmOperationalInternal":{"tmp":"tmp/0g-ts-sdk_1.0.0_1761096471777_0.9401911981009352","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@0gfoundation/0g-ts-sdk","version":"1.0.1","keywords":[],"author":{"name":"0G Labs"},"license":"ISC","_id":"@0gfoundation/0g-ts-sdk@1.0.1","maintainers":[{"name":"0g-peterzhang","email":"peter@0g.ai"}],"homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"dist":{"shasum":"22e4cce1f49f9669e0ddc41d4337aa6346a6a1d9","tarball":"https://registry.npmjs.org/@0gfoundation/0g-ts-sdk/-/0g-ts-sdk-1.0.1.tgz","fileCount":510,"integrity":"sha512-3HCTQPaFdkwdAGFeIG7U2Vt4t8PDcZPKgqD+755wW8WTgSB0udC7X3iuP8Hx6E4gF8mTPdYmUlj9+YaCz1UoQA==","signatures":[{"sig":"MEUCIQCZOn0gbOj+f7sm38zi0g78XUfH7VJI5WlOdb4RZvayiAIgP/6rIXQRHFxRgRFpP9eCD6u6CPdsNUF0tj0EARmBnFM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4425038},"main":"./lib.commonjs/index.js","types":"./types/index.d.ts","module":"./lib.esm/index.js","exports":{".":{"types":"./types/index.d.ts","import":"./lib.esm/index.js","default":"./lib.esm/index.js","require":"./lib.commonjs/index.js"},"./browser":{"types":"./lib.esm/index.d.ts","import":"./dist/zgstorage.esm.js","default":"./dist/zgstorage.esm.min.js","require":"./dist/zgstorage.umd.min.js"}},"gitHead":"075b5f265baf404bfb5f71d1b949f1ff50aa4f3b","scripts":{"test":"jest","clean":"rm -rf dist lib.esm lib.commonjs types","format":"prettier --write src.ts/**/*.ts src.ts/*.ts","release":"npm run build-all && npm run gen-type-package-json && npm run build-dist","build-all":"npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json","build-cjs":"tsc --project tsconfig.commonjs.json","build-esm":"tsc --project tsconfig.esm.json","build-dist":"npm run build-esm && npm run _build-dist && npm run _dist-stats","_build-dist":"rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js","_dist-stats":"gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js","gen-type-package-json":"echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json","gen-contract-type-flow":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'","gen-contract-type-market":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'"},"_npmUser":{"name":"0g-peterzhang","email":"peter@0g.ai"},"deprecated":"This package has moved. Please use @0gfoundation/0g-storage-ts-sdk instead.","repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"_npmVersion":"11.6.0","description":"JS/TS SDK for 0G Storage","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@ethersproject/bytes":"^5.7.0","open-jsonrpc-provider":"^0.2.1","@ethersproject/keccak256":"^5.7.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.1","devDependencies":{"jest":"^29.6.4","tslib":"^2.6.2","rollup":"^3.28.1","js-sha3":"^0.9.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","typechain":"^8.3.1","uglify-js":"^3.17.4","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^20.5.9","@typechain/ethers-v6":"^0.5.0","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","rollup-plugin-polyfill-node":"^0.12.0"},"peerDependencies":{"ethers":"6.13.1"},"_npmOperationalInternal":{"tmp":"tmp/0g-ts-sdk_1.0.1_1761177873354_0.5552806998461794","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@0gfoundation/0g-ts-sdk","version":"1.1.0","keywords":[],"author":{"name":"0G Labs"},"license":"ISC","_id":"@0gfoundation/0g-ts-sdk@1.1.0","maintainers":[{"name":"0g-peterzhang","email":"peter@0g.ai"}],"homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"dist":{"shasum":"ea800f083ad873b8acf7d5e21e7eafd7a27c4b28","tarball":"https://registry.npmjs.org/@0gfoundation/0g-ts-sdk/-/0g-ts-sdk-1.1.0.tgz","fileCount":500,"integrity":"sha512-Qdc5t7weIUS5RIxiDBwsY1HoC4hWj8qP/dGlvOoxvNcojbS1RsBsxnTIZ3vgqdZt+W3j16lvDeEFm2VvTLDNLw==","signatures":[{"sig":"MEQCIAsADYYCzTVwgbZako0T5yhyo3EteexyJvhBBhD/YVPEAiAs0kaW5cTpMhPZNQGYZOLXouYSUJjvd8AtEadGqRzKJA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4559897},"main":"./lib.commonjs/index.js","types":"./types/index.d.ts","module":"./lib.esm/index.js","exports":{".":{"types":"./types/index.d.ts","import":"./lib.esm/index.js","default":"./lib.esm/index.js","require":"./lib.commonjs/index.js"},"./browser":{"types":"./lib.esm/index.d.ts","import":"./dist/zgstorage.esm.js","default":"./dist/zgstorage.esm.min.js","require":"./dist/zgstorage.umd.min.js"}},"gitHead":"27c712583e506bfa27d53b36809ffc935dded1e7","scripts":{"test":"jest","clean":"rm -rf dist lib.esm lib.commonjs types","format":"prettier --write src.ts/**/*.ts src.ts/*.ts","release":"npm run build-all && npm run gen-type-package-json && npm run build-dist","build-all":"npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json","build-cjs":"tsc --project tsconfig.commonjs.json","build-esm":"tsc --project tsconfig.esm.json","build-dist":"npm run build-esm && npm run _build-dist && npm run _dist-stats","_build-dist":"rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js","_dist-stats":"gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js","gen-type-package-json":"echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json","gen-contract-type-flow":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'","gen-contract-type-market":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'"},"_npmUser":{"name":"0g-peterzhang","email":"peter@0g.ai"},"deprecated":"This package has moved. Please use @0gfoundation/0g-storage-ts-sdk instead.","repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"_npmVersion":"11.6.0","description":"JS/TS SDK for 0G Storage","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@ethersproject/bytes":"^5.7.0","open-jsonrpc-provider":"^0.2.1","@ethersproject/keccak256":"^5.7.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.1","devDependencies":{"jest":"^29.6.4","tslib":"^2.6.2","rollup":"^3.28.1","js-sha3":"^0.9.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","typechain":"^8.3.1","uglify-js":"^3.17.4","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^20.5.9","@typechain/ethers-v6":"^0.5.0","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","rollup-plugin-polyfill-node":"^0.12.0"},"peerDependencies":{"ethers":"6.13.1"},"_npmOperationalInternal":{"tmp":"tmp/0g-ts-sdk_1.1.0_1765368667737_0.29923883809557283","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@0gfoundation/0g-ts-sdk","version":"1.2.0","keywords":[],"author":{"name":"0G Labs"},"license":"ISC","_id":"@0gfoundation/0g-ts-sdk@1.2.0","maintainers":[{"name":"0g-peterzhang","email":"peter@0g.ai"}],"homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"dist":{"shasum":"fc267ac4ef583226cb3a18457c551d9232a527d4","tarball":"https://registry.npmjs.org/@0gfoundation/0g-ts-sdk/-/0g-ts-sdk-1.2.0.tgz","fileCount":500,"integrity":"sha512-8T+vPnoJOQlDUZomZNye36CIjAzIWYePJw7qIgh6yv1sgUzv4fMtUs2qCAK/jznjIdrXNLmp7Mn7rwLSUnk0TA==","signatures":[{"sig":"MEYCIQDVyEiGeCpovwO82m+OO36GC0Gk4xHdaFqO+eid0TYpZQIhANN3d2PIXf/KdjPpBKa2zwWAZZHhguJYWcGIfV9XjVrx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4670779},"main":"./lib.commonjs/index.js","types":"./types/index.d.ts","module":"./lib.esm/index.js","exports":{".":{"types":"./types/index.d.ts","import":"./lib.esm/index.js","default":"./lib.esm/index.js","require":"./lib.commonjs/index.js"},"./browser":{"types":"./lib.esm/index.d.ts","import":"./dist/zgstorage.esm.js","default":"./dist/zgstorage.esm.min.js","require":"./dist/zgstorage.umd.min.js"}},"gitHead":"d20de5baeacbef5f12842832c59682201077560f","scripts":{"test":"jest","clean":"rm -rf dist lib.esm lib.commonjs types","format":"prettier --write src.ts/**/*.ts src.ts/*.ts","release":"npm run build-all && npm run gen-type-package-json && npm run build-dist","build-all":"npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json","build-cjs":"tsc --project tsconfig.commonjs.json","build-esm":"tsc --project tsconfig.esm.json","build-dist":"npm run build-esm && npm run _build-dist && npm run _dist-stats","_build-dist":"rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js","_dist-stats":"gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js","gen-type-package-json":"echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json","gen-contract-type-flow":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'","gen-contract-type-market":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'"},"_npmUser":{"name":"0g-peterzhang","email":"peter@0g.ai"},"deprecated":"This package has moved. Please use @0gfoundation/0g-storage-ts-sdk instead.","repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"_npmVersion":"11.7.0","description":"JS/TS SDK for 0G Storage","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@ethersproject/bytes":"^5.7.0","open-jsonrpc-provider":"^0.2.1","@ethersproject/keccak256":"^5.7.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.1","devDependencies":{"jest":"^29.6.4","tslib":"^2.6.2","rollup":"^3.28.1","js-sha3":"^0.9.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","typechain":"^8.3.1","uglify-js":"^3.17.4","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^20.5.9","@typechain/ethers-v6":"^0.5.0","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","rollup-plugin-polyfill-node":"^0.12.0"},"peerDependencies":{"ethers":"6.13.1"},"_npmOperationalInternal":{"tmp":"tmp/0g-ts-sdk_1.2.0_1769434540256_0.4835747798717376","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@0gfoundation/0g-ts-sdk","version":"1.2.1","keywords":[],"author":{"name":"0G Labs"},"license":"ISC","_id":"@0gfoundation/0g-ts-sdk@1.2.1","maintainers":[{"name":"overi","email":"ibrahim.over@0g.ai"},{"name":"0g-jiahao","email":"jiahao@0g.ai"},{"name":"0g-peterzhang","email":"peter@0g.ai"}],"homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"dist":{"shasum":"a249be5100b594f05bf873bd79ea1b93df64a238","tarball":"https://registry.npmjs.org/@0gfoundation/0g-ts-sdk/-/0g-ts-sdk-1.2.1.tgz","fileCount":500,"integrity":"sha512-1PBq+aug6p3OYh9UbEDxn+mroQ4XCjd7355wwStfd8ykyKMXHTdrSuNrfranr5TnF/uksKUWnN3HJ73gYKKDpw==","signatures":[{"sig":"MEUCIQD1D2QJp8NiL7ajqpIcIrhqkqqCV1+CTaj4tk+OsYxe6gIgTiqsgSAdYzAUWx6XcMOx+RkBV6f6Pq0++cTdpKCFRAI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4669145},"main":"./lib.commonjs/index.js","types":"./types/index.d.ts","module":"./lib.esm/index.js","exports":{".":{"types":"./types/index.d.ts","import":"./lib.esm/index.js","default":"./lib.esm/index.js","require":"./lib.commonjs/index.js"},"./browser":{"types":"./lib.esm/index.d.ts","import":"./dist/zgstorage.esm.js","default":"./dist/zgstorage.esm.min.js","require":"./dist/zgstorage.umd.min.js"}},"gitHead":"16d027617a91b807ddcdf83beeae47753016d454","scripts":{"test":"jest","clean":"rm -rf dist lib.esm lib.commonjs types","format":"prettier --write src.ts/**/*.ts src.ts/*.ts","release":"npm run build-all && npm run gen-type-package-json && npm run build-dist","build-all":"npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json","build-cjs":"tsc --project tsconfig.commonjs.json","build-esm":"tsc --project tsconfig.esm.json","build-dist":"npm run build-esm && npm run _build-dist && npm run _dist-stats","_build-dist":"rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js","_dist-stats":"gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js","gen-type-package-json":"echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json","gen-contract-type-flow":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'","gen-contract-type-market":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'"},"_npmUser":{"name":"0g-peterzhang","email":"peter@0g.ai"},"deprecated":"This package has moved. Please use @0gfoundation/0g-storage-ts-sdk instead.","repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"_npmVersion":"11.7.0","description":"JS/TS SDK for 0G Storage","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@ethersproject/bytes":"^5.7.0","open-jsonrpc-provider":"^0.2.1","@ethersproject/keccak256":"^5.7.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.1","devDependencies":{"jest":"^29.6.4","tslib":"^2.6.2","rollup":"^3.28.1","js-sha3":"^0.9.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","typechain":"^8.3.1","uglify-js":"^3.17.4","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^20.5.9","@typechain/ethers-v6":"^0.5.0","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","rollup-plugin-polyfill-node":"^0.12.0"},"peerDependencies":{"ethers":"6.13.1"},"_npmOperationalInternal":{"tmp":"tmp/0g-ts-sdk_1.2.1_1770194623433_0.37793753822890186","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@0gfoundation/0g-ts-sdk","version":"1.2.2","keywords":[],"author":{"name":"0G Labs"},"license":"ISC","_id":"@0gfoundation/0g-ts-sdk@1.2.2","maintainers":[{"name":"overi","email":"ibrahim.over@0g.ai"},{"name":"0g-jiahao","email":"jiahao@0g.ai"},{"name":"0g-peterzhang","email":"peter@0g.ai"}],"homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"dist":{"shasum":"24f30e7541b056685e8f17ac4f47ce710c12a06c","tarball":"https://registry.npmjs.org/@0gfoundation/0g-ts-sdk/-/0g-ts-sdk-1.2.2.tgz","fileCount":500,"integrity":"sha512-aBmjVBD+xQnerqJdzLD+jPz6B2kDfw5NJHynB17sn2+7dEAN4AR/qqcC94HMoXuMOc6jVY9+JnqgWDAfhTIT3w==","signatures":[{"sig":"MEUCIQDV/cL877YmTzGadaE7YXnRsbBccNlm0QJ5VP8vdnOw9gIge0sqgl9js6W7KgJLSq0BqdMHJqOutNSV6X/7EG6Dajc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4774520},"main":"./lib.commonjs/index.js","types":"./types/index.d.ts","module":"./lib.esm/index.js","exports":{".":{"types":"./types/index.d.ts","import":"./lib.esm/index.js","default":"./lib.esm/index.js","require":"./lib.commonjs/index.js"},"./browser":{"types":"./lib.esm/index.d.ts","import":"./dist/zgstorage.esm.js","default":"./dist/zgstorage.esm.min.js","require":"./dist/zgstorage.umd.min.js"}},"gitHead":"9ce5c7c128ded11e260e38d9ebb21853d71b964e","scripts":{"test":"jest","clean":"rm -rf dist lib.esm lib.commonjs types","format":"prettier --write src.ts/**/*.ts src.ts/*.ts","release":"npm run build-all && npm run gen-type-package-json && npm run build-dist","build-all":"npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json","build-cjs":"tsc --project tsconfig.commonjs.json","build-esm":"tsc --project tsconfig.esm.json","build-dist":"npm run build-esm && npm run _build-dist && npm run _dist-stats","_build-dist":"rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js","_dist-stats":"gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js","gen-type-package-json":"echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json","gen-contract-type-flow":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'","gen-contract-type-market":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'"},"_npmUser":{"name":"0g-peterzhang","email":"peter@0g.ai"},"deprecated":"This package has moved. Please use @0gfoundation/0g-storage-ts-sdk instead.","repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"_npmVersion":"11.7.0","description":"JS/TS SDK for 0G Storage","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@ethersproject/bytes":"^5.7.0","open-jsonrpc-provider":"^0.2.1","@ethersproject/keccak256":"^5.7.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.1","devDependencies":{"jest":"^29.6.4","tslib":"^2.6.2","rollup":"^3.28.1","js-sha3":"^0.9.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","typechain":"^8.3.1","uglify-js":"^3.17.4","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^20.5.9","@typechain/ethers-v6":"^0.5.0","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","rollup-plugin-polyfill-node":"^0.12.0"},"peerDependencies":{"ethers":"6.13.1"},"_npmOperationalInternal":{"tmp":"tmp/0g-ts-sdk_1.2.2_1776779223871_0.9680325575101238","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@0gfoundation/0g-ts-sdk","version":"1.2.3","keywords":[],"author":{"name":"0G Labs"},"license":"ISC","_id":"@0gfoundation/0g-ts-sdk@1.2.3","maintainers":[{"name":"overi","email":"ibrahim.over@0g.ai"},{"name":"0g-jiahao","email":"jiahao@0g.ai"},{"name":"0g-xie","email":"xie@0g.ai"},{"name":"0g-peterzhang","email":"peter@0g.ai"}],"homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"dist":{"shasum":"22809050395ff5c717fe82c6e70e6f9508c9e5ed","tarball":"https://registry.npmjs.org/@0gfoundation/0g-ts-sdk/-/0g-ts-sdk-1.2.3.tgz","fileCount":500,"integrity":"sha512-RfPb+tb6+1iwBn8RitFfTvdWvbz3go29PbjMVC3bvKXjOdGPaQdEFyXZOADW/asbwWTlOs/p8YFnp4M/b9B5jQ==","signatures":[{"sig":"MEUCIB2iotk/8fcOMtr0zMC8u6xvoR5aRvViPTyGw30sWhrOAiEAgSWTq19Wk0XdvSya55ZtBYoHHTnkxetkL7ydnuEeYe8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4776339},"main":"./lib.commonjs/index.js","types":"./types/index.d.ts","module":"./lib.esm/index.js","exports":{".":{"types":"./types/index.d.ts","import":"./lib.esm/index.js","default":"./lib.esm/index.js","require":"./lib.commonjs/index.js"},"./browser":{"types":"./lib.esm/index.d.ts","import":"./dist/zgstorage.esm.js","default":"./dist/zgstorage.esm.min.js","require":"./dist/zgstorage.umd.min.js"}},"gitHead":"e17c5fab8d1492984993b9fc933f31b34d0cb52f","scripts":{"test":"jest","clean":"rm -rf dist lib.esm lib.commonjs types","format":"prettier --write src.ts/**/*.ts src.ts/*.ts","release":"npm run build-all && npm run gen-type-package-json && npm run build-dist","build-all":"npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json","build-cjs":"tsc --project tsconfig.commonjs.json","build-esm":"tsc --project tsconfig.esm.json","build-dist":"npm run build-esm && npm run _build-dist && npm run _dist-stats","_build-dist":"rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js","_dist-stats":"gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js","gen-type-package-json":"echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json","gen-contract-type-flow":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'","gen-contract-type-market":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'"},"_npmUser":{"name":"0g-peterzhang","email":"peter@0g.ai"},"deprecated":"This package has moved. Please use @0gfoundation/0g-storage-ts-sdk instead.","repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"_npmVersion":"11.7.0","description":"JS/TS SDK for 0G Storage","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@ethersproject/bytes":"^5.7.0","open-jsonrpc-provider":"^0.2.1","@ethersproject/keccak256":"^5.7.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.1","devDependencies":{"jest":"^29.6.4","tslib":"^2.6.2","rollup":"^3.28.1","js-sha3":"^0.9.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","typechain":"^8.3.1","uglify-js":"^3.17.4","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^20.5.9","@typechain/ethers-v6":"^0.5.0","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","rollup-plugin-polyfill-node":"^0.12.0"},"peerDependencies":{"ethers":"6.13.1"},"_npmOperationalInternal":{"tmp":"tmp/0g-ts-sdk_1.2.3_1776846831386_0.7991777290013857","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@0gfoundation/0g-ts-sdk","version":"1.2.4","keywords":[],"author":{"name":"0G Labs"},"license":"ISC","_id":"@0gfoundation/0g-ts-sdk@1.2.4","maintainers":[{"name":"overi","email":"ibrahim.over@0g.ai"},{"name":"0g-jiahao","email":"jiahao@0g.ai"},{"name":"0g-xie","email":"xie@0g.ai"},{"name":"0g-peterzhang","email":"peter@0g.ai"}],"homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"dist":{"shasum":"192a91b61ea4870104efe5002526294444f26839","tarball":"https://registry.npmjs.org/@0gfoundation/0g-ts-sdk/-/0g-ts-sdk-1.2.4.tgz","fileCount":500,"integrity":"sha512-1nGY/opjP/wL7bxaLwaDWUUiqHVb4bb05v7ywbbEr5zhL1egRZtfWtVvmz1CMq2MTSPDcUfgDxSyPjbSviRoJg==","signatures":[{"sig":"MEUCIQDQKJom02rR9ngPlvely45Zy8WrHezQjRZ7COo6xckhiAIgNTKlnURimoMWmuNEjZPvbmnsl+4sry+TenUOnCNG5tw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4777424},"main":"./lib.commonjs/index.js","types":"./types/index.d.ts","module":"./lib.esm/index.js","exports":{".":{"types":"./types/index.d.ts","import":"./lib.esm/index.js","default":"./lib.esm/index.js","require":"./lib.commonjs/index.js"},"./browser":{"types":"./lib.esm/index.d.ts","import":"./dist/zgstorage.esm.js","default":"./dist/zgstorage.esm.min.js","require":"./dist/zgstorage.umd.min.js"}},"gitHead":"cdae777f1e5a8a2dd7fdfd9c43dfe12735f768ab","scripts":{"test":"jest","clean":"rm -rf dist lib.esm lib.commonjs types","format":"prettier --write src.ts/**/*.ts src.ts/*.ts","release":"npm run build-all && npm run gen-type-package-json && npm run build-dist","build-all":"npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json","build-cjs":"tsc --project tsconfig.commonjs.json","build-esm":"tsc --project tsconfig.esm.json","build-dist":"npm run build-esm && npm run _build-dist && npm run _dist-stats","_build-dist":"rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js","_dist-stats":"gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js","gen-type-package-json":"echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json","gen-contract-type-flow":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'","gen-contract-type-market":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'"},"_npmUser":{"name":"0g-peterzhang","email":"peter@0g.ai"},"deprecated":"This package has moved. Please use @0gfoundation/0g-storage-ts-sdk instead.","repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"_npmVersion":"11.7.0","description":"JS/TS SDK for 0G Storage","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@ethersproject/bytes":"^5.7.0","open-jsonrpc-provider":"^0.2.1","@ethersproject/keccak256":"^5.7.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.1","devDependencies":{"jest":"^29.6.4","tslib":"^2.6.2","rollup":"^3.28.1","js-sha3":"^0.9.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","typechain":"^8.3.1","uglify-js":"^3.17.4","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^20.5.9","@typechain/ethers-v6":"^0.5.0","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","rollup-plugin-polyfill-node":"^0.12.0"},"peerDependencies":{"ethers":"6.13.1"},"_npmOperationalInternal":{"tmp":"tmp/0g-ts-sdk_1.2.4_1776847733189_0.5519685756483297","host":"s3://npm-registry-packages-npm-production"}},"1.2.5":{"name":"@0gfoundation/0g-ts-sdk","version":"1.2.5","keywords":[],"author":{"name":"0G Labs"},"license":"ISC","_id":"@0gfoundation/0g-ts-sdk@1.2.5","maintainers":[{"name":"overi","email":"ibrahim.over@0g.ai"},{"name":"0g-jiahao","email":"jiahao@0g.ai"},{"name":"0g-xie","email":"xie@0g.ai"},{"name":"0g-peterzhang","email":"peter@0g.ai"}],"homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"dist":{"shasum":"204f60afe1d23b799a3f45a1cb7d06a7f8f345e3","tarball":"https://registry.npmjs.org/@0gfoundation/0g-ts-sdk/-/0g-ts-sdk-1.2.5.tgz","fileCount":520,"integrity":"sha512-xrassnBQP0zPrsqqY8KA+2wcF+H8DM81a5jaPzLb9Pi50lky8ln1pu2oT1kyJ0x/vwGNp7SUuBnXaIBnwjjqxg==","signatures":[{"sig":"MEYCIQDI438fmUkJx0nxOMpMiQsEIPvRc+P5jY2RcW4cQjy4kAIhAKGe1hgD9CSgimiu2pZO3Abk9iHINT8i6InD3cQkjUiW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5390300},"main":"./lib.commonjs/index.js","types":"./types/index.d.ts","module":"./lib.esm/index.js","exports":{".":{"types":"./types/index.d.ts","import":"./lib.esm/index.js","default":"./lib.esm/index.js","require":"./lib.commonjs/index.js"},"./browser":{"types":"./lib.esm/index.d.ts","import":"./dist/zgstorage.esm.js","default":"./dist/zgstorage.esm.min.js","require":"./dist/zgstorage.umd.min.js"}},"gitHead":"99fd9f781e119c534b90953ad1dccc49df12d114","scripts":{"test":"jest","clean":"rm -rf dist lib.esm lib.commonjs types","format":"prettier --write src.ts/**/*.ts src.ts/*.ts","release":"npm run build-all && npm run gen-type-package-json && npm run build-dist","build-all":"npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json","build-cjs":"tsc --project tsconfig.commonjs.json","build-esm":"tsc --project tsconfig.esm.json","build-dist":"npm run build-esm && npm run _build-dist && npm run _dist-stats","_build-dist":"rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js","_dist-stats":"gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js","gen-type-package-json":"echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json","gen-contract-type-flow":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'","gen-contract-type-market":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'"},"_npmUser":{"name":"0g-peterzhang","email":"peter@0g.ai"},"deprecated":"This package has moved. Please use @0gfoundation/0g-storage-ts-sdk instead.","repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"_npmVersion":"11.7.0","description":"JS/TS SDK for 0G Storage","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@noble/curves":"^1.9.7","@noble/hashes":"^1.8.0","@noble/ciphers":"^1.3.0","@ethersproject/bytes":"^5.7.0","open-jsonrpc-provider":"^0.2.1","@ethersproject/keccak256":"^5.7.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.1","devDependencies":{"jest":"^29.6.4","tslib":"^2.6.2","rollup":"^3.28.1","js-sha3":"^0.9.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","typechain":"^8.3.1","uglify-js":"^3.17.4","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^20.5.9","@typechain/ethers-v6":"^0.5.0","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","rollup-plugin-polyfill-node":"^0.12.0"},"peerDependencies":{"ethers":"6.13.1"},"_npmOperationalInternal":{"tmp":"tmp/0g-ts-sdk_1.2.5_1777004307227_0.9556356253027549","host":"s3://npm-registry-packages-npm-production"}},"1.2.6":{"name":"@0gfoundation/0g-ts-sdk","version":"1.2.6","keywords":[],"author":{"name":"0G Labs"},"license":"ISC","_id":"@0gfoundation/0g-ts-sdk@1.2.6","maintainers":[{"name":"overi","email":"ibrahim.over@0g.ai"},{"name":"0g-jiahao","email":"jiahao@0g.ai"},{"name":"0g-xie","email":"xie@0g.ai"},{"name":"0g-peterzhang","email":"peter@0g.ai"}],"homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"dist":{"shasum":"88a9bbaffeca8e2f7923748ccb0979920cdd8693","tarball":"https://registry.npmjs.org/@0gfoundation/0g-ts-sdk/-/0g-ts-sdk-1.2.6.tgz","fileCount":530,"integrity":"sha512-1CXUnMblQOVJek+T7l+DRn1KuzPmZV6JfMrZbXOihSAPF2er8vFkq519MqoJroUH2yEjdW1z41x5aVPbCSp1gQ==","signatures":[{"sig":"MEUCICSFDpL/wv3eYnrzfVX3EvyZorAKKXcjFJIZAuEIX1K1AiEAiTrFzP8K+KHtwBhichVcowrDiTQffmd3xHG+/1VAAHA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5449548},"main":"./lib.commonjs/index.js","types":"./types/index.d.ts","module":"./lib.esm/index.js","exports":{".":{"types":"./types/index.d.ts","import":"./lib.esm/index.js","default":"./lib.esm/index.js","require":"./lib.commonjs/index.js"},"./browser":{"types":"./lib.esm/index.d.ts","import":"./dist/zgstorage.esm.js","default":"./dist/zgstorage.esm.min.js","require":"./dist/zgstorage.umd.min.js"}},"gitHead":"d62500983d54f7ae0dd3031d11f9baddac6b642a","scripts":{"test":"jest","clean":"rm -rf dist lib.esm lib.commonjs types","format":"prettier --write src.ts/**/*.ts src.ts/*.ts","release":"npm run build-all && npm run gen-type-package-json && npm run build-dist","build-all":"npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json","build-cjs":"tsc --project tsconfig.commonjs.json","build-esm":"tsc --project tsconfig.esm.json","build-dist":"npm run build-esm && npm run _build-dist && npm run _dist-stats","_build-dist":"rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js","_dist-stats":"gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js","gen-type-package-json":"echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json","gen-contract-type-flow":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'","gen-contract-type-market":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'"},"_npmUser":{"name":"0g-peterzhang","email":"peter@0g.ai"},"deprecated":"This package has moved. Please use @0gfoundation/0g-storage-ts-sdk instead.","repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"_npmVersion":"11.7.0","description":"JS/TS SDK for 0G Storage","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@noble/curves":"^1.9.7","@noble/hashes":"^1.8.0","@noble/ciphers":"^1.3.0","@ethersproject/bytes":"^5.7.0","open-jsonrpc-provider":"^0.2.1","@ethersproject/keccak256":"^5.7.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.1","devDependencies":{"jest":"^29.6.4","tslib":"^2.6.2","rollup":"^3.28.1","js-sha3":"^0.9.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","typechain":"^8.3.1","uglify-js":"^3.17.4","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^20.5.9","@typechain/ethers-v6":"^0.5.0","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","rollup-plugin-polyfill-node":"^0.12.0"},"peerDependencies":{"ethers":"6.13.1"},"_npmOperationalInternal":{"tmp":"tmp/0g-ts-sdk_1.2.6_1777010542652_0.7423228095112036","host":"s3://npm-registry-packages-npm-production"}},"1.2.7":{"name":"@0gfoundation/0g-ts-sdk","version":"1.2.7","keywords":[],"author":{"name":"0G Labs"},"license":"ISC","_id":"@0gfoundation/0g-ts-sdk@1.2.7","maintainers":[{"name":"overi","email":"ibrahim.over@0g.ai"},{"name":"0g-jiahao","email":"jiahao@0g.ai"},{"name":"0g-xie","email":"xie@0g.ai"},{"name":"0g-peterzhang","email":"peter@0g.ai"}],"homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"dist":{"shasum":"6138d921cc4de8b4104c85ca73551d60998874bd","tarball":"https://registry.npmjs.org/@0gfoundation/0g-ts-sdk/-/0g-ts-sdk-1.2.7.tgz","fileCount":530,"integrity":"sha512-JsGLhMr+hFbPXczvdmyIgIPs7MiScgWeGkJH+PQ7vwmboCaI6CnD4RI83KUOb18rum1zyKrGLaOV0iJtpFZrGg==","signatures":[{"sig":"MEYCIQCLhuMt8oj5SRWeO2n9+CSchzNU7Emex7JL9HPJxTPc3gIhAJmXEqaa4tqXcHgAO8RxfSvJjR45rZ8yCftNmSIlQJQ/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5461331},"main":"./lib.commonjs/index.js","types":"./types/index.d.ts","module":"./lib.esm/index.js","exports":{".":{"types":"./types/index.d.ts","import":"./lib.esm/index.js","default":"./lib.esm/index.js","require":"./lib.commonjs/index.js"},"./browser":{"types":"./lib.esm/index.d.ts","import":"./dist/zgstorage.esm.js","default":"./dist/zgstorage.esm.min.js","require":"./dist/zgstorage.umd.min.js"}},"gitHead":"ec50c11ddfb29a936f6770893badb2383a3cc56d","scripts":{"test":"jest","clean":"rm -rf dist lib.esm lib.commonjs types","format":"prettier --write src.ts/**/*.ts src.ts/*.ts","release":"npm run build-all && npm run gen-type-package-json && npm run build-dist","build-all":"npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json","build-cjs":"tsc --project tsconfig.commonjs.json","build-esm":"tsc --project tsconfig.esm.json","build-dist":"npm run build-esm && npm run _build-dist && npm run _dist-stats","_build-dist":"rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js","_dist-stats":"gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js","gen-type-package-json":"echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json","gen-contract-type-flow":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'","gen-contract-type-market":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'"},"_npmUser":{"name":"0g-peterzhang","email":"peter@0g.ai"},"deprecated":"This package has moved. Please use @0gfoundation/0g-storage-ts-sdk instead.","repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"_npmVersion":"11.7.0","description":"JS/TS SDK for 0G Storage","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@noble/curves":"^1.9.7","@noble/hashes":"^1.8.0","@noble/ciphers":"^1.3.0","@ethersproject/bytes":"^5.7.0","open-jsonrpc-provider":"^0.2.1","@ethersproject/keccak256":"^5.7.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.1","devDependencies":{"jest":"^29.6.4","tslib":"^2.6.2","rollup":"^3.28.1","js-sha3":"^0.9.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","typechain":"^8.3.1","uglify-js":"^3.17.4","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^20.5.9","@typechain/ethers-v6":"^0.5.0","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","rollup-plugin-polyfill-node":"^0.12.0"},"peerDependencies":{"ethers":"6.13.1"},"_npmOperationalInternal":{"tmp":"tmp/0g-ts-sdk_1.2.7_1777535025576_0.987156967627872","host":"s3://npm-registry-packages-npm-production"}},"1.2.8":{"name":"@0gfoundation/0g-ts-sdk","version":"1.2.8","keywords":[],"author":{"name":"0G Labs"},"license":"ISC","_id":"@0gfoundation/0g-ts-sdk@1.2.8","maintainers":[{"name":"overi","email":"ibrahim.over@0g.ai"},{"name":"0g-jiahao","email":"jiahao@0g.ai"},{"name":"0g-xie","email":"xie@0g.ai"},{"name":"0g-peterzhang","email":"peter@0g.ai"}],"homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"dist":{"shasum":"fb40ca1474bef50fd2cc1c530858c04cc5c998d5","tarball":"https://registry.npmjs.org/@0gfoundation/0g-ts-sdk/-/0g-ts-sdk-1.2.8.tgz","fileCount":530,"integrity":"sha512-JuPwdo1gugDWgCD+45y71xxGdjNaO5BIG0kRMas8JqWvRJHvK63pHy5m3cbIm+5CLB/vmMaEBbvVWVETcsRhNg==","signatures":[{"sig":"MEUCIQD6zkHDQsfuMHQ+4q7Q20RFR07RRVHgXCMr1loIdvtQCgIgH/fhWgmK/2QQhvXK83/E5b5cnX9ADBLcD6VdbIy7BEc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5466063},"main":"./lib.commonjs/index.js","types":"./types/index.d.ts","module":"./lib.esm/index.js","exports":{".":{"types":"./types/index.d.ts","import":"./lib.esm/index.js","default":"./lib.esm/index.js","require":"./lib.commonjs/index.js"},"./browser":{"types":"./lib.esm/index.d.ts","import":"./dist/zgstorage.esm.js","default":"./dist/zgstorage.esm.min.js","require":"./dist/zgstorage.umd.min.js"}},"gitHead":"c55c1d5040c4de226b439194b8a7254da6b99e6f","scripts":{"test":"jest","clean":"rm -rf dist lib.esm lib.commonjs types","format":"prettier --write src.ts/**/*.ts src.ts/*.ts","release":"npm run build-all && npm run gen-type-package-json && npm run build-dist","build-all":"npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json","build-cjs":"tsc --project tsconfig.commonjs.json","build-esm":"tsc --project tsconfig.esm.json","build-dist":"npm run build-esm && npm run _build-dist && npm run _dist-stats","_build-dist":"rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js","_dist-stats":"gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js","gen-type-package-json":"echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json","gen-contract-type-flow":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'","gen-contract-type-market":"typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'"},"_npmUser":{"name":"0g-peterzhang","email":"peter@0g.ai"},"deprecated":"This package has moved. Please use @0gfoundation/0g-storage-ts-sdk instead.","repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"_npmVersion":"11.7.0","description":"JS/TS SDK for 0G Storage","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@noble/curves":"^1.9.7","@noble/hashes":"^1.8.0","@noble/ciphers":"^1.3.0","@ethersproject/bytes":"^5.7.0","open-jsonrpc-provider":"^0.2.1","@ethersproject/keccak256":"^5.7.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.1","devDependencies":{"jest":"^29.6.4","tslib":"^2.6.2","rollup":"^3.28.1","js-sha3":"^0.9.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","typechain":"^8.3.1","uglify-js":"^3.17.4","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^20.5.9","@typechain/ethers-v6":"^0.5.0","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","rollup-plugin-polyfill-node":"^0.12.0"},"peerDependencies":{"ethers":"6.13.1"},"_npmOperationalInternal":{"tmp":"tmp/0g-ts-sdk_1.2.8_1777538849989_0.20471634211471135","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-10-22T01:27:51.667Z","modified":"2026-08-11T07:12:37.521Z","1.0.0":"2025-10-22T01:27:52.077Z","1.0.1":"2025-10-23T00:04:33.641Z","1.1.0":"2025-12-10T12:11:07.924Z","1.2.0":"2026-01-26T13:35:40.507Z","1.2.1":"2026-02-04T08:43:43.662Z","1.2.2":"2026-04-21T13:47:04.171Z","1.2.3":"2026-04-22T08:33:51.628Z","1.2.4":"2026-04-22T08:48:53.387Z","1.2.5":"2026-04-24T04:18:27.528Z","1.2.6":"2026-04-24T06:02:22.885Z","1.2.7":"2026-04-30T07:43:45.806Z","1.2.8":"2026-04-30T08:47:30.246Z"},"bugs":{"url":"https://github.com/0gfoundation/0g-ts-sdk/issues"},"author":{"name":"0G Labs"},"license":"ISC","homepage":"https://github.com/0gfoundation/0g-ts-sdk#readme","keywords":[],"repository":{"url":"git+https://github.com/0gfoundation/0g-ts-sdk.git","type":"git"},"description":"JS/TS SDK for 0G Storage","maintainers":[{"email":"ibrahim.over@0g.ai","name":"overi"},{"email":"jiahao@0g.ai","name":"0g-jiahao"},{"email":"will.riches@0g.ai","name":"0g-will"},{"email":"xie@0g.ai","name":"0g-xie"},{"email":"minghao.yu@0g.ai","name":"ymh357"},{"email":"wei@0g.ai","name":"wilbertwu"},{"email":"peter@0g.ai","name":"0g-peterzhang"}],"readme":"# 0g-ts-sdk\n\nThis is the JavaScript SDK for 0g-storage. Features include:\n\n- [x] File Merkle Tree Class\n- [x] Flow Contract Types\n- [x] RPC methods support\n- [x] File upload\n- [x] Support browser environment\n- [ ] Tests for different environments\n- [x] File download\n\n## Install\n\n```sh\nnpm install @0gfoundation/0g-ts-sdk ethers\n```\n\n`ethers` is a peer dependency of this project.\n\n## Usage\n\n### Node.js environment ESM example:\n\nUse `ZgFile` to create a file object, then call `merkleTree` method to get the merkle tree of the file.\n\n```js\nimport { Indexer, ZgFile } from '@0gfoundation/0g-ts-sdk';\nimport { ethers } from 'ethers';\nimport { exit } from 'process';\n\nconst file = await ZgFile.fromFilePath(<file_path>);\nvar [tree, err] = await file.merkleTree();\nif (err === null) {\n  console.log(\"File Root Hash: \", tree.rootHash());\n} else {\n  exit(1);\n}\nawait file.close();\n```\n\nUpload file to 0g-storage:\n\n```js\nimport { getFlowContract } from '@0gfoundation/0g-ts-sdk';\nconst evmRpc = 'https://evmrpc-testnet.0g.ai';\nconst privateKey = ''; // with balance to pay for gas\nconst indRpc = 'https://indexer-storage-testnet-turbo.0g.ai'; // indexer rpc\n\nconst provider = new ethers.JsonRpcProvider(evmRpc);\nconst signer = new ethers.Wallet(privateKey, provider);\n\nconst indexer = new Indexer(indRpc);\n// need to pay fees to store data in storage nodes\nvar [tx, err] = await indexer.upload(file, evmRpc, signer);\nif (err === null) {\n  console.log(\"File uploaded successfully, tx: \", tx);\n} else {\n  console.log(\"Error uploading file: \", err);\n}\n```\n\nDownload file from 0g-storage\n\n```js\nerr = await indexer.download(<root_hash>, <output_file>, <with_proof>);\nif (err !== null) {\n  console.log(\"Error downloading file: \", err);\n}\n```\n\nUpload data to 0g-kv:\n\n```js\nvar [nodes, err] = await indexer.selectNodes(1);\nif (err !== null) {\n    console.log(\"Error selecting nodes: \", err);\n    stop();\n}\n\nconst batcher = new Batcher(1, nodes, flowContract, evmRpc);\n\nconst key1 = Uint8Array.from(Buffer.from(\"TESTKEY0\", 'utf-8'));\nconst val1 = Uint8Array.from(Buffer.from(\"TESTVALUE0\", 'utf-8'));\nconst key2 = Uint8Array.from(Buffer.from(\"TESTKEY1\", 'utf-8'));\nconst val2 = Uint8Array.from(Buffer.from(\"TESTVALUE1\", 'utf-8'));\nbatcher.streamDataBuilder.set(\"0x...\", key1, val1);\nbatcher.streamDataBuilder.set(\"0x...\", key2, val2);\n\nvar [tx, err] = await batcher.exec();\n\nif (err === null) {\n    console.log(\"Batcher executed successfully, tx: \", tx);\n} else {\n    console.log(\"Error executing batcher: \", err);\n}\n```\n\nDownload data from 0g-kv\n```js\nconst KvClientAddr = \"http://3.101.147.150:6789\"\n\nconst streamId = \"0x...\"\nconst kvClient = new KvClient(KvClientAddr)\n\nlet val = await kvClient.getValue(streamId, ethers.encodeBase64(key1));\nconsole.log(val)\n```\n\n### Browser environment example:\n\nImport `zgstorage.esm.js` in your html file:\n\n```html\n<script type=\"module\">\n  import { Blob, Indexer } from \"./dist/zgstorage.esm.js\";\n  // Your code here...\n</script>\n```\n\nCreate file object from blob:\n\n```js\nconst file = new Blob(blob);\nconst [tree, err] = await file.merkleTree();\nif (err === null) {\n  console.log(\"File Root Hash: \", tree.rootHash());\n}\n```\n\nFile upload is same with node.js environment with the following provider change\n\n```js\nimport { BrowserProvider } from 'ethers';  // or from ethers.js url\n\nlet provider = new BrowserProvider(window.ethereum) // metamask need to be installed\n```\n\n\n### Vite example:\n\nTo use the SDK with Vite, set up polyfills in your `vite.config.ts`:\n\n```ts\nimport { defineConfig } from 'vite';\nimport { nodePolyfills } from 'vite-plugin-node-polyfills';\n\nexport default defineConfig({\n  plugins: [\n    ...\n    nodePolyfills({\n      include: ['crypto', 'buffer', 'stream', 'util', 'events'],\n    }),\n  ],\n});\n```\n\nNow, you can import SDK files with the `/browser` suffix:\n\n```ts\nimport { Indexer, Blob } from '@0gfoundation/0g-ts-sdk/browser';\n```\n\nCheck codes in [examples](./examples) for more details.\n\n## Contribute\n\nThis project uses [pnpm](https://pnpm.js.org/) as package manager. After cloning the project, run `pnpm install` to install dependencies.\n\n### Generate Contract Flow Types\n\nMake sure [0g-storage-contracts](https://github.com/0gfoundation/0g-storage-contracts) is in project sibling directory.\n\n```sh\npnpm gen-contract-type-flow\npnpm gen-contract-type-market\n```\n","readmeFilename":"README.md"}