{"_id":"@acurast/sdk","_rev":"11-522de635bb2f5d06086fc998a9504ae4","name":"@acurast/sdk","dist-tags":{"next":"1.4.0","latest":"1.5.0"},"versions":{"0.0.1":{"name":"@acurast/sdk","version":"0.0.1","_id":"@acurast/sdk@0.0.1","maintainers":[{"name":"papers_ch","email":"contact@papers.ch"}],"dist":{"shasum":"69ac134e02307cb72a27b52e323049637cd817e0","tarball":"https://registry.npmjs.org/@acurast/sdk/-/sdk-0.0.1.tgz","fileCount":11,"integrity":"sha512-DX3if4gluZcCz4pKPKPbxmYstowGzfNPtesEHbE/xqUhXFKY/HQNSbCTmWJdI3GLXhaegROAWgJIcaYBqvs1Wg==","signatures":[{"sig":"MEUCIQCEbzjpUj/b3gmwl6TK3H3E7sO4EioDl+MRSJRWxcysYgIgUwsdlxy7GR6IYtVxrH916ZHuqA3buN0P7Ycn8hUFmxY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3289},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"16e43dccf5e08e366e585efad88f787b7caf2b4c","_npmUser":{"name":"papers_ch","email":"contact@papers.ch"},"_npmVersion":"10.9.2","description":"This library was generated with [Nx](https://nx.dev).","directories":{},"_nodeVersion":"22.15.0","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.1_1748864142057_0.10454823163645521","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@acurast/sdk","version":"1.0.1","keywords":["acurast","sdk"],"author":{"url":"https://papers.ch","name":"Papers AG","email":"contact@papers.ch"},"license":"ISC","_id":"@acurast/sdk@1.0.1","maintainers":[{"name":"papers_ch","email":"contact@papers.ch"}],"dist":{"shasum":"65990fe7a1bbb960ccab3197310e643ee5c44329","tarball":"https://registry.npmjs.org/@acurast/sdk/-/sdk-1.0.1.tgz","fileCount":130,"integrity":"sha512-XV90kWBFyCHDYulNSGew3QmKz7uOlx4Ew0DV4eFmPZfmVyyGHVaQu1WGfEuKdHcpE4IQV+cKiPn14ACFL1A+xg==","signatures":[{"sig":"MEUCIGVfCqwp4XPalXSpsRIQPaXndzstHud0LY3HsCIm8sS8AiEA9P1l6GuQL95pchA6kc27RnuDD0JhRTmH5VvAyRcrZrk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":216318},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ipfs":{"types":"./dist/ipfs/index.d.ts","import":"./dist/ipfs/index.js"},"./chain":{"types":"./dist/chain/index.d.ts","import":"./dist/chain/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js"},"./deploy":{"types":"./dist/deploy/index.d.ts","import":"./dist/deploy/index.js"},"./matcher":{"types":"./dist/matcher/index.d.ts","import":"./dist/matcher/index.js"}},"gitHead":"709c4b2809f8bef459fea713d089016cd1eafd4f","scripts":{"test":"jest","build":"rm -rf ./dist && tsc","clean":"rm -rf dist","test:ci":"jest"},"_npmUser":{"name":"papers_ch","email":"contact@papers.ch"},"_npmVersion":"lerna/7.4.2/node@v24.7.0+arm64 (darwin)","description":"Programmatic SDK for interacting with the Acurast Cloud.","directories":{},"_nodeVersion":"24.7.0","dependencies":{"zod":"^3.25.51","axios":"^1.9.0","adm-zip":"^0.5.16","elliptic":"^6.6.1","form-data":"^4.0.2","bignumber.js":"^9.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.0","@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@types/adm-zip":"^0.5.7","@polkadot/types":"^16.1.2","@types/elliptic":"^6.4.18","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"peerDependencies":{"@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@polkadot/types":"^16.1.2","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.1_1777371574154_0.5195989265006116","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@acurast/sdk","version":"1.1.0","keywords":["acurast","sdk"],"author":{"url":"https://papers.ch","name":"Papers AG","email":"contact@papers.ch"},"license":"MIT","_id":"@acurast/sdk@1.1.0","maintainers":[{"name":"papers_ch","email":"contact@papers.ch"}],"dist":{"shasum":"b9da2cc3d6ef49157b0c0334c08b419facb845a2","tarball":"https://registry.npmjs.org/@acurast/sdk/-/sdk-1.1.0.tgz","fileCount":138,"integrity":"sha512-E2upZqIa8EDV+DPTobxozSzLUnUswFK13NPD+Zvmymm58FQ8R3np8leMp9IBU1x5tCvbZWA7/HtIzKw30Lyb0g==","signatures":[{"sig":"MEUCIDIebatQ/3zOcMHpEEYGI4+u7FGAZ1UJO0r9P0Pw6m+MAiEAi1Y5F7Z/e7W7ShvJttI4yXZ2VQYhH1hQYxfoXOuE12U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":225735},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ipfs":{"types":"./dist/ipfs/index.d.ts","import":"./dist/ipfs/index.js"},"./chain":{"types":"./dist/chain/index.d.ts","import":"./dist/chain/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js"},"./deploy":{"types":"./dist/deploy/index.d.ts","import":"./dist/deploy/index.js"},"./matcher":{"types":"./dist/matcher/index.d.ts","import":"./dist/matcher/index.js"}},"gitHead":"fa6d3196acad8df1d57eb3b656c7c464ece34214","scripts":{"test":"jest","build":"rm -rf ./dist && tsc","clean":"rm -rf dist","test:ci":"jest"},"_npmUser":{"name":"papers_ch","email":"contact@papers.ch"},"_npmVersion":"lerna/7.4.2/node@v24.14.1+x64 (linux)","description":"Programmatic SDK for interacting with the Acurast Cloud.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.51","axios":"^1.9.0","adm-zip":"^0.5.16","elliptic":"^6.6.1","form-data":"^4.0.2","bignumber.js":"^9.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.0","@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@types/adm-zip":"^0.5.7","@polkadot/types":"^16.1.2","@types/elliptic":"^6.4.18","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"peerDependencies":{"@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@polkadot/types":"^16.1.2","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.1.0_1777453978052_0.75183371673393","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@acurast/sdk","version":"1.2.0","keywords":["acurast","sdk"],"author":{"url":"https://papers.ch","name":"Papers AG","email":"contact@papers.ch"},"license":"MIT","_id":"@acurast/sdk@1.2.0","maintainers":[{"name":"papers_ch","email":"contact@papers.ch"}],"dist":{"shasum":"a72549a3bb8056ce48236a541f378b9ae2ed197e","tarball":"https://registry.npmjs.org/@acurast/sdk/-/sdk-1.2.0.tgz","fileCount":150,"integrity":"sha512-iyCpMSghW2dj346p73x2OqqV0b0KfhMGLlhUUbFXa2RFUrIqIXXkGTYShn7z/A90ZiAMM+b1elhC863WphjB/Q==","signatures":[{"sig":"MEQCIFpS/J4J2rMEtPPjGzQa1TwyuSBoOv74kjyEEPsZYM8SAiACB0qW7nClobzuLh/dXYkdTczGIbNg6GbqzOPlC510JQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":251105},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ipfs":{"types":"./dist/ipfs/index.d.ts","import":"./dist/ipfs/index.js"},"./chain":{"types":"./dist/chain/index.d.ts","import":"./dist/chain/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js"},"./deploy":{"types":"./dist/deploy/index.d.ts","import":"./dist/deploy/index.js"},"./matcher":{"types":"./dist/matcher/index.d.ts","import":"./dist/matcher/index.js"}},"gitHead":"825b73c3446b69144365056bf458e9e5e56b0eb3","scripts":{"test":"jest","build":"rm -rf ./dist && tsc","clean":"rm -rf dist","test:ci":"jest"},"_npmUser":{"name":"papers_ch","email":"contact@papers.ch"},"_npmVersion":"lerna/7.4.2/node@v24.14.1+x64 (linux)","description":"Programmatic SDK for interacting with the Acurast Cloud.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.51","axios":"^1.9.0","adm-zip":"^0.5.16","elliptic":"^6.6.1","form-data":"^4.0.2","bignumber.js":"^9.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.0","@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@types/adm-zip":"^0.5.7","@polkadot/types":"^16.1.2","@types/elliptic":"^6.4.18","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"peerDependencies":{"@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@polkadot/types":"^16.1.2","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.2.0_1778249765883_0.8384627030853915","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@acurast/sdk","version":"1.2.1","keywords":["acurast","sdk"],"author":{"url":"https://papers.ch","name":"Papers AG","email":"contact@papers.ch"},"license":"MIT","_id":"@acurast/sdk@1.2.1","maintainers":[{"name":"papers_ch","email":"contact@papers.ch"}],"dist":{"shasum":"5e704685c546368afd493ad98310b5ea5a310a9d","tarball":"https://registry.npmjs.org/@acurast/sdk/-/sdk-1.2.1.tgz","fileCount":150,"integrity":"sha512-1POEojccrrHh6WZ6Q98h7zXsmoIcmAVyO+XY8VXuJ71434NhRqjAXiYZETWlJS+Sqje5INjv1zLLTRLs0TTrUg==","signatures":[{"sig":"MEUCICWZZ24zutHArJAdutMRn4BpVrdd7ITsImPCOuTGlTLbAiEA2TQGoDWWYjnNjEVVvCpWYua9vARK5Oy4ErLvNhmkm1I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":257430},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ipfs":{"types":"./dist/ipfs/index.d.ts","import":"./dist/ipfs/index.js"},"./chain":{"types":"./dist/chain/index.d.ts","import":"./dist/chain/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js"},"./deploy":{"types":"./dist/deploy/index.d.ts","import":"./dist/deploy/index.js"},"./matcher":{"types":"./dist/matcher/index.d.ts","import":"./dist/matcher/index.js"}},"gitHead":"d63cb520965418247b6c04ac4b5d2e530e715be8","scripts":{"test":"jest","build":"rm -rf ./dist && tsc","clean":"rm -rf dist","test:ci":"jest"},"_npmUser":{"name":"papers_ch","email":"contact@papers.ch"},"_npmVersion":"lerna/7.4.2/node@v24.15.0+x64 (linux)","description":"Programmatic SDK for interacting with the Acurast Cloud.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"zod":"^3.25.51","axios":"^1.9.0","adm-zip":"^0.5.16","elliptic":"^6.6.1","form-data":"^4.0.2","bignumber.js":"^9.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.0","@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@types/adm-zip":"^0.5.7","@polkadot/types":"^16.1.2","@types/elliptic":"^6.4.18","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"peerDependencies":{"@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@polkadot/types":"^16.1.2","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.2.1_1779703542129_0.19556447301616564","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@acurast/sdk","version":"1.2.2","keywords":["acurast","sdk"],"author":{"url":"https://papers.ch","name":"Papers AG","email":"contact@papers.ch"},"license":"MIT","_id":"@acurast/sdk@1.2.2","maintainers":[{"name":"papers_ch","email":"contact@papers.ch"}],"dist":{"shasum":"155eb141817d48df7d0cc377fe52d58f846a179b","tarball":"https://registry.npmjs.org/@acurast/sdk/-/sdk-1.2.2.tgz","fileCount":150,"integrity":"sha512-vYS0trqqYpDwNDIAJSo2a8lunT8argEi5pmfibx7JAP6/J8RmgYRsCXflF9znAx4SqZvTJN3dMHG9irPPVxVUw==","signatures":[{"sig":"MEQCICvEkiwRGqjBojWJPTgQ22s8tEwzXKoIcR/AhPDSLXrwAiBkKGohqLuQg7zpOiwwt2rlnBRgsj8Fm/lHHGDpFE2f1A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":258469},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ipfs":{"types":"./dist/ipfs/index.d.ts","import":"./dist/ipfs/index.js"},"./chain":{"types":"./dist/chain/index.d.ts","import":"./dist/chain/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js"},"./deploy":{"types":"./dist/deploy/index.d.ts","import":"./dist/deploy/index.js"},"./matcher":{"types":"./dist/matcher/index.d.ts","import":"./dist/matcher/index.js"}},"gitHead":"59158d974242d64210537cf021e5d95b425baae7","scripts":{"test":"jest","build":"rm -rf ./dist && tsc","clean":"rm -rf dist","test:ci":"jest"},"_npmUser":{"name":"papers_ch","email":"contact@papers.ch"},"_npmVersion":"lerna/7.4.2/node@v24.15.0+x64 (linux)","description":"Programmatic SDK for interacting with the Acurast Cloud.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"zod":"^3.25.51","axios":"^1.9.0","adm-zip":"^0.5.16","elliptic":"^6.6.1","form-data":"^4.0.2","bignumber.js":"^9.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.0","@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@types/adm-zip":"^0.5.7","@polkadot/types":"^16.1.2","@types/elliptic":"^6.4.18","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"peerDependencies":{"@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@polkadot/types":"^16.1.2","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.2.2_1779706900727_0.4056194940953184","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@acurast/sdk","version":"1.3.0","keywords":["acurast","sdk"],"author":{"url":"https://papers.ch","name":"Papers AG","email":"contact@papers.ch"},"license":"MIT","_id":"@acurast/sdk@1.3.0","maintainers":[{"name":"papers_ch","email":"contact@papers.ch"}],"dist":{"shasum":"5dc0a7aa61e7916c7a42b52ce3af1cfd4da254a2","tarball":"https://registry.npmjs.org/@acurast/sdk/-/sdk-1.3.0.tgz","fileCount":178,"integrity":"sha512-pxtw3kM4ttqGB299VYHnJ56N+LinGIqVi6RuqXdqEjQtuaQpkiL6PhmkZm52FpRwZb6GPFfldp5Ku5OcOq193A==","signatures":[{"sig":"MEUCIALGoWQJSl8brGVADnhtGRPh7G0dTnmbhXq62yI9dTFOAiEA4BewGAZr19uqwaZREGArtxlR/IIqnITyQLsXkjB7h08=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":293946},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","browser":"./dist/browser.js"},"./ipfs":{"types":"./dist/ipfs/index.d.ts","import":"./dist/ipfs/index.js"},"./chain":{"types":"./dist/chain/index.d.ts","import":"./dist/chain/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js"},"./deploy":{"types":"./dist/deploy/index.d.ts","import":"./dist/deploy/index.js"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js"},"./matcher":{"types":"./dist/matcher/index.d.ts","import":"./dist/matcher/index.js"}},"gitHead":"79416c5434fd83d1c925a4d2ac243887b7c453c4","scripts":{"test":"jest","build":"rm -rf ./dist && tsc","clean":"rm -rf dist","test:ci":"jest","prepublishOnly":"npm run build"},"_npmUser":{"name":"papers_ch","email":"contact@papers.ch"},"_npmVersion":"lerna/7.4.2/node@v24.16.0+x64 (linux)","description":"Programmatic SDK for interacting with the Acurast Cloud.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"zod":"^3.25.51","axios":"^1.9.0","jszip":"^3.10.1","adm-zip":"^0.5.16","elliptic":"^6.6.1","form-data":"^4.0.2","bignumber.js":"^9.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.0","@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@types/adm-zip":"^0.5.7","@polkadot/types":"^16.1.2","@types/elliptic":"^6.4.18","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"peerDependencies":{"@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@polkadot/types":"^16.1.2","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.3.0_1781859228717_0.2853951874148315","host":"s3://npm-registry-packages-npm-production"}},"1.4.0-beta.0":{"name":"@acurast/sdk","version":"1.4.0-beta.0","keywords":["acurast","sdk"],"author":{"url":"https://papers.ch","name":"Papers AG","email":"contact@papers.ch"},"license":"MIT","_id":"@acurast/sdk@1.4.0-beta.0","maintainers":[{"name":"papers_ch","email":"contact@papers.ch"}],"dist":{"shasum":"b530ce029729e510d70efde82ceb0a675fae211c","tarball":"https://registry.npmjs.org/@acurast/sdk/-/sdk-1.4.0-beta.0.tgz","fileCount":182,"integrity":"sha512-TI+YvT+pM5fW0q5mE9i4ETh3/m+r5Va5oiGNQMAajRmDIztan9RYrDXnm9E8dmkEa0BL2UAeovyGGY7JLEhfCA==","signatures":[{"sig":"MEUCIAGPG2UfXJe0mH7jdUEfT4/zegfOJ/Za6gAOMAlOrNj1AiEA29wJygAS6iVmgxYs8SwmhXTHFN8DNpWNRRa96VswiDs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":331229},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","browser":"./dist/browser.js"},"./ipfs":{"types":"./dist/ipfs/index.d.ts","import":"./dist/ipfs/index.js"},"./chain":{"types":"./dist/chain/index.d.ts","import":"./dist/chain/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js"},"./deploy":{"types":"./dist/deploy/index.d.ts","import":"./dist/deploy/index.js"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js"},"./matcher":{"types":"./dist/matcher/index.d.ts","import":"./dist/matcher/index.js"}},"gitHead":"0321cdcd959fad7b562b3cae85dd8411954119e1","scripts":{"test":"jest","build":"rm -rf ./dist && tsc","clean":"rm -rf dist","test:ci":"jest","prepublishOnly":"npm run build"},"_npmUser":{"name":"papers_ch","email":"contact@papers.ch"},"_npmVersion":"lerna/7.4.2/node@v24.18.0+x64 (linux)","description":"Programmatic SDK for interacting with the Acurast Cloud.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"zod":"^3.25.51","axios":"^1.9.0","jszip":"^3.10.1","adm-zip":"^0.5.16","elliptic":"^6.6.1","form-data":"^4.0.2","bignumber.js":"^9.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.0","@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@types/adm-zip":"^0.5.7","@polkadot/types":"^16.1.2","@types/elliptic":"^6.4.18","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"peerDependencies":{"@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@polkadot/types":"^16.1.2","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.4.0-beta.0_1784196505765_0.6960897670813913","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@acurast/sdk","version":"1.4.0","keywords":["acurast","sdk"],"author":{"url":"https://papers.ch","name":"Papers AG","email":"contact@papers.ch"},"license":"MIT","_id":"@acurast/sdk@1.4.0","maintainers":[{"name":"papers_ch","email":"contact@papers.ch"}],"dist":{"shasum":"a31a0efccd01e54687bd73583c4bfe2e3ea7f231","tarball":"https://registry.npmjs.org/@acurast/sdk/-/sdk-1.4.0.tgz","fileCount":182,"integrity":"sha512-64zCmclRVYsG2JKn9+Fqr//8l0/LCnGvwykJuSLBb14BmHc83DJxxImPJMVE6G5W+pZ8WueFT4R+NhGjCjRV0Q==","signatures":[{"sig":"MEUCICExWnsT8cvscSSLuxLQ+DFBNgamzjXy+BVAanqTaIJSAiEA3c503PibtmyVxRrCsG8fu/X2vy3QBN4Ozuv7aluAQ80=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":331478},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","browser":"./dist/browser.js"},"./ipfs":{"types":"./dist/ipfs/index.d.ts","import":"./dist/ipfs/index.js"},"./chain":{"types":"./dist/chain/index.d.ts","import":"./dist/chain/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js"},"./deploy":{"types":"./dist/deploy/index.d.ts","import":"./dist/deploy/index.js"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js"},"./matcher":{"types":"./dist/matcher/index.d.ts","import":"./dist/matcher/index.js"}},"gitHead":"dcbed5c113263050f670f99ee431c185b59f69bc","scripts":{"test":"jest","build":"rm -rf ./dist && tsc","clean":"rm -rf dist","test:ci":"jest","prepublishOnly":"npm run build"},"_npmUser":{"name":"papers_ch","email":"contact@papers.ch"},"_npmVersion":"lerna/7.4.2/node@v24.18.0+x64 (linux)","description":"Programmatic SDK for interacting with the Acurast Cloud.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"zod":"^3.25.51","axios":"^1.9.0","jszip":"^3.10.1","adm-zip":"^0.5.16","elliptic":"^6.6.1","form-data":"^4.0.2","bignumber.js":"^9.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.0","@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@types/adm-zip":"^0.5.7","@polkadot/types":"^16.1.2","@types/elliptic":"^6.4.18","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"peerDependencies":{"@polkadot/api":"^16.1.2","@polkadot/util":"^14.0.0","@polkadot/types":"^16.1.2","@polkadot/keyring":"^14.0.0","@polkadot/api-augment":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.4.0_1785330233654_0.0878246568673482","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@acurast/sdk","version":"1.5.0","description":"Programmatic SDK for interacting with the Acurast Cloud.","author":{"name":"Papers AG","email":"contact@papers.ch","url":"https://papers.ch"},"license":"MIT","type":"module","main":"dist/index.js","types":"dist/index.d.ts","publishConfig":{"access":"public"},"exports":{".":{"types":"./dist/index.d.ts","browser":"./dist/browser.js","import":"./dist/index.js"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js"},"./chain":{"types":"./dist/chain/index.d.ts","import":"./dist/chain/index.js"},"./ipfs":{"types":"./dist/ipfs/index.d.ts","import":"./dist/ipfs/index.js"},"./matcher":{"types":"./dist/matcher/index.d.ts","import":"./dist/matcher/index.js"},"./deploy":{"types":"./dist/deploy/index.d.ts","import":"./dist/deploy/index.js"}},"scripts":{"build":"rm -rf ./dist && tsc","clean":"rm -rf dist","prepublishOnly":"npm run build","test":"jest","test:ci":"jest"},"keywords":["acurast","sdk"],"dependencies":{"adm-zip":"^0.5.16","axios":"^1.9.0","bignumber.js":"^9.3.0","elliptic":"^6.6.1","form-data":"^4.0.2","jszip":"^3.10.1","zod":"^3.25.51"},"peerDependencies":{"@polkadot/api":"^16.1.2","@polkadot/api-augment":"^16.1.2","@polkadot/keyring":"^14.0.0","@polkadot/types":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util":"^14.0.0","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2"},"devDependencies":{"@polkadot/api":"^16.1.2","@polkadot/api-augment":"^16.1.2","@polkadot/keyring":"^14.0.0","@polkadot/types":"^16.1.2","@polkadot/types-codec":"^16.1.2","@polkadot/util":"^14.0.0","@polkadot/util-crypto":"^14.0.0","@polkadot/wasm-crypto":"^7.3.2","@types/adm-zip":"^0.5.7","@types/elliptic":"^6.4.18","@types/jest":"^29.5.12","@types/node":"^20.14.0","jest":"^29.7.0","ts-jest":"^29.1.4","typescript":"^5.4.5"},"gitHead":"685b57ae582b41eb94964353ec7375310598cfe4","_id":"@acurast/sdk@1.5.0","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-H73zzAizUFuQYzygxl/Y57gXHgMQoERDXAnxyQQ4kyT51YIHklv9hKOs01uuZjeAno5mQj8xIGPMRDP0vr6GRQ==","shasum":"6bff5bc14434f711dba0c740f59df29cdafa0ed8","tarball":"https://registry.npmjs.org/@acurast/sdk/-/sdk-1.5.0.tgz","fileCount":182,"unpackedSize":341685,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCcwRElOb5SjqmavAu17eRyN8CVqmWvExwwoylVXFWG8AIhALnsARhy97JeqAxJ12JguqwuCki/yoamLBj8Jd7TJ/kN"}]},"_npmUser":{"name":"papers_ch","email":"contact@papers.ch"},"directories":{},"maintainers":[{"name":"papers_ch","email":"contact@papers.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_1.5.0_1787059131441_0.28438282762490563"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-02T11:35:42.006Z","modified":"2026-08-18T13:18:51.767Z","0.0.1":"2025-06-02T11:35:42.230Z","1.0.1":"2026-04-28T10:19:34.389Z","1.1.0":"2026-04-29T09:12:58.216Z","1.2.0":"2026-05-08T14:16:06.053Z","1.2.1":"2026-05-25T10:05:42.286Z","1.2.2":"2026-05-25T11:01:40.866Z","1.3.0":"2026-06-19T08:53:48.881Z","1.4.0-beta.0":"2026-07-16T10:08:25.898Z","1.4.0":"2026-07-29T13:03:53.812Z","1.5.0":"2026-08-18T13:18:51.604Z"},"author":{"name":"Papers AG","email":"contact@papers.ch","url":"https://papers.ch"},"license":"MIT","keywords":["acurast","sdk"],"description":"Programmatic SDK for interacting with the Acurast Cloud.","maintainers":[{"name":"papers_ch","email":"contact@papers.ch"}],"readme":"# Acurast SDK\n\n[![npm](https://img.shields.io/npm/v/@acurast/sdk.svg?colorB=brightgreen)](https://www.npmjs.com/package/@acurast/sdk)\n\nProgrammatic SDK for interacting with the Acurast Cloud.\n\n`@acurast/sdk` is the main entry point for developers who want to deploy and manage deployments on Acurast from TypeScript/JavaScript. It bundles everything needed to upload a project to IPFS, register a job on-chain, match it with processors, and manage deployments.\n\n## Installation\n\n```bash\n$ npm install @acurast/sdk\n```\n\nThe SDK relies on `@polkadot/*` packages as peer dependencies:\n\n```bash\n$ npm install @polkadot/api @polkadot/api-augment @polkadot/keyring \\\n              @polkadot/types @polkadot/types-codec @polkadot/util \\\n              @polkadot/util-crypto @polkadot/wasm-crypto\n```\n\n## Modules\n\nThe SDK is split into subpath exports so you can import only the parts you need.\n\n### `@acurast/sdk/deploy`\n\nHigh-level deployment utilities. Zip a local project, upload it to IPFS, and register the job on the Acurast chain in a single call.\n\n```typescript\nimport { deployProject, loadAcurastConfig } from '@acurast/sdk/deploy'\n\nconst config = await loadAcurastConfig('./acurast.json')\nawait deployProject({ config /* ... */ })\n```\n\nAlso exports `zipFolder`, `createManifest`, `checkIsFolder`, and a `Logger` interface with a `NOOP_LOGGER` default.\n\n### `@acurast/sdk/chain`\n\nDirect access to the Acurast chain: wallets, balances, job registration, assignments, environment variables, and app versions.\n\n```typescript\nimport {\n  walletFromMnemonic,\n  getBalance,\n  registerJob,\n  jobAssignments,\n  AcurastService,\n  setEnvVars\n} from '@acurast/sdk/chain'\n```\n\nHelpers include `convertConfigToJob`, duration constants (`second`, `minute`, `hour`, `day`), sensible defaults (`DEFAULT_REWARD`, `DEFAULT_REPLICAS`, ...), the `JobEnvironmentService` for encrypted env vars, and an `InMemoryKeyStore`.\n\n### `@acurast/sdk/ipfs`\n\nUpload deployment scripts to IPFS.\n\n```typescript\nimport { uploadScript } from '@acurast/sdk/ipfs'\n\nconst cid = await uploadScript({\n  /* IpfsUploadOptions */\n})\n```\n\n### `@acurast/sdk/matcher`\n\nPricing and matching helpers for jobs: check whether a job has matching processors, analyze fees, and get pricing advice.\n\n```typescript\nimport {\n  checkMatch,\n  checkMatchWithReward,\n  getAveragePrice,\n  getPriceDistribution,\n  getProcessorCount,\n  suggestCostPerExecution,\n  getFeeAnalysis,\n  analyzePricing,\n  fetchPricingAdvice\n} from '@acurast/sdk/matcher'\n```\n\n### `@acurast/sdk/types`\n\nShared TypeScript types used across the SDK.\n\n## Runtimes\n\nSet `runtime` on `AcurastProjectConfig` to pick the execution environment:\n\n- `DeploymentRuntime.NodeJSWithBundle` (default) — Node.js, bundled file deployment.\n- `DeploymentRuntime.NodeJS` — Node.js, single-file deployment.\n- `DeploymentRuntime.Shell` — native binary inside a Linux distro image (PRoot-isolated). Requires `image: { url, sha256 }` on the config; the SDK auto-adds `RequiredModules.Shell` to `requiredModules` and embeds the image reference in `manifest.json`.\n\n```ts\nimport { DeploymentRuntime } from '@acurast/sdk/types'\n\nconst config = {\n  runtime: DeploymentRuntime.Shell,\n  entrypoint: 'acurast.sh',\n  image: {\n    url: 'https://github.com/termux/proot-distro/releases/download/v4.30.1/ubuntu-questing-aarch64-pd-v4.30.1.tar.xz',\n    sha256: '5ab35b90cd9a9f180656261ba400a135c4c01c2da4b74522118342f985c2d328',\n  },\n  // ...\n}\n```\n\n## Examples\n\nSee the [`examples/`](../../examples/) folder for end-to-end usage.\n","readmeFilename":"README.md"}