{"_id":"@astradefi/sdk","_rev":"3-4e3689ff695ca847b7d314b7c7ea942b","name":"@astradefi/sdk","dist-tags":{"latest":"1.0.2","beta":"1.0.1-beta.0"},"versions":{"1.0.0":{"name":"@astradefi/sdk","license":"MIT","version":"1.0.0","description":"🛠 An SDK for building applications on top of Astradefi.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/AstraProtocol/astra-swap-sdk.git"},"keywords":["astradefi","astra"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"big.js":"^5.2.2","decimal.js-light":"^2.5.0","jsbi":"^3.1.4","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0"},"peerDependencies":{"@ethersproject/address":"^5.0.0","@ethersproject/contracts":"^5.0.0","@ethersproject/networks":"^5.0.0","@ethersproject/providers":"^5.0.0","@ethersproject/solidity":"^5.0.0"},"devDependencies":{"@ethersproject/address":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/providers":"^5.0.5","@ethersproject/solidity":"^5.0.2","@types/big.js":"^4.0.5","@types/jest":"^24.0.25","babel-plugin-transform-jsbi-to-bigint":"^1.3.1","tsdx":"^0.12.3"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"gitHead":"52fbef1813c31e34651a9af02b41aafc1d2306bc","bugs":{"url":"https://github.com/AstraProtocol/astra-swap-sdk/issues"},"homepage":"https://github.com/AstraProtocol/astra-swap-sdk#readme","_id":"@astradefi/sdk@1.0.0","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-6kFNP27V3t2OzJL2UKUrAI4ATvQ+4Z8QdT3Tg2QtTXTs68a4CoCcQ+IzMuaDYPvnLksa2YNggBAw0Jo/2KwHfQ==","shasum":"75ba0fa155ead59cc4f1bbdab1b8eca423651f9d","tarball":"https://registry.npmjs.org/@astradefi/sdk/-/sdk-1.0.0.tgz","fileCount":38,"unpackedSize":482821,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGFPndSpjkec6du2FFoVrEDOSeK641yVtRDpIZoKXMKAAiBx1gwESPYLSFoetkaFfSu6NE56Ct8vb2W38wv13VOmXA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisEznACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpn3g//b4OJNuaGUB7/tjOLFyAFi1X+Alloangp0Ybr/gdVR4UFLb7r\r\nMIlRQsjpYiX3/zSn5Y34UwDwGIsd9s7+Ms3Hddboxve/Al8rpGtI6PZoflwo\r\nX7DYRh/54D8u0TWq8OUx/obYxPj38a+pSVlv1BMTJipcbd9VjczqOd6q9O8r\r\nZulXNu2yaQTB4GAzINCWk+iW18W+2GgdkPSwwr5i/VE5uiDrtHKAEkKSjtwj\r\nfWsBL4kZCKsdgerPaST/xcLgvH0GSXNASyJDpPu73dnVB30MCf+BjiPuhG72\r\nignTH4/25JoKYY8oHit4Ic7921Pihn8hc0WLXpQqE49khUD0YxG6aXPUdVDI\r\nDM/pnBeIgrzQ/GYjNEwGbQ0Wg+0TRgj9llbKu+9jxj3zekkfqdznpNDK5jId\r\nmchpuCtBo44zBjvkGhVHbqHLxW9SZf5Hq6xLW1kC/XyIwh8OXUOlt7NSbScm\r\nQixWAJlWpmm2/ObsVcr4ytsyl79+0KgFnEqSHF6GrKCh8iUFxIBKGz2sSRhG\r\nUXaVgkEftaN1XGHV9IpW0RI2utjoLgEmsjrFcHOdNiTTXO4iiju/Qn224qHT\r\n9Tcp5ownA5GpOMKkaZYtgZ6eGO0vl7pJJXFJdCaOiHCU7FGHnoP/JtMjGlL9\r\nEmyvmhkr0SzqnvQFXfdzFt/hP6Vfcj/f7mM=\r\n=hQ+0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"thinhtran3","email":"thinh.tran3@tiki.vn"},"directories":{},"maintainers":[{"name":"thinhtran3","email":"thinh.tran3@tiki.vn"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_1.0.0_1655721191743_0.5127185710248043"},"_hasShrinkwrap":false},"1.0.1-beta.0":{"name":"@astradefi/sdk","license":"MIT","version":"1.0.1-beta.0","description":"🛠 An SDK for building applications on top of Astradefi.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/AstraProtocol/astra-swap-sdk.git"},"keywords":["astradefi","astra"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"big.js":"^5.2.2","decimal.js-light":"^2.5.0","jsbi":"^3.1.4","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0"},"peerDependencies":{"@ethersproject/address":"^5.0.0","@ethersproject/contracts":"^5.0.0","@ethersproject/networks":"^5.0.0","@ethersproject/providers":"^5.0.0","@ethersproject/solidity":"^5.0.0"},"devDependencies":{"@ethersproject/address":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/providers":"^5.0.5","@ethersproject/solidity":"^5.0.2","@types/big.js":"^4.0.5","@types/jest":"^24.0.25","babel-plugin-transform-jsbi-to-bigint":"^1.3.1","tsdx":"^0.12.3"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"readme":"# Astradefi SDK\n\nForked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).\n\nYou can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).\n\n## Running tests\n\nTo run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.\n\nFirst clone the repository:\n\n```sh\ngit clone https://github.com/AstraProtocol/astra-swap-sdk\n```\n\nMove into the astra-swap-sdk working directory\n\n```sh\ncd astra-swap-sdk\n```\n\nInstall dependencies\n\n```sh\nyarn install\n```\n\nRun tests\n\n```sh\nyarn test\n```\n\nYou should see output like the following:\n\n```sh\nyarn run v1.22.4\n$ tsdx test\n PASS  test/constants.test.ts\n PASS  test/pair.test.ts\n PASS  test/fraction.test.ts\n PASS  test/miscellaneous.test.ts\n PASS  test/entities.test.ts\n PASS  test/trade.test.ts\n\nTest Suites: 1 skipped, 6 passed, 6 of 7 total\nTests:       3 skipped, 82 passed, 85 total\nSnapshots:   0 total\nTime:        5.091s\nRan all test suites.\n✨  Done in 6.61s.\n```\n","readmeFilename":"README.md","gitHead":"8c69b0e4c9e57bea2e79733f9ad0b91af0083d9d","bugs":{"url":"https://github.com/AstraProtocol/astra-swap-sdk/issues"},"homepage":"https://github.com/AstraProtocol/astra-swap-sdk#readme","_id":"@astradefi/sdk@1.0.1-beta.0","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-5cmqZzKDbzRhKMVJIRSduJeKUbFMxl6uPdNAHzThMNl3Sd60/9Zc1Yu6zxglVrinvUwntdWx/RQA3TLfWao7KA==","shasum":"6f5ca79ca9336363a57d6472672931d396b71c11","tarball":"https://registry.npmjs.org/@astradefi/sdk/-/sdk-1.0.1-beta.0.tgz","fileCount":38,"unpackedSize":483191,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzSSwerSBDzpXOeR2x44JSk70MzYStpe93vD2BxyZjUQIhALWDr0uCp/+5sBROePgXx6Pywah14nxtNAS0R/BS29fF"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitGqAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoU5xAAjFZatLYns2I84AeqPUhwERun2CpLhPKWTttK3IjzIPQ2FAFR\r\n+1j+ZndW1/BNHyiOISE/KW4rCpDJy7DgwesxuebNmwRlNF42SjJSh6yTe+0W\r\nD2+dRytxf8PCVOdicOMJvlWYhxIRrxMLMeZtva4wydd/okMvSiv5gKJUfLd+\r\ngXVKeBBFZgP4yd0FoLteeuQpukVly3QNl9c/IQ+bkQbJKd8r5syiGZEGWWQp\r\nSiSXrp3LVjphTYvnMNLwVDu44MrTRmt4Zv9f5E2/LbQcwd/nkSR+V5Ex64se\r\nEdKefk1uvcOA4SFmu892LVG1Zr3EcQKqjsljq3WdO9Grg5QckEmvbamc/GRG\r\nFaKu08nLR66l88V+bJAUHRulVa7e1nN9GE6wLGQmWlAMcsGG8QwIQjmaUEsa\r\nhQYNNygOGya+UklRAj0i+V38eCLfA7nj/7ltt18fm8rqYiGvo0tmXcxQeTYZ\r\nGUGMNI0EAE84h4eTi6C6TIpdjNV2Hr0m+Y53NC4Xm+vLzUmDj7ee7m1jzNOB\r\nAX3KjrSythpaJInjfHeJNiD401p1XyCcr71KnbpP27Vj2s7BMI8YnCvRadU4\r\noZkEqG1N/cEJZxjLYMZhwtFihobI5ya2eH99j8OH4p7Ix7nd+SKFs4MnOJbh\r\nlQnUvYtFs2UKsLKn5FrgIWGGp65SEAvaEB0=\r\n=spha\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tiendn","email":"daonamtien1@gmail.com"},"directories":{},"maintainers":[{"name":"tiendn","email":"daonamtien1@gmail.com"},{"name":"thinhtran3","email":"thinh.tran3@tiki.vn"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_1.0.1-beta.0_1655990912834_0.19055362395806252"},"_hasShrinkwrap":false},"1.0.2":{"name":"@astradefi/sdk","license":"MIT","version":"1.0.2","description":"🛠 An SDK for building applications on top of Astradefi.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/AstraProtocol/astra-swap-sdk.git"},"keywords":["astradefi","astra"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"big.js":"^5.2.2","decimal.js-light":"^2.5.0","jsbi":"^3.1.4","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0"},"peerDependencies":{"@ethersproject/address":"^5.0.0","@ethersproject/contracts":"^5.0.0","@ethersproject/networks":"^5.0.0","@ethersproject/providers":"^5.0.0","@ethersproject/solidity":"^5.0.0"},"devDependencies":{"@ethersproject/address":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/providers":"^5.0.5","@ethersproject/solidity":"^5.0.2","@types/big.js":"^4.0.5","@types/jest":"^24.0.25","babel-plugin-transform-jsbi-to-bigint":"^1.3.1","tsdx":"^0.12.3"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"gitHead":"8c69b0e4c9e57bea2e79733f9ad0b91af0083d9d","bugs":{"url":"https://github.com/AstraProtocol/astra-swap-sdk/issues"},"homepage":"https://github.com/AstraProtocol/astra-swap-sdk#readme","_id":"@astradefi/sdk@1.0.2","_nodeVersion":"18.7.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-nL7B6Aa5/+FL2BBcFBUBds55bffDRTEJ+B4mNMGJxWpx+Z/f5WMDYDEgSFDZh+WYXzPHDrdkFPZvVzD9U2jFqw==","shasum":"f165dc9ba1f6a4f5836164c5ed8a2b350e2e6cb7","tarball":"https://registry.npmjs.org/@astradefi/sdk/-/sdk-1.0.2.tgz","fileCount":38,"unpackedSize":483217,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBK6b6cZ0sgOiXyKyK/UlCfu6u+vWotneW7MByXHcqq5AiAn16zXgZ/dodc1KMF1IonxKJptInRMZSfLsMzC1J/LAg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7J52ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2exAAo6WVGiYIGL9AXDj8ZzOLAVdoC03b2PjverdRk0Oe0kA4Qruc\r\nyBz02K/gS184b+pVSqlp0HFaqDIs/VKFW+UdMwVh+ZzxGgzL41L/ckB1BJmp\r\nlfx9ToNG4g1eMUWcXxqQcs2R54BL+9sioYRUJDwQO0zkcpY4/QIAxFhZ+n00\r\nxmBdDrEjWUBj0XsFkzS/i+oMFZExhpSi+zHCvCjL1UzMV/rA9M9zo5qsJ9v7\r\nJhMz+2nectFuAZz2s6dYiknHkubueStWlGyebDyk0PPCw0EkgcU4a3DjWN2q\r\n0WUcl9466hLXybN8/AggWMlC6DduVOnJ7V0j8ihE6FFNqsE9m1VjYlM+FP57\r\nPQqIWDpJg1SLxa9bQU4PRS5MoLApndl1QMxbOaGfjIKucGXYGY0cVYePSom6\r\nG48DXJWe1ZkNXdyhLoIACn/jk5v3W8DGOkHsO4vZZd2+izTIeJzQT/yy2nwr\r\nLQhspOxZsBkxKE+zoznRmhO+x699KXok+t7rXl3Y4Q1q/Loko4PXc4z4aNBA\r\n0ZY2iCUQ7lgNz4uQpyFZ+hAPQ6UiiKwSKm+sBP2p2qxgekDrNKoq5FMJT/gu\r\noH9ZkvCgUCT1O7aoVhx3XX1FJW0oNZDOWjYOW6UOQ5CRPMmhYjPb+xlRejSv\r\nAas8cYKwJJJ8/oUW3TYpl9A92OO8Aa7xEEU=\r\n=F7Zw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"thinhtran3","email":"thinh.tran3@tiki.vn"},"directories":{},"maintainers":[{"name":"tiendn","email":"daonamtien1@gmail.com"},{"name":"thinhtran3","email":"thinh.tran3@tiki.vn"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_1.0.2_1659674229922_0.2017148480737434"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-20T10:33:11.684Z","1.0.0":"2022-06-20T10:33:11.921Z","modified":"2022-08-05T04:37:10.207Z","1.0.1-beta.0":"2022-06-23T13:28:32.949Z","1.0.2":"2022-08-05T04:37:10.115Z"},"maintainers":[{"name":"tiendn","email":"daonamtien1@gmail.com"},{"name":"thinhtran3","email":"thinh.tran3@tiki.vn"}],"description":"🛠 An SDK for building applications on top of Astradefi.","homepage":"https://github.com/AstraProtocol/astra-swap-sdk#readme","keywords":["astradefi","astra"],"repository":{"type":"git","url":"git+https://github.com/AstraProtocol/astra-swap-sdk.git"},"bugs":{"url":"https://github.com/AstraProtocol/astra-swap-sdk/issues"},"license":"MIT","readme":"# Astradefi SDK\n\nForked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).\n\nYou can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).\n\n## Running tests\n\nTo run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.\n\nFirst clone the repository:\n\n```sh\ngit clone https://github.com/AstraProtocol/astra-swap-sdk\n```\n\nMove into the astra-swap-sdk working directory\n\n```sh\ncd astra-swap-sdk\n```\n\nInstall dependencies\n\n```sh\nyarn install\n```\n\nRun tests\n\n```sh\nyarn test\n```\n\nYou should see output like the following:\n\n```sh\nyarn run v1.22.4\n$ tsdx test\n PASS  test/constants.test.ts\n PASS  test/pair.test.ts\n PASS  test/fraction.test.ts\n PASS  test/miscellaneous.test.ts\n PASS  test/entities.test.ts\n PASS  test/trade.test.ts\n\nTest Suites: 1 skipped, 6 passed, 6 of 7 total\nTests:       3 skipped, 82 passed, 85 total\nSnapshots:   0 total\nTime:        5.091s\nRan all test suites.\n✨  Done in 6.61s.\n```\n","readmeFilename":"README.md"}