{"_id":"@bnb-attestation-service/bas-sdk","_rev":"20-ff87060a24a05083f49ef95eda68f100","name":"@bnb-attestation-service/bas-sdk","dist-tags":{"beta":"0.1.0-beta.1","latest":"0.1.0-beta.19"},"versions":{"0.0.7-alpha":{"name":"@bnb-attestation-service/bas-sdk","version":"0.0.7-alpha","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.0.7-alpha","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"c232f4dc69113021d803643437b1996f50dcf2b0","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.0.7-alpha.tgz","fileCount":11,"integrity":"sha512-3FJ1ep5WFhBB3abHf9X31YL7A30mL5mwGd0v98nDEd9vcluo8/lX9b7AKiWg8oJo3IumNjcMK353sts5IdwmgQ==","signatures":[{"sig":"MEQCIErX5OekJaik/Hx4D0dDWyL7jVycAwS15d0rYfXCN6NVAiAC0Ltug/FYMq+bq1ZNVo27OciZqX6wQFa/Jp4/wpG2aw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52580},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"f60e1f578a6c3b067cab7023fb23a271acf19b98","scripts":{"lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"viem":"^1.21.0","@bnb-chain/greenfield-js-sdk":"0.2.5-alpha.9","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.0.7-alpha_1703751511912_0.9382528310982774","host":"s3://npm-registry-packages"}},"0.0.8-alpha":{"name":"@bnb-attestation-service/bas-sdk","version":"0.0.8-alpha","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.0.8-alpha","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"4ff102b498180cf2c7369a374f148fc48ecdfea8","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.0.8-alpha.tgz","fileCount":11,"integrity":"sha512-oJJXcVchkm/eTKqpdVm4PErSdU8olp4AZKvOqcYw0foR6Mot8/E6zrIlVZFbt3/gq+1mKJ6z9b9pPHqQJGsjmw==","signatures":[{"sig":"MEQCIEBrG+ZaPJa98ZQ8/jmkPhJpjLmD1Z1OeOhxK+U+yHyXAiAqj676kehSEDyK+uXZIONPZKBEnwRDrdhhTWsCObnI0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53251},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"8ce412bb2ed4555e6790747e64f4bad5abbbbcb6","scripts":{"lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"viem":"^1.21.0","@bnb-chain/greenfield-js-sdk":"0.2.5-alpha.9","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.0.8-alpha_1704775806011_0.6256543150636795","host":"s3://npm-registry-packages"}},"0.1.0-beta.0":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.0","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.0","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"f9b2fa80ae9c2a7fbd305adec39e5a3fdaf2cec1","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.0.tgz","fileCount":42,"integrity":"sha512-/4Gz4PjLFI5HVlIwGW2Y8pTi2ZnMToIJmOG3fUrPpxI4IGMPEn6bVHyE+HH/s/ZDZCq7oSdGpFcEHCGvsxaKoQ==","signatures":[{"sig":"MEQCIFv8cqekQwdDs0vxTDWMyrvJintIJMCvT8yT8vMoN+q7AiBMKiZ1qDE7CmRJ+u3Csq/37ZHEzcPnxNohcfYh5Kg2CA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139108},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"a294a84ef6e2a63e8b0304abd468834d78e1cc95","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.0_1726419292133_0.018774110454699677","host":"s3://npm-registry-packages"}},"0.1.0-beta.1":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.1","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.1","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"723edb1aed585cb8478c8187bd9c9a215b4cae6d","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.1.tgz","fileCount":42,"integrity":"sha512-HrmMgyWKMKpBICrxhmEiJgqvWZzLXk6fRgPyFTl/Rtd/xi9yDYLjxH76liDzc2lz+gtGawbRNcO3Dtjbki8VZw==","signatures":[{"sig":"MEUCIHEV/AoZVnO1zv0buJn8qT3nv4DuqIjQ3u7EGrwk+U0LAiEAoqx/lOBTv9a3VZbISLruGgZW0N+8IDcvcdeI5PQo9Po=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139202},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"a294a84ef6e2a63e8b0304abd468834d78e1cc95","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.1_1726419981164_0.834018153493775","host":"s3://npm-registry-packages"}},"0.1.0-beta.3":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.3","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.3","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"fa775298d1816a6bbf6954105407fda8bacfc92a","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.3.tgz","fileCount":42,"integrity":"sha512-7HKTyicZyrUthGMR3wLuU60sGvs25ns5SMrJ2thfTrUTSUghpFZCjNiBhx+DFLe9DpGjdaneqp1gM3fIaEWijQ==","signatures":[{"sig":"MEQCIAL9c9CLtuCnfAgHz04FIZpFGBOF2o0CxMEG+hAd5w59AiBZMIQuuMcVs7gnqBnZxkPu/9K8lzdqndd726Xtih4ErQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":129473},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.3_1728806304582_0.6209434543293357","host":"s3://npm-registry-packages"}},"0.1.0-beta.4":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.4","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.4","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"794ea3c638ee650d1257b76f2b3dc1ccf01be917","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.4.tgz","fileCount":42,"integrity":"sha512-vRDFSwZPSqshIcrDXvAWlqzn6J7nGLsUZToVCyJjWeAiAtKHFeTC3K1DOLQgAlnb35Pqb6iV4tKquIPY0FIlWw==","signatures":[{"sig":"MEUCIA/FpfW9Ur4231CZwW9dk5M3bT2P9YquUqlLLHjW59uQAiEA3n+ieOtG1bnkzOO0zhMaS7Hobs0RIuJFOUDKL5EjwE8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":129771},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.4_1728812987606_0.7873358182752186","host":"s3://npm-registry-packages"}},"0.1.0-beta.5":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.5","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.5","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"d9035d8a7ee76c6d596e0bb0afb25dc6a9204109","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.5.tgz","fileCount":42,"integrity":"sha512-Am8+Ar1p4PLmHgQ1jzoowD6wj5zH2Qv9nnNNoBZBNUqq9ZblCrGuWj/4n7lrFGqvYx/ReDMsN/+kV65mbU8qJQ==","signatures":[{"sig":"MEUCIQDay5qBwEpTazNflnF1p1T3ybj1sCKc5aI0y9blJNNM1AIgf7w/cyn9nZR1AsnTN7NeyrkE2y76Tg/stQ6MAbcPuP4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":130105},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.5_1728820904629_0.7763554624291278","host":"s3://npm-registry-packages"}},"0.1.0-beta.6":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.6","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.6","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"6829b67a6b78491b91fe8491abeb71a8a7ed93fb","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.6.tgz","fileCount":42,"integrity":"sha512-CLZpPBlO5NgnrraNd//QsNmKOaQjMw86y8ogFsa+6Ga+DFX6MRzsz+c8pzb4+McvVGC3s5qZOCFlT34VHFiuEA==","signatures":[{"sig":"MEUCIQDg+qX7QCrswQtSuKYJs5kPariFgvrUJqG2kmfOIdIKKwIge6TyXOWZ+jVWbbaApj3MlbD0IDVd8P2T0ucktZoqD1M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":130105},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.6_1728821040020_0.71502576465366","host":"s3://npm-registry-packages"}},"0.1.0-beta.7":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.7","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.7","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"02326d19fe91f1624fae410ddc97783093cd041b","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.7.tgz","fileCount":42,"integrity":"sha512-H7F2KC5FTTLD+NMNKVGXW5pgTBnAIZ9tk7WGHEyZllmKVdiCfHH3Om2IVksZA9HGLSGu8CoiMl0aEj+m+/3ONg==","signatures":[{"sig":"MEYCIQDSDDhVVjvejniLYl9vx0luxwC9WUU+L9ooqmZUkeE3hAIhAOshUCEuoZyxDp43l2jrXtoJ98HS6w9m1xnCl0cyrW6k","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":130244},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.7_1728835304878_0.501195223190775","host":"s3://npm-registry-packages"}},"0.1.0-beta.8":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.8","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.8","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"a78a247f48d92509417f96447388d1720f18fce8","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.8.tgz","fileCount":42,"integrity":"sha512-jX7k3JFuvnRlzH9q4BnPJnJRikquEEXJutAXh1L/xDq2dfiAti4F/NSL4NNJRm9fMK1FSlXYypSEOnQ7NJwgdw==","signatures":[{"sig":"MEUCIG8UMl6H/0FuBH6O+zRWw1pWE9H9IBMz32BMcpcAsLVFAiEAmInwq97fYxYrsQJyXQiqBuvvSOhpZUz+7aaLiiQ1LPU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":130944},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.8_1728836994139_0.7699952299265351","host":"s3://npm-registry-packages"}},"0.1.0-beta.9":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.9","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.9","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"061ee96e2dfba3e049482760bf7decfb2c3c56fe","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.9.tgz","fileCount":42,"integrity":"sha512-AL+lb2jdsB7d1eoLVrQxKsiXc9GH4FSWm9Y6ee45UOi0SvUkrORLOJzzDByGoLPe6E2zm5IL2SyTrxiO6rA0Nw==","signatures":[{"sig":"MEUCICFZR8cLPJ8e98sqByC4MWMcvI23cfYcyfsN5fJ/v/taAiEA5T2/ZMNHUgHBUSLnni9oAlE9QtUR2AiVkp3RccvLh3M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":131031},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.9_1728837484332_0.2950207004842631","host":"s3://npm-registry-packages"}},"0.1.0-beta.10":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.10","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.10","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"c32c7586f9a2caaeb21cf2da574b4c9988a7c596","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.10.tgz","fileCount":42,"integrity":"sha512-V7VKW9pTfnqSHHbSmQj/3B/HVnjgwtPxnAW+Wrn8NvjD36CFpb2Izh63s1+rWMEEJoGC9ijXUcQc0FlamcBJNA==","signatures":[{"sig":"MEUCIQClIE/ncesOcIsziAbD61MuLf2a402UzqHt8/nzDIrtbwIgDGYdyAb1wwJLX+juRVXTzjo/Kh/kqoYovf9/EWbfWQo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":130973},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.10_1728920480455_0.18692583360591897","host":"s3://npm-registry-packages"}},"0.1.0-beta.11":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.11","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.11","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"5845d7366a88bbba23e07e55aaf973b320dad03d","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.11.tgz","fileCount":42,"integrity":"sha512-9omH/e7Uh5COPJRofkgI2Hd/WQ2udoyNV3e1hAmVirB2fhD5rVDv/9O5aXS/Bw+5V1tKnNbonfA7wun/k36RkQ==","signatures":[{"sig":"MEQCIAK0yN3tyCA+AuRa4rGX4E0/eweYhA6wr9nkfWL4xTdBAiAAhhmQKRTWmEgEHS3iJFApnXqWseDseeWZvRkRa1+8zA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":130962},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.11_1728920864234_0.5476736862230631","host":"s3://npm-registry-packages"}},"0.1.0-beta.12":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.12","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.12","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"58b95b890f5732eb1fdb821dadac9ae06329fba0","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.12.tgz","fileCount":42,"integrity":"sha512-Bhk0qavLLbDpcocNjcWoCH+J1+Yj9GtkDjJwe1QK5lszir7CYrK80WJU6krCE4YYrtHzTeroTD3PjrhptUyjwQ==","signatures":[{"sig":"MEYCIQCVPtTk73aMUYOGwJI+ct92MGLuIzD5wyGCunLHNd61KwIhAP/SQVcVQBla68HUsErplTpGHvrSKfdEQzceQf6MuWpr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":130910},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.12_1728928382229_0.08164300772761202","host":"s3://npm-registry-packages"}},"0.1.0-beta.13":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.13","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.13","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"f1f04446e29e4fc7962a819f4e407310f475c31b","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.13.tgz","fileCount":42,"integrity":"sha512-sOUhqBwCOWd791CsiqTTaf77UrTRBbg8Cliywu036E5CK0Kpk6nlpKnhjxp8pv9h1YX1jzlFB1UxBQDYGEBo1A==","signatures":[{"sig":"MEUCIQD1TzqRblTN5vgXDUMRXNtZy8713E6Dv4DcUDU7AlvvgAIgQlLYni7appIq7mUk6iDoHCK151JkQUnven93KQoPHMk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":130912},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.13_1728929393781_0.23966857054100554","host":"s3://npm-registry-packages"}},"0.1.0-beta.14":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.14","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.14","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"0573346a5eaeacca685756403a2f370ad35f08da","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.14.tgz","fileCount":42,"integrity":"sha512-bwnDwmPXEcPt4qnFFYKxpw+N2zvLweZIsebhVbu3Nk7ZoDe5MliS71pODv8BbvntKaxezRbk6+Jm/mgkLNxhWA==","signatures":[{"sig":"MEUCIQCwey21Iguxg2edgUypSZnABd0Ak+/D8RCkdczqoc2HDAIgXMf5RJajtuuTRyCrKrU8MSh52V6VdZZeu4uUZxUjXW4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":131121},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"8.1.0","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"16.13.0","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.14_1728962481841_0.8113195847213357","host":"s3://npm-registry-packages"}},"0.1.0-beta.15":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.15","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.15","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"ad3aa4d82b452641f7c725a40621922abff8f37f","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.15.tgz","fileCount":42,"integrity":"sha512-qOCy/WdiA775xBbPJeAyuXBSHY30Vnu7wQThd2LuTFq3NJgK/MtCUgCsD4GKQu1PS02yRyXx+5McmitKaukFFA==","signatures":[{"sig":"MEUCIQCKJEPxppKnImkoZyocWnXd2JPyZXUfpQhxdcSH/FAxfAIgU79HO0kIOPV1Vtt77Zt7seIqVQZybSeBID4ApQBxIEs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":131362},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"9.6.7","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"18.17.1","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.15_1728974045676_0.3880564844858623","host":"s3://npm-registry-packages"}},"0.1.0-beta.16":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.16","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.16","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"28ee6ebef12c9cf14dabdc58f9415ced4e29c14d","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.16.tgz","fileCount":42,"integrity":"sha512-BsV2nO4Ci4u1wBHBbOjOvJdegSQn1vShRU0/kHRfFyh+XYel8ONSHmVGwOn7pK6ODGAFHT/d3fzzq5n/WnFvRg==","signatures":[{"sig":"MEUCIQDT7jCp/km5syec0bf4GeJEvOu+nplRQ4djLbfO2f+57gIgVrQzSjT4c0jQsgxtgYBSv42qI35xwfjiI63lEpjig/c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":131446},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"9.6.7","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"18.17.1","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.16_1728974804028_0.5302337495214777","host":"s3://npm-registry-packages"}},"0.1.0-beta.17":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.17","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.17","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"e609a89aae8dd46e4266c3fe12c5aeec3630cea1","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.17.tgz","fileCount":42,"integrity":"sha512-7DGuyl16gbDYJcdJisQvfpvwuQLtpXhqkAzwBXb8frOo1WM9rXzRmzXfICG5/9h0/L4bIdRACngrMN6alS7Tuw==","signatures":[{"sig":"MEYCIQDQzutZ7sJExAmCDBZ0kr1OklROM4yF/TY5HrYqE2o+UgIhAP67wqwjE0Qa8VK9iA+BsCtjGsRAI8uqPYA0Q7UfVh3v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":132447},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4fb30eccf9ad2a7c6c2bd34a8541f9407f537cf2","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"9.6.7","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"18.17.1","dependencies":{"long":"^5.2.3","viem":"^1.21.0","ethers":"^6.13.2","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"1.2.0-beta.0"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.17_1728981269971_0.7768032303642824","host":"s3://npm-registry-packages"}},"0.1.0-beta.18":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.18","author":{"name":"monstea"},"license":"MIT","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.18","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"dist":{"shasum":"b2b8d55a3ea0a6422980e42138277672f85323a0","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.18.tgz","fileCount":115,"integrity":"sha512-97zjypt0A74zPAwcs0P1irprRzhVTyfDMx7DaVJBfb4rI+IotCDqSct7TjEx8dNEECQjc8UETW8P1UZJ3CDoJQ==","signatures":[{"sig":"MEQCIHsyODComPMOsvbHnzu3Oy9qwB9VB+dpHXlBZwiMRqNVAiA+uz9NEyoFWQPTa3bGw4Ohs2AkXBNImqq6VBDvbb4w1g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":487342},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"56db089e336e13ae8c18fcd50cbd1c74d3b6dec5","scripts":{"dev":"nodemon --exec \"npm run build\"","lint":"eslint -c .eslintrc --ext .ts src test","test":"cd test && npm test","build":"rm -rf dist && tsc --build tsconfig.json","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build"},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git","type":"git"},"_npmVersion":"9.6.7","description":"Binance Attestation Service - TypeScript/JavaScript SDK","directories":{},"_nodeVersion":"18.17.1","dependencies":{"long":"^5.2.3","pako":"^2.1.0","viem":"^2.21.29","ethers":"^6.13.2","lodash":"^4.17.21","semver":"^7.6.0","js-base64":"^3.7.6","multiformats":"9.9.0","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@ethereum-attestation-service/eas-sdk":"^1.6.1","@ethereum-attestation-service/eas-contracts":"1.4.1"},"nodemonConfig":{"ext":"ts","delay":2500,"ignore":["dist/**","examples/**"]},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","eslint":"^8.51.0","nodemon":"^3.1.4","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/lodash":"^4.14.199","@types/semver":"^7.5.3","eslint-plugin-import":"^2.28.1","prettier-package-json":"^2.8.0","@metamask/eth-sig-util":"^7.0.0","@typescript-eslint/parser":"^6.7.5","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^6.7.5","@ianvs/prettier-plugin-sort-imports":"^4.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bas-sdk_0.1.0-beta.18_1729325302773_0.0035656855024999157","host":"s3://npm-registry-packages"}},"0.1.0-beta.19":{"name":"@bnb-attestation-service/bas-sdk","version":"0.1.0-beta.19","description":"Binance Attestation Service - TypeScript/JavaScript SDK","author":{"name":"monstea"},"repository":{"type":"git","url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git"},"license":"MIT","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"rm -rf dist && tsc --build tsconfig.json","test":"cd test && npm test","lint":"eslint -c .eslintrc --ext .ts src test","format":"prettier --check --write src/**/*.ts test/test/**/*.ts  --config .prettierrc","prepare:release":"npm lint && npm test && npm build","dev":"nodemon --exec \"npm run build\""},"nodemonConfig":{"ignore":["dist/**","examples/**"],"delay":2500,"ext":"ts"},"dependencies":{"@bnb-chain/bsc-cross-greenfield-sdk":"^0.0.3","@bnb-chain/greenfield-cosmos-types":"^0.4.0","@bnb-chain/greenfield-js-sdk":"^2.0.1","@bnb-chain/greenfield-zk-crypto":"^1.0.0","@ethereum-attestation-service/eas-contracts":"1.4.1","@ethereum-attestation-service/eas-sdk":"^1.6.1","ethers":"^6.13.2","js-base64":"^3.7.6","lodash":"^4.17.21","long":"^5.2.3","multiformats":"9.9.0","pako":"^2.1.0","semver":"^7.6.0","viem":"^2.21.29"},"devDependencies":{"@ianvs/prettier-plugin-sort-imports":"^4.1.1","@metamask/eth-sig-util":"^7.0.0","@types/lodash":"^4.14.199","@types/node":"^20.8.6","@types/pako":"^2.0.1","@types/semver":"^7.5.3","@typescript-eslint/eslint-plugin":"^6.7.5","@typescript-eslint/parser":"^6.7.5","eslint":"^8.51.0","eslint-plugin-import":"^2.28.1","eslint-plugin-prefer-arrow":"^1.2.3","nodemon":"^3.1.4","prettier":"^3.0.3","prettier-package-json":"^2.8.0","ts-node":"^10.9.1","tslib":"^2.6.2","typescript":"^5.2.2"},"gitHead":"0ea7b44856416e2a66ae1125290cc8b4c500b920","bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","_id":"@bnb-attestation-service/bas-sdk@0.1.0-beta.19","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-/6fZK3lD002lHIcZSvHKDJWT4wHNV3j2ojQMm3cy7f0YSIBkxphpxVFB0IgFaRIYWM9v0IgNk6QYnfh1K1XTHQ==","shasum":"59a31cfe256954c67f635cdf192e5aa4c76e6735","tarball":"https://registry.npmjs.org/@bnb-attestation-service/bas-sdk/-/bas-sdk-0.1.0-beta.19.tgz","fileCount":115,"unpackedSize":487342,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHo7FJsO4dIIlSV5RQSDXyoKJZbKCRZy3LgNfvBQ4l9CAiEA/YEaPSi6qWgh7mCxvJb8uq9K36OJyLZnE0LNQuXGhmM="}]},"_npmUser":{"name":"monstea","email":"yzhao9481@gmail.com"},"directories":{},"maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bas-sdk_0.1.0-beta.19_1729347339715_0.41688105497491623"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-28T08:18:31.801Z","modified":"2024-10-19T14:15:40.403Z","0.0.7-alpha":"2023-12-28T08:18:32.080Z","0.0.8-alpha":"2024-01-09T04:50:06.196Z","0.1.0-beta.0":"2024-09-15T16:54:52.364Z","0.1.0-beta.1":"2024-09-15T17:06:21.352Z","0.1.0-beta.3":"2024-10-13T07:58:24.778Z","0.1.0-beta.4":"2024-10-13T09:49:47.815Z","0.1.0-beta.5":"2024-10-13T12:01:44.847Z","0.1.0-beta.6":"2024-10-13T12:04:00.183Z","0.1.0-beta.7":"2024-10-13T16:01:45.102Z","0.1.0-beta.8":"2024-10-13T16:29:54.344Z","0.1.0-beta.9":"2024-10-13T16:38:04.521Z","0.1.0-beta.10":"2024-10-14T15:41:20.666Z","0.1.0-beta.11":"2024-10-14T15:47:44.522Z","0.1.0-beta.12":"2024-10-14T17:53:02.435Z","0.1.0-beta.13":"2024-10-14T18:09:54.060Z","0.1.0-beta.14":"2024-10-15T03:21:22.043Z","0.1.0-beta.15":"2024-10-15T06:34:05.882Z","0.1.0-beta.16":"2024-10-15T06:46:44.296Z","0.1.0-beta.17":"2024-10-15T08:34:30.143Z","0.1.0-beta.18":"2024-10-19T08:08:23.116Z","0.1.0-beta.19":"2024-10-19T14:15:40.216Z"},"bugs":{"url":"https://github.com/bnb-attestation-service/bas-sdk/issues"},"author":{"name":"monstea"},"license":"MIT","homepage":"https://github.com/bnb-attestation-service/bas-sdk#readme","repository":{"type":"git","url":"git+ssh://git@github.com/bnb-attestation-service/bas-sdk.git"},"description":"Binance Attestation Service - TypeScript/JavaScript SDK","maintainers":[{"name":"monstea","email":"yzhao9481@gmail.com"}],"readme":"# JsSDK\n\nHere, you will find all the necessary information to begin integrating BAS into a Javascript/Typescript project.\n\n## Installing the BAS SDK\n\nTo install the BAS JS SDK, run the following command within your project directory:\n\n```bash\nyarn add @bnb-attestation-service/bas-sdk\n```\n\nOR\n\n```bash\nnpm install @bnb-attestation-service/bas-sdk\n```\n\nOR\n\n```bash\npnpm add @bnb-attestation-service/bas-sdk\n```\n\n> If you want to save attestations into GreenField Storage\n> You need to import `file-handle.wasm`, please see the example below.\n\n### Import Scripsts Required by GreenField\n\n```html\n<head>\n  <script src=\"https://unpkg.com/@bnb-chain/greenfiled-file-handle@0.2.1/dist/browser/umd/index.js\"></script>\n  <script src=\"https://unpkg.com/@bnb-chain/greenfiled-file-handle@0.2.1/dist/node/file-handle.wasm\"></script>\n</head>\n```\n\n## Using the BAS SDK\n\nTo begin, we must import and initialize the library before exploring its functionality.\n\n```jsx\nimport {\n  BAS,\n  Offchain,\n  SchemaEncoder,\n  SchemaRegistry,\n} from \"@bnb-attestation-service/bas-sdk\";\nimport { ethers } from \"ethers\";\n\nexport const BASContractAddress = \"0xC2679fBD37d54388Ce493F1DB75320D236e1815e\"; // Sepolia v0.26\n\n// Initialize the sdk with the address of the BAS Schema contract address\nconst bas = new BAS(BASContractAddress);\n\n// Gets a default provider (in production use something else like infura/alchemy)\nconst provider = ethers.providers.getDefaultProvider(\"sepolia\");\n\n// Connects an ethers style provider/signingProvider to perform read/write functions.\n// MUST be a signer to do write operations!\nbas.connect(provider);\n```\n\n> If you want to use features related to GreenField, you need to init the client with your address.\n\n```js\nconst gfClient = bas.greenFieldClient;\ngfClient.init(address);\n```\n\n### Registering a Schema\n\nTo register a new schema, you can use the `register` function provided by the BAS SDK. This function takes an object with the following properties:\n\n- `schema`: The schema string that defines the structure of the data to be attested.\n- `resolverAddress`: The Ethereum address of the resolver responsible for managing the schema.\n- `revocable`: A boolean value indicating whether attestations created with this schema can be revoked.\n\nHere’s an example of how to register a new schema:\n\n```jsx\nimport { SchemaRegistry } from \"@bnb-attestation-service/bas-sdk\";\n\nconst schemaRegistryContractAddress = \"0xYourSchemaRegistryContractAddress\";\nconst schemaRegistry = new SchemaRegistry(schemaRegistryContractAddress);\n\nschemaRegistry.connect(signer);\n\nconst schema = \"uint256 eventId, uint8 voteIndex\";\nconst resolverAddress = \"0x0a7E2Ff54e76B8E6659aedc9103FB21c038050D0\"; // Sepolia 0.26\nconst revocable = true;\n\nconst transaction = await schemaRegistry.register({\n  schema,\n  resolverAddress,\n  revocable,\n});\n\n// Optional: Wait for transaction to be validated\nawait transaction.wait();\n```\n\nOnce you have registered a schema, you can utilize its UID to generate attestations that adhere to the designated structure.\n\n### Getting Schema Information\n\nTo obtain the schema information for a particular schema UID, you can utilize the `getSchema` function provided by the BAS SDK. Here is an example:\n\n```jsx\nimport { SchemaRegistry } from \"@bnb-attestation-service/bas-sdk\";\n\nconst schemaRegistryContractAddress = \"0x0a7E2Ff54e76B8E6659aedc9103FB21c038050D0\";// Sepolia 0.26\nconst schemaRegistry = new SchemaRegistry(schemaRegistryContractAddress);\nschemaRegistry.connect(provider);\n\nconst schemaUID = \"0xYourSchemaUID\";\n\nconst schemaRecord = await schemaRegistry.getSchema({ uid: schemaUID });\n\nconsole.log(schemaRecord);\n\n// Example Output\n{\n  uid: '0xYourSchemaUID',\n  schema: 'bytes32 proposalId, bool vote',\n  resolver: '0xResolverAddress',\n  revocable: true\n}\n\n```\n\nIn the output, you will receive an object that includes the schema UID, the schema string, the resolver address, and a boolean flag indicating if the schema can be revoked or not.\n\n### Getting an Attestation\n\nThe `getAttestation` function enables you to fetch an onchain attestation for a specific UID. This function will return an attestation object that includes details about the attestation, such as the schema, recipient, attester, and other relevant information.\n\n### Usage\n\n```jsx\nimport { BAS } from \"@bnb-attestation-service/bas-sdk\";\n\nconst bas = new BAS(BASContractAddress);\nbas.connect(provider);\n\nconst uid =\n  \"0xff08bbf3d3e6e0992fc70ab9b9370416be59e87897c3d42b20549901d2cccc3e\";\n\nconst attestation = await bas.getAttestation(uid);\n\nconsole.log(attestation);\n```\n\n### Output\n\nThe `getAttestation` function confidently returns an attestation object with the following properties:\n\n- `uid`: The unique identifier of the attestation.\n- `schema`: The schema identifier associated with the attestation.\n- `refUID`: The reference UID of the attestation, if any.\n- `time`: The Unix timestamp when the attestation was created.\n- `expirationTime`: The Unix timestamp when the attestation expires (0 for no expiration).\n- `revocationTime`: The Unix timestamp when the attestation was revoked, if applicable.\n- `recipient`: The Ethereum address of the recipient of the attestation.\n- `attester`: The Ethereum address of the attester who created the attestation.\n- `revocable`: A boolean indicating whether the attestation is revocable or not.\n- `data`: The attestation data in bytes format.\n\nExample output:\n\n```jsx\n{\n    uid: '0x5134f511e0533f997e569dac711952dde21daf14b316f3cce23835defc82c065',\n    schema: '0x27d06e3659317e9a4f8154d1e849eb53d43d91fb4f219884d1684f86d797804a',\n    refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',\n    time: 1671219600,\n    expirationTime: 0,\n    revocationTime: 1671219636,\n    recipient: '0xFD50b031E778fAb33DfD2Fc3Ca66a1EeF0652165',\n    attester: '0x1e3de6aE412cA218FD2ae3379750388D414532dc',\n    revocable: true,\n    data: '0x0000000000000000000000000000000000000000000000000000000000000000'\n}\n\n```\n\n### Creating On-chain Attestations\n\nThe `attest` function enables you to confidently create an on-chain attestation for a specific schema. This powerful function accepts an object with the following properties:\n\n- `schema`: The unique identifier (UID) of the schema for which the attestation is being created.\n- `data`: An object that contains the following properties:\n  - `recipient`: The Ethereum address of the attestation recipient.\n  - `expirationTime`: A Unix timestamp that represents the expiration time of the attestation. You can set it to `0` for no expiration.\n  - `revocable`: A boolean value that indicates whether the attestation can be revoked or not.\n  - `refUID`: (Optional) The UID of a referenced attestation. If there is no reference, use `ZERO_BYTES32`.\n  - `data`: The encoded data for the attestation, which should be generated using the `SchemaEncoder` class.\n\nThis function gracefully returns a Promise that resolves to the UID of the newly created attestation.\n\n```jsx\nimport { BAS, SchemaEncoder } from \"@bnb-attestation-service/bas-sdk\";\n\nconst bas = new BAS(BASContractAddress);\nbas.connect(signer);\n\n// Initialize SchemaEncoder with the schema string\nconst schemaEncoder = new SchemaEncoder(\"uint256 eventId, uint8 voteIndex\");\nconst encodedData = schemaEncoder.encodeData([\n  { name: \"eventId\", value: 1, type: \"uint256\" },\n  { name: \"voteIndex\", value: 1, type: \"uint8\" },\n]);\n\nconst schemaUID =\n  \"0xb16fa048b0d597f5a821747eba64efa4762ee5143e9a80600d0005386edfc995\";\n\nconst tx = await bas.attest({\n  schema: schemaUID,\n  data: {\n    recipient: \"0xFD50b031E778fAb33DfD2Fc3Ca66a1EeF0652165\",\n    expirationTime: 0,\n    revocable: true, // Be aware that if your schema is not revocable, this MUST be false\n    data: encodedData,\n  },\n});\n\nconst newAttestationUID = await tx.wait();\n\nconsole.log(\"New attestation UID:\", newAttestationUID);\n```\n\n### Creating Off-chain Attestations without Saving to GreenField\n\nTo generate an off-chain attestation, you can confidently utilize the `signOffchainAttestation` function offered by the Off-chain class in the BAS SDK. Here's an example:\n\n```jsx\nimport { SchemaEncoder } from \"@bnb-attestation-service/bas-sdk\";\n\nconst offchain = await bas.getOffchain();\n\n// Initialize SchemaEncoder with the schema string\nconst schemaEncoder = new SchemaEncoder(\"uint256 eventId, uint8 voteIndex\");\nconst encodedData = schemaEncoder.encodeData([\n  { name: \"eventId\", value: 1, type: \"uint256\" },\n  { name: \"voteIndex\", value: 1, type: \"uint8\" },\n]);\n\n// Signer is an ethers.js Signer instance\nconst signer = new ethers.Wallet(privateKey, provider);\n\nconst offchainAttestation = await offchain.signOffchainAttestation(\n  {\n    recipient: \"0xFD50b031E778fAb33DfD2Fc3Ca66a1EeF0652165\",\n    // Unix timestamp of when attestation expires. (0 for no expiration)\n    expirationTime: 0,\n    // Unix timestamp of current time\n    time: 1671219636,\n    revocable: true, // Be aware that if your schema is not revocable, this MUST be false\n    version: 1,\n    nonce: 0,\n    schema:\n      \"0xb16fa048b0d597f5a821747eba64efa4762ee5143e9a80600d0005386edfc995\",\n    refUID:\n      \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n    data: encodedData,\n  },\n  signer\n);\n```\n\nThis function will confidently generate an attestation object off-chain, which will be signed and contain the UID, signature, and attestation data. You can confidently share this object with the intended recipient or confidently store it for future use.\n\n### Creating Off-chain Attestation and Saving to GreenField\n\nBefore proceeding with this step, you will need to create a base bucket first.\n\n**_Create a BAS Bucket_**\n\n```js\nimport { encodeAddrToBucketName } from \"@bnb-attestation-service/bas-sdk\";\n\nconst provider = await connector?.getProvider({ chainId: chains[0].id });\nconst buckectName = encodeAddrToBucketName(address);\nconst res = await gfClient.createBucket(provider, buckectName);\n```\n\nTo generate an off-chain attestation and save the result to GreenField Storage, you can confidently utilize the `attestOffChain` function offered by the BAS SDK. Here's an example:\n\n```jsx\n  const offchain = await bas.getOffchain();\n\n  // Use wallet or client to ensure the chain is BNB\n  // [WARN]: should call an async function\n  await shouldSwitchNetwork(chains[1].id); // BNB chainId\n\n  // Attest offchain\n  const attestation = await attestOffChain({\n    schemaStr: attestParams.schemaStr,\n    schemaUID: attestParams.schemaUID,\n    data: attestParams.data,\n    recipient: attestParams.recipient,\n    revocable: attestParams.revocable,\n  });\n\n  const attestationUID = attestation.uid;\n\n  // Use wallet or client to ensure the chain is Greenfield Chain\n  await shouldSwitchNetwork(chains[0].id);\n  const provider = await connector?.getProvider({ chainId: chains[0].id });\n\n  BigInt.prototype.toJSON = function () {\n    return this.toString();\n  };\n\n  // Encode the attestation object into blob to store on the Greenfield Storage\n  const str = JSON.stringify(attestation);\n  const bytes = new TextEncoder().encode(str);\n  const blob = new Blob([bytes], {\n    type: \"application/json;charset=utf-8\",\n  });\n\n  let res;\n  try {\n    // Use GreenField SDK to store the attestation\n    res = await gfClient.createObject(\n      provider,\n      new File([blob], `${attestParams.schemaUID}.${attestationUID}`),\n      attestParams.isPrivate || true\n    );\n  } catch (err: any) {\n    console.log(err);\n    alert(err.message);\n  }\n\n```\n\nThis function will generate an attestation object off-chain. The attestation object will be signed and will contain the UID, signature, and attestation data. Similar to the previous function, you can also save it to greenfield storage and set the access according to your preferences.\n\n### Revoking On-chain Attestations\n\nRevoking an attestation can only happen from the issuer address.\n\n```jsx\nconst transaction = await bas.revoke({\n  schema: \"0x85500e806cf1e74844d51a20a6d893fe1ed6f6b0738b50e43d774827d08eca61\",\n  data: {\n    uid: \"0x6776de8122c352b4d671003e58ca112aedb99f34c629a1d1fe3b332504e2943a\",\n  },\n});\n\n// Optional: Wait for transaction to be validated\nawait transaction.wait();\n```\n\n### Revoking Off-chain Attestations\n\nTo revoke an off-chain attestation, you can use the `revokeOffchain` function provided by the BAS SDK. Here’s an example:\n\n```jsx\nimport { BAS } from \"@bnb-attestation-service/bas-sdk\";\n\nconst bas = new BAS(BASContractAddress);\nbas.connect(provider);\n\nconst data = ethers.utils.formatBytes32String(\n  \"0x6776de8122c352b4d671003e58ca112aedb99f34c629a1d1fe3b332504e2943a\"\n);\n\nconst transaction = await bas.revokeOffchain(data);\n\n// Optional: Wait for transaction to be validated\nawait transaction.wait();\n```\n\n### Get offchain Attestation from GreenField\n\nIf the off-chain attestation is stored in the GreenField Storage, you can conveniently get it from the storage. Here's an example:\n\n```js\nconst provider = await connector?.getProvider();\nconst res = await gfClient.getObject(\n  provider,\n  `${schemaUID}.${attestationUID}`\n);\n\nconst data = JSON.parse(String(res));\n```\n\n### Change Visibility of Attestations on GreenField\n\nYou can use `updateObjectVisibility` to change the visibility of the attestations on GreenField. Here's an example:\n\n```js\ngfClient.updateObjectVisibility(\n  objectName,\n  isPublic\n    ? VisibilityType.VISIBILITY_TYPE_PUBLIC_READ\n    : VisibilityType.VISIBILITY_TYPE_PRIVATE,\n  _address\n);\n```\n\n### Verify an Off-chain Attestation\n\nTo verify an off-chain attestation, you can utilize the `verifyOffchainAttestationSignature` function provided by the BAS SDK. Here's an example:\n\n```jsx\nimport { OFFCHAIN_ATTESTATION_VERSION, Offchain, PartialTypedDataConfig } from \"@bnb-attestation-service/bas-sdk\";\n\nconst attestation = {\n// your offchain attestation\n  sig: {\n    domain: {\n      name: \"BAS Attestation\",\n      version: \"0.26\",\n      chainId: 1,\n      verifyingContract: \"0xA1207F3BBa224E2c9c3c6D5aF63D0eb1582Ce587\",\n    },\n    primaryType: \"Attest\",\n    types: {\n      Attest: [],\n    },\n    signature: {\n      r: \"\",\n      s: \"\",\n      v: 28,\n    },\n    uid: \"0x5134f511e0533f997e569dac711952dde21daf14b316f3cce23835defc82c065\",\n    message: {\n      version: 1,\n      schema: \"0x27d06e3659317e9a4f8154d1e849eb53d43d91fb4f219884d1684f86d797804a\",\n      refUID: \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n      time: 1671219600,\n      expirationTime: 0,\n      recipient: \"0xFD50b031E778fAb33DfD2Fc3Ca66a1EeF0652165\",\n      attester: \"0x1e3de6aE412cA218FD2ae3379750388D414532dc\",\n      revocable: true,\n      data: \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n    },\n  },\n  signer: \"0x1e3de6aE412cA218FD2ae3379750388D414532dc\",\n};\n\nconst BAS_CONFIG: PartialTypedDataConfig = {\n  address: attestation.sig.domain.verifyingContract,\n  version: attestation.sig.domain.version,\n  chainId: attestation.sig.domain.chainId,\n};\nconst offchain = new Offchain(BAS_CONFIG, OFFCHAIN_ATTESTATION_VERSION);\nconst isValidAttestation = offchain.verifyOffchainAttestationSignature(\n  attestation.signer,\n  attestation.sig\n);\n\n```\n\n### Naming a Schema and Describe a Schema on the BAScan\n\nYou have the option to create a new attestation on the schema named \"Name a Schema\" in order to give it a name. And also you can create a new attestation on the schema named “SCHEMA DESCRIPTION” in order to add a description to the schema.\n\n```jsx\nconst namingSchema = async (schameUID: string, name: string) => {\n    return attestOnChain({\n      schemaStr: \"bytes32 schemaId,string name\",\n      schemaUID: NamingSchemaUID,\n      data: [\n        { name: \"schemaId\", value: schameUID, type: \"bytes32\" },\n        { name: \"name\", value: name, type: \"string\" },\n      ],\n      recipient: \"0x0000000000000000000000000000000000000000\",\n      revocable: true,\n    });\n  };\n\n  const describeSchema = async (schameUID: string, description: string) => {\n    return attestOnChain({\n      schemaStr: \"bytes32 schemaId,string description\",\n      schemaUID: DescribeSchameUID,\n      data: [\n        { name: \"schemaId\", value: schameUID, type: \"bytes32\" },\n        { name: \"description\", value: description, type: \"string\" },\n      ],\n      recipient: \"0x0000000000000000000000000000000000000000\",\n      revocable: true,\n    });\n  };\n```","readmeFilename":"README.md"}