{"_id":"dain-sdk","_rev":"17-bb854ee67606962afb68dacaa25a6bb8","name":"dain-sdk","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.1":{"name":"dain-sdk","version":"0.0.1","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.1","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"b8ae6adbc93c8e88cfa0388c7afa61fdc3766bff","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.1.tgz","fileCount":10,"integrity":"sha512-N4klAlrAhFxXEPzhLoiSw+cbqKJGrMmEMNA2IsKQjCQMnSVSMPqPPXN+BwVow59TXBgY+eL1Exb7salufVHf6w==","signatures":[{"sig":"MEUCICOQlVCK0nu0At1DC240btmA8z2vQlTArC0P8EnzJMS7AiEAm2tAHJQ1rtPyUycxhJq9pu50no7xb4voKzYxiCS6ybc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3564515},"types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"0f417e050e7052855184fd220956a772a33ebfc7","scripts":{"test":"vitest","build":"tsup","clean":"rm -fr dist/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.7.0","description":"DAIN prediction's TS sdk","directories":{},"_nodeVersion":"18.20.4","dependencies":{"bn.js":"^5.2.1","@types/bn.js":"^5.1.6","promise-retry":"^2.0.1","@solana/web3.js":"^1.95.4","@coral-xyz/anchor":"0.29.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"^2.22.0","@types/promise-retry":"^1.1.6","@switchboard-xyz/on-demand":"^1.2.47"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.47.0","vitest":"^0.34.1","prettier":"^3.0.1","typescript":"^5.1.6","@changesets/cli":"^2.26.2","@typescript-eslint/parser":"^6.3.0","@typescript-eslint/eslint-plugin":"^6.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.1_1730426896511_0.9284142982690151","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"dain-sdk","version":"0.0.2","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.2","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"fea90a3a3748e59fd4716ec9dab306a6d15c0a00","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.2.tgz","fileCount":10,"integrity":"sha512-kiG7P7oXI/Ii/PyKdp7/OqYCD5kI/dTe0UWikIUZX2beNVcE5hXyKS4CDoAqy+zp9W/ZhvIA45LfLjh0/n4Yvg==","signatures":[{"sig":"MEYCIQD7ajeRikxKtjsCFjs0ZHAujsXzv/kSZTDQBmiINMd4hAIhAMKQSQp05s3OwLb9OSerD0nHUp2dSygFR6okflXoJbAI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3627558},"types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"4827e0d191b2cf2bb0653f652a17b8add0bf7846","scripts":{"test":"vitest","build":"tsup","clean":"rm -fr dist/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.7.0","description":"DAIN prediction's TS sdk","directories":{},"_nodeVersion":"18.20.4","dependencies":{"bn.js":"^5.2.1","@types/bn.js":"^5.1.6","promise-retry":"^2.0.1","@solana/web3.js":"^1.95.4","@coral-xyz/anchor":"0.29.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"^2.22.0","@types/promise-retry":"^1.1.6","@switchboard-xyz/on-demand":"^1.2.47","@solana/wallet-adapter-base":"^0.9.23"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.47.0","vitest":"^0.34.1","prettier":"^3.0.1","typescript":"^5.1.6","@changesets/cli":"^2.26.2","@typescript-eslint/parser":"^6.3.0","@typescript-eslint/eslint-plugin":"^6.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.2_1730435551768_0.9916440717941566","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"dain-sdk","version":"0.0.3","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.3","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"78de9eb5d692a047114bbe3ba2752492b8245fae","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.3.tgz","fileCount":10,"integrity":"sha512-gj1qILn9Y1LIdDs/GopRUTTbxH+3AZkEy5iwDMstXxDoJTmApSqGGSEgNZ/wNxaO1ufOJSXvUJHKxCK8KZmo4w==","signatures":[{"sig":"MEYCIQDqJT4+rxkcrIzCYLyEELxeCZbLfMSwC0LTPSEakle6qgIhAIp5pi/M7xYsWK4uGBFzz8fQqRJIoZrZjy1D6T3xCtCk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3637443},"types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"13ef422b46695cadc625b3e38e0977ad9d2eb7af","scripts":{"test":"vitest","build":"tsup","clean":"rm -fr dist/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.7.0","description":"DAIN prediction's TS sdk","directories":{},"_nodeVersion":"18.20.4","dependencies":{"bn.js":"^5.2.1","@types/bn.js":"^5.1.6","promise-retry":"^2.0.1","@solana/web3.js":"^1.95.4","@coral-xyz/anchor":"0.29.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"^2.22.0","@types/promise-retry":"^1.1.6","@switchboard-xyz/on-demand":"^1.2.47","@solana/wallet-adapter-base":"^0.9.23"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.47.0","vitest":"^0.34.1","prettier":"^3.0.1","typescript":"^5.1.6","@changesets/cli":"^2.26.2","@typescript-eslint/parser":"^6.3.0","@typescript-eslint/eslint-plugin":"^6.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.3_1730687836051_0.4278332840523926","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"dain-sdk","version":"0.0.4","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.4","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"b3d65f9a68cf939833d1ad203a39cf629386a12d","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.4.tgz","fileCount":10,"integrity":"sha512-m+jQ1+qJe1m5SgcRKkF60sv9a7V0AreusYXhpyjHfsGyzF6jqiMonV0+QdeBt6jQ2y6gupBjx0jR2R7RievtWg==","signatures":[{"sig":"MEUCICFOU5OC1tmL8fjHRoXSNy69e67b6YOvqljMZXH4Kf3IAiEAvAgb+2zEbN27inEb+8LiRphsCJAc3Jao/DIqY6bIctM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3642608},"types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"fb443981e62a83d7e417c6df9d1e01f40829d49a","scripts":{"test":"vitest","build":"tsup","clean":"rm -fr dist/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.7.0","description":"DAIN prediction's TS sdk","directories":{},"_nodeVersion":"18.20.4","dependencies":{"bn.js":"^5.2.1","@types/bn.js":"^5.1.6","promise-retry":"^2.0.1","@solana/web3.js":"^1.95.4","@coral-xyz/anchor":"0.29.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"^2.22.0","@types/promise-retry":"^1.1.6","@switchboard-xyz/on-demand":"^1.2.47","@solana/wallet-adapter-base":"^0.9.23"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.47.0","vitest":"^0.34.1","prettier":"^3.0.1","typescript":"^5.1.6","@changesets/cli":"^2.26.2","@typescript-eslint/parser":"^6.3.0","@typescript-eslint/eslint-plugin":"^6.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.4_1730695321803_0.8821272682485266","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"dain-sdk","version":"0.0.5","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.5","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"8c274e9c784c325282aa7c6a9af87fdd22506a25","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.5.tgz","fileCount":10,"integrity":"sha512-317sXYWhQfNf2mljka1pEzL3FBVxgxyqT4s+ABVdpCzworrX969pxbNzReuZ4jnbFl4Gv5YyGNDhZmxNrETuyQ==","signatures":[{"sig":"MEYCIQCOOpW/y+kUbsHCDfXdVxpVDtxg5SPKFlvikJvOytHPZAIhAI5emZLTJ2YyRldaXWjSeDuefcPKng6uHxY3+vE+hfkh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3654373},"types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"299143bd3fce615c0ff14fad274132ddbc0987a9","scripts":{"test":"vitest","build":"tsup","clean":"rm -fr dist/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.7.0","description":"DAIN prediction's TS sdk","directories":{},"_nodeVersion":"18.20.4","dependencies":{"bn.js":"^5.2.1","@types/bn.js":"^5.1.6","promise-retry":"^2.0.1","@solana/web3.js":"^1.95.4","@coral-xyz/anchor":"0.29.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"^2.22.0","@types/promise-retry":"^1.1.6","@switchboard-xyz/on-demand":"^1.2.47","@solana/wallet-adapter-base":"^0.9.23"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.47.0","vitest":"^0.34.1","prettier":"^3.0.1","typescript":"^5.1.6","@changesets/cli":"^2.26.2","@typescript-eslint/parser":"^6.3.0","@typescript-eslint/eslint-plugin":"^6.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.5_1730696225944_0.7058401829854204","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"dain-sdk","version":"0.0.6","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.6","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"ef162fc15349dacf3e907c48e98209ab45dd2be6","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.6.tgz","fileCount":10,"integrity":"sha512-O2/MpipN+XY5bZgEC2Dy+akEzf6BNbdoJ1VlMofQbSQMoEKd+NHkFP9U3l1e0b19DA6oE5y7YJnmvBYu5SORkQ==","signatures":[{"sig":"MEYCIQDctdk3tTdflvgXq5YwcORGtEgXe3O0hsb+Oe6qYrgR3gIhALrpIeWboP157HmurrWFe0e9TMtfmoVxU00b5aNCNSt3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3659164},"types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"9da7dc12e26085e12b4e1c9f41214b221151a0d2","scripts":{"test":"vitest","build":"tsup","clean":"rm -fr dist/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.7.0","description":"DAIN prediction's TS sdk","directories":{},"_nodeVersion":"18.20.4","dependencies":{"bn.js":"^5.2.1","@types/bn.js":"^5.1.6","promise-retry":"^2.0.1","@solana/web3.js":"^1.95.4","@coral-xyz/anchor":"0.29.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"^2.22.0","@types/promise-retry":"^1.1.6","@switchboard-xyz/on-demand":"^1.2.47","@solana/wallet-adapter-base":"^0.9.23"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.47.0","vitest":"^0.34.1","prettier":"^3.0.1","typescript":"^5.1.6","@changesets/cli":"^2.26.2","@typescript-eslint/parser":"^6.3.0","@typescript-eslint/eslint-plugin":"^6.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.6_1730775368744_0.15307553790128403","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"dain-sdk","version":"0.0.7","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.7","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"bc5ecd789e129e07386059d3b1381c201364368e","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.7.tgz","fileCount":10,"integrity":"sha512-mGwPw+eZ7Er84OyyPxLo4nZcEMP/e2boF5sAta6CRmVkHGryICB0cthsoKfRN7eIHU5nPEDCZGS0r/rkT2r4mw==","signatures":[{"sig":"MEYCIQDPC7hkvv+mK1zzLf1QyBKLOpLGzQgY/OXn31CxDCA8jAIhAMHbBa1eOBz2z6U5prnjYvyr56eO2oRJpE9tZEVc9pzo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10419142},"types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"7767e9b9d222b7ec258995ad60d390cffa968739","scripts":{"test":"vitest","build":"tsup","clean":"rm -fr dist/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.8.2","description":"DAIN prediction's TS sdk","directories":{},"_nodeVersion":"20.18.0","dependencies":{"bn.js":"^5.2.1","@types/node":"^22.9.0","@types/bn.js":"^5.1.6","promise-retry":"^2.0.1","@solana/web3.js":"^1.95.4","@coral-xyz/anchor":"0.29.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"^2.22.0","@types/promise-retry":"^1.1.6","@switchboard-xyz/on-demand":"^1.2.47","@solana/wallet-adapter-base":"^0.9.23"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.47.0","vitest":"^0.34.1","prettier":"^3.0.1","typescript":"^5.1.6","@changesets/cli":"^2.26.2","@typescript-eslint/parser":"^6.3.0","@typescript-eslint/eslint-plugin":"^6.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.7_1731479519142_0.16261339384923268","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"dain-sdk","version":"0.0.8","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.8","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"fd345c3fc140ba36fa9fa1d4e2ae42359992158a","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.8.tgz","fileCount":10,"integrity":"sha512-c43V9AlOG/r0iRX91hxwpega3d4CcHBTvkk8moLw6/76Aa/OLYtAQpSSpNvM0neLTz3DyhlBB70RiIvsYMWXcA==","signatures":[{"sig":"MEUCIQDN7I63jL8U/bYcz2Q7U99T92Pcsi336gjOVXvJXlJuwAIgGicoiAr+0RBFFJ+uHaKf6nnU8rRxwBWTmoXyQJeT3CM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10556509},"types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"51c86796a561ccb56c9f58f0142d9e07c9a84621","scripts":{"test":"vitest","build":"tsup","clean":"rm -fr dist/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.8.2","description":"DAIN prediction's TS sdk","directories":{},"_nodeVersion":"20.18.1","dependencies":{"bn.js":"^5.2.1","@types/node":"^22.9.0","@types/bn.js":"^5.1.6","promise-retry":"^2.0.1","@solana/web3.js":"^1.95.4","@coral-xyz/anchor":"0.29.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"^2.22.0","@types/promise-retry":"^1.1.6","@switchboard-xyz/on-demand":"^1.2.47","@solana/wallet-adapter-base":"^0.9.23"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.47.0","vitest":"^0.34.1","prettier":"^3.0.1","typescript":"^5.1.6","@changesets/cli":"^2.26.2","@typescript-eslint/parser":"^6.3.0","@typescript-eslint/eslint-plugin":"^6.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.8_1732787605851_0.16666882908119818","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"dain-sdk","version":"0.0.9","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.9","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"27cc91e65375c2f294207ec55fa5570e38d435d1","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.9.tgz","fileCount":10,"integrity":"sha512-NnOu3W/OjsZGDmDOtwwHzCui0x4HI4Z6EvjlvtDbHcNQvzhUni4kbn9Z5JJSxb1TFkOnDRGKS5QI7blebls52A==","signatures":[{"sig":"MEYCIQDFfR1Y051j1Ol+yHuT/mzyyisCjksSU2XEnQO4hwmu3QIhAKyugeLyQMSD+JmrFEtl9VWld1rDz2IeEZcZ3rbCt+yo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11166248},"types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"580598a0beeb1378fbebb46a402a96867e30abb1","scripts":{"test":"vitest","build":"tsup","clean":"rm -fr dist/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.8.2","description":"DAIN prediction's TS sdk","directories":{},"_nodeVersion":"20.18.1","dependencies":{"bn.js":"^5.2.1","@types/node":"^22.9.0","@types/bn.js":"^5.1.6","promise-retry":"^2.0.1","@solana/web3.js":"^1.95.4","@coral-xyz/anchor":"0.29.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"^2.22.0","@types/promise-retry":"^1.1.6","@switchboard-xyz/on-demand":"^1.2.47","@solana/wallet-adapter-base":"^0.9.23"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.47.0","vitest":"^0.34.1","prettier":"^3.0.1","typescript":"^5.1.6","@changesets/cli":"^2.26.2","@typescript-eslint/parser":"^6.3.0","@typescript-eslint/eslint-plugin":"^6.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.9_1733717707059_0.3400661271718959","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"dain-sdk","version":"0.0.10","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.10","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"ceb946613f0f475c53159a41bc7cbff1d40041a1","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.10.tgz","fileCount":3,"integrity":"sha512-+AxuyjvVmnQHgqlRYOCChbq38ybig0F6rW9BDBafBd9khN0/5Ni89bDHWwsunN0FRfEOB9/uEKzK7FH9WXbYAQ==","signatures":[{"sig":"MEQCICRQnz+EDtIEcXdLGL0acbZ/GY3yWzT8+q6RSFUCqJ3iAiB2ozIgEKsmuYEeB7Yuc3aUWUdy2BAKdi+ssapYJ8XUmA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13953},"types":"dist/index.d.ts","engines":{"node":">=20.18.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"f80b46421dd4bd9d0e3f72f9d384ae4967bd569a","scripts":{"lint":"eslint './**/*.{ts,tsx}' --quiet","test":"mocha -r ts-node/register tests/**/*.ts","build":"yarn clean && tsc -p tsconfig.json && tsc -p tsconfig.browser.json && node scripts/postbuild.js","clean":"rm -fr dist/","build:browser":"yarn clean && tsc -p tsconfig.json && tsc -p tsconfig.browser.json && node scripts/postbuild.js --force-env browser"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.8.2","description":"DAIN prediction's TS sdk","directories":{},"resolutions":{"@solana/errors":"2.0.0-preview.4","@solana/codecs-data-structures":"2.0.0-preview.4"},"_nodeVersion":"20.18.1","dependencies":{"uuid":"^8.3.2","yargs":"^17.7.2","zstddec":"^0.1.0","tweetnacl":"1.0.3","node-cache":"^5.1.2","@grpc/grpc-js":"^1.8.0","anchor-bankrun":"^0.3.0","rpc-websockets":"7.5.1","solana-bankrun":"^0.3.0","@solana/web3.js":"1.92.3","@coral-xyz/anchor":"0.28.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"2.5.3","@coral-xyz/anchor-30":"npm:@coral-xyz/anchor@0.30.1","@project-serum/serum":"^0.13.38","@openbook-dex/openbook-v2":"0.2.10","@ellipsis-labs/phoenix-sdk":"^1.4.2","@switchboard-xyz/on-demand":"1.2.42","strict-event-emitter-types":"^2.0.0","@triton-one/yellowstone-grpc":"1.3.0","@pythnetwork/price-service-sdk":"^1.7.1","@pythnetwork/pyth-solana-receiver":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","sinon":"^18.0.0","eslint":"7.29.0","lodash":"^4.17.21","ts-node":"^10.8.0","encoding":"^0.1.13","prettier":"3.0.1","typescript":"^4.9.5","@types/bs58":"^4.0.4","@types/chai":"^4.3.1","@types/jest":"^28.1.3","@types/bn.js":"^5.1.3","@types/mocha":"^9.1.1","@types/big.js":"^6.2.0","object-sizeof":"^2.6.3","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.28.0","@typescript-eslint/eslint-plugin":"4.28.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.10_1733902365535_0.4658180881496665","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"dain-sdk","version":"0.0.11","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.11","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"18d61d5c7d8631f2877eeb977e3c72717ded983a","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.11.tgz","fileCount":4,"integrity":"sha512-pu08X0UBf5XZ63dcbH6u3F3DE6wztwiVLhPBfMnCxGvKrZmQV5K6eHjMjtmSf5UPKmJAUFgPjzkGQTLrwet+zw==","signatures":[{"sig":"MEUCIQDkloAd/bm1z/aZZhaeRBP1lXi5cDiYpbXmxysLvuS/RwIgM66PABHIYJ6ol9NpWCcvOOABKfb3mTTSmGyQwBCDpWc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22194},"main":"lib/node/index.js","types":"lib/node/index.d.ts","browser":"./lib/browser/index.js","engines":{"node":">=20.18.0"},"gitHead":"45741d8bd70224391a4c92bed2ececeeeb70b991","scripts":{"lint":"eslint './**/*.{ts,tsx}' --quiet","test":"mocha -r ts-node/register tests/**/*.ts","build":"yarn clean && tsc -p tsconfig.json && tsc -p tsconfig.browser.json && node scripts/postbuild.js","clean":"rm -fr lib","build:browser":"yarn clean && tsc -p tsconfig.json && tsc -p tsconfig.browser.json && node scripts/postbuild.js --force-env browser"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.8.2","description":"DAIN prediction's TS sdk","directories":{"lib":"lib"},"resolutions":{"@solana/errors":"2.0.0-preview.4","@solana/codecs-data-structures":"2.0.0-preview.4"},"_nodeVersion":"20.18.1","dependencies":{"uuid":"^8.3.2","yargs":"^17.7.2","zstddec":"^0.1.0","tweetnacl":"1.0.3","node-cache":"^5.1.2","@grpc/grpc-js":"^1.8.0","anchor-bankrun":"^0.3.0","rpc-websockets":"7.5.1","solana-bankrun":"^0.3.0","@solana/web3.js":"1.92.3","@coral-xyz/anchor":"0.28.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"2.5.3","@coral-xyz/anchor-30":"npm:@coral-xyz/anchor@0.30.1","@project-serum/serum":"^0.13.38","@openbook-dex/openbook-v2":"0.2.10","@ellipsis-labs/phoenix-sdk":"^1.4.2","@switchboard-xyz/on-demand":"1.2.42","strict-event-emitter-types":"^2.0.0","@triton-one/yellowstone-grpc":"1.3.0","@pythnetwork/price-service-sdk":"^1.7.1","@pythnetwork/pyth-solana-receiver":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","sinon":"^18.0.0","eslint":"7.29.0","lodash":"^4.17.21","ts-node":"^10.8.0","encoding":"^0.1.13","prettier":"3.0.1","typescript":"^4.9.5","@types/bs58":"^4.0.4","@types/chai":"^4.3.1","@types/jest":"^28.1.3","@types/bn.js":"^5.1.3","@types/mocha":"^9.1.1","@types/big.js":"^6.2.0","object-sizeof":"^2.6.3","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.28.0","@typescript-eslint/eslint-plugin":"4.28.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.11_1733902846469_0.1526460971985486","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"dain-sdk","version":"0.0.12","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.12","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"dd5b8b37c833561b61ed017a3b59bd39a210b716","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.12.tgz","fileCount":944,"integrity":"sha512-Y2pLSGW0VytqE8xInJmaSojmPKej9LR94TAF+bjKCnmEGRI3JR98tf5FmMLE6WlqbkV0IVYWHhkWBYbUzwnHSA==","signatures":[{"sig":"MEUCIHtGhpB2pe4it7zqqoEBPRNoLuvJm+EnrsDkNLRZFbqBAiEAgAJWf+nmY0cd6BsYtF87XTeIwsLXs0iCYdRZBnl3r08=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8402120},"main":"lib/node/index.js","types":"lib/node/index.d.ts","browser":"./lib/browser/index.js","engines":{"node":">=20.18.0"},"gitHead":"ae13a6c4b86838cb69dc3205378e734fbe5b29fb","scripts":{"lint":"eslint './**/*.{ts,tsx}' --quiet","test":"mocha -r ts-node/register tests/**/*.ts","build":"yarn clean && tsc -p tsconfig.json && tsc -p tsconfig.browser.json && node scripts/postbuild.js","clean":"rm -fr lib","build:browser":"yarn clean && tsc -p tsconfig.json && tsc -p tsconfig.browser.json && node scripts/postbuild.js --force-env browser"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.8.2","description":"DAIN prediction's TS sdk","directories":{"lib":"lib"},"resolutions":{"@solana/errors":"2.0.0-preview.4","@solana/codecs-data-structures":"2.0.0-preview.4"},"_nodeVersion":"20.18.1","dependencies":{"uuid":"^8.3.2","yargs":"^17.7.2","zstddec":"^0.1.0","tweetnacl":"1.0.3","node-cache":"^5.1.2","@grpc/grpc-js":"^1.8.0","anchor-bankrun":"^0.3.0","rpc-websockets":"7.5.1","solana-bankrun":"^0.3.0","@solana/web3.js":"1.92.3","@coral-xyz/anchor":"0.28.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"2.5.3","@coral-xyz/anchor-30":"npm:@coral-xyz/anchor@0.30.1","@project-serum/serum":"^0.13.38","@openbook-dex/openbook-v2":"0.2.10","@ellipsis-labs/phoenix-sdk":"^1.4.2","@switchboard-xyz/on-demand":"1.2.42","strict-event-emitter-types":"^2.0.0","@triton-one/yellowstone-grpc":"1.3.0","@pythnetwork/price-service-sdk":"^1.7.1","@pythnetwork/pyth-solana-receiver":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","sinon":"^18.0.0","eslint":"7.29.0","lodash":"^4.17.21","ts-node":"^10.8.0","encoding":"^0.1.13","prettier":"3.0.1","typescript":"^4.9.5","@types/bs58":"^4.0.4","@types/chai":"^4.3.1","@types/jest":"^28.1.3","@types/bn.js":"^5.1.3","@types/mocha":"^9.1.1","@types/big.js":"^6.2.0","object-sizeof":"^2.6.3","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.28.0","@typescript-eslint/eslint-plugin":"4.28.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.12_1733903221165_0.9170264006958591","host":"s3://npm-registry-packages-npm-production"}},"0.0.13":{"name":"dain-sdk","version":"0.0.13","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.13","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"06ab7e6d2df9638982c24ca31252ad67dd1e593f","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.13.tgz","fileCount":10,"integrity":"sha512-8gipYTmaisd2o3QCNesWhxFSPo0in4JcU9k10u6LSEcNss12+HCrWhHBqyQ8o3Lyu8qN7da8z36whXi1WJELsQ==","signatures":[{"sig":"MEYCIQCHVxTeMqYry5lXcWO0tQjTCwlfeMa5AIZBF3gFPwg6LQIhALWys3qflrmu5+Y3Kn/9/uI5ohr7qKMbyzheC7yARa7G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.13","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15702042},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.18.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"6a9b7a3c8e4ce74833d1f3030e1cb9f42fa26e1f","scripts":{"test":"mocha -r ts-node/register tests/**/*.ts","build":"tsup","clean":"rm -fr dist/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.8.2","description":"DAIN prediction's TS sdk","directories":{},"resolutions":{"@solana/errors":"2.0.0-preview.4","@solana/codecs-data-structures":"2.0.0-preview.4"},"_nodeVersion":"20.18.1","dependencies":{"tsup":"^8.3.5","uuid":"^8.3.2","yargs":"^17.7.2","zstddec":"^0.1.0","tweetnacl":"1.0.3","node-cache":"^5.1.2","anchor-bankrun":"^0.3.0","solana-bankrun":"^0.3.0","@solana/web3.js":"1.92.3","@coral-xyz/anchor":"0.28.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"2.5.3","@coral-xyz/anchor-30":"npm:@coral-xyz/anchor@0.30.1","@project-serum/serum":"^0.13.38","@openbook-dex/openbook-v2":"0.2.10","@ellipsis-labs/phoenix-sdk":"^1.4.2","@switchboard-xyz/on-demand":"1.2.42","strict-event-emitter-types":"^2.0.0","@pythnetwork/price-service-sdk":"^1.7.1","@pythnetwork/pyth-solana-receiver":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","sinon":"^18.0.0","eslint":"7.29.0","lodash":"^4.17.21","ts-node":"^10.8.0","encoding":"^0.1.13","prettier":"3.0.1","typescript":"^5.1.6","@types/bs58":"^4.0.4","@types/chai":"^4.3.1","@types/jest":"^28.1.3","@types/bn.js":"^5.1.3","@types/mocha":"^9.1.1","@types/big.js":"^6.2.0","object-sizeof":"^2.6.3","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.28.0","@typescript-eslint/eslint-plugin":"4.28.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.13_1734311959022_0.9638647509733405","host":"s3://npm-registry-packages-npm-production"}},"0.0.14":{"name":"dain-sdk","version":"0.0.14","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.0.14","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"906785b1b0f6b89731db00526de2d1fe17352b96","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.0.14.tgz","fileCount":10,"integrity":"sha512-zT7hLy2vWH30HsLbVs2Ze828wZpIXsV7lvz2dC6QJsBb8ppkSItW5EqpP0ODWq4QGRi+S0v48XMKQ1LYCYiuyw==","signatures":[{"sig":"MEUCIQDcf4New0YEPSizucmt594/rrhXYBh/frT9Cvic9kCmBQIgKRiuHsbQ8Du3clslBvxWkVTDrub9XQKyJrKMaaJaeb4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dain-sdk@0.0.14","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15702088},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=20.18.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"453ae7c28834886f0f55ddcedf0cf184a9e26c7e","scripts":{"test":"mocha -r ts-node/register tests/**/*.ts","build":"tsup","clean":"rm -fr dist/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.8.2","description":"DAIN prediction's TS sdk","directories":{},"resolutions":{"@solana/errors":"2.0.0-preview.4","@solana/codecs-data-structures":"2.0.0-preview.4"},"_nodeVersion":"20.18.1","dependencies":{"tsup":"^8.3.5","uuid":"^8.3.2","yargs":"^17.7.2","zstddec":"^0.1.0","tweetnacl":"1.0.3","node-cache":"^5.1.2","anchor-bankrun":"^0.3.0","solana-bankrun":"^0.3.0","@solana/web3.js":"1.92.3","@coral-xyz/anchor":"0.28.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"2.5.3","@coral-xyz/anchor-30":"npm:@coral-xyz/anchor@0.30.1","@project-serum/serum":"^0.13.38","@openbook-dex/openbook-v2":"0.2.10","@ellipsis-labs/phoenix-sdk":"^1.4.2","@switchboard-xyz/on-demand":"1.2.42","strict-event-emitter-types":"^2.0.0","@pythnetwork/price-service-sdk":"^1.7.1","@pythnetwork/pyth-solana-receiver":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","sinon":"^18.0.0","eslint":"7.29.0","lodash":"^4.17.21","ts-node":"^10.8.0","encoding":"^0.1.13","prettier":"3.0.1","typescript":"^5.1.6","@types/bs58":"^4.0.4","@types/chai":"^4.3.1","@types/jest":"^28.1.3","@types/bn.js":"^5.1.3","@types/mocha":"^9.1.1","@types/big.js":"^6.2.0","object-sizeof":"^2.6.3","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.28.0","@typescript-eslint/eslint-plugin":"4.28.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.0.14_1734314496433_0.3677318131461802","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.0":{"name":"dain-sdk","version":"0.1.0-alpha.0","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.1.0-alpha.0","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"1fa02547f5c2c2046ba60252793ce9ab48efe3d8","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.1.0-alpha.0.tgz","fileCount":905,"integrity":"sha512-UNMxB6tu+//li0PQL9NSXGAJnBxrNoOW7Q1pPrxK3esf4ZVj7UatQmekvWDbRFqeexQv/znWuHdmgdwOVQ1juw==","signatures":[{"sig":"MEQCIGsKfXrXch14hUYgmw/d/8+NdYsgzV+7czTDKZoK8RZ5AiA5561VfFwtmmGQEysZifJ8hpzD4n329BLVoCom9q23xw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8311909},"main":"lib/node/index.js","types":"lib/node/index.d.ts","browser":"./lib/browser/index.js","engines":{"node":">=20.18.0"},"gitHead":"ce041a11aba316b9766ec44e11956877e48285df","scripts":{"test":"mocha -r ts-node/register tests/**/*.ts","build":"yarn clean && tsc -p tsconfig.json && tsc -p tsconfig.browser.json","clean":"rm -fr lib/","build:browser":"yarn clean && tsc -p tsconfig.json && tsc -p tsconfig.browser.json --force-env browser"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.8.2","description":"DAIN prediction's TS sdk","directories":{"lib":"lib"},"resolutions":{"@solana/errors":"2.0.0-preview.4","@solana/codecs-data-structures":"2.0.0-preview.4"},"_nodeVersion":"20.18.1","dependencies":{"tsup":"^8.3.5","uuid":"^8.3.2","yargs":"^17.7.2","dotenv":"^16.4.7","zstddec":"^0.1.0","tweetnacl":"1.0.3","node-cache":"^5.1.2","anchor-bankrun":"^0.3.0","rpc-websockets":"7.5.1","solana-bankrun":"^0.3.0","@solana/web3.js":"1.92.3","@coral-xyz/anchor":"0.28.0","@inquirer/prompts":"^7.2.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"2.5.3","@coral-xyz/anchor-30":"npm:@coral-xyz/anchor@0.30.1","@project-serum/serum":"^0.13.38","@openbook-dex/openbook-v2":"0.2.10","@ellipsis-labs/phoenix-sdk":"^1.4.2","@switchboard-xyz/on-demand":"1.2.42","strict-event-emitter-types":"^2.0.0","@pythnetwork/price-service-sdk":"^1.7.1","@pythnetwork/pyth-solana-receiver":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","sinon":"^18.0.0","eslint":"7.29.0","lodash":"^4.17.21","ts-node":"^10.8.0","encoding":"^0.1.13","prettier":"3.0.1","typescript":"^5.1.6","@types/bs58":"^4.0.4","@types/chai":"^4.3.1","@types/jest":"^28.1.3","@types/bn.js":"^5.1.3","@types/mocha":"^9.1.1","@types/big.js":"^6.2.0","object-sizeof":"^2.6.3","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.28.0","@typescript-eslint/eslint-plugin":"4.28.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.1.0-alpha.0_1736309984711_0.8926594954981144","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.1":{"name":"dain-sdk","version":"0.1.0-alpha.1","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.1.0-alpha.1","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"69be165e1366787ba1c818ca0ef6d07e6894aa4d","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.1.0-alpha.1.tgz","fileCount":905,"integrity":"sha512-59FkpXBSETZh3r/tdyXZZBQvFJW3oVxT6hsg7viTEQ3ibU/IuF0SB4qUahsobSOewm+AnByuwdTN4Qnm0IjBPg==","signatures":[{"sig":"MEYCIQDVd682ohlyDORSccN33UNZvEnUsLX0AmtI7LCTp9JIGQIhAI9wAZ8NzH4xdcaWarBvF0NruuLBvyjixqo0yemSmiwi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8311291},"main":"lib/node/index.js","types":"lib/node/index.d.ts","browser":"./lib/browser/index.js","engines":{"node":">=20.18.0"},"gitHead":"b3bcc0210b1e3ef681b66baf7e97f119c399d7c1","scripts":{"test":"mocha -r ts-node/register tests/**/*.ts","build":"yarn clean && tsc -p tsconfig.json && tsc -p tsconfig.browser.json","clean":"rm -fr lib/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.8.2","description":"DAIN prediction's TS sdk","directories":{"lib":"lib"},"resolutions":{"@solana/errors":"2.0.0-preview.4","@solana/codecs-data-structures":"2.0.0-preview.4"},"_nodeVersion":"20.18.1","dependencies":{"tsup":"^8.3.5","uuid":"^8.3.2","yargs":"^17.7.2","dotenv":"^16.4.7","zstddec":"^0.1.0","tweetnacl":"1.0.3","node-cache":"^5.1.2","anchor-bankrun":"^0.3.0","rpc-websockets":"7.5.1","solana-bankrun":"^0.3.0","@solana/web3.js":"1.92.3","@coral-xyz/anchor":"0.28.0","@inquirer/prompts":"^7.2.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"2.5.3","@coral-xyz/anchor-30":"npm:@coral-xyz/anchor@0.30.1","@project-serum/serum":"^0.13.38","@openbook-dex/openbook-v2":"0.2.10","@ellipsis-labs/phoenix-sdk":"^1.4.2","@switchboard-xyz/on-demand":"1.2.42","strict-event-emitter-types":"^2.0.0","@pythnetwork/price-service-sdk":"^1.7.1","@pythnetwork/pyth-solana-receiver":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","sinon":"^18.0.0","eslint":"7.29.0","lodash":"^4.17.21","ts-node":"^10.8.0","encoding":"^0.1.13","prettier":"3.0.1","typescript":"^5.1.6","@types/bs58":"^4.0.4","@types/chai":"^4.3.1","@types/jest":"^28.1.3","@types/bn.js":"^5.1.3","@types/mocha":"^9.1.1","@types/big.js":"^6.2.0","object-sizeof":"^2.6.3","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.28.0","@typescript-eslint/eslint-plugin":"4.28.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.1.0-alpha.1_1736310213286_0.07578254563172648","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.2":{"name":"dain-sdk","version":"0.1.0-alpha.2","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","_id":"dain-sdk@0.1.0-alpha.2","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"homepage":"https://github.com/dainmoly/dain-sdk#readme","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"dist":{"shasum":"570c25070001006e5bb8cc189f49b4afce73e9c7","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.1.0-alpha.2.tgz","fileCount":905,"integrity":"sha512-Hd4R9UeCm+Su+5Cycuhswhpk65a3L0wocp2jrWJcofKaSHQAGZ80KsTBEThRSw3Tki/uU/9zfumMo5/7uPwAwA==","signatures":[{"sig":"MEYCIQCvRG5uXSsREX4XyJ7uzUHzi5vloccD7rH5bb1i6ExBwgIhAKbPAfO+b0gBCg44MuYjywmqYGJucYzlkBHr6QGRt1rz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8311290},"main":"lib/node/index.js","types":"lib/node/index.d.ts","browser":"./lib/browser/index.js","engines":{"node":">=20.7.0"},"gitHead":"2fe230489323e6838a4400d35cb615cacf93b6b9","scripts":{"test":"mocha -r ts-node/register tests/**/*.ts","build":"yarn clean && tsc -p tsconfig.json && tsc -p tsconfig.browser.json","clean":"rm -fr lib/"},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"_npmVersion":"10.8.2","description":"DAIN prediction's TS sdk","directories":{"lib":"lib"},"resolutions":{"@solana/errors":"2.0.0-preview.4","@solana/codecs-data-structures":"2.0.0-preview.4"},"_nodeVersion":"20.18.1","dependencies":{"tsup":"^8.3.5","uuid":"^8.3.2","yargs":"^17.7.2","dotenv":"^16.4.7","zstddec":"^0.1.0","tweetnacl":"1.0.3","node-cache":"^5.1.2","anchor-bankrun":"^0.3.0","rpc-websockets":"7.5.1","solana-bankrun":"^0.3.0","@solana/web3.js":"1.92.3","@coral-xyz/anchor":"0.28.0","@inquirer/prompts":"^7.2.0","@solana/spl-token":"0.3.7","@pythnetwork/client":"2.5.3","@coral-xyz/anchor-30":"npm:@coral-xyz/anchor@0.30.1","@project-serum/serum":"^0.13.38","@openbook-dex/openbook-v2":"0.2.10","@ellipsis-labs/phoenix-sdk":"^1.4.2","@switchboard-xyz/on-demand":"1.2.42","strict-event-emitter-types":"^2.0.0","@pythnetwork/price-service-sdk":"^1.7.1","@pythnetwork/pyth-solana-receiver":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","sinon":"^18.0.0","eslint":"7.29.0","lodash":"^4.17.21","ts-node":"^10.8.0","encoding":"^0.1.13","prettier":"3.0.1","typescript":"^5.1.6","@types/bs58":"^4.0.4","@types/chai":"^4.3.1","@types/jest":"^28.1.3","@types/bn.js":"^5.1.3","@types/mocha":"^9.1.1","@types/big.js":"^6.2.0","object-sizeof":"^2.6.3","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.28.0","@typescript-eslint/eslint-plugin":"4.28.0"},"_npmOperationalInternal":{"tmp":"tmp/dain-sdk_0.1.0-alpha.2_1736310379967_0.2554886169522368","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"dain-sdk","author":{"name":"Dainmoly","email":"dainsm@proton.me"},"version":"0.1.1","license":"Apache-2.0","description":"DAIN prediction's TS sdk","scripts":{"build":"yarn clean && tsc -p tsconfig.json && tsc -p tsconfig.browser.json","clean":"rm -fr lib/","test":"mocha -r ts-node/register tests/**/*.ts"},"main":"lib/node/index.js","types":"lib/node/index.d.ts","browser":"./lib/browser/index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"engines":{"node":">=20.7.0"},"dependencies":{"@coral-xyz/anchor":"0.28.0","@coral-xyz/anchor-30":"npm:@coral-xyz/anchor@0.30.1","@ellipsis-labs/phoenix-sdk":"^1.4.2","@inquirer/prompts":"^7.2.0","@openbook-dex/openbook-v2":"0.2.10","@project-serum/serum":"^0.13.38","@pythnetwork/client":"2.5.3","@pythnetwork/price-service-sdk":"^1.7.1","@pythnetwork/pyth-solana-receiver":"^0.7.0","@solana/spl-token":"0.3.7","@solana/web3.js":"1.92.3","@switchboard-xyz/on-demand":"1.2.42","anchor-bankrun":"^0.3.0","dotenv":"^16.4.7","node-cache":"^5.1.2","rpc-websockets":"7.5.1","solana-bankrun":"^0.3.0","strict-event-emitter-types":"^2.0.0","tsup":"^8.3.5","tweetnacl":"1.0.3","uuid":"^8.3.2","yargs":"^17.7.2","zstddec":"^0.1.0"},"devDependencies":{"@types/big.js":"^6.2.0","@types/bn.js":"^5.1.3","@types/bs58":"^4.0.4","@types/chai":"^4.3.1","@types/jest":"^28.1.3","@types/mocha":"^9.1.1","@typescript-eslint/eslint-plugin":"4.28.0","@typescript-eslint/parser":"4.28.0","chai":"^4.3.6","encoding":"^0.1.13","eslint":"7.29.0","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","lodash":"^4.17.21","mocha":"^10.0.0","object-sizeof":"^2.6.3","prettier":"3.0.1","sinon":"^18.0.0","ts-node":"^10.8.0","typescript":"^5.1.6"},"resolutions":{"@solana/errors":"2.0.0-preview.4","@solana/codecs-data-structures":"2.0.0-preview.4"},"_id":"dain-sdk@0.1.1","gitHead":"eb9b0af9653fc8fee44dbf5ae9ba868399522adf","bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"homepage":"https://github.com/dainmoly/dain-sdk#readme","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-BWXBXP7bdq2VW8U9+y/C3UpGI16BvTd+fjWjf0Nkb5vIxQh6KXi4K0AJVvp7IyUU+un4nm0vYP95sGe1cuEKsg==","shasum":"6298030582ab0a3c886872ae1f5fce94b73e620d","tarball":"https://registry.npmjs.org/dain-sdk/-/dain-sdk-0.1.1.tgz","fileCount":906,"unpackedSize":8318367,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBbhq1Nh72iNv9e/cCGXWFpixqFlIraC7djo28/RmqIAiA/kORg346JM0F1M0h8EVlrZ1iZ8YKdxH6YJYP/EV5h8Q=="}]},"_npmUser":{"name":"dainsm","email":"dainsm@proton.me"},"maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dain-sdk_0.1.1_1737004574421_0.6651837238250393"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-01T02:08:16.406Z","modified":"2025-01-16T05:16:14.879Z","0.0.1":"2024-11-01T02:08:16.795Z","0.0.2":"2024-11-01T04:32:31.954Z","0.0.3":"2024-11-04T02:37:16.303Z","0.0.4":"2024-11-04T04:42:02.107Z","0.0.5":"2024-11-04T04:57:06.219Z","0.0.6":"2024-11-05T02:56:08.999Z","0.0.7":"2024-11-13T06:31:59.414Z","0.0.8":"2024-11-28T09:53:26.088Z","0.0.9":"2024-12-09T04:15:07.276Z","0.0.10":"2024-12-11T07:32:45.697Z","0.0.11":"2024-12-11T07:40:46.684Z","0.0.12":"2024-12-11T07:47:01.536Z","0.0.13":"2024-12-16T01:19:19.284Z","0.0.14":"2024-12-16T02:01:36.657Z","0.1.0-alpha.0":"2025-01-08T04:19:44.990Z","0.1.0-alpha.1":"2025-01-08T04:23:33.540Z","0.1.0-alpha.2":"2025-01-08T04:26:20.210Z","0.1.1":"2025-01-16T05:16:14.687Z"},"bugs":{"url":"https://github.com/dainmoly/dain-sdk/issues"},"author":{"name":"Dainmoly","email":"dainsm@proton.me"},"license":"Apache-2.0","homepage":"https://github.com/dainmoly/dain-sdk#readme","repository":{"url":"git+https://github.com/dainmoly/dain-sdk.git"},"description":"DAIN prediction's TS sdk","maintainers":[{"name":"dainsm","email":"dainsm@proton.me"}],"readme":"# DAIN-SDK: A TypeScript SDK\n\n## Getting Started\n\n### Step 1: Initialize the dainClient\n\n> This example uses @solana/web3.js version 1.91.8\n\nIn order to interact with the dain SDK, we must first configure the dainClient object using the `DainClient` instance:\n\n```javascript\nimport { Connection } from \"@solana/web3.js\";\nimport { DainClient } from \"@dain/drift-sdk\";\n\nexport const connection = new Connection(RPC_URL);\nexport const signer = Keypair.fromSecretKey(bs58.decode(ADMIN_KEYPAIR));\nexport const wallet = new NodeWallet(signer);\n\nexport const client = new DainClient({\n  programID: DAIN_PROGRAM_ID,\n  connection,\n  wallet: adminWallet,\n  accountSubscription: {\n    type: \"polling\",\n    accountLoader: bulkAccountLoader,\n  },\n});\n```\n\n- `connection` establishes a connection to a Solana cluster\n- `wallet` creates an Anchor-compliant Node.js wallet from your [local Solana keypair](https://docs.solanalabs.com/cli/wallets/)\n- `accountSubscription` type can be \"polling\", \"websocket\"\n- `client` is a high-level SDK for interacting with the Dain protocol\n\n### Step 2: Subscribe client\n\nIn order to interact with dain protocol, you need to subscribe client for fetch accounts:\n\n```javascript\nawait client.subscribe();\n```\n\n### Step 3: Create an Account\n\nAccounts on dain protocol are the entry point for interacting with the protocol, allowing users to deposit assets, take out loans, and manage their positions. Using the dain SDK, you can create an account with one line of code. With this ability, you can enable seamless user onboarding by creating dedicated accounts for each new user.\n\n```javascript\nconst marginfiAccount = await client.createMarginfiAccount();\n```\n\n### Step 4: Make a Deposit\n\nOnce you’ve fetched the bank you want to interact with, you can make a deposit:\n\n```javascript\nawait client.deposit(1, bank.address);\n```\n\nThe `deposit` method on the marginfi account object allows you to make a deposit into the specified bank account using the bank's address as a parameter (second parameter). Note that the first parameter let’s you specify how much (in the denominated asset) you want to deposit into the bank.\n\n### Step 5: Borrow/Withdraw From a spot market\n\nAfter lending liquidity on marginfi, you’re account is eligible to act as a Borrower. You can borrow liquidity from marginfi banks using one line of code:\n\n```javascript\nawait client.withdraw(1, bank.address);\n```\n\nThat's all! For more details on the dain SDK and use cases, refer to the examples folder.\n","readmeFilename":"README.md"}