{"_id":"@alien_swap/sdk","_rev":"1-40ad756fc745bc9972eaea993f58b6e4","name":"@alien_swap/sdk","dist-tags":{"latest":"3.0.3"},"versions":{"3.0.2":{"name":"@alien_swap/sdk","version":"3.0.2","keywords":["uniswap","ethereum"],"license":"MIT","_id":"@alien_swap/sdk@3.0.2","maintainers":[{"name":"alien_swap_dev","email":"alienswapz@protonmail.com"}],"homepage":"https://github.com/alienswapz/sdk#readme","bugs":{"url":"https://github.com/alienswapz/sdk/issues"},"dist":{"shasum":"2325bd4b8972863da2086f8c0377aeb72a02e65b","tarball":"https://registry.npmjs.org/@alien_swap/sdk/-/sdk-3.0.2.tgz","fileCount":38,"integrity":"sha512-J9lJWGYbBc6gjPU/TMrQg2wqvLnBbtBtWV2KdXiYxgE7pY4z/OwAffDJqxIA7xVHb+XLdyM+c5+8CqlLUfpOxA==","signatures":[{"sig":"MEYCIQDiAqmPWivdsW98wglP93Ly+HHKWYXQesJIh3Jkbyii5wIhALnh8GaarKcSVlqO0oblJT0SqifefNmfsJJfUq/CPpfB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":462001},"main":"dist/index.js","module":"dist/sdk.esm.js","engines":{"node":">=10"},"gitHead":"49c2693adfbbeb7a2fd1acc37eb4458d3024bee7","scripts":{"lint":"tsdx lint src test","test":"tsdx test","build":"tsdx build","start":"tsdx watch","prepublishOnly":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"alien_swap_dev","email":"alienswapz@protonmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true},"repository":{"url":"git+https://github.com/alienswapz/sdk.git","type":"git"},"_npmVersion":"10.8.2","description":"🛠 An SDK for building applications on top of Uniswap.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"jsbi":"^3.1.1","big.js":"^5.2.2","toformat":"^2.0.0","tiny-warning":"^1.0.3","tiny-invariant":"^1.1.0","@uniswap/v2-core":"^1.0.0","decimal.js-light":"^2.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.12.3","@types/jest":"^24.0.25","@types/big.js":"^4.0.5","@ethersproject/address":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/solidity":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/providers":"^5.0.5","babel-plugin-transform-jsbi-to-bigint":"^1.3.1"},"peerDependencies":{"@ethersproject/address":"^5.0.0-beta","@ethersproject/networks":"^5.0.0-beta","@ethersproject/solidity":"^5.0.0-beta","@ethersproject/contracts":"^5.0.0-beta","@ethersproject/providers":"^5.0.0-beta"},"_npmOperationalInternal":{"tmp":"tmp/sdk_3.0.2_1724640186060_0.9459564509596992","host":"s3://npm-registry-packages"}},"3.0.3":{"name":"@alien_swap/sdk","license":"MIT","version":"3.0.3","description":"🛠 An SDK for building applications on top of Uniswap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/alienswapz/sdk.git"},"keywords":["uniswap","ethereum"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"@uniswap/v2-core":"^1.0.0","big.js":"^5.2.2","decimal.js-light":"^2.5.0","jsbi":"^3.1.1","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0"},"peerDependencies":{"@ethersproject/address":"^5.0.0-beta","@ethersproject/contracts":"^5.0.0-beta","@ethersproject/networks":"^5.0.0-beta","@ethersproject/providers":"^5.0.0-beta","@ethersproject/solidity":"^5.0.0-beta"},"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},"_id":"@alien_swap/sdk@3.0.3","gitHead":"63fc18e2f9c3731079e11530c37d5d6784212c60","bugs":{"url":"https://github.com/alienswapz/sdk/issues"},"homepage":"https://github.com/alienswapz/sdk#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-qRpkuxEl4MYCXMY39lcPfk8uiJ+OfbZB05+St/35dWWAg6vrAw6+cDRCBBEh9PVTsYZ7qGMnlsBz+OirjVTuTg==","shasum":"0637501097134208ea680b6881517f51d48bc662","tarball":"https://registry.npmjs.org/@alien_swap/sdk/-/sdk-3.0.3.tgz","fileCount":38,"unpackedSize":462001,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE96mN+qpL1Zg8HGp4/ZcIqsgx+QEk98qsaIHk0TiFmyAiBswe8pJPG3Zq1ozL25dv522tUn/PhbypV9hkWrB5oVag=="}]},"_npmUser":{"name":"alien_swap_dev","email":"alienswapz@protonmail.com"},"directories":{},"maintainers":[{"name":"alien_swap_dev","email":"alienswapz@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_3.0.3_1724727980540_0.7793675302762584"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-26T02:43:05.959Z","modified":"2024-08-27T03:06:20.963Z","3.0.2":"2024-08-26T02:43:06.256Z","3.0.3":"2024-08-27T03:06:20.767Z"},"bugs":{"url":"https://github.com/alienswapz/sdk/issues"},"license":"MIT","homepage":"https://github.com/alienswapz/sdk#readme","keywords":["uniswap","ethereum"],"repository":{"type":"git","url":"git+https://github.com/alienswapz/sdk.git"},"description":"🛠 An SDK for building applications on top of Uniswap.","maintainers":[{"name":"alien_swap_dev","email":"alienswapz@protonmail.com"}],"readme":"# Uniswap SDK\r\n\r\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\r\n[![Actions Status](https://github.com/Uniswap/uniswap-sdk/workflows/CI/badge.svg)](https://github.com/Uniswap/uniswap-sdk)\r\n[![npm version](https://img.shields.io/npm/v/@uniswap/sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk/v/latest)\r\n[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk@latest)\r\n\r\nIn-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).\r\n\r\n## Running tests\r\n\r\nTo run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.\r\n\r\nFirst clone the repository:\r\n\r\n```sh\r\ngit clone https://github.com/Uniswap/uniswap-sdk.git\r\n```\r\n\r\nMove into the uniswap-sdk working directory\r\n\r\n```sh\r\ncd uniswap-sdk/\r\n```\r\n\r\nInstall dependencies\r\n\r\n```sh\r\nyarn install\r\n```\r\n\r\nRun tests\r\n\r\n```sh\r\nyarn test\r\n```\r\n\r\nYou should see output like the following:\r\n\r\n```sh\r\nyarn run v1.22.4\r\n$ tsdx test\r\n PASS  test/constants.test.ts\r\n PASS  test/pair.test.ts\r\n PASS  test/fraction.test.ts\r\n PASS  test/miscellaneous.test.ts\r\n PASS  test/entities.test.ts\r\n PASS  test/trade.test.ts\r\n\r\nTest Suites: 1 skipped, 6 passed, 6 of 7 total\r\nTests:       3 skipped, 82 passed, 85 total\r\nSnapshots:   0 total\r\nTime:        5.091s\r\nRan all test suites.\r\n✨  Done in 6.61s.\r\n```\r\n","readmeFilename":"README.md"}