{"_id":"@alph-name-service/ans-sdk","_rev":"8-2e387bf3a4fb5896bd0b1813d6beb47c","name":"@alph-name-service/ans-sdk","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"@alph-name-service/ans-sdk","version":"0.0.1","keywords":["ans-sdk","ans","sdk","alephium"],"author":{"name":"@AlphNameService"},"license":"MIT","_id":"@alph-name-service/ans-sdk@0.0.1","maintainers":[{"name":"alph-names","email":"alphdomains@gmail.com"}],"homepage":"https://alephium.domains","bugs":{"url":"https://discord.com/invite/KWshE9Efw7"},"dist":{"shasum":"5abb28654429e5a9f50b6070e6dfa49b25810b5b","tarball":"https://registry.npmjs.org/@alph-name-service/ans-sdk/-/ans-sdk-0.0.1.tgz","fileCount":6,"integrity":"sha512-B/zwG17QcB6YQ7VcNkwMQ5MS777dFnKFx+0fAwjtHh/A8jH9jQFkijhn456nNPNXlgbtokOfIyPKiFcFDTd3DQ==","signatures":[{"sig":"MEUCIQDgcl4tALOASbdN9p/unFUsN92hiWO5V1eG5FEHTRdX8QIgLky6YTw86I12sEv6gg91+10vZPdfD2OfERKcOBA47k8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62891},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"/dist/index.mjs","scripts":{"build":"tsup"},"_npmUser":{"name":"alph-names","email":"alphdomains@gmail.com"},"_npmVersion":"10.2.3","description":"SDK for integrating with the Alephium Name Service protocol","directories":{"test":"tests"},"_nodeVersion":"20.10.0","dependencies":{"ethers":"^6.13.1","idna-uts46-hx":"3.4.0","@alephium/web3":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","typescript":"^5.5.3"},"_npmOperationalInternal":{"tmp":"tmp/ans-sdk_0.0.1_1719998360281_0.4697803116989432","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@alph-name-service/ans-sdk","version":"0.0.2","keywords":["ans-sdk","ans","sdk","alephium"],"author":{"name":"@AlphNameService"},"license":"MIT","_id":"@alph-name-service/ans-sdk@0.0.2","maintainers":[{"name":"alph-names","email":"alphdomains@gmail.com"}],"homepage":"https://alephium.domains","bugs":{"url":"https://discord.com/invite/KWshE9Efw7"},"dist":{"shasum":"6310b63f947e6a6a05889581784efa7ed69ba622","tarball":"https://registry.npmjs.org/@alph-name-service/ans-sdk/-/ans-sdk-0.0.2.tgz","fileCount":6,"integrity":"sha512-w3eP8tJzbBS/GKMi2LWmosY0QXV+mjESvGzV6ulK/V89jItVogv+5DqG3JeK/pUngQI0nclQYlP5GwteJyJdCw==","signatures":[{"sig":"MEYCIQDr/tYEwICCxh7EV1fPUGO5i/DBsGFQxUbNhVbimMQN5wIhAPRPoZIPHe84tlMSWB2jf8gZSP+8OBzT+JbkDbP0y8Yo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62649},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"/dist/index.mjs","gitHead":"0c439285c024945bb10e4cdc05144915854ffa7f","scripts":{"build":"tsup"},"_npmUser":{"name":"alph-names","email":"alphdomains@gmail.com"},"_npmVersion":"10.2.3","description":"SDK for integrating with the Alephium Name Service protocol","directories":{"test":"tests"},"_nodeVersion":"20.10.0","dependencies":{"ethers":"^6.13.1","idna-uts46-hx":"3.4.0","@alephium/web3":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","typescript":"^5.5.3"},"_npmOperationalInternal":{"tmp":"tmp/ans-sdk_0.0.2_1720018635364_0.38230836648308975","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@alph-name-service/ans-sdk","version":"0.0.3","keywords":["ans-sdk","ans","sdk","alephium"],"author":{"name":"@AlphNameService"},"license":"MIT","_id":"@alph-name-service/ans-sdk@0.0.3","maintainers":[{"name":"alph-names","email":"alphdomains@gmail.com"}],"homepage":"https://alephium.domains","bugs":{"url":"https://discord.com/invite/KWshE9Efw7"},"dist":{"shasum":"26cff77643fe1c22f2d27a925d6b490f1f85df39","tarball":"https://registry.npmjs.org/@alph-name-service/ans-sdk/-/ans-sdk-0.0.3.tgz","fileCount":6,"integrity":"sha512-FG6SMrcNVRBkm0D4sV70kB97itWP21P7eZgYNqmNVP4NtcemyKnWnLc5axVt/gKIYkosGiQyhr3H/opN1NmDag==","signatures":[{"sig":"MEYCIQD0OZ8GK91AjRSSm5HQTqDG/fd5jacRNcf85sMOZgNV2gIhANROOQn7OF4me/htUOv2eccbEgLRvAfU4UE9kM2QkujT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62649},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"/dist/index.mjs","gitHead":"63f3068f522bcd9df7b00193417901e8081e03d2","scripts":{"build":"tsup"},"_npmUser":{"name":"alph-names","email":"alphdomains@gmail.com"},"_npmVersion":"10.2.3","description":"SDK for integrating with the Alephium Name Service protocol","directories":{"test":"tests"},"_nodeVersion":"20.10.0","dependencies":{"ethers":"^6.13.1","idna-uts46-hx":"3.4.0","@alephium/web3":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","typescript":"^5.5.3"},"_npmOperationalInternal":{"tmp":"tmp/ans-sdk_0.0.3_1720191038440_0.22721245849840965","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@alph-name-service/ans-sdk","version":"0.0.4","keywords":["ans-sdk","ans","sdk","alephium"],"author":{"name":"@AlphNameService"},"license":"MIT","_id":"@alph-name-service/ans-sdk@0.0.4","maintainers":[{"name":"alph-names","email":"alphdomains@gmail.com"}],"homepage":"https://alephium.domains","bugs":{"url":"https://discord.com/invite/KWshE9Efw7"},"dist":{"shasum":"8c19f26044bb1a1c0697050728e6774ad5b870f6","tarball":"https://registry.npmjs.org/@alph-name-service/ans-sdk/-/ans-sdk-0.0.4.tgz","fileCount":6,"integrity":"sha512-yGLdG3/9VoWGHaE0hvND8VyDogN5sO1R6iBRRtV56B6cvGUxkNwYMxTWMH4Dre3LdGRPYH6roj9OSIRoi1sObg==","signatures":[{"sig":"MEUCID/S9oxF2NAJHizPS388yceAryMxJzYzzNjA30sVyLy/AiEAvBHgwbX3RvpLKVus99yWbBXwpHVtdSVQ+T98F/QhTf8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62649},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"/dist/index.mjs","gitHead":"e8d4fd09431d9fe818de079c1038ebc7ca794561","scripts":{"build":"tsup"},"_npmUser":{"name":"alph-names","email":"alphdomains@gmail.com"},"_npmVersion":"10.2.3","description":"SDK for integrating with the Alephium Name Service protocol","directories":{"test":"tests"},"_nodeVersion":"20.10.0","dependencies":{"ethers":"^6.13.1","idna-uts46-hx":"3.4.0","@alephium/web3":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","typescript":"^5.5.3"},"_npmOperationalInternal":{"tmp":"tmp/ans-sdk_0.0.4_1720294281487_0.7936050761797626","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@alph-name-service/ans-sdk","version":"0.0.5","keywords":["ans-sdk","ans","sdk","alephium"],"author":{"name":"@AlphNameService"},"license":"MIT","_id":"@alph-name-service/ans-sdk@0.0.5","maintainers":[{"name":"alph-names","email":"alphdomains@gmail.com"}],"homepage":"https://alephium.domains","bugs":{"url":"https://discord.com/invite/KWshE9Efw7"},"dist":{"shasum":"6d61e9bc9c87320ebbf090a0af61bb4db475655b","tarball":"https://registry.npmjs.org/@alph-name-service/ans-sdk/-/ans-sdk-0.0.5.tgz","fileCount":6,"integrity":"sha512-R33h03reHcXhikYgvwbhpZruqvU1CAxclhRCxYYnAEtTC2HDUKfsQFSjqR7FDgC/jxwj9r3dOaeg6ZnCkicslg==","signatures":[{"sig":"MEYCIQCGERJM9LT26s1rUyw2WG1or9sHQfnr9vNCmQ8RnyVQswIhAJbL6Yk1bgpakcXUGpZ9s+oTuKwLtpgXuA9hgfiIlYhN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62619},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"/dist/index.mjs","gitHead":"6d30f0e7bac5d57beb3c4be1d080c84cabeae078","scripts":{"build":"tsup"},"_npmUser":{"name":"alph-names","email":"alphdomains@gmail.com"},"_npmVersion":"10.2.3","description":"SDK for integrating with the Alephium Name Service protocol","directories":{"test":"tests"},"_nodeVersion":"20.10.0","dependencies":{"ethers":"^6.13.1","@alephium/web3":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","typescript":"^5.5.3"},"_npmOperationalInternal":{"tmp":"tmp/ans-sdk_0.0.5_1720295364353_0.9461370514463672","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@alph-name-service/ans-sdk","version":"0.0.6","keywords":["ans-sdk","ans","sdk","alephium"],"author":{"name":"@AlphNameService"},"license":"MIT","_id":"@alph-name-service/ans-sdk@0.0.6","maintainers":[{"name":"alph-names","email":"alphdomains@gmail.com"}],"homepage":"https://alephium.domains","bugs":{"url":"https://discord.com/invite/KWshE9Efw7"},"dist":{"shasum":"2031dfce21554f6f155bfcbae58fe5f9cc229093","tarball":"https://registry.npmjs.org/@alph-name-service/ans-sdk/-/ans-sdk-0.0.6.tgz","fileCount":6,"integrity":"sha512-iG0fufPnvChiPP3Nr4iYxrNMU9d+IgS5Bx+K5OYN1C6ebp7suItrIPdTRyH8HIz6qqyANlUHb3q+YKb8UmSj1A==","signatures":[{"sig":"MEUCIAR2WmLo3awZsfEDtFNbD1g2YVbcyiimzYuGyBTNbxQXAiEA3rlzMKLpEdQk2Nm+eZfpQYwHJAp1yrvviVbgPSbmv08=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62226},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"/dist/index.mjs","gitHead":"6d30f0e7bac5d57beb3c4be1d080c84cabeae078","scripts":{"build":"tsup"},"_npmUser":{"name":"alph-names","email":"alphdomains@gmail.com"},"_npmVersion":"10.2.3","description":"SDK for integrating with the Alephium Name Service protocol","directories":{"test":"tests"},"_nodeVersion":"20.10.0","dependencies":{"ethers":"^6.13.1","@alephium/web3":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","typescript":"^5.5.3"},"_npmOperationalInternal":{"tmp":"tmp/ans-sdk_0.0.6_1720295537048_0.4219815167381904","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@alph-name-service/ans-sdk","version":"0.0.7","keywords":["ans-sdk","ans","sdk","alephium"],"author":{"name":"@AlphNameService"},"license":"MIT","_id":"@alph-name-service/ans-sdk@0.0.7","maintainers":[{"name":"alph-names","email":"alphdomains@gmail.com"}],"homepage":"https://alephium.domains","bugs":{"url":"https://discord.com/invite/KWshE9Efw7"},"dist":{"shasum":"cb37129e55e855ae912e6e77311fb55cafb460bb","tarball":"https://registry.npmjs.org/@alph-name-service/ans-sdk/-/ans-sdk-0.0.7.tgz","fileCount":6,"integrity":"sha512-+oG/2jSLl3zco3dWxWjI8c13q64aWZ97C+I2uAm3GHxygkudJfvthTV1ZLk/VHgh/hWaw9aZWKEd/1q0lvvc7w==","signatures":[{"sig":"MEUCIQCHoLHQFFLr8dqgmARKwpHpknOUb+QH90FBi5ztcq6TxwIgLz5rke4Dg9+23WU/TcYiHQ/ZF1ur06rTECLHivxcaQg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62962},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"/dist/index.mjs","gitHead":"6d30f0e7bac5d57beb3c4be1d080c84cabeae078","scripts":{"build":"tsup"},"_npmUser":{"name":"alph-names","email":"alphdomains@gmail.com"},"_npmVersion":"10.2.3","description":"SDK for integrating with the Alephium Name Service protocol","directories":{"test":"tests"},"_nodeVersion":"20.10.0","dependencies":{"ethers":"^6.13.1","@alephium/web3":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","typescript":"^5.5.3"},"_npmOperationalInternal":{"tmp":"tmp/ans-sdk_0.0.7_1720383591217_0.10654256531892714","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@alph-name-service/ans-sdk","version":"0.0.8","keywords":["ans-sdk","ans","sdk","alephium"],"author":{"name":"@AlphNameService"},"license":"MIT","_id":"@alph-name-service/ans-sdk@0.0.8","maintainers":[{"name":"alph-names","email":"alphdomains@gmail.com"}],"homepage":"https://alephium.domains","bugs":{"url":"https://discord.com/invite/KWshE9Efw7"},"dist":{"shasum":"4ac2d93a68b96780289d8d00bfde4cc9d388c517","tarball":"https://registry.npmjs.org/@alph-name-service/ans-sdk/-/ans-sdk-0.0.8.tgz","fileCount":6,"integrity":"sha512-F2ZWAjQvo24g6WSaseYBLCKvTrMTajt4Hk2WsbbJ16XJXjFgoMhGFbl9wJlnMXR1nTl8cDquJg1qKtTiDMa06Q==","signatures":[{"sig":"MEYCIQCbNBgEfXbVfVoRJhvIZDRt/AwN+uP8wq1tcVLBqqpb2wIhAOY4EbqdeemQ7mefFGMsDxQjEGfoUG9Qlq3oBtUYZSFn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68640},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"/dist/index.mjs","gitHead":"2c5da133d74e002d679a55ed91ac1a27046dbe33","scripts":{"build":"tsup"},"_npmUser":{"name":"alph-names","email":"alphdomains@gmail.com"},"_npmVersion":"10.2.3","description":"SDK for integrating with the Alephium Name Service protocol","directories":{"test":"tests"},"_nodeVersion":"20.10.0","dependencies":{"ethers":"^6.13.1","@alephium/web3":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","typescript":"^5.5.3"},"_npmOperationalInternal":{"tmp":"tmp/ans-sdk_0.0.8_1721207912988_0.48786900315687753","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@alph-name-service/ans-sdk","version":"0.1.0","description":"SDK for integrating with the Alephium Name Service protocol","main":"./dist/index.js","module":"/dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"tsup"},"keywords":["ans-sdk","ans","sdk","alephium"],"author":{"name":"@AlphNameService"},"homepage":"https://alephium.domains","bugs":{"url":"https://discord.com/invite/KWshE9Efw7"},"license":"MIT","devDependencies":{"tsup":"^8.1.0","typescript":"^5.5.3"},"dependencies":{"@alephium/web3":"^1.1.1","ethers":"^6.13.1"},"directories":{"test":"tests"},"_id":"@alph-name-service/ans-sdk@0.1.0","gitHead":"d7060c0cf1e9d0b6bd9f45bce6aa9c8623b295f9","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-oMz7NSO/PdoD+livcZFfn5uxXOk+64/WjT1ZL2OCt9Rh7+oKFqCNBVT64Y3Z060qdkDvpsOvMRGFPitCBMUOBw==","shasum":"282482d4aae3ef5042a7c5104ef926c9f65d4bbe","tarball":"https://registry.npmjs.org/@alph-name-service/ans-sdk/-/ans-sdk-0.1.0.tgz","fileCount":6,"unpackedSize":84718,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCB9ZOAXPFb2bwmx1P9nAYStA+HX5U434/oCypOu4GptAIhALHT36DF5ZB9R8SVocYEZfiFtIIIMh0B0aSS7WMWUVky"}]},"_npmUser":{"name":"alph-names","email":"alphdomains@gmail.com"},"maintainers":[{"name":"alph-names","email":"alphdomains@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ans-sdk_0.1.0_1721578795286_0.4454178353241047"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-03T09:19:20.201Z","modified":"2024-07-21T16:19:55.683Z","0.0.1":"2024-07-03T09:19:20.454Z","0.0.2":"2024-07-03T14:57:15.583Z","0.0.3":"2024-07-05T14:50:38.569Z","0.0.4":"2024-07-06T19:31:21.721Z","0.0.5":"2024-07-06T19:49:24.507Z","0.0.6":"2024-07-06T19:52:17.236Z","0.0.7":"2024-07-07T20:19:51.418Z","0.0.8":"2024-07-17T09:18:33.153Z","0.1.0":"2024-07-21T16:19:55.482Z"},"bugs":{"url":"https://discord.com/invite/KWshE9Efw7"},"author":{"name":"@AlphNameService"},"license":"MIT","homepage":"https://alephium.domains","keywords":["ans-sdk","ans","sdk","alephium"],"description":"SDK for integrating with the Alephium Name Service protocol","maintainers":[{"name":"alph-names","email":"alphdomains@gmail.com"}],"readme":"# ANS-SDK\r\n\r\nJS/TS SDK for integrating the Alephium Name Service protocol.\r\n\r\n## Install\r\n\r\n```\r\nnpm install @alph-name-service/ans-sdk\r\n```\r\n\r\n## Usage\r\n\r\n```js\r\nconst ans = new ANS(\"mainnet\");\r\nconst testProfile = await ans.getProfile(\"<address>\");\r\n// returns {name: \"...\", imgUri: \"...\"}\r\n// if profile exists, undefined otherwise\r\nconst testRecord = await ans.getRecord(\"<name>\");\r\n// returns {owner: ..., manager: ..., ttl: ...}\r\n// if name exists, undefined otherwise\r\nconst resolvedAddress = await ans.resolveName(\"<name>\");\r\n// returns the resolved address string\r\n// if name exists, undefined otherwise\r\nconsole.log({ resolvedAddress, testProfile, testRecord });\r\n```\r\n","readmeFilename":"README.md"}