{"_id":"@dogswapfinance/sdk","_rev":"2-8c8eb6d4cb456e86e8dff683451ce409","name":"@dogswapfinance/sdk","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@dogswapfinance/sdk","license":"MIT","version":"1.0.0","description":"🛠 An SDK for building applications on top of DogSwap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/DogToken/dogswap-sdk.git"},"keywords":["pancakeswap","bsc"],"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":"492d1cdd0ed5289b08f65d2f0e3f26f47a8104e7","bugs":{"url":"https://github.com/DogToken/dogswap-sdk/issues"},"homepage":"https://github.com/DogToken/dogswap-sdk#readme","_id":"@dogswapfinance/sdk@1.0.0","_nodeVersion":"19.9.0","_npmVersion":"9.6.3","dist":{"integrity":"sha512-xv8qm0aRfsy4uKWgmozQk+g6LH9d9foRDfDN+M7fJMJBkMelXAaHqERJicU/KBt/eJFAUhmk1p2H8wsHoKNqOg==","shasum":"71265c19be191e4f04f30e9b5196b444febfe133","tarball":"https://registry.npmjs.org/@dogswapfinance/sdk/-/sdk-1.0.0.tgz","fileCount":38,"unpackedSize":492461,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHkHkzD+ZISPjxxsSQza4ljs5PV4y2S0K0wWVTPDtXCvAiBpuMnLT95zqHIrQkVqdkSG0oi4D6WUtkJPP6YMKAVAeQ=="}]},"_npmUser":{"name":"dogswapfinance","email":"vantwembeke@gmail.com"},"directories":{},"maintainers":[{"name":"dogswapfinance","email":"vantwembeke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_1.0.0_1684334047968_0.8143320093972233"},"_hasShrinkwrap":false},"1.0.1":{"name":"@dogswapfinance/sdk","license":"MIT","version":"1.0.1","description":"🛠 An SDK for building applications on top of DogSwap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/DogToken/dogswap-sdk.git"},"keywords":["pancakeswap","bsc"],"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":"492d1cdd0ed5289b08f65d2f0e3f26f47a8104e7","bugs":{"url":"https://github.com/DogToken/dogswap-sdk/issues"},"homepage":"https://github.com/DogToken/dogswap-sdk#readme","_id":"@dogswapfinance/sdk@1.0.1","_nodeVersion":"19.9.0","_npmVersion":"9.6.3","dist":{"integrity":"sha512-il+WZssxzk4hKYFsTLfSv62QN1t1fDMt4dSKOmDMt/fOwFV7Lv/oneATxUGC/HRbhAHptF8nxASzaRUss3Jy+w==","shasum":"3a72124cf41045807c616f18ea0760ee79125d15","tarball":"https://registry.npmjs.org/@dogswapfinance/sdk/-/sdk-1.0.1.tgz","fileCount":38,"unpackedSize":492461,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDby4Y7koBEShhWauU+nby8v0am71RKkSiguCG79pLHbgIhAIPaWFtUxeNSmb450mgKAckbt+/JnX5de7KOoTXca8Pk"}]},"_npmUser":{"name":"dogswapfinance","email":"vantwembeke@gmail.com"},"directories":{},"maintainers":[{"name":"dogswapfinance","email":"vantwembeke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_1.0.1_1684428774758_0.8144711916286089"},"_hasShrinkwrap":false},"1.0.2":{"name":"@dogswapfinance/sdk","license":"MIT","version":"1.0.2","description":"🛠 An SDK for building applications on top of DogSwap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/DogToken/dogswap-sdk.git"},"keywords":["pancakeswap","bsc"],"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":"e366bcb8f59838698dac47deaa14c87471b50d8e","bugs":{"url":"https://github.com/DogToken/dogswap-sdk/issues"},"homepage":"https://github.com/DogToken/dogswap-sdk#readme","_id":"@dogswapfinance/sdk@1.0.2","_nodeVersion":"19.9.0","_npmVersion":"9.6.3","dist":{"integrity":"sha512-LLKV1FlrZ9o9ejgYDXVdgJtgogj6dcdL3CqsdMxOWSpuBh8qLAhVczhVYHgNwhGDSBhQZJRitZawYnOPnkTE+A==","shasum":"8c260f980842d559cbf5ce11a63f2884c9ee376e","tarball":"https://registry.npmjs.org/@dogswapfinance/sdk/-/sdk-1.0.2.tgz","fileCount":38,"unpackedSize":492461,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAOL44dtg1Zf9roNlP0OL2f2SaSity39oXIe5509r/GGAiBa3b23JvUrK48yWu+h3w/yTdTUqW3lHJQBBeqqz5kXKQ=="}]},"_npmUser":{"name":"dogswapfinance","email":"vantwembeke@gmail.com"},"directories":{},"maintainers":[{"name":"dogswapfinance","email":"vantwembeke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_1.0.2_1684429603593_0.6275052510050207"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-17T14:34:07.895Z","1.0.0":"2023-05-17T14:34:08.153Z","modified":"2023-05-18T17:06:43.898Z","1.0.1":"2023-05-18T16:52:54.911Z","1.0.2":"2023-05-18T17:06:43.765Z"},"maintainers":[{"name":"dogswapfinance","email":"vantwembeke@gmail.com"}],"description":"🛠 An SDK for building applications on top of DogSwap.","homepage":"https://github.com/DogToken/dogswap-sdk#readme","keywords":["pancakeswap","bsc"],"repository":{"type":"git","url":"git+https://github.com/DogToken/dogswap-sdk.git"},"bugs":{"url":"https://github.com/DogToken/dogswap-sdk/issues"},"license":"MIT","readme":"\r\n> **Notice**\r\n>\r\n> Moved to https://github.com/pancakeswap/pancake-frontend/tree/develop/packages/swap-sdk\r\n\r\n# Pancakeswap SDK\r\n\r\nForked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).\r\n\r\nYou can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).\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/pancakeswap/pancake-swap-sdk.git\r\n```\r\n\r\nMove into the pancakeswap-sdk working directory\r\n\r\n```sh\r\ncd pancakeswap-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"}