{"_id":"@barista-dex/sdk","_rev":"47-5c8d53c1ddab4449210abc25f59280fc","name":"@barista-dex/sdk","dist-tags":{"latest":"0.1.46"},"versions":{"0.1.0":{"name":"@barista-dex/sdk","version":"0.1.0","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.0","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/your-org/barista-dex/tree/master/sdk#readme","bugs":{"url":"https://github.com/your-org/barista-dex/issues"},"dist":{"shasum":"cec53f318840e1d1eb0dd25319ef6b6dba496816","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.0.tgz","fileCount":16,"integrity":"sha512-PmTWvb94ECWKI/l5gz7pYPCVNO3Al0wXX2d4m7BXs8vGfS9xP5WTOHhW4iBmwrhJf+tHGYikdjvSmMPvI5yz9Q==","signatures":[{"sig":"MEQCIBY27FKPw8x13/J018gnSoMYJtxbC1slEkS/lfu0ISJUAiA3h6DApu4+pq4VVF2PGGZBuJYNWrB9Hn6KJw4Z2jnSfw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75705},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c998d1be742ae7844c520553dbf9ea9bbf1a67ce","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/your-org/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1761343640791_0.677582379390435","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@barista-dex/sdk","version":"0.1.1","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.1","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"6f4c3131a8985e69e5af21352aec627e7511e5fa","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.1.tgz","fileCount":16,"integrity":"sha512-qxDrXX5QfWUcrf/la3BAm0pkgpar3oDyB7/uz4gdiJ09USHwIYg/zWulHXwCYxPgPFkBJWyB31+teff7ejrFiQ==","signatures":[{"sig":"MEYCIQD3qFGv9flkQEGDQ6VjOQmejPKcBZ/hKex8rikG9Jkz3wIhAJ3i7Tipu5snhHCmxrhf8cm4JjEl9W0y6+ENQTUp4y/S","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75709},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"87aa7a412610002375d6198fc80e5dde860e829a","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.1_1761344087841_0.8968113486718159","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@barista-dex/sdk","version":"0.1.2","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.2","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"9a3d4de4e25f5dd92df6bc9c2acf1afa5fd983b5","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.2.tgz","fileCount":20,"integrity":"sha512-D9YvuhOKlMuvUfkKxDpqyt560UrRI5G5f3TTK/pQ1VmG5zCLlVPbCcH+qQ7U7VLrA4EQRE9KiHWZK+XwvlL5Pg==","signatures":[{"sig":"MEUCIGN1XFO5eEu73UdQwmo0mfEohg0x+MNOx0WUmf7kdtiZAiEAneDH15qm6QxMAQu5V1IOH/z+GQRupaLj8WsJqICHnQw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99758},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e645f3619dbeaa372e4ca439ecd7f6151fe5625c","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.2_1761370367429_0.7161170175384233","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@barista-dex/sdk","version":"0.1.3","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.3","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"ad3ea8c6325ec4fa833cf89d98f5b2ae0b560c8a","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.3.tgz","fileCount":20,"integrity":"sha512-mZnyhE3Poj5dzAWqr228m49D54dUUF/Z3xCINc+O1CVYl+OY9yk2KNpHKaq3OPPpC/p2ZZ6ktFuIuLCNK8Q1Dg==","signatures":[{"sig":"MEUCIQDrWV9VegXQkLw0G1wujOoFVGAFpKFE1YH+RQ/W1YTjbQIgI91JLW2I+6FZIw/r/rJDxxuyPMXduKt3VjwJhwbKeNM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":118948},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b04985f0ba52004ec1eb52012a524f2ba23193fc","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.3_1761476511668_0.3713945247406796","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@barista-dex/sdk","version":"0.1.4","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.4","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"cc7f6b1c9785119c6f3866edf0d45ec24e6535b0","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.4.tgz","fileCount":20,"integrity":"sha512-uRGhw0weM+m3L9pSu4QMVgSeAAeUvm9fvfGjX98vvng/wkNL3QaOuZ4cODvXIWozDjj4B8fNzuHUVJnLMCIPgg==","signatures":[{"sig":"MEUCIQCGizLy3GrN1mPGGeWk5gybmyn1nX0oz+HHd2sXOdPnfAIgYlH4N33cMGXKiVqPLzyek79zE81ZEgM/4JY2jzSaC+U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143240},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"49d6db84a19ff66e0195781e0d3649746c32f0c8","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.4_1761520405616_0.43467006347469983","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@barista-dex/sdk","version":"0.1.5","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.5","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"c1081babecf8adee626fc9e9f0102d42c3dcf655","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.5.tgz","fileCount":20,"integrity":"sha512-cBA6ingGVpFa21BE/N7HGn7H95GMEKZYuSDOtD1s48Jg9f2tsIBHnMREKzfk25IGKR364rIB6nzPfnAQM0nQlg==","signatures":[{"sig":"MEUCIQCOyAXqWpe0sp4bTI23qaOLoPgh/I94vweyeRkatzjOaQIgOTobDkVwRg2Hd1VcUhPsapLr82lQW/M6d/nvcHx0I5M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143386},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"49d6db84a19ff66e0195781e0d3649746c32f0c8","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.5_1761521306637_0.2936529960301306","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@barista-dex/sdk","version":"0.1.6","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.6","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"89812e290b4c9d0ca2165ed5b25c3b46f08b3ee2","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.6.tgz","fileCount":20,"integrity":"sha512-uQ/+YEvjdtwpOhKUqrvgtoL6QaQsT9JKao7IpE5EPUAogtlIjtmDqSQvlBVdXKjk3bO31kWnnLi+UBPZNjuP4A==","signatures":[{"sig":"MEYCIQCyZhqNhoLPPWy4rMGZYiSGljt07/lfptFJAJM/0kFhNAIhAJOC+u7JMfl1TFaAH97184QlaRRTwP2tK00QyyWKuIo6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143803},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"49d6db84a19ff66e0195781e0d3649746c32f0c8","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.6_1761521589675_0.5357373891087702","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@barista-dex/sdk","version":"0.1.7","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.7","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"aeb727f36d8eb6c9471c0660072b2bb5cc8621a2","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.7.tgz","fileCount":20,"integrity":"sha512-pPdOhc2zpDgyusaHpkl1JyxVoQZdvwmL0LpjeHZQS5VrG99mPZhgUjZUi6JTpASO7TR1M/6E+zsFXePd9UKOgQ==","signatures":[{"sig":"MEQCIFLVycB2cA9s23ekI3w4WDXSRgWnYpMY12RD7EThHOYiAiARL8HwZF/W68rtlYZGu5ucqEWPafTKAVBwrY2DjG0rTA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":144641},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"49d6db84a19ff66e0195781e0d3649746c32f0c8","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.7_1761522391085_0.7507189099076195","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@barista-dex/sdk","version":"0.1.8","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.8","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"8f1722ff5b1cc9214d45ab99e3f58679e3d34a3d","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.8.tgz","fileCount":20,"integrity":"sha512-868fpSao557QB0Shr7Mr9X4AjY4U+58Gtv9XbbjsP5JjPyJxSxIXc7h9yp2c+AjmHYSHDJEMhf5Pc/9uGy3FiQ==","signatures":[{"sig":"MEUCIQDNHlxIO4SfR8PEHloNIbGPNfrt6ww7kPsZLD21nHtuuQIgRMGfD2u28Nmr+TQ4duiK1fHj/DTEuWHtc/ee+SxVICA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":144641},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"49d6db84a19ff66e0195781e0d3649746c32f0c8","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.8_1761523182594_0.9242037568029065","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@barista-dex/sdk","version":"0.1.9","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.9","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"dfa02c346ebff1ced15b20cb80c1ea2feb12520e","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.9.tgz","fileCount":20,"integrity":"sha512-4mSk+rMfC3U+Fwz24KS8PtCCTlW+qiTZZPUBMzhIynLRbK3oBwX4ZpKQ5WL9bRp6dU+rgfjCxX94/And5DL6bg==","signatures":[{"sig":"MEQCIHb1XI0bQftF8SFdKdq4NWjjTPpPxhoBKws3X8KjMNbbAiBweREmMYUxix9/nplJiDtevyi3MCIaKbjP4vdEIixX9Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":144641},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"49d6db84a19ff66e0195781e0d3649746c32f0c8","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.9_1761524274722_0.07064009182093378","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@barista-dex/sdk","version":"0.1.10","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.10","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"ad8f536b957315d7c2fed283645e5ffbc21b4af0","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.10.tgz","fileCount":20,"integrity":"sha512-LVmbgSQj5LmirZ/y5ENeHCkvVNzLDnI6Zaq4UbEyJTaCD7IzYCkoNruS+6rVhsusVVTO7P+cdIEEthmQryCO9A==","signatures":[{"sig":"MEUCIQDYE/seqzicWpW316CL8w3vrcDAnZLKnW6wO0k2uY8B7wIgS5nBQsHMHsCu83+oBD7Wc3oBQ+XAgCx453NhLePWbUg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145540},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"49d6db84a19ff66e0195781e0d3649746c32f0c8","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.10_1761526166238_0.3686668074509518","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@barista-dex/sdk","version":"0.1.11","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.11","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"f25aecfad2a118082b9b0a33c3bb980e18f6044d","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.11.tgz","fileCount":20,"integrity":"sha512-URGSA7aFcONUcvI3TcBLjUue3f+yz46Vb1uJcsyraun+0kAvCKtWG8k+PYew4MW2F/Y+bJlf8XzvfhrrJuS1cQ==","signatures":[{"sig":"MEYCIQCy5/CBmUZN895hTIfyShyvLV+nrBh9K9+turZ+mUncHQIhAOsRc+GLBjqpaI5HTaFKaRcbA9eGQVsVi5Rf3nARMN6+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145540},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"49d6db84a19ff66e0195781e0d3649746c32f0c8","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.11_1761526577162_0.20623381255310713","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"name":"@barista-dex/sdk","version":"0.1.12","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.12","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"842336fa485ee2dde03574c443e436e63596e118","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.12.tgz","fileCount":20,"integrity":"sha512-HTpFCisQCa+Z1x4H8iQ9wfwufbrwD4fGELh2d63b7TxH8YP2J5aD6dnZK7JvfT74qQaOCKvApOE46VquUd6pxA==","signatures":[{"sig":"MEYCIQDl49vJrQIl1pjM79wb7HqqJznTMPIeBUJ8EXHHT59qEAIhAIKy0wngCSu7Fku51Q2ji5Fd0HNS3IivcIYdFjSmAM9m","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146823},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"49d6db84a19ff66e0195781e0d3649746c32f0c8","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.12_1761527100595_0.17285193557908074","host":"s3://npm-registry-packages-npm-production"}},"0.1.13":{"name":"@barista-dex/sdk","version":"0.1.13","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.13","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"c533e7cfc899a3ff9d5cc2fa2eb704ed290ac801","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.13.tgz","fileCount":20,"integrity":"sha512-ee2HA9klv0J/N8WxTX927Uyetb7ilM559tRcbOWGfKGxG+3U8V2ElUCeO86UXr0AjPMs3hIlSOEfP8hr8Q1t3g==","signatures":[{"sig":"MEYCIQDhYGHCbLRQ6/L4+eCJd60IgWQQfrmCloIKATKz0UOepQIhAOCftuBnQW4Va2aOEFsYpLTXhqo8OBW8Kvpy8D8Ue6QK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":147619},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"49d6db84a19ff66e0195781e0d3649746c32f0c8","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.13_1761527332650_0.3613581708966982","host":"s3://npm-registry-packages-npm-production"}},"0.1.14":{"name":"@barista-dex/sdk","version":"0.1.14","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.14","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"2b23e283be31bf415ae0110fa31ce4c1881cdda3","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.14.tgz","fileCount":20,"integrity":"sha512-19RhYK6jXwB5PdAR+uYotb/0xTSl5fWV+DRZ/IyZay/8GdIQ2nsznv3GgG+DSYm9HISVbPpL9Z4qwCvZ1heQrg==","signatures":[{"sig":"MEUCIA6KzLGxfpM9FjoyjKnH9W1F/sATD/X698C5IED7NiuRAiEAsB/TDOHxDPZ25AplMzYuwL6i/R4BuHO+Pb3QGLWum7Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":147675},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d97bbf1d2b6e3f1ba95a41951a0134e57a975cb1","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.14_1761531601665_0.07214417227067593","host":"s3://npm-registry-packages-npm-production"}},"0.1.15":{"name":"@barista-dex/sdk","version":"0.1.15","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.15","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"ddccaf88e6edc77d2047aab74674fa45a883dd5b","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.15.tgz","fileCount":20,"integrity":"sha512-R2SE/Urtzb2AgqV8QkGWX8iqv18bvoWjrJJ5DRldiz0vn5ZPXeBZQ31es+djOFXzE0VIr/jq5r1P7Ow5tfcUSQ==","signatures":[{"sig":"MEUCIQD2mV18oWA/kttU/83+b5KGJhQbcgWAfNyXgTlY23aI/gIgaDqvlTnTEFyQosCix37DG1Y8Qve4BGx0151hrCiHv0E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":147923},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d97bbf1d2b6e3f1ba95a41951a0134e57a975cb1","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.15_1761531689918_0.6097272733046213","host":"s3://npm-registry-packages-npm-production"}},"0.1.16":{"name":"@barista-dex/sdk","version":"0.1.16","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.16","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"4889b0f60fbdf0c1a227da6b456af61ab417c1da","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.16.tgz","fileCount":20,"integrity":"sha512-FRoNiK+FchabRJdSYxj8xse2ApkceC4xu3nGXqgffapqeiqMvdX2w8C2Z9zbw8p5Khi4+tfM6KoDAHxewx9Orw==","signatures":[{"sig":"MEQCIAgl/lVIwuWW6E/cPIjmRuitkJnxkIAesqjYO2llxJGLAiAdxsHc2nt5uYeXmqTGGO/5zmxYVI3+6lc9KSud1PgR8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":148043},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d97bbf1d2b6e3f1ba95a41951a0134e57a975cb1","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.16_1761532208786_0.29330914401439356","host":"s3://npm-registry-packages-npm-production"}},"0.1.17":{"name":"@barista-dex/sdk","version":"0.1.17","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.17","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"de799153cd6c9492c90f41a15992d390e6acada0","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.17.tgz","fileCount":20,"integrity":"sha512-OlwZkBaBpcYXKKl+kt5CsCUvDWdNpN6PbihSAZjp8htDx88lut4r+0NhmbV4HGfV+LNUiDtu+EhBBCb68NzbaQ==","signatures":[{"sig":"MEYCIQCvDSPaoBqIja5uHZQIAndwoLZjdtN6jLwqWofZwpGP4wIhAOObYHeVxDN7vxzNf4tI3sLlEbWu+sbNury3BsBj60RB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":148137},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"da9fbc516c63302af29d071c59e944a510cbdb5a","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.17_1761535634726_0.2752085703406495","host":"s3://npm-registry-packages-npm-production"}},"0.1.18":{"name":"@barista-dex/sdk","version":"0.1.18","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.18","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"cab908ff582ae9e2e9a0898468afdb9630ff7e63","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.18.tgz","fileCount":20,"integrity":"sha512-7EC06X92V8V4ObmyAsnVHNJKYiPpDClaOCQQrFY+6XdzZmKUaNfdPO6hTP6doexHFahnPAeG1bLhLQWO9ASbRA==","signatures":[{"sig":"MEQCIB9FVQD98PW936L/+XDfWV7MCXozxXFxuXctfAJtsXLUAiA451GKazvAJAVpEixElA2eo6VB9V/hEemDU/cMArU8+g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":148260},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e5922bf2353becef5a0f8ffa1e61f5f124d1a3f2","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.18_1761537783565_0.13766041655645966","host":"s3://npm-registry-packages-npm-production"}},"0.1.19":{"name":"@barista-dex/sdk","version":"0.1.19","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.19","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"8e2736833f4192346af5e5787776d358af5b49a6","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.19.tgz","fileCount":20,"integrity":"sha512-ESC3eSrUcWqeUK56rFPoeLqMcN1gXrmy7OMYashhDVxOSms3AWHD5T+YwmDZrqA0pJe67QbE+cxR9j8B5jdIAA==","signatures":[{"sig":"MEYCIQCMdmElOxC5NT/S9RrWHKtIrjOHEeXuXmV3BPGvSILsDgIhAMFG6HQvBZBOaMfEhqFR64I9d4YhFY2F3i1aFvfTEqA1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":148155},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"4bd8200c46bca082dd1d6f9a4fdd4e1858a49844","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.18","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.19_1761538099665_0.6791037600689007","host":"s3://npm-registry-packages-npm-production"}},"0.1.20":{"name":"@barista-dex/sdk","version":"0.1.20","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.20","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"06e1d22c7b1b223cd874878ffd476a81c7e20e0a","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.20.tgz","fileCount":20,"integrity":"sha512-OYKdaZngLEMsfGfA44lRgiBVIQrL4ixvqiEd1EQ2t6/N7Dy4h/ifVVMlGfPfGHn0pbRc0/IfbksoAss4yXcZHA==","signatures":[{"sig":"MEYCIQCrVq1Lm/gNJ5JnfgfDqWXjQVgZfmpUGnEAv4d+vS8LcwIhALMpAQBZZrBE5u8q5ZNJEOED/1/7Mwk40vyJU5Q+DaEz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":150624},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"ced7cfff9e37f55455de7fd7acbc6a37d024202f","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.18","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.20_1761539235497_0.1619031474171473","host":"s3://npm-registry-packages-npm-production"}},"0.1.21":{"name":"@barista-dex/sdk","version":"0.1.21","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.21","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"3aa3ae22d872d43ea9d2fae06365bcd1d71a4389","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.21.tgz","fileCount":20,"integrity":"sha512-/jEAaAHsyWNZn/41omRJWA44cLYI8qxhemUfn6+uaqF6g16FJFBaI5lp+lj3JvvLFXwb3/1EQEa3Hr3vGi/ovg==","signatures":[{"sig":"MEYCIQDmVN/jEV/uu33bLg1p0gkaMXYYSAXBO3A/FNGf1XBlDwIhAPFJIXVgXzSLrEmboSQdmKGbmjk9yHJJ1qhFBhxhg/sC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":151160},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"ced7cfff9e37f55455de7fd7acbc6a37d024202f","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.18","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.21_1761539432732_0.2696684682980557","host":"s3://npm-registry-packages-npm-production"}},"0.1.22":{"name":"@barista-dex/sdk","version":"0.1.22","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.22","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"7575bacf0fefa7cd2f6445ee77d716a5897bdbbe","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.22.tgz","fileCount":20,"integrity":"sha512-63oMxtAaLLhqPpKYk1mbl/Govk00+uovEmhU1OWux9mFc2DMAC6rNPa4DWdPUxPXP4oY5tULeWxdtZgkCjo/Qg==","signatures":[{"sig":"MEUCIQDhjvJbd74WJvoeY0KeFr2D/ykV2oC1J0YhXAjAln4mjQIgOOy3M2qgMf4x3Tx7jgoAvwVNRu83OWtd5S1NbgM3iDk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":150632},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"6c157c83563f04b88416a7a9b44783badc270b1a","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.18","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.22_1761542477502_0.6026857310284153","host":"s3://npm-registry-packages-npm-production"}},"0.1.23":{"name":"@barista-dex/sdk","version":"0.1.23","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.23","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"9d5e3de6b1bb030a01f439dd33d5f4dcbaad63bd","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.23.tgz","fileCount":20,"integrity":"sha512-omh4cmsXdm9Ydm+TTvZ5KcaRpkDyZ0J/S4AjVyugMUScyYS1pBlN0/qd7ZZoKRvLJ1XBSpvSn7S3GjXG3seRRQ==","signatures":[{"sig":"MEUCIEr1NjiRsrARyzkrOoZ6PI67/J4aNf93EUNlQwYng3xhAiEAu7Z0bgQPdTi/cAgUVR6Wqe21tL+8gzVPVthAXZayrgM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":150632},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"6c157c83563f04b88416a7a9b44783badc270b1a","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.18","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.23_1761542622467_0.11968305954617908","host":"s3://npm-registry-packages-npm-production"}},"0.1.24":{"name":"@barista-dex/sdk","version":"0.1.24","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.24","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"e2ca81017d5c4955fab0cbe952e67c955cf81537","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.24.tgz","fileCount":20,"integrity":"sha512-P11yBb2z/CgrqEWYDjw8uVUcUQFrduBHVjR13zoNjJJKF+15EXjJJ/TGeywBgGinDV0a376OQDIXTB93Chz0OA==","signatures":[{"sig":"MEUCIQDut6BGsoaLVjOwlLS33A9zfY9naQ9bwGkYjqmVkeSu5QIgIP6OA16lVSZDu7ceOiPvQHBO6RA0tqJbXm/mo4CVlJo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":150691},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"6c157c83563f04b88416a7a9b44783badc270b1a","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.18","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.24_1761545070836_0.7438157816443431","host":"s3://npm-registry-packages-npm-production"}},"0.1.25":{"name":"@barista-dex/sdk","version":"0.1.25","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.25","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"394d3330c46e2562e0628bba07608b39bea7ef2c","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.25.tgz","fileCount":20,"integrity":"sha512-Gb4qayoEX3KVJjuEUqSjcWbfQozCHDPbneRzpcr+5vcUACOnYJtDPYYjP/B18P92uLR4jkdtoJdngmJ5BByH0w==","signatures":[{"sig":"MEUCIQDlUWSL9sHTtY/dh4RNa959ICvZi/WRQz/fdPsR6KiVTgIgGsTIP6tW5pckpX1slD9goUjzGkbyTr61hLlyNBZfgBQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":150867},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f4e0cfb8bfe7560bb97b907bc41743a5b0543e88","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.18","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.25_1761546959427_0.6080142487000038","host":"s3://npm-registry-packages-npm-production"}},"0.1.26":{"name":"@barista-dex/sdk","version":"0.1.26","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.26","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"268c9e93d418569f473f3ccb053a4d2c7868d736","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.26.tgz","fileCount":20,"integrity":"sha512-rMVI5GflV7wKzhuuLrwSii0xnZOGlMD2dPo0DbklU0sI2QM6RNrr7Wd6fHeaPatHPtfOTp3LeJ9QUgp7ihjaCg==","signatures":[{"sig":"MEUCIQDiPr9SG6bJGpuUiiWuFm+Plsh/at64z08IARNOJYdPwwIgKJaFqTkxVkd7HgdAXNZtSKxHaymtoc4RWGlAItkiR90=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":150867},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f4e0cfb8bfe7560bb97b907bc41743a5b0543e88","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.26_1761546994519_0.8566674236467866","host":"s3://npm-registry-packages-npm-production"}},"0.1.27":{"name":"@barista-dex/sdk","version":"0.1.27","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.27","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"27d36d7035e34e3bf69ad64e550c5452455b1949","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.27.tgz","fileCount":20,"integrity":"sha512-rLVmKQNLcuzkK1ZGWBEyTrJ16X5OXS11uYVpO2GaD9uzfxEWvcdhmfbaLiKi7a+I6Hw6xSX+QYoAhJHOZWI4vA==","signatures":[{"sig":"MEQCIH28odKSa8IqHbvC/1plPwW9ywi/VmYQ2ztSD2RD3EX5AiBfTUe54gBEvPBnH9rj4AZHxZYYiZuIAzWf2wcaKye7dw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153437},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f4e0cfb8bfe7560bb97b907bc41743a5b0543e88","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.27_1761547508126_0.8709997997766767","host":"s3://npm-registry-packages-npm-production"}},"0.1.28":{"name":"@barista-dex/sdk","version":"0.1.28","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.28","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"7610112ade5e0a0470e1093109ee7557b180726f","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.28.tgz","fileCount":20,"integrity":"sha512-/KhnDc2YduMVqEqgFEV/I+7y5Uz2gIJ2wn077EhipzHUzSStOzokI9oYSTeYjWmAqg9H8s79m42tbriNAA8/ag==","signatures":[{"sig":"MEUCIQDgXSE3+jv9cTyBeaYmS2sdm7eH+WFiQ7gP9yWn/P197wIgUhWXXMOycKHBxSKV8E1t3zpXAbgy9YvD5/x5fxlDIc4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":154679},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f4e0cfb8bfe7560bb97b907bc41743a5b0543e88","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.28_1761547985348_0.4396655675153689","host":"s3://npm-registry-packages-npm-production"}},"0.1.29":{"name":"@barista-dex/sdk","version":"0.1.29","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.29","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"1391903260d46c392874e6f4ea106fe3b83a33ad","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.29.tgz","fileCount":20,"integrity":"sha512-2f74+N55m7g1p0YOxRQ4BnMpUV1xd3hAthIlyODVfOfcLNJYhhUCDOM1uxXcL++AvokhT9QBgFEpwDI5eu6zrA==","signatures":[{"sig":"MEUCIQDiJniSAyuNgMPC/z0UT0zN/FYRCK2HAN5PD+WD7xJ02wIgcQh+8tIDeqFDFKXWtVz3rwEYHbTQE4SaHuXi/QzPWlA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":157053},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f4e0cfb8bfe7560bb97b907bc41743a5b0543e88","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.29_1761548753169_0.9714800684847631","host":"s3://npm-registry-packages-npm-production"}},"0.1.30":{"name":"@barista-dex/sdk","version":"0.1.30","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.30","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"54d621d786ef3f4d8ea67d7d18e84ceb5aa388f7","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.30.tgz","fileCount":20,"integrity":"sha512-B5qLG+kz4FumcIQhZ1K0aNViUmSDp4/PyE+Shk1g7GmBNJrcAk6SI6QMNg+BwwUFpyHDGvFM6po/joHVCTh/NA==","signatures":[{"sig":"MEQCIHDG5cfu7ty+wGWw7b7V96vFi4EQ+rk28aIm9gfO1JgLAiBI/+OY4JLdEFTMA9cPwtl7afGnGbAo735jOgJWnTYhlA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":157633},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"681c4c3f3114f2ecb52ed9d389be4ec45a3fdb9d","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.30_1761549295088_0.3372467438527007","host":"s3://npm-registry-packages-npm-production"}},"0.1.31":{"name":"@barista-dex/sdk","version":"0.1.31","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.31","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"c3a97a6f29123d2488db8efd7952ad37843d559c","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.31.tgz","fileCount":20,"integrity":"sha512-jXYgDzaBndv1skt/5b3nx4hDjWkwTM5gKMbsFuAl66ytwlmQa86e8FbMbbaTE2+sU9aCtGkKPkdVQkHBDENGrQ==","signatures":[{"sig":"MEQCIDsLld1OgsfKODyqsx977QKNJ+aGAEK2g9c5IKbV/x7VAiAppJBneTp31z+zRK888XgGSgwLRIWqUrcWi3VcK24nsQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160656},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d8742f2dc02827ca6b1e728d841bf0e3e6787fd9","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.31_1761592765186_0.591815125694998","host":"s3://npm-registry-packages-npm-production"}},"0.1.32":{"name":"@barista-dex/sdk","version":"0.1.32","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.32","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"1c7c3eb978f4cfd553e65cf3f7d2fe88d3f4eb89","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.32.tgz","fileCount":20,"integrity":"sha512-/rSG9tyk8j36E1uBw2p8F/4G9nd2t0TBObgPcIxPJzf3WH72n/OEu2RZ6L5XSun/ifEZarSFGy4Xe+v/CMvpZg==","signatures":[{"sig":"MEUCIEU1rFk+XZ/6Nqw6jGiXVLFnMbF9ziujL/dxxR0Zt6kOAiEAtLodYSPSRJes0t++PhyXureKKu4KFRGbHcdLkZAxqNE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":165651},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e8d28cab056c291d084be0ecbae036ef445d13dc","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.32_1761601045019_0.44866341711176005","host":"s3://npm-registry-packages-npm-production"}},"0.1.33":{"name":"@barista-dex/sdk","version":"0.1.33","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.33","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"f46e857b9eea89e39d5da78045699ae8e1c106a5","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.33.tgz","fileCount":20,"integrity":"sha512-DfsepW/mL2yb52Ileu6ZYm2RlZk4arcn3XCwesPoku2SDbPek9wL0rI8bWhbyxaywm4MP0XCWL3Ow1fh0Q2QVw==","signatures":[{"sig":"MEUCIHwbXp8du4iUyQeVskf3cIHQkw4ImoiY7Lvg8U702sLpAiEAr/7pJzXGG4SVw0M8+gx7M6ysHP17lv7z4lIJhHgbfZg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":166031},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9465c836f6a36e072408749fe28f2307219f2946","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.33_1761603750051_0.3556957295794969","host":"s3://npm-registry-packages-npm-production"}},"0.1.34":{"name":"@barista-dex/sdk","version":"0.1.34","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.34","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"640ace5cb67e86f91f73deabf656327c42db431b","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.34.tgz","fileCount":20,"integrity":"sha512-6vWFTA5Y7QobRx0vtlykjphYYBUSo4GoPLpq+kbNjld0zMtI7Z0wF+KK6NjDo2UvlCQ4w+703HjkK++IUYW6Ow==","signatures":[{"sig":"MEUCIH/G/M3/bfZ4ww5iukcbcxv8fVFbNHw+q4chc2ub6BKgAiEAt+EEGahebDwLNeMrHcpqVKxb384BMRsAyVt9V+vcXLc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":166530},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"ec4c2a3d76a6cf8af856916a00e10ac51661ec8c","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"10.8.2","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"20.19.5","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.34_1761606981365_0.04552024955278178","host":"s3://npm-registry-packages-npm-production"}},"0.1.35":{"name":"@barista-dex/sdk","version":"0.1.35","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.35","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"b319532a408a47760a116c3fce2f69d26ea97aa2","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.35.tgz","fileCount":20,"integrity":"sha512-pTbOJ/m2NRtaoV7ytXvhvADVvLFAgVXFHJ+IB6kmMUHQdhBgIIwdsPfn1mllRJH7C7YXC4unXB5w4d0wWTHmPg==","signatures":[{"sig":"MEUCIQCIIszEWYgHzTtihWvCTQlvfw+B4ngD66tE49pmoNFvNAIgd/9sniPWt2xynqcWoCM2vOJM70tSI9DuBOoz5+xRc8E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":180819},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"bd37f3e3e996ead8a3c9e306938191bdcce038d3","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.35_1761979306149_0.08932997997866354","host":"s3://npm-registry-packages-npm-production"}},"0.1.36":{"name":"@barista-dex/sdk","version":"0.1.36","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.36","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"7cd0f74e38065ae01a1cd7792b4c7dbd9aed8554","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.36.tgz","fileCount":20,"integrity":"sha512-nwhB9iPYGDFe469/Bscb21fmromb4yk8oKHfwdAjkz/LUmvSp6IW3CP26rTXndUzgyFmMOjZqm8OfUEkqMgdag==","signatures":[{"sig":"MEUCICfojuvQ3Cp/GJayIi2WPmy/fldrWhjflcwWCWHFI9e9AiEA3uk8ILMeSisakneA2qgFQgH7fvWJmDH8BZ+8jAqJUOY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":181203},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a02884072cc3c9518ade0e68271da06a3ced5f2f","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.36_1761980063806_0.7414736419448995","host":"s3://npm-registry-packages-npm-production"}},"0.1.37":{"name":"@barista-dex/sdk","version":"0.1.37","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.37","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"3f9d42c66831ec38156d256ec58811c689066da8","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.37.tgz","fileCount":20,"integrity":"sha512-Kwf8PVi2BZScvzWCK+4Nmu6L1wL1AkRLOClyRNquZ/xiVKd7KncacXrdXzW+7zowiNwdNN5gi07bW5L8VchcMQ==","signatures":[{"sig":"MEUCIAuFgl7inYBjlihajGvA0TB2BEBWlYrAuPaD3G+Od9wMAiEA+WPc6H3XIXDqTdizLwkWpkxxqVGZHVl+GCwflAii/A8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":184443},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a02884072cc3c9518ade0e68271da06a3ced5f2f","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.37_1761980575426_0.8088579764102612","host":"s3://npm-registry-packages-npm-production"}},"0.1.38":{"name":"@barista-dex/sdk","version":"0.1.38","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.38","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"8f8ca091465a045d26385d0a8fead093e5cbf8b1","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.38.tgz","fileCount":20,"integrity":"sha512-O+aCzJndae3R5CyMRysFXk5aRmy7qZ9bgLJkE9TYpKitsUX4AD59cjaNOSAoDLLV/We3eLKjMAh0SAnwlFqlaA==","signatures":[{"sig":"MEUCIAU6FiynGWXk3hcMEiCAbonslcoNb+Iq4hfBAhPHhPYnAiEAhxgCyPEu2tLbwEibuzcA+hekjQqJzc4wz1XL1sgHU/k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":184849},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a02884072cc3c9518ade0e68271da06a3ced5f2f","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.38_1761980706359_0.12126316407116522","host":"s3://npm-registry-packages-npm-production"}},"0.1.39":{"name":"@barista-dex/sdk","version":"0.1.39","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.39","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"54eb56dd397ad44afcb9d40c3ab63d5d4fedee5a","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.39.tgz","fileCount":20,"integrity":"sha512-ztHXEmV+LmlI2swg6HVdnnYPnU572jArRxJIsnRTHmuxaPTUepK2acFQitNjty/yjjjKhxkWsC0RynjprL4dsg==","signatures":[{"sig":"MEQCIDfs5p+MNPE7t/Gp/F2xGKUEolQuH5NLJLjCFfxehoWTAiB1ft9KAtEeK+NJhSIbjClXp+EcZYaZzV7k5r/MYLUfVg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":185225},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a02884072cc3c9518ade0e68271da06a3ced5f2f","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.39_1761980878531_0.9075407125215158","host":"s3://npm-registry-packages-npm-production"}},"0.1.40":{"name":"@barista-dex/sdk","version":"0.1.40","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.40","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"c54d352b529bf8a7e4327be3a8162a4929eebf96","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.40.tgz","fileCount":20,"integrity":"sha512-mfvX4pqpT1dJRGeyF8EBe7XNz8DZFeI+zk+4qejyp6IGPqd841U1POdelxfvNqGfKILyi6cA9zFqj825kpl2CA==","signatures":[{"sig":"MEUCIQCpVZ6NrsR+1OSgCSiXUc6EPywB7QnqYa8LEX0ywlBQLQIgZVhIOd4cKMqYf/xBfCOppeXxfnm/JtjF9iM0aUNHGQw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":185631},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a02884072cc3c9518ade0e68271da06a3ced5f2f","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.40_1761982930080_0.5668588208084371","host":"s3://npm-registry-packages-npm-production"}},"0.1.41":{"name":"@barista-dex/sdk","version":"0.1.41","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.41","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"edfe7dc0f293fd2248152411d776da143fb04de3","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.41.tgz","fileCount":20,"integrity":"sha512-CgmFqP9NK0X4L2Cj7UBYH83EFyQCKZDP7i4TPgKcJqJcJOZv62iZyZH+LsZlCiL6E7zTSGry5k2CF876Z7UDpg==","signatures":[{"sig":"MEUCIQCtNjsz4Q65+Zn6EFewJERSVrb+Q1figHBEeu0DtChYxQIgZiyozEbMbU/WH585QPBb5ea/pNfkTcyjPN6xk0O6TO8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":187043},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a02884072cc3c9518ade0e68271da06a3ced5f2f","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.41_1761983823122_0.9278513429136173","host":"s3://npm-registry-packages-npm-production"}},"0.1.42":{"name":"@barista-dex/sdk","version":"0.1.42","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.42","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"f29d6281fcf7c4d5974fb79d4e2ec1566856d9ee","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.42.tgz","fileCount":20,"integrity":"sha512-KBhxl7Rs32UFTzo1Jg4+fXqXqftwgItISE3r/Ygf8yn99Yo1M+2Mxf8cj3AO7IN+qkGTX+iOuwSZXJap5yNl+A==","signatures":[{"sig":"MEYCIQDkUBGKH/Lh+xmeE37gKrqvpxzQGe+oA/2BoW5ntSrMVwIhAMCoc8DdmkzMVN7F1JwE0OpKZCryyd6B5260Yew8rahG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":187043},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a02884072cc3c9518ade0e68271da06a3ced5f2f","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.42_1761984490294_0.509691349741004","host":"s3://npm-registry-packages-npm-production"}},"0.1.43":{"name":"@barista-dex/sdk","version":"0.1.43","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.43","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"d6e8b62c61f2a1bf40bd01ef896ce20765533842","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.43.tgz","fileCount":20,"integrity":"sha512-K6cNr5lNvfKAw4YjcDuTEczKeg7HQ9EfpWHdMXVw3PnhD8sYAiXiMsgj40ycA1MXUMkIxfUeW5jnMxL4FqjXZA==","signatures":[{"sig":"MEUCIQCImJwipOnPkrUS7YZrXB+DuUcbtviS6Ni+ITH7XFeYvAIgHgZUCxdahtq8KWUHLGm4382g/kPckxFuP36mCMnOqOE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":187043},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a02884072cc3c9518ade0e68271da06a3ced5f2f","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.43_1761984608214_0.24674463774701705","host":"s3://npm-registry-packages-npm-production"}},"0.1.44":{"name":"@barista-dex/sdk","version":"0.1.44","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.44","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"2f82d31e1984d845c093428b64c8fb7408385b7d","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.44.tgz","fileCount":20,"integrity":"sha512-TXVbZu9Az7YwyTN94TfJARUJehtd98wq7bUxldae60ArfnwhF3NueCqUwJNj/5iQH4swExJ9LOYyrna7NaJSFQ==","signatures":[{"sig":"MEYCIQDiy1A6/Oq8C0PtUt+zKLdo8VbTWFE0yIUX/6c4wTSTzwIhAIFGnr91862LOa4nv+gUS9CN+dMtug0GPFJLMVXHMRSL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":185361},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a02884072cc3c9518ade0e68271da06a3ced5f2f","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.44_1761984948424_0.24840632057455103","host":"s3://npm-registry-packages-npm-production"}},"0.1.45":{"name":"@barista-dex/sdk","version":"0.1.45","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","_id":"@barista-dex/sdk@0.1.45","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"dist":{"shasum":"7d7d9330b9fa35b0909e79b697a75d913cf6a74e","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.45.tgz","fileCount":20,"integrity":"sha512-0ISrKrTw2vB7DLOtT25Vc5vvMbw3zaY30kTifi1J/+FgG4flwjmlBpCELueIna/51dcv++o8+h5x2GzGeH9XXA==","signatures":[{"sig":"MEYCIQCr5dzGmvVrd7hvZ7NOnyro09asLI348Jy4kyQCe9DuDQIhAMsd8z/VbiXeT0ylyHnarVNO8lmuO3Jdv2l1gemwnhMi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":185361},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"323137dd203436cd9284e3811947b2d8b01a620e","scripts":{"test":"jest","build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"repository":{"url":"git+https://github.com/permasean/barista-dex.git","type":"git","directory":"sdk"},"_npmVersion":"11.6.1","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","directories":{},"_nodeVersion":"24.10.0","dependencies":{"bn.js":"^5.2.1","buffer":"^6.0.3","@solana/web3.js":"^1.87.6","@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","@types/bn.js":"^5.1.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.45_1762038173239_0.8529980929803034","host":"s3://npm-registry-packages-npm-production"}},"0.1.46":{"name":"@barista-dex/sdk","version":"0.1.46","description":"TypeScript SDK for interacting with Barista DEX programs on Solana","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/permasean/barista-dex.git","directory":"sdk"},"homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","bugs":{"url":"https://github.com/permasean/barista-dex"},"keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"author":{"name":"Barista DEX"},"license":"MIT","dependencies":{"@barista-dex/sdk":"^0.1.25","@solana/spl-token":"^0.4.14","@solana/web3.js":"^1.87.6","bn.js":"^5.2.1","buffer":"^6.0.3"},"devDependencies":{"@types/bn.js":"^5.1.5","@types/bs58":"^4.0.4","@types/jest":"^29.5.11","@types/node":"^20.10.5","jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3"},"gitHead":"123398e46d6af79038bcc0f8ebdbd2a2ad5f7c4b","_id":"@barista-dex/sdk@0.1.46","_nodeVersion":"24.10.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-WPFjHwi+mRjbOiF+QzNFaSrRLYYJPvTqutYnLfDdzPNRlDPu3n8VbHoVsf8zYRhqFoo2gtvk6lxM3ZBUVA184A==","shasum":"a159f8566e453a502cb72deb9b84e9b236bf19ba","tarball":"https://registry.npmjs.org/@barista-dex/sdk/-/sdk-0.1.46.tgz","fileCount":20,"unpackedSize":187718,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDe+nB9CqYDSrnLV2GIJIyUnXmplpemvvBTLx9qoX/8QAIhAIYFon7HkWSrl2ef1Cw7QlAxynpMZvUVHeuha3Q0wkVj"}]},"_npmUser":{"name":"cointelsefi","email":"cointelsefi@gmail.com"},"directories":{},"maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.1.46_1762479269384_0.8744082128395048"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-24T22:07:20.726Z","modified":"2025-11-07T01:34:29.797Z","0.1.0":"2025-10-24T22:07:21.008Z","0.1.1":"2025-10-24T22:14:48.094Z","0.1.2":"2025-10-25T05:32:47.674Z","0.1.3":"2025-10-26T11:01:51.865Z","0.1.4":"2025-10-26T23:13:25.831Z","0.1.5":"2025-10-26T23:28:26.837Z","0.1.6":"2025-10-26T23:33:09.882Z","0.1.7":"2025-10-26T23:46:31.278Z","0.1.8":"2025-10-26T23:59:42.780Z","0.1.9":"2025-10-27T00:17:54.915Z","0.1.10":"2025-10-27T00:49:26.466Z","0.1.11":"2025-10-27T00:56:17.374Z","0.1.12":"2025-10-27T01:05:00.802Z","0.1.13":"2025-10-27T01:08:52.839Z","0.1.14":"2025-10-27T02:20:01.866Z","0.1.15":"2025-10-27T02:21:30.097Z","0.1.16":"2025-10-27T02:30:08.991Z","0.1.17":"2025-10-27T03:27:14.915Z","0.1.18":"2025-10-27T04:03:03.794Z","0.1.19":"2025-10-27T04:08:19.882Z","0.1.20":"2025-10-27T04:27:15.700Z","0.1.21":"2025-10-27T04:30:32.928Z","0.1.22":"2025-10-27T05:21:17.770Z","0.1.23":"2025-10-27T05:23:42.649Z","0.1.24":"2025-10-27T06:04:31.148Z","0.1.25":"2025-10-27T06:35:59.636Z","0.1.26":"2025-10-27T06:36:34.692Z","0.1.27":"2025-10-27T06:45:08.345Z","0.1.28":"2025-10-27T06:53:05.510Z","0.1.29":"2025-10-27T07:05:53.367Z","0.1.30":"2025-10-27T07:14:55.253Z","0.1.31":"2025-10-27T19:19:25.394Z","0.1.32":"2025-10-27T21:37:25.190Z","0.1.33":"2025-10-27T22:22:30.242Z","0.1.34":"2025-10-27T23:16:21.593Z","0.1.35":"2025-11-01T06:41:46.367Z","0.1.36":"2025-11-01T06:54:24.012Z","0.1.37":"2025-11-01T07:02:55.621Z","0.1.38":"2025-11-01T07:05:06.609Z","0.1.39":"2025-11-01T07:07:58.737Z","0.1.40":"2025-11-01T07:42:10.273Z","0.1.41":"2025-11-01T07:57:03.317Z","0.1.42":"2025-11-01T08:08:10.484Z","0.1.43":"2025-11-01T08:10:08.414Z","0.1.44":"2025-11-01T08:15:48.654Z","0.1.45":"2025-11-01T23:02:53.452Z","0.1.46":"2025-11-07T01:34:29.594Z"},"bugs":{"url":"https://github.com/permasean/barista-dex"},"author":{"name":"Barista DEX"},"license":"MIT","homepage":"https://github.com/permasean/barista-dex/blob/master/sdk/README.md","keywords":["solana","dex","perpetuals","barista-dex","trading","defi","blockchain","typescript"],"repository":{"type":"git","url":"git+https://github.com/permasean/barista-dex.git","directory":"sdk"},"description":"TypeScript SDK for interacting with Barista DEX programs on Solana","maintainers":[{"name":"cointelsefi","email":"cointelsefi@gmail.com"}],"readme":"# @barista-dex/sdk\n\nTypeScript SDK for interacting with Barista DEX on Solana, a fork of Percolator DEX by Toly\n\n> **For CLI Users:**\n> - **Traders**: Use [`@barista-dex/cli`](../cli-client/README.md) for trading operations\n> - **DLPs**: Use `@barista-dex/cli-dlp` (coming soon) for slab management and portfolio operations\n>\n> This SDK is for programmatic integration - building custom applications, bots, and integrations.\n\n## Installation\n\n```bash\nnpm install @barista-dex/sdk @solana/web3.js bn.js\n```\n\n## Quick Start\n\n```typescript\nimport { Connection, PublicKey, Keypair, Transaction } from '@solana/web3.js';\nimport { RouterClient } from '@barista-dex/sdk';\nimport BN from 'bn.js';\n\n// Setup connection and wallet\nconst connection = new Connection('https://api.devnet.solana.com');\nconst wallet = Keypair.fromSecretKey(/* your secret key */);\n\n// Initialize Router client\nconst routerProgramId = new PublicKey('Your_Router_Program_ID');\nconst router = new RouterClient(connection, routerProgramId, wallet);\n\n// Create and initialize portfolio\nconst initIx = router.buildInitializePortfolioInstruction(wallet.publicKey);\nconst tx = new Transaction().add(initIx);\nconst signature = await connection.sendTransaction(tx, [wallet]);\nawait connection.confirmTransaction(signature);\n\nconsole.log('Portfolio initialized!');\n```\n\n## Core Concepts\n\n### Router Program\nThe Router is the global coordinator that handles:\n- **Collateral Management**: SOL deposits/withdrawals (v0.5)\n- **Portfolio Margin**: Cross-margin accounts with health-based risk management\n- **PnL Settlement**: Real SOL transfers between portfolios (v0.5 counterparty model)\n- **Cross-Slab Routing**: Single-slab execution (v0.5), multi-slab in v1+\n- **Liquidations**: Automated liquidation of undercollateralized positions\n\n### Slab Program\nSlabs are LP-run perpetual markets that:\n- Run independent order books (v0.5: atomic fills only, v1: resting orders)\n- Settle against mark price oracles\n- Charge taker fees to traders\n- Allow LPs to earn spread and fees\n\n### v0.5 PnL Settlement Model\n**Important**: v0.5 implements **DLP counterparty settlement**:\n- Each slab has an LP/DLP owner who provides liquidity\n- DLP creates a Portfolio account and deposits SOL capital\n- Trades settle with **real SOL transfers** between User Portfolio ↔ DLP Portfolio\n- **Zero-sum**: User profit = DLP loss (and vice versa)\n- **Single-slab**: Only 1 slab per trade (cross-slab routing disabled in v0.5)\n- **v1 migration**: Same Portfolio account will track LP inventory PnL (order book model)\n\n## Complete Usage Guide\n\n### 1. Setup and Configuration\n\n#### Network Configuration\n\n```typescript\nimport { Connection, Keypair } from '@solana/web3.js';\nimport { RouterClient, SlabClient } from '@barista-dex/sdk';\n\n// Devnet\nconst connection = new Connection('https://api.devnet.solana.com', 'confirmed');\n\n// Localnet (for testing)\n// const connection = new Connection('http://localhost:8899', 'confirmed');\n\n// Mainnet-beta\n// const connection = new Connection('https://api.mainnet-beta.solana.com', 'confirmed');\n\n// Load wallet from file\nimport fs from 'fs';\nconst secretKey = Uint8Array.from(JSON.parse(fs.readFileSync('wallet.json', 'utf-8')));\nconst wallet = Keypair.fromSecretKey(secretKey);\n\n// Initialize clients\nconst routerProgramId = new PublicKey('YourRouterProgramId');\nconst slabProgramId = new PublicKey('YourSlabProgramId');\n\nconst router = new RouterClient(connection, routerProgramId, wallet);\nconst slab = new SlabClient(connection, slabProgramId, wallet);\n```\n\n#### Program Initialization (One-time)\n\n```typescript\nimport { Transaction, SystemProgram } from '@solana/web3.js';\n\n// Initialize the Router program (creates Registry and Authority)\nasync function initializeRouter() {\n  const ix = router.buildInitializeInstruction(wallet.publicKey);\n\n  const tx = new Transaction().add(ix);\n  const signature = await connection.sendTransaction(tx, [wallet]);\n  await connection.confirmTransaction(signature);\n\n  console.log('Router initialized:', signature);\n}\n```\n\n### 2. Portfolio Management\n\n#### Initialize User Portfolio\n\n```typescript\nasync function createPortfolio() {\n  const ix = router.buildInitializePortfolioInstruction(wallet.publicKey);\n\n  const tx = new Transaction().add(ix);\n  const signature = await connection.sendTransaction(tx, [wallet]);\n  await connection.confirmTransaction(signature);\n\n  console.log('Portfolio created:', signature);\n}\n```\n\n#### Deposit Collateral (SOL Only in v0)\n\n```typescript\nimport { LAMPORTS_PER_SOL } from '@solana/web3.js';\n\nasync function depositCollateral(solAmount: number) {\n  // Convert SOL to lamports\n  const amount = new BN(solAmount * LAMPORTS_PER_SOL);\n\n  // Automatically creates portfolio if it doesn't exist\n  const ensurePortfolioIxs = await router.ensurePortfolioInstructions(wallet.publicKey);\n  const depositIx = await router.buildDepositInstruction(amount, wallet.publicKey);\n\n  const tx = new Transaction()\n    .add(...ensurePortfolioIxs)\n    .add(depositIx);\n\n  const signature = await connection.sendTransaction(tx, [wallet]);\n  await connection.confirmTransaction(signature);\n\n  console.log(`Deposited ${solAmount} SOL:`, signature);\n}\n\n// Example: Deposit 10 SOL\nawait depositCollateral(10);\n```\n\n**Note**: v0 supports SOL deposits only. USDC and other SPL tokens will be supported in v1+.\n\n#### Withdraw Collateral (SOL Only in v0)\n\n```typescript\nimport { LAMPORTS_PER_SOL } from '@solana/web3.js';\n\nasync function withdrawCollateral(solAmount: number) {\n  // Convert SOL to lamports\n  const amount = new BN(solAmount * LAMPORTS_PER_SOL);\n\n  const withdrawIx = await router.buildWithdrawInstruction(amount, wallet.publicKey);\n\n  const tx = new Transaction().add(withdrawIx);\n  const signature = await connection.sendTransaction(tx, [wallet]);\n  await connection.confirmTransaction(signature);\n\n  console.log(`Withdrew ${solAmount} SOL:`, signature);\n}\n\n// Example: Withdraw 5 SOL\nawait withdrawCollateral(5);\n```\n\n#### Check Portfolio Health\n\n```typescript\nimport { formatUsd, formatHealth } from '@barista-dex/sdk';\n\nasync function checkPortfolioHealth() {\n  const portfolio = await router.getPortfolio(wallet.publicKey);\n\n  if (!portfolio) {\n    console.log('Portfolio not found');\n    return;\n  }\n\n  console.log('Portfolio Status:');\n  console.log('  Collateral Value:', formatUsd(portfolio.collateralValue));\n  console.log('  Unrealized PnL:   ', portfolio.unrealizedPnl.toString());\n  console.log('  Equity:           ', formatUsd(portfolio.equity));\n  console.log('  Maint Margin:     ', formatUsd(portfolio.maintMargin));\n  console.log('  Health Ratio:     ', formatHealth(portfolio.health));\n\n  const healthNum = portfolio.health.toNumber() / 1e6;\n  if (healthNum < 100) {\n    console.log('⚠️  WARNING: Portfolio is undercollateralized!');\n  } else if (healthNum < 110) {\n    console.log('⚠️  CAUTION: Close to liquidation threshold');\n  } else {\n    console.log('✓ Portfolio is healthy');\n  }\n\n  return portfolio;\n}\n```\n\n### 3. Leverage Trading\n\nBarista DEX supports 1-10x leverage on all trades. Leverage allows traders to control larger positions with less collateral.\n\n#### Leverage Model\n\n- **1 unit = 1 contract = 1 underlying asset** (e.g., 1 SOL, 1 BTC)\n- **Quantity input = Margin to commit** (not position size)\n- **Actual position = Margin × Leverage**\n- **Price is irrelevant for margin** - only quantity matters\n\n#### Collateral Management\n\n**Position Open/Increase:**\n1. Calculate margin: `margin = (quantity × 1e9) / leverage` lamports\n2. Transfer margin from user portfolio → DLP portfolio\n3. Store in PositionDetails: `margin_held` and `leverage`\n4. Example: 5 contracts at 5x = 1 SOL transferred to DLP\n\n**Position Close/Reduce:**\n1. **Leverage parameter is IGNORED** when closing positions\n   - You can close a 5x position using a 1x order (or any leverage)\n   - Matches real CEX behavior (Binance, dYdX, etc.)\n2. Return margin: DLP portfolio → user portfolio\n   - Full close: return all `margin_held`\n   - Partial close: return proportional margin\n3. Settle PnL separately:\n   - Profit: additional transfer DLP → User\n   - Loss: additional transfer User → DLP\n4. Example: Close 5 contracts (opened at 5x) with sell order at 1x\n   - Margin returned: 1 SOL (DLP → User)\n   - Plus/minus PnL based on price difference\n\n**Position Reversal** (over-closing):\n- If you sell MORE than your long position, it splits into close + reopen\n- Example: Long 5 @ 5x, sell 10 @ 10x:\n  1. Close long 5 (release 1 SOL margin)\n  2. Open short 5 @ 10x (add 0.5 SOL margin)\n  3. Net result: Short 5 contracts, IM = 0.5 SOL\n\n**Critical:** Margin is ALWAYS returned when closing positions. You get your collateral back regardless of PnL.\n\n#### Initial Margin Requirements\n\n| Leverage | IMR | Example (5 contracts) |\n|----------|-----|----------------------|\n| 1x (spot) | 100% | 5 SOL margin |\n| 5x | 20% | 1 SOL margin |\n| 10x | 10% | 0.5 SOL margin |\n\nFormula: `IMR = 100% / leverage`\n\n#### Example: Leveraged Trading\n\n```typescript\nimport { RouterClient } from '@barista-dex/sdk';\nimport BN from 'bn.js';\n\n// Open 5x leveraged position\nasync function openLeveragedPosition() {\n  const slabMarket = new PublicKey('SlabAddress');\n  const oracle = new PublicKey('OracleAddress');\n\n  // Input: 1 unit margin\n  const quantity = new BN(1_000_000); // 1.0 units in 1e6 scale\n  const leverage = 5;\n\n  // Validate position before executing\n  const validation = await router.validateLeveragedPosition(\n    wallet.publicKey,\n    quantity,\n    new BN(200_000_000), // $200 price (for display only)\n    leverage\n  );\n\n  console.log('Margin committed:', validation.marginCommitted.toString()); // 1,000,000 units\n  console.log('Actual position:', validation.actualQuantity.toString());   // 5,000,000 units (5 contracts)\n  console.log('Position size:', validation.positionSize.toString());       // $1000 (5 × $200)\n  console.log('Available equity:', validation.availableEquity.toString()); // e.g., 50,000,000 units (50 SOL)\n  console.log('Valid:', validation.valid); // true if equity >= margin\n\n  if (!validation.valid) {\n    throw new Error('Insufficient collateral');\n  }\n\n  // Execute buy with leverage\n  const price = new BN(200_000_000); // $200 limit price\n  const { instruction, receiptSetup, receiptKeypair } = await router.buildBuyInstruction(\n    wallet.publicKey,\n    slabMarket,\n    validation.actualQuantity, // 5 contracts (leveraged)\n    price,\n    oracle,\n    0, // 0 = market order, 1 = limit order\n    leverage // 1-10x\n  );\n\n  // Send transaction\n  const tx = new Transaction()\n    .add(receiptSetup)\n    .add(instruction);\n\n  const signature = await connection.sendTransaction(tx, [wallet, receiptKeypair]);\n  await connection.confirmTransaction(signature);\n\n  console.log('Position opened!');\n  console.log('Signature:', signature);\n\n  // After execution:\n  // - 1 SOL transferred from user portfolio → DLP portfolio\n  // - User controls 5 SOL worth of position\n  // - IMR locked: ~0.2 SOL (20% of 1 SOL margin)\n}\n```\n\n#### Position Sizing Helpers\n\n```typescript\n// Calculate actual quantity for leverage\nconst marginInput = new BN(1_000_000); // 1 unit\nconst leverage = 10;\nconst actualQty = router.calculateActualQuantity(\n  marginInput,\n  new BN(100_000_000), // price (not used in calculation)\n  leverage\n);\nconsole.log(actualQty.toString()); // 10,000,000 (10 contracts)\n\n// Calculate position notional value\nconst marginCommitted = new BN(2_000_000); // 2 units\nconst positionSize = router.calculatePositionSize(marginCommitted, 5);\nconsole.log(positionSize.toString()); // 10,000,000 (10 units at 5x)\n```\n\n#### Risk Management\n\n```typescript\n// Check portfolio health before trading\nconst portfolio = await router.getPortfolio(wallet.publicKey);\n\n// Equity must exceed Initial Margin\nconst hasSufficientMargin = portfolio.equity >= portfolio.im;\n\n// Avoid liquidation - maintain health above Maintenance Margin\nconst healthRatio = portfolio.equity / portfolio.mm;\nconsole.log('Health ratio:', healthRatio); // Should be > 1.0\n\nif (healthRatio < 1.2) {\n  console.warn('⚠️ Close to liquidation! Consider reducing leverage.');\n}\n```\n\n### 4. Trading\n\n#### Smart Routing (Automatic Best Execution)\n\n```typescript\n// Find best slab for trading an instrument\nasync function tradeWithSmartRouting(\n  instrumentId: PublicKey,\n  side: 'buy' | 'sell',\n  quantity: BN\n) {\n  // Smart routing finds best price across all slabs\n  const bestSlab = await router.findBestSlabForTrade(\n    instrumentId,\n    side,\n    quantity,\n    slabProgramId\n  );\n\n  console.log(`Best ${side} price: ${bestSlab.price}`);\n  console.log(`On slab: ${bestSlab.slab.toBase58()}`);\n  console.log(`Available liquidity: ${bestSlab.availableQty}`);\n\n  // Execute on the best slab\n  const split: SlabSplit = {\n    slabMarket: bestSlab.slab,\n    isBuy: side === 'buy',\n    size: quantity,\n    price: bestSlab.price,\n  };\n\n  const ix = router.buildExecuteCrossSlabInstruction(\n    wallet.publicKey,\n    [split],\n    slabProgramId\n  );\n\n  const tx = new Transaction().add(ix);\n  const signature = await connection.sendTransaction(tx, [wallet]);\n  await connection.confirmTransaction(signature);\n\n  return signature;\n}\n\n// Example: Buy BTC-PERP with smart routing\nconst btcInstrument = new PublicKey('BTC...');\nawait tradeWithSmartRouting(btcInstrument, 'buy', new BN(1_000_000));\n```\n\n#### Get Quote Data from Slabs\n\n```typescript\n// Get detailed quotes from a slab (includes best bid/ask levels)\nasync function getSlabQuotes(slabMarket: PublicKey) {\n  const quotes = await router.getSlabQuotes(slabMarket);\n\n  console.log('Instrument:', quotes.instrument.toBase58());\n  console.log('Mark Price:', quotes.markPrice.toString());\n  console.log('\\nBest Bids:');\n  quotes.cache.bestBids.forEach((level, i) => {\n    console.log(`  ${i + 1}. Price: ${level.price}, Qty: ${level.availableQty}`);\n  });\n  console.log('\\nBest Asks:');\n  quotes.cache.bestAsks.forEach((level, i) => {\n    console.log(`  ${i + 1}. Price: ${level.price}, Qty: ${level.availableQty}`);\n  });\n\n  return quotes;\n}\n```\n\n#### Manual Cross-Slab Trade\n\n```typescript\nimport { SlabSplit } from '@barista-dex/sdk';\n\nasync function executeTrade(\n  side: 'buy' | 'sell',\n  totalSize: number,\n  slabMarkets: PublicKey[]\n) {\n  // Split order across multiple slabs for best execution\n  const sizePerSlab = totalSize / slabMarkets.length;\n\n  const splits: SlabSplit[] = slabMarkets.map(market => ({\n    slabMarket: market,\n    isBuy: side === 'buy',\n    size: new BN(sizePerSlab * 1_000_000), // 6 decimals\n    price: new BN(50_000_000), // $50.00 limit price\n  }));\n\n  const ix = router.buildExecuteCrossSlabInstruction(\n    wallet.publicKey,\n    splits,\n    slabProgramId\n  );\n\n  const tx = new Transaction().add(ix);\n  const signature = await connection.sendTransaction(tx, [wallet]);\n  await connection.confirmTransaction(signature);\n\n  console.log(`Executed ${side} of ${totalSize}:`, signature);\n}\n\n// Example: Buy 10 ETH-PERP across 2 slabs\nconst slabs = [\n  new PublicKey('Slab1Address'),\n  new PublicKey('Slab2Address'),\n];\nawait executeTrade('buy', 10, slabs);\n```\n\n#### Advanced Trading with Price Optimization\n\n```typescript\nasync function smartTrade(\n  side: 'buy' | 'sell',\n  targetSize: number,\n  maxSlippage: number = 0.01 // 1%\n) {\n  // Get best prices across all slabs\n  const slabMarkets = await getAvailableSlabs(); // Your function to fetch slabs\n\n  const slabPrices = await Promise.all(\n    slabMarkets.map(async (slab) => {\n      const state = await slabClient.getSlabState(slab);\n      return { slab, markPx: state?.markPx || new BN(0) };\n    })\n  );\n\n  // Sort by best price\n  slabPrices.sort((a, b) => {\n    if (side === 'buy') {\n      return a.markPx.cmp(b.markPx); // Lowest first for buys\n    } else {\n      return b.markPx.cmp(a.markPx); // Highest first for sells\n    }\n  });\n\n  // Build splits with slippage protection\n  const splits: SlabSplit[] = slabPrices.slice(0, 3).map((item, idx) => {\n    const slippageBps = maxSlippage * 10000 * (idx + 1);\n    const slippageAdjustment = item.markPx.muln(slippageBps).divn(10000);\n\n    const limitPrice = side === 'buy'\n      ? item.markPx.add(slippageAdjustment)\n      : item.markPx.sub(slippageAdjustment);\n\n    return {\n      slabMarket: item.slab,\n      isBuy: side === 'buy',\n      size: new BN((targetSize / 3) * 1_000_000),\n      price: limitPrice,\n    };\n  });\n\n  const ix = router.buildExecuteCrossSlabInstruction(\n    wallet.publicKey,\n    splits,\n    slabProgramId\n  );\n\n  const tx = new Transaction().add(ix);\n  const signature = await connection.sendTransaction(tx, [wallet]);\n  await connection.confirmTransaction(signature);\n\n  return signature;\n}\n```\n\n### 4. Liquidations (Keeper Bots)\n\n#### Monitor and Liquidate Undercollateralized Positions\n\n```typescript\nasync function liquidationKeeper() {\n  // Scan for unhealthy portfolios\n  const registry = await router.getRegistry();\n  if (!registry) return;\n\n  for (let i = 0; i < registry.numPortfolios; i++) {\n    // Get portfolio data (you'd need to track users)\n    const user = getUserAtIndex(i); // Your indexing function\n    const portfolio = await router.getPortfolio(user);\n\n    if (!portfolio) continue;\n\n    const health = portfolio.health.toNumber() / 1e6;\n\n    if (health < 100) {\n      console.log(`Found liquidation target: ${user.toString()}`);\n      await liquidateUser(user);\n    }\n  }\n}\n\nasync function liquidateUser(targetUser: PublicKey) {\n  const [portfolioPDA] = router.derivePortfolioPDA(targetUser);\n\n  // Get required oracle and slab accounts\n  const oracles = [\n    new PublicKey('OracleAddress1'),\n    new PublicKey('OracleAddress2'),\n  ];\n\n  const slabs = [\n    new PublicKey('SlabAddress1'),\n    new PublicKey('SlabAddress2'),\n  ];\n\n  const params = {\n    portfolio: portfolioPDA,\n    oracles,\n    slabs,\n    isPreliq: false,\n    currentTs: new BN(Math.floor(Date.now() / 1000)),\n  };\n\n  const ix = router.buildLiquidateUserInstruction(params);\n\n  const tx = new Transaction().add(ix);\n  const signature = await connection.sendTransaction(tx, [wallet]);\n  await connection.confirmTransaction(signature);\n\n  console.log('Liquidation executed:', signature);\n}\n\n// Run keeper continuously\nsetInterval(liquidationKeeper, 10000); // Check every 10 seconds\n```\n\n#### Pre-liquidation (Warning System)\n\n```typescript\nasync function preliquidateUser(targetUser: PublicKey) {\n  const [portfolioPDA] = router.derivePortfolioPDA(targetUser);\n\n  const params = {\n    portfolio: portfolioPDA,\n    oracles: [],\n    slabs: [],\n    isPreliq: true, // Pre-liquidation flag\n    currentTs: new BN(Math.floor(Date.now() / 1000)),\n  };\n\n  const ix = router.buildLiquidateUserInstruction(params);\n\n  const tx = new Transaction().add(ix);\n  const signature = await connection.sendTransaction(tx, [wallet]);\n\n  console.log('Pre-liquidation warning sent:', signature);\n}\n```\n\n### 5. LP Operations\n\n#### Initialize a Slab Market (LP)\n\n```typescript\nasync function createSlabMarket(instrumentPubkey: PublicKey) {\n  const markPx = new BN(50_000_000); // $50.00 initial mark price\n  const takerFeeBps = new BN(5_000); // 0.5% taker fee\n  const contractSize = new BN(1_000_000); // 1.0 contract size\n\n  const ix = slabClient.buildInitializeSlabInstruction(\n    wallet.publicKey, // LP owner\n    routerProgramId,\n    instrumentPubkey,\n    markPx,\n    takerFeeBps,\n    contractSize,\n    wallet.publicKey // payer\n  );\n\n  const tx = new Transaction().add(ix);\n  const signature = await connection.sendTransaction(tx, [wallet]);\n  await connection.confirmTransaction(signature);\n\n  // Derive slab address\n  const [slabPDA] = slabClient.deriveSlabPDA(wallet.publicKey, instrumentPubkey);\n  console.log('Slab created:', slabPDA.toString());\n\n  return slabPDA;\n}\n```\n\n#### Burn LP Shares\n\n```typescript\nasync function burnLpShares(\n  marketId: PublicKey,\n  sharesToBurn: number,\n  currentSharePrice: number\n) {\n  const params = {\n    user: wallet.publicKey,\n    marketId,\n    sharesToBurn: new BN(sharesToBurn * 1_000_000),\n    currentSharePrice: new BN(currentSharePrice * 1_000_000),\n    currentTs: new BN(Math.floor(Date.now() / 1000)),\n    maxStalenessSeconds: new BN(60), // 1 minute\n  };\n\n  const ix = router.buildBurnLpSharesInstruction(params);\n\n  const tx = new Transaction().add(ix);\n  const signature = await connection.sendTransaction(tx, [wallet]);\n  await connection.confirmTransaction(signature);\n\n  console.log('LP shares burned:', signature);\n}\n```\n\n#### Cancel LP Orders\n\n```typescript\nasync function cancelLpOrders(\n  marketId: PublicKey,\n  orderIds: number[]\n) {\n  if (orderIds.length > 16) {\n    throw new Error('Can only cancel up to 16 orders at once');\n  }\n\n  const params = {\n    user: wallet.publicKey,\n    marketId,\n    orderIds: orderIds.map(id => new BN(id)),\n    freedQuote: new BN(0), // Updated by program\n    freedBase: new BN(0),  // Updated by program\n  };\n\n  const ix = router.buildCancelLpOrdersInstruction(params);\n\n  const tx = new Transaction().add(ix);\n  const signature = await connection.sendTransaction(tx, [wallet]);\n  await connection.confirmTransaction(signature);\n\n  console.log(`Cancelled ${orderIds.length} orders:`, signature);\n}\n```\n\n### 6. Market Data\n\n#### Get Slab State\n\n```typescript\nasync function getMarketInfo(slabAddress: PublicKey) {\n  const state = await slabClient.getSlabState(slabAddress);\n\n  if (!state) {\n    console.log('Slab not found');\n    return;\n  }\n\n  console.log('Market Information:');\n  console.log('  LP Owner:       ', state.lpOwner.toString());\n  console.log('  Instrument:     ', state.instrument.toString());\n  console.log('  Mark Price:     ', state.markPx.toString());\n  console.log('  Taker Fee (bps):', state.takerFeeBps.toString());\n  console.log('  Contract Size:  ', state.contractSize.toString());\n  console.log('  Sequence Number:', state.seqno);\n\n  return state;\n}\n```\n\n#### Get Fill Receipt\n\n```typescript\nasync function getFillDetails(slabAddress: PublicKey, seqno: number) {\n  const receipt = await slabClient.getFillReceipt(slabAddress, seqno);\n\n  if (!receipt) {\n    console.log('Fill not found');\n    return;\n  }\n\n  console.log('Fill Details:');\n  console.log('  Slab:      ', receipt.slab.toString());\n  console.log('  Sequence:  ', receipt.seqno);\n  console.log('  Side:      ', receipt.side === 0 ? 'BUY' : 'SELL');\n  console.log('  Quantity:  ', receipt.qty.toString());\n  console.log('  Fill Price:', receipt.fillPx.toString());\n  console.log('  Timestamp: ', new Date(receipt.timestamp.toNumber() * 1000));\n\n  return receipt;\n}\n```\n\n### 7. Utility Functions\n\n#### Format and Parse Amounts\n\n```typescript\nimport { formatAmount, parseAmount, formatUsd } from '@barista-dex/sdk';\n\n// Format token amounts\nconst amount = new BN(1_500_000); // 1.5 USDC (6 decimals)\nconsole.log(formatAmount(amount, 6)); // \"1.500000\"\nconsole.log(formatUsd(amount)); // \"$1.500000\"\n\n// Parse user input\nconst userInput = \"1.5\";\nconst parsed = parseAmount(userInput, 6);\nconsole.log(parsed.toString()); // \"1500000\"\n```\n\n#### Display Portfolio Summary\n\n```typescript\nimport {\n  formatUsd,\n  formatHealth,\n  formatTimestamp,\n  truncatePubkey\n} from '@barista-dex/sdk';\n\nasync function displayPortfolio(userAddress: PublicKey) {\n  const portfolio = await router.getPortfolio(userAddress);\n\n  if (!portfolio) {\n    console.log('No portfolio found');\n    return;\n  }\n\n  console.log('\\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━');\n  console.log('PORTFOLIO SUMMARY');\n  console.log('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━');\n  console.log(`Owner:              ${truncatePubkey(portfolio.owner.toString())}`);\n  console.log(`Collateral:         ${formatUsd(portfolio.collateralValue)}`);\n  console.log(`Unrealized PnL:     ${portfolio.unrealizedPnl.toString()}`);\n  console.log(`Equity:             ${formatUsd(portfolio.equity)}`);\n  console.log(`Maintenance Margin: ${formatUsd(portfolio.maintMargin)}`);\n  console.log(`Health Ratio:       ${formatHealth(portfolio.health)}`);\n  console.log(`Last Update:        ${formatTimestamp(portfolio.lastUpdate)}`);\n  console.log('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\\n');\n}\n```\n\n## Error Handling\n\n```typescript\nimport { SendTransactionError, LAMPORTS_PER_SOL } from '@solana/web3.js';\n\nasync function safeDeposit(solAmount: number) {\n  try {\n    const amount = new BN(solAmount * LAMPORTS_PER_SOL);\n\n    // Auto-create portfolio if needed\n    const ensurePortfolioIxs = await router.ensurePortfolioInstructions(wallet.publicKey);\n    const depositIx = await router.buildDepositInstruction(amount, wallet.publicKey);\n\n    const tx = new Transaction()\n      .add(...ensurePortfolioIxs)\n      .add(depositIx);\n\n    // Add recent blockhash and fee payer\n    tx.recentBlockhash = (await connection.getLatestBlockhash()).blockhash;\n    tx.feePayer = wallet.publicKey;\n\n    const signature = await connection.sendTransaction(tx, [wallet], {\n      skipPreflight: false,\n      preflightCommitment: 'confirmed',\n    });\n\n    // Wait for confirmation\n    const confirmation = await connection.confirmTransaction(signature, 'confirmed');\n\n    if (confirmation.value.err) {\n      throw new Error(`Transaction failed: ${JSON.stringify(confirmation.value.err)}`);\n    }\n\n    console.log(`Deposited ${solAmount} SOL successfully:`, signature);\n    return signature;\n\n  } catch (error) {\n    if (error instanceof SendTransactionError) {\n      console.error('Transaction error:', error.message);\n      console.error('Logs:', error.logs);\n    } else {\n      console.error('Unexpected error:', error);\n    }\n    throw error;\n  }\n}\n```\n\n## API Reference\n\n### RouterClient\n\n#### Constructor\n```typescript\nnew RouterClient(connection: Connection, programId: PublicKey, wallet?: Keypair)\n```\n\n#### PDA Derivation\n- `derivePortfolioPDA(user: PublicKey): [PublicKey, number]`\n- `deriveVaultPDA(mint: PublicKey): [PublicKey, number]`\n- `deriveRegistryPDA(): [PublicKey, number]`\n- `deriveAuthorityPDA(): [PublicKey, number]`\n\n#### Account Fetching\n- `getPortfolio(user: PublicKey): Promise<Portfolio | null>`\n- `getRegistry(): Promise<Registry | null>`\n- `getVault(mint: PublicKey): Promise<Vault | null>`\n\n#### Instruction Builders\n- `buildInitializeInstruction(payer: PublicKey): TransactionInstruction`\n- `buildDepositInstruction(amount: BN, user: PublicKey): Promise<TransactionInstruction>` (SOL only in v0)\n- `buildWithdrawInstruction(amount: BN, user: PublicKey): Promise<TransactionInstruction>` (SOL only in v0)\n- `buildInitializePortfolioInstruction(user: PublicKey): TransactionInstruction`\n- `ensurePortfolioInstructions(user: PublicKey): Promise<TransactionInstruction[]>` (auto-creates portfolio if needed)\n- `buildExecuteCrossSlabInstruction(user, splits, slabProgram): TransactionInstruction`\n- `buildLiquidateUserInstruction(params: LiquidationParams): TransactionInstruction`\n- `buildBurnLpSharesInstruction(params: BurnLpSharesParams): TransactionInstruction`\n- `buildCancelLpOrdersInstruction(params: CancelLpOrdersParams): TransactionInstruction`\n\n### SlabClient\n\n#### Constructor\n```typescript\nnew SlabClient(connection: Connection, programId: PublicKey, wallet?: Keypair)\n```\n\n#### PDA Derivation\n- `deriveSlabPDA(lpOwner: PublicKey, instrument: PublicKey): [PublicKey, number]`\n- `deriveFillReceiptPDA(slab: PublicKey, seqno: number): [PublicKey, number]`\n\n#### Account Fetching\n- `getSlabState(slab: PublicKey): Promise<SlabState | null>`\n- `getFillReceipt(slab: PublicKey, seqno: number): Promise<FillReceipt | null>`\n- `getOrderBook(slab: PublicKey): Promise<OrderBook>`\n\n#### Instruction Builders\n- `buildInitializeSlabInstruction(lpOwner, routerId, instrument, markPx, takerFeeBps, contractSize, payer): TransactionInstruction`\n- `buildCommitFillInstruction(slab, expectedSeqno, side, qty, limitPx, routerSigner): TransactionInstruction`\n\n## Types\n\n### Portfolio\n```typescript\ninterface Portfolio {\n  owner: PublicKey;\n  collateralValue: BN;\n  maintMargin: BN;\n  unrealizedPnl: BN;\n  equity: BN;\n  health: BN;\n  lastUpdate: BN;\n}\n```\n\n### SlabSplit\n```typescript\ninterface SlabSplit {\n  slabMarket: PublicKey;\n  isBuy: boolean;\n  size: BN;\n  price: BN;\n}\n```\n\n### LiquidationParams\n```typescript\ninterface LiquidationParams {\n  portfolio: PublicKey;\n  oracles: PublicKey[];\n  slabs: PublicKey[];\n  isPreliq: boolean;\n  currentTs: BN;\n}\n```\n\n## Best Practices\n\n1. **Always check portfolio health before trading**\n   ```typescript\n   const portfolio = await router.getPortfolio(wallet.publicKey);\n   if (portfolio.health.toNumber() / 1e6 < 110) {\n     console.warn('Low health - add collateral or reduce position');\n   }\n   ```\n\n2. **Use transaction confirmation**\n   ```typescript\n   const signature = await connection.sendTransaction(tx, [wallet]);\n   await connection.confirmTransaction(signature, 'confirmed');\n   ```\n\n3. **Handle errors gracefully**\n   ```typescript\n   try {\n     await executeTrade();\n   } catch (error) {\n     console.error('Trade failed:', error);\n     // Implement retry logic or alert user\n   }\n   ```\n\n4. **Monitor for liquidations (keepers)**\n   - Scan portfolios periodically\n   - React quickly to unhealthy positions\n   - Ensure sufficient gas for liquidation transactions\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Build TypeScript\nnpm run build\n\n# Run tests\nnpm test\n\n# Clean build artifacts\nnpm run clean\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}