{"_rev":"6-e77eab2fa441a8edead5c9d61db11f97","time":{"created":"2023-07-05T12:57:32.951Z","1.0.0":"2022-07-21T17:22:28.587Z","modified":"2023-07-05T12:57:33.486Z","1.0.1":"2022-07-29T14:10:09.203Z","2.4.3":"2023-07-05T12:43:04.648Z","2.4.4":"2023-07-05T12:57:33.296Z"},"_id":"@bsc-swap-testnet/sdk","name":"@bsc-swap-testnet/sdk","dist-tags":{"latest":"2.4.4"},"versions":{"2.4.4":{"name":"@bsc-swap-testnet/sdk","license":"MIT","version":"2.4.4","description":"🛠 An SDK for building applications on top of Pancakeswap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/pancakeswap/pancake-swap-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},"publishConfig":{"access":"public"},"gitHead":"eaba9a7dfbfa992ae0ae122932c19d43f20c47e0","bugs":{"url":"https://github.com/pancakeswap/pancake-swap-sdk/issues"},"homepage":"https://github.com/pancakeswap/pancake-swap-sdk#readme","_id":"@bsc-swap-testnet/sdk@2.4.4","_nodeVersion":"16.13.1","_npmVersion":"9.1.3","dist":{"integrity":"sha512-5G8TDFJjT8bmz1+JOTkZUPs8rlH7oLagDMfY6ksbY5u9rztnMfQmddRwQqyCwJpn0Lv3+6hfXIS/XoH1lqnj5g==","shasum":"f297fea5053b9b3df3b19ec8acfcbf31cf7d3734","tarball":"https://registry.npmjs.org/@bsc-swap-testnet/sdk/-/sdk-2.4.4.tgz","fileCount":38,"unpackedSize":482902,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/mtJQwARmSMz0TDN1MMgRLfxzJR9Um53VBINfBIEzEAIhAP4mCuOWcuQ8nweGvSJEfAP8n2JesbJbyoxVWFIgbS0T"}]},"_npmUser":{"name":"sorwnqe","email":"yuqiangmail@foxmail.com"},"directories":{},"maintainers":[{"name":"sorwnqe","email":"yuqiangmail@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_2.4.4_1688561853013_0.9034564370404141"},"_hasShrinkwrap":false}},"maintainers":[{"name":"sorwnqe","email":"yuqiangmail@foxmail.com"}],"description":"🛠 An SDK for building applications on top of Pancakeswap.","homepage":"https://github.com/pancakeswap/pancake-swap-sdk#readme","keywords":["pancakeswap","bsc"],"repository":{"type":"git","url":"git+https://github.com/pancakeswap/pancake-swap-sdk.git"},"bugs":{"url":"https://github.com/pancakeswap/pancake-swap-sdk/issues"},"license":"MIT","readme":"# Pancakeswap 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/pancakeswap/pancake-swap-sdk.git\n```\n\nMove into the pancakeswap-sdk working directory\n\n```sh\ncd pancakeswap-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"}