{"_id":"@1delta/sdk","_rev":"1-133cbab081146cd287433f1aa1307062","name":"@1delta/sdk","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@1delta/sdk","license":"MIT","version":"0.0.1","description":"🛠 An SDK for building applications on top of Pancakeswap.","main":"dist/index.js","typings":"dist/index.d.ts","module":"dist/index.mjs","repository":{"type":"git","url":"git+https://github.com/pancakeswap/pancake-frontend.git","directory":"packages/swap-sdk"},"keywords":["pancakeswap","bsc"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"dependencies":{"big.js":"^5.2.2","decimal.js-light":"^2.5.0","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0","viem":"^1.2.9","@1delta/swap-sdk-core":"0.0.1"},"devDependencies":{"@types/big.js":"^4.0.5","tsup":"^6.7.0"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest --run --globals","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist"},"bugs":{"url":"https://github.com/pancakeswap/pancake-frontend/issues"},"homepage":"https://github.com/pancakeswap/pancake-frontend#readme","_id":"@1delta/sdk@0.0.1","_integrity":"sha512-/5ZeYBBxtNjISubCPDhYU9v4XiHUUyKWklMrggspBaqbiWFcBhYA9eMo6Y7SRsg2fTOpYfpjiuSCKsBf8uZRSg==","_resolved":"/tmp/5feab2ff26019443aa3bf176f01a81a7/1delta-sdk-0.0.1.tgz","_from":"file:1delta-sdk-0.0.1.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-/5ZeYBBxtNjISubCPDhYU9v4XiHUUyKWklMrggspBaqbiWFcBhYA9eMo6Y7SRsg2fTOpYfpjiuSCKsBf8uZRSg==","shasum":"54cc274700d648a71aaa9daa56b5ca95fcf249b1","tarball":"https://registry.npmjs.org/@1delta/sdk/-/sdk-0.0.1.tgz","fileCount":35,"unpackedSize":154080,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBboF99T0mG2AQZbq2HG5f5HXpJPVE99rhkLfm7w9brAIhAOqKNn7z1Dz4d0GvjQX+8ffNWYHM7WG6lYbZaeuoxhE4"}]},"_npmUser":{"name":"delta-achthar","email":"achim@1delta.io"},"directories":{},"maintainers":[{"name":"delta-achthar","email":"achim@1delta.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.1_1692449875874_0.6686345879515154"},"_hasShrinkwrap":false},"0.0.2":{"name":"@1delta/sdk","license":"MIT","version":"0.0.2","description":"🛠 An SDK for building applications on top of DEXs.","main":"dist/index.js","typings":"dist/index.d.ts","module":"dist/index.mjs","keywords":["swaps","exm"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"dependencies":{"big.js":"^5.2.2","decimal.js-light":"^2.5.0","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0","viem":"^1.2.9","@1delta/swap-sdk-core":"0.0.2"},"devDependencies":{"@types/big.js":"^4.0.5","tsup":"^6.7.0"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest --run --globals","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist"},"_id":"@1delta/sdk@0.0.2","_integrity":"sha512-rkzwBHLBNqHN8ODdpoCb02LuloLm+BBcYek2TVvIjl5eVUinJluIHPGa7hdKrFX7ggEVGBGV2lETqJ3GJsCCMQ==","_resolved":"/tmp/8f5cce0a7d1e533b8ec501f3ebd052ad/1delta-sdk-0.0.2.tgz","_from":"file:1delta-sdk-0.0.2.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-rkzwBHLBNqHN8ODdpoCb02LuloLm+BBcYek2TVvIjl5eVUinJluIHPGa7hdKrFX7ggEVGBGV2lETqJ3GJsCCMQ==","shasum":"22df66fb44f267e2c3cf4751a2f372cee6162fac","tarball":"https://registry.npmjs.org/@1delta/sdk/-/sdk-0.0.2.tgz","fileCount":35,"unpackedSize":153922,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGeg7hslJo9BlyxZ8/80J8LG/VWN1IUnpSjlc4N2frESAiByl1nLJfQLYkq2jQctNZCcV0PJQpEA35Y5pmR1SyA7GQ=="}]},"_npmUser":{"name":"delta-achthar","email":"achim@1delta.io"},"directories":{},"maintainers":[{"name":"delta-achthar","email":"achim@1delta.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.2_1692450444585_0.8873483344759301"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-19T12:57:55.771Z","0.0.1":"2023-08-19T12:57:56.063Z","modified":"2023-08-19T13:07:25.056Z","0.0.2":"2023-08-19T13:07:24.855Z"},"maintainers":[{"name":"delta-achthar","email":"achim@1delta.io"}],"description":"🛠 An SDK for building applications on top of DEXs.","keywords":["swaps","exm"],"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 [pnpm](https://pnpm.io) 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\npnpm install\n```\n\nRun tests\n\n```sh\npnpm test\n```\n\nYou should see output like the following:\n\n```sh\npnpm 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"}