{"_id":"@anqa-ag/ts-sdk","_rev":"10-b582f734a384045bbb86680443ff10e9","name":"@anqa-ag/ts-sdk","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"@anqa-ag/ts-sdk","version":"0.1.0","author":{"name":"anqa-ag"},"license":"MIT","_id":"@anqa-ag/ts-sdk@0.1.0","maintainers":[{"name":"minato160573z","email":"minato160573z@gmail.com"}],"dist":{"shasum":"7e4ffc60a96fda4e219059676e2f3b50d5ecbafa","tarball":"https://registry.npmjs.org/@anqa-ag/ts-sdk/-/ts-sdk-0.1.0.tgz","fileCount":31,"integrity":"sha512-mH2ymHGux4aLUoTmuEfpi0BuawjMrdOIiUDvJgRC2L8ZcnXOhbyA3YnVIC0Do3m+gfBuEbUy6GRDbjHoY8BA3Q==","signatures":[{"sig":"MEQCIHLcyCB4n4tAt3S6QwpPvCMIVL0sOMJa9xz8w8CbWY/yAiATzovbKexLIfJK+MwEOwt9CCp9IqMsz7HDlyFFKWgLMw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":235251},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/anqa-sdk.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"minato160573z","email":"minato160573z@gmail.com"},"repository":{"url":"git@github.com:anqa-ag/anqa-sdk.git","type":"git"},"size-limit":[{"path":"dist/anqa-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/anqa-sdk.esm.js","limit":"10 KB"}],"description":"### 1. Importing Required Modules","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 anqa-ag\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"jsbi":"^3.1.4","axios":"^1.7.2","big.js":"^5.2.2","toformat":"^2.0.0","tiny-invariant":"^1.3.3","decimal.js-light":"^2.5.1","@aptos-labs/ts-sdk":"^1.19.0","@ethersproject/units":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^9.0.11","tslib":"^2.6.3","prettier":"^3.3.2","size-limit":"^11.1.4","typescript":"^5.4.5","@types/big.js":"^4.0.5","@size-limit/preset-small-lib":"^11.1.4"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/ts-sdk_0.1.0_1718817483830_0.27976191770394965","host":"s3://npm-registry-packages"}},"0.1.0-beta.1":{"name":"@anqa-ag/ts-sdk","version":"0.1.0-beta.1","author":{"name":"anqa-ag"},"license":"MIT","_id":"@anqa-ag/ts-sdk@0.1.0-beta.1","dist":{"shasum":"902035e757fd93134a402f05027e77f61dbdd7d2","tarball":"https://registry.npmjs.org/@anqa-ag/ts-sdk/-/ts-sdk-0.1.0-beta.1.tgz","fileCount":31,"integrity":"sha512-7qmg6OYU/lETxgTw+wAj8XpwtdBRQat6+eMay1zYq/GOXHiUpI/QfmFFGp3Fh7bksgLFkq7kSmm0eF8SUl5o7Q==","signatures":[{"sig":"MEUCIEBgyYaCDImSaaMApd9X0Ass8/TulRoNe1viawHIPTFCAiEA/yKm7SboWTiWHI8eqx847+SvR99UJ8gogJqjO6PMHUs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":237213},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/anqa-sdk.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"minato160573z","email":"minato160573z@gmail.com"},"repository":{"url":"https://github.com/anqa-ag/anqa-sdk.git","type":"git"},"size-limit":[{"path":"dist/anqa-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/anqa-sdk.esm.js","limit":"10 KB"}],"description":"### 1. Importing Required Modules","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 anqa-ag\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"jsbi":"^3.1.4","axios":"^1.7.2","big.js":"^5.2.2","toformat":"^2.0.0","tiny-invariant":"^1.3.3","decimal.js-light":"^2.5.1","@aptos-labs/ts-sdk":"^1.19.0","@ethersproject/units":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^9.0.11","tslib":"^2.6.3","prettier":"^3.3.2","size-limit":"^11.1.4","typescript":"^5.4.5","@types/big.js":"^4.0.5","@size-limit/preset-small-lib":"^11.1.4"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/ts-sdk_0.1.0-beta.1_1719517136365_0.996124676462558","host":"s3://npm-registry-packages"}},"0.1.0-beta.2":{"name":"@anqa-ag/ts-sdk","version":"0.1.0-beta.2","author":{"name":"anqa-ag"},"license":"MIT","_id":"@anqa-ag/ts-sdk@0.1.0-beta.2","maintainers":[{"name":"minato160573z","email":"minato160573z@gmail.com"}],"dist":{"shasum":"33d4ce44a2c02f50dadd0f350171d8ac9fd74541","tarball":"https://registry.npmjs.org/@anqa-ag/ts-sdk/-/ts-sdk-0.1.0-beta.2.tgz","fileCount":31,"integrity":"sha512-DcaqCFSiZlEE9B9MjexpCBnGflZEmAJ9zMPfQGQqaHJc1np9M0OpryZZyVoeYOi7k7kqgFiYqYSJH/1C0w6ZrA==","signatures":[{"sig":"MEYCIQCTgJnYfe4z4XS4JzzkZ+Rpy9eXVZLU0Ka8Ks4/OHqIIwIhAPZumYXmPfvevzBccSaUNoQ7IWC3Gdw07j8AvZAEfC7v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":253114},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/anqa-sdk.esm.js","engines":{"node":">=10"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/ts-sdk.esm.js"}}},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"minato160573z","email":"minato160573z@gmail.com"},"repository":{"url":"https://github.com/anqa-ag/anqa-sdk.git","type":"git"},"size-limit":[{"path":"dist/anqa-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/anqa-sdk.esm.js","limit":"10 KB"}],"description":"### 1. Importing Required Modules","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 anqa-ag\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"jsbi":"^3.1.4","axios":"^1.7.2","big.js":"^5.2.2","toformat":"^2.0.0","tiny-invariant":"^1.3.3","decimal.js-light":"^2.5.1","@aptos-labs/ts-sdk":"^1.19.0","@ethersproject/units":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^9.0.11","tslib":"^2.6.3","prettier":"^3.3.2","size-limit":"^11.1.4","typescript":"^5.4.5","@types/big.js":"^4.0.5","@size-limit/preset-small-lib":"^11.1.4"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/ts-sdk_0.1.0-beta.2_1721568544264_0.09430077719390617","host":"s3://npm-registry-packages"}},"0.1.0-beta.3":{"name":"@anqa-ag/ts-sdk","version":"0.1.0-beta.3","author":{"name":"anqa-ag"},"license":"MIT","_id":"@anqa-ag/ts-sdk@0.1.0-beta.3","maintainers":[{"name":"minato160573z","email":"minato160573z@gmail.com"}],"dist":{"shasum":"9015280a33e8273784b19d131a70c7499f714655","tarball":"https://registry.npmjs.org/@anqa-ag/ts-sdk/-/ts-sdk-0.1.0-beta.3.tgz","fileCount":31,"integrity":"sha512-BzbCU7NTws4UkdPpO+1NwbhlJBFu7C6bNF+lOcNeUvg/3pcPpt4zOltlLvjPueZJw1xfTTf5HhaBUvXHyj+KKA==","signatures":[{"sig":"MEQCIDdBCKClXg49xeHnJRqfMLNEBtSTeUeCwFimupZQd8BCAiBWS/UsnqY6t3D2Tlio/Ke53O4u3IjmUQLPPXyyhI+3jg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":253114},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/anqa-sdk.esm.js","engines":{"node":">=10"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/ts-sdk.esm.js"}}},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"minato160573z","email":"minato160573z@gmail.com"},"repository":{"url":"https://github.com/anqa-ag/anqa-sdk.git","type":"git"},"size-limit":[{"path":"dist/anqa-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/anqa-sdk.esm.js","limit":"10 KB"}],"description":"### 1. Importing Required Modules","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 anqa-ag\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"jsbi":"^3.1.4","axios":"^1.7.2","big.js":"^5.2.2","toformat":"^2.0.0","tiny-invariant":"^1.3.3","decimal.js-light":"^2.5.1","@aptos-labs/ts-sdk":"^1.19.0","@ethersproject/units":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^9.0.11","tslib":"^2.6.3","prettier":"^3.3.2","size-limit":"^11.1.4","typescript":"^5.4.5","@types/big.js":"^4.0.5","@size-limit/preset-small-lib":"^11.1.4"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/ts-sdk_0.1.0-beta.3_1721568621717_0.15057278474792857","host":"s3://npm-registry-packages"}},"0.1.0-beta.4":{"name":"@anqa-ag/ts-sdk","version":"0.1.0-beta.4","author":{"name":"anqa-ag"},"license":"MIT","_id":"@anqa-ag/ts-sdk@0.1.0-beta.4","maintainers":[{"name":"minato160573z","email":"minato160573z@gmail.com"}],"dist":{"shasum":"334ec3391e06884c7e61c36fd578828e3aa8f42a","tarball":"https://registry.npmjs.org/@anqa-ag/ts-sdk/-/ts-sdk-0.1.0-beta.4.tgz","fileCount":31,"integrity":"sha512-gqmLRL55pk6BTTGbjfzG9Gzcdy03ukMcMWMtVw0/H6NhHl46dG+b3PUD9Q3we8FoKACuSrHZ2AErqFYbjdq6GQ==","signatures":[{"sig":"MEQCIAulTxdtT66hvwjYqSce0H5XBy7lNTJ/XyCIE9YBSwpUAiAvhB9ZigKCjC1Tw/HEle41I00nrIlOaIc4HRtIDQjeMw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":253600},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/anqa-sdk.esm.js","engines":{"node":">=10"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/ts-sdk.esm.js"}}},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"minato160573z","email":"minato160573z@gmail.com"},"repository":{"url":"https://github.com/anqa-ag/anqa-sdk.git","type":"git"},"size-limit":[{"path":"dist/anqa-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/anqa-sdk.esm.js","limit":"10 KB"}],"description":"### 1. Importing Required Modules","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 anqa-ag\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"jsbi":"^3.1.4","axios":"^1.7.2","big.js":"^5.2.2","toformat":"^2.0.0","tiny-invariant":"^1.3.3","decimal.js-light":"^2.5.1","@aptos-labs/ts-sdk":"^1.19.0","@ethersproject/units":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^9.0.11","tslib":"^2.6.3","prettier":"^3.3.2","size-limit":"^11.1.4","typescript":"^5.4.5","@types/big.js":"^4.0.5","@size-limit/preset-small-lib":"^11.1.4"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/ts-sdk_0.1.0-beta.4_1721581869685_0.2827293280426786","host":"s3://npm-registry-packages"}},"0.1.0-beta.5":{"name":"@anqa-ag/ts-sdk","version":"0.1.0-beta.5","author":{"name":"anqa-ag"},"license":"MIT","_id":"@anqa-ag/ts-sdk@0.1.0-beta.5","maintainers":[{"name":"minato160573z","email":"minato160573z@gmail.com"}],"dist":{"shasum":"830edcb04d428f21cf2909df373d015f00d28165","tarball":"https://registry.npmjs.org/@anqa-ag/ts-sdk/-/ts-sdk-0.1.0-beta.5.tgz","fileCount":31,"integrity":"sha512-gGgqeRZE9f929wlfhBnZXgIaJGiLjOrWeAFjQRl6YKhTMCcYL4JMk6bDMyruPub6/HSy4yLnOva9JdEiS81d0Q==","signatures":[{"sig":"MEUCIQDn7mfQ4S1yJjBIKUBfX11fyfRfPF+58hyfSPOyGnL48QIgb9x76k35vcMIkC0sNvLvdkbYlomlns6KOwCVKt3g0oI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":253940},"main":"dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/anqa-sdk.esm.js","engines":{"node":">=10"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/ts-sdk.esm.js"}}},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"minato160573z","email":"minato160573z@gmail.com"},"repository":{"url":"https://github.com/anqa-ag/anqa-sdk.git","type":"git"},"size-limit":[{"path":"dist/anqa-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/anqa-sdk.esm.js","limit":"10 KB"}],"description":"### 1. Importing Required Modules","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 anqa-ag\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"jsbi":"^3.1.4","axios":"^1.7.2","big.js":"^5.2.2","toformat":"^2.0.0","tiny-invariant":"^1.3.3","decimal.js-light":"^2.5.1","@aptos-labs/ts-sdk":"^1.19.0","@ethersproject/units":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^9.0.11","tslib":"^2.6.3","prettier":"^3.3.2","size-limit":"^11.1.4","typescript":"^5.4.5","@types/big.js":"^4.0.5","@size-limit/preset-small-lib":"^11.1.4"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/ts-sdk_0.1.0-beta.5_1722508224382_0.6029244816739507","host":"s3://npm-registry-packages"}},"0.1.0-beta.6":{"name":"@anqa-ag/ts-sdk","version":"0.1.0-beta.6","author":{"name":"anqa-ag"},"license":"MIT","_id":"@anqa-ag/ts-sdk@0.1.0-beta.6","maintainers":[{"name":"minato160573z","email":"minato160573z@gmail.com"}],"dist":{"shasum":"6585775b8ddb30f91ef9a4779405f66ba0450a06","tarball":"https://registry.npmjs.org/@anqa-ag/ts-sdk/-/ts-sdk-0.1.0-beta.6.tgz","fileCount":33,"integrity":"sha512-FiTG9ryZb8nmFnLDkzmwmqF72Bem1jd3OPNB/KctZqnSzxP+5EDPEESTAbgNgjeODcGxFcWMUYaaoMqOg+AGug==","signatures":[{"sig":"MEUCICWQ/idSkufwReTgbtVSR2fFLOkePJrp+W7T1WzbwavSAiEA9mPOVbDnrEk0qXk5lzvWVzzfNwf+yMR/2EA09n5pSKw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":268602},"main":"dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/anqa-sdk.esm.js","engines":{"node":">=10"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/ts-sdk.esm.js"}}},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","pretty":"prettier --write \"./**/*.{js,jsx,mjs,cjs,ts,tsx,json}\"","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"minato160573z","email":"minato160573z@gmail.com"},"repository":{"url":"https://github.com/anqa-ag/anqa-sdk.git","type":"git"},"size-limit":[{"path":"dist/anqa-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/anqa-sdk.esm.js","limit":"10 KB"}],"description":"### 1. Importing Required Modules","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 anqa-ag\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"jsbi":"^3.1.4","axios":"^1.7.2","big.js":"^5.2.2","toformat":"^2.0.0","tiny-invariant":"^1.3.3","decimal.js-light":"^2.5.1","@aptos-labs/ts-sdk":"^1.19.0","@ethersproject/units":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^9.0.11","tslib":"^2.6.3","prettier":"^3.3.2","size-limit":"^11.1.4","typescript":"^5.4.5","@types/big.js":"^4.0.5","@size-limit/preset-small-lib":"^11.1.4"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/ts-sdk_0.1.0-beta.6_1722618311353_0.6394022233014454","host":"s3://npm-registry-packages"}},"0.1.0-beta.7":{"name":"@anqa-ag/ts-sdk","version":"0.1.0-beta.7","author":{"name":"anqa-ag"},"license":"MIT","_id":"@anqa-ag/ts-sdk@0.1.0-beta.7","maintainers":[{"name":"minato160573z","email":"minato160573z@gmail.com"}],"homepage":"https://github.com/anqa-ag/anqa-sdk#readme","bugs":{"url":"https://github.com/anqa-ag/anqa-sdk/issues"},"dist":{"shasum":"9f5c44ac585f4399ce3a8df34c2bc072478e3f85","tarball":"https://registry.npmjs.org/@anqa-ag/ts-sdk/-/ts-sdk-0.1.0-beta.7.tgz","fileCount":30,"integrity":"sha512-mGOGkHCKJaKGV4t91nFHkxKgDAvHaCPh+moDPWCrrL2Io4DElORvCYnKU7y+E2sp/L+F09xKZLbJmuZFDfWPqg==","signatures":[{"sig":"MEYCIQC5oxdCLw0ecc1RIpzbgO4Ob56aBYsY3pTFpf+m8ZME0wIhAKjAkNc/9IyXoy7rFEapDKck0CwNBPFbJIrur5kXJbzE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":271142},"main":"dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/anqa-sdk.esm.js","engines":{"node":">=10"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/ts-sdk.esm.js"}}},"gitHead":"14ebc16acfc729f5fba9146e8f6c4a661eec3acc","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","pretty":"prettier --write \"./**/*.{js,jsx,mjs,cjs,ts,tsx,json}\"","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"minato160573z","email":"minato160573z@gmail.com"},"repository":{"url":"git+https://github.com/anqa-ag/anqa-sdk.git","type":"git"},"size-limit":[{"path":"dist/anqa-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/anqa-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"10.8.2","description":"### 1. Importing Required Modules","directories":{},"_nodeVersion":"20.18.0","dependencies":{"jsbi":"^3.1.4","axios":"^1.7.2","big.js":"^5.2.2","toformat":"^2.0.0","tiny-invariant":"^1.3.3","decimal.js-light":"^2.5.1","@aptos-labs/ts-sdk":"^1.19.0","@ethersproject/units":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^9.0.11","tslib":"^2.6.3","prettier":"^3.3.2","size-limit":"^11.1.4","typescript":"^5.4.5","@types/big.js":"^4.0.5","@size-limit/preset-small-lib":"^11.1.4"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/ts-sdk_0.1.0-beta.7_1728456884312_0.3858417115726023","host":"s3://npm-registry-packages"}},"0.1.0-beta.8":{"name":"@anqa-ag/ts-sdk","version":"0.1.0-beta.8","author":{"name":"anqa-ag"},"license":"MIT","_id":"@anqa-ag/ts-sdk@0.1.0-beta.8","maintainers":[{"name":"minato160573z","email":"minato160573z@gmail.com"}],"homepage":"https://github.com/anqa-ag/anqa-sdk#readme","bugs":{"url":"https://github.com/anqa-ag/anqa-sdk/issues"},"dist":{"shasum":"8e368cf63d0d739a159eb8c5b907095f68946eff","tarball":"https://registry.npmjs.org/@anqa-ag/ts-sdk/-/ts-sdk-0.1.0-beta.8.tgz","fileCount":30,"integrity":"sha512-FO3dFnQmt+9JfkDIdQ0Q5dwzFQOGv08smP2jk6bDfaxCRI1BkN1gFZjQPhQbw+8u12uw2K9AUrGkkxhsZv35wg==","signatures":[{"sig":"MEYCIQCEMJWSBWqkWAGPwmJHWlCHCMMAmTFeE89JSa+Qal4hnQIhAIxIfzni2W75eX8u/VzEtXRVAWiHQlwTOzm426O6gb7n","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":271142},"main":"dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/anqa-sdk.esm.js","engines":{"node":">=10"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/ts-sdk.esm.js"}}},"gitHead":"14ebc16acfc729f5fba9146e8f6c4a661eec3acc","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","pretty":"prettier --write \"./**/*.{js,jsx,mjs,cjs,ts,tsx,json}\"","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"minato160573z","email":"minato160573z@gmail.com"},"repository":{"url":"git+https://github.com/anqa-ag/anqa-sdk.git","type":"git"},"size-limit":[{"path":"dist/anqa-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/anqa-sdk.esm.js","limit":"10 KB"}],"_npmVersion":"10.8.2","description":"### 1. Importing Required Modules","directories":{},"_nodeVersion":"20.18.0","dependencies":{"jsbi":"^3.1.4","axios":"^1.7.2","big.js":"^5.2.2","toformat":"^2.0.0","tiny-invariant":"^1.3.3","decimal.js-light":"^2.5.1","@aptos-labs/ts-sdk":"^1.19.0","@ethersproject/units":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^9.0.11","tslib":"^2.6.3","prettier":"^3.3.2","size-limit":"^11.1.4","typescript":"^5.4.5","@types/big.js":"^4.0.5","@size-limit/preset-small-lib":"^11.1.4"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/ts-sdk_0.1.0-beta.8_1728459469093_0.6830273787446204","host":"s3://npm-registry-packages"}},"2.0.0":{"author":{"name":"anqa-ag"},"type":"module","dependencies":{"@aptos-labs/ts-sdk":"^1.19.0","@ethersproject/units":"^5.7.0","axios":"^1.7.2","big.js":"^5.2.2","decimal.js-light":"^2.5.1","jsbi":"^3.1.4","tiny-invariant":"^1.3.3","toformat":"^2.0.0"},"devDependencies":{"@size-limit/preset-small-lib":"^11.1.4","@types/big.js":"^4.0.5","husky":"^9.0.11","prettier":"^3.3.2","size-limit":"^11.1.4","tsdx":"^0.14.1","tslib":"^2.6.3","typescript":"^5.4.5"},"engines":{"node":">=10"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"license":"MIT","main":"dist/index.js","module":"dist/anqa-sdk.esm.js","name":"@anqa-ag/ts-sdk","peerDependencies":{},"repository":{"type":"git","url":"git+https://github.com/anqa-ag/anqa-sdk.git"},"scripts":{"analyze":"size-limit --why","build":"tsdx build","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","start":"tsdx watch","test":"tsdx test","pretty":"prettier --write \"./**/*.{js,jsx,mjs,cjs,ts,tsx,json}\""},"size-limit":[{"limit":"20 KB","path":"dist/ts-sdk.cjs.production.min.js"},{"limit":"20 KB","path":"dist/ts-sdk.esm.js"}],"typings":"dist/index.d.ts","version":"2.0.0","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/ts-sdk.esm.js"}}},"gitHead":"b20c184c7f9d95731ac910fffeae2a5867aa3fdb","description":"### 1. Importing Required Modules","bugs":{"url":"https://github.com/anqa-ag/anqa-sdk/issues"},"homepage":"https://github.com/anqa-ag/anqa-sdk#readme","_id":"@anqa-ag/ts-sdk@2.0.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-asf2QDic6lSszzP1xjGDsqvohUkGBiwiPKmW9zGSVxRfq8BVzeXPAJ4gqfK1Z/4aY0yMR4uK+gdzFxnUbhJo1w==","shasum":"60d0b635a84f8819821386e73f3b9ce6270e21ae","tarball":"https://registry.npmjs.org/@anqa-ag/ts-sdk/-/ts-sdk-2.0.0.tgz","fileCount":30,"unpackedSize":155527,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFkLni58sql04hYS6/v3GeQGydeve9KECglvaweXAkT4AiEAwr70zK70gdfg72nmu96AFBehlRl/xmaaoA8XiUmNT7U="}]},"_npmUser":{"name":"nguyenhoaidanh","email":"nguyenhoaidanh2096@gmail.com"},"directories":{},"maintainers":[{"name":"minato160573z","email":"minato160573z@gmail.com"},{"name":"nguyenhoaidanh","email":"nguyenhoaidanh2096@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ts-sdk_2.0.0_1739205752437_0.02349468537560595"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-19T17:18:03.733Z","modified":"2025-02-10T16:42:32.891Z","0.1.0":"2024-06-19T17:18:03.983Z","0.1.0-beta.1":"2024-06-27T19:38:56.537Z","0.1.0-beta.2":"2024-07-21T13:29:04.461Z","0.1.0-beta.3":"2024-07-21T13:30:21.917Z","0.1.0-beta.4":"2024-07-21T17:11:09.851Z","0.1.0-beta.5":"2024-08-01T10:30:24.564Z","0.1.0-beta.6":"2024-08-02T17:05:11.581Z","0.1.0-beta.7":"2024-10-09T06:54:44.512Z","0.1.0-beta.8":"2024-10-09T07:37:49.306Z","2.0.0":"2025-02-10T16:42:32.661Z"},"bugs":{"url":"https://github.com/anqa-ag/anqa-sdk/issues"},"author":{"name":"anqa-ag"},"license":"MIT","homepage":"https://github.com/anqa-ag/anqa-sdk#readme","repository":{"type":"git","url":"git+https://github.com/anqa-ag/anqa-sdk.git"},"description":"### 1. Importing Required Modules","maintainers":[{"name":"minato160573z","email":"minato160573z@gmail.com"},{"name":"nguyenhoaidanh","email":"nguyenhoaidanh2096@gmail.com"}],"readme":"## Example of using Anqa SDK to build a swap transaction on Aptos\n\n### 1. Importing Required Modules\n\nFirst, we need to import the necessary modules and dependencies for the Aptos blockchain transactions and swap data retrieval:\n\n```javascript\nimport { getSwapData } from '@anqa-ag/ts-sdk';\nimport { Aptos, AptosConfig, Network, APTOS_COIN, Ed25519PublicKey, Ed25519PrivateKey, Account } from '@aptos-labs/ts-sdk';\nimport invariant from 'tiny-invariant';\n```\n\n### 2. Setting Up Constants\n\nNext, define the constants that will be used throughout the script. These include wallet addresses, keys, and asset identifiers:\n\n```javascript\nexport const TEST_WALLET_ADDRESS = ''; // change me\nexport const TEST_PRIVATE_KEY = ''; // change me\nexport const TEST_PUBLIC_KEY = ''; // change me\nexport const Z_USDC = '0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC';\nexport const SLIPPAGE_BPS = 50;\n```\n\n### 3. Configuring Aptos\n\nSet up the configuration for the Aptos blockchain network:\n\n```javascript\nconst aptosConfig = new AptosConfig({ network: Network.MAINNET });\nexport const aptos = new Aptos(aptosConfig);\n```\n\n### 4. Retrieving Swap Data\n\nRetrieve the necessary swap data for the transaction using the `getSwapData` function:\n\n```javascript\nconst swapData = await getSwapData({\n  srcAsset: APTOS_COIN,\n  dstAsset: Z_USDC,\n  srcAmount: '1000000',\n  slippageBps: 50, // 0.5%\n  feeReceiver: '0x24570782d195e458b6e67c52e373ad1c54e18b4ac41e7b4cd2cddec255e42ffb',\n  feeInBps: 50, // 0.5%\n  isFeeIn: true\n});\n```\n\n### 5. Building the Transaction\n\nBuild a simple transaction with the swap data retrieved:\n\n```javascript\nconst transaction = await aptos.transaction.build.simple({\n  sender: TEST_WALLET_ADDRESS,\n  data: {\n    function: swapData.function,\n    functionArguments: swapData.functionArguments,\n    typeArguments: swapData.typeArguments,\n  },\n});\n```\n\n### 6. Simulating the Transaction\n\nSimulate the transaction to ensure it will succeed:\n\n```javascript\nconst simulateResponse = await aptos.transaction.simulate.simple({\n  signerPublicKey: new Ed25519PublicKey(TEST_PUBLIC_KEY),\n  transaction,\n});\n\ninvariant(simulateResponse.length === 1, `unexpected error, simulateResponse = ${JSON.stringify(simulateResponse)}`);\ninvariant(simulateResponse[0].success, 'simulate failed');\n```\n\n### 7. Signing and Submitting the Transaction\n\nSign and submit the transaction using the private key:\n\n```javascript\nconst pendingTxResponse = await aptos.transaction.signAndSubmitTransaction({\n  signer: Account.fromPrivateKey({ privateKey: new Ed25519PrivateKey(TEST_PRIVATE_KEY) }),\n  transaction,\n});\n```\n\n### 8. Waiting for Transaction Confirmation\n\nWait for the transaction to be confirmed on the blockchain:\n\n```javascript\nconst committedTxResponse = await aptos.transaction.waitForTransaction({ transactionHash: pendingTxResponse.hash });\ninvariant(committedTxResponse.success, 'transaction failed');\n```\n\n### 9. Logging the Transaction Result\n\nFinally, log the success message with the transaction details:\n\n```javascript\nconsole.log(`Success. https://aptoscan.com/transaction/${committedTxResponse.version}`);\n```\n\nEach block of code corresponds to a specific step in the process of setting up, building, simulating, signing, submitting, and confirming a transaction on the Aptos blockchain. This structure helps in understanding the flow and individual responsibilities of each part of the script.\n","readmeFilename":"README.md"}