{"_id":"@bison-markets/sdk-ts","_rev":"9-61dd25c2b48c071e303f78375ec3d31b","name":"@bison-markets/sdk-ts","dist-tags":{"latest":"0.1.8"},"versions":{"0.1.0":{"name":"@bison-markets/sdk-ts","version":"0.1.0","author":"","license":"AGPL-3.0-only","_id":"@bison-markets/sdk-ts@0.1.0","maintainers":[{"name":"bison-markets","email":"team@bison.markets"}],"homepage":"https://github.com/bison-markets/sdk-ts#readme","bugs":{"url":"https://github.com/bison-markets/sdk-ts/issues"},"dist":{"shasum":"9e32d25ba8f51aa346c876a19af3be96028e6465","tarball":"https://registry.npmjs.org/@bison-markets/sdk-ts/-/sdk-ts-0.1.0.tgz","fileCount":9,"integrity":"sha512-MbCUTTmQSZT4dy1I3VRklMAJS4RK7Z8Sl9V3iSOAjZld1yLxhKYNRY6pRvUCLiIVcCqFEJTjvgvvDUn26plJ5g==","signatures":[{"sig":"MEQCIFO/UEj6/ORSV0eK/XnUYVTnEM5PemDbl+egeQV9CqfQAiBGBZ1ZsXD9yyi2qEf6qfn3AEFf6GTjDIWT48XPY7aEGg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":290030},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"a49429ec884757a5c85dfc0317c2253321b2266b","scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","format":"prettier --write .","prepare":"npm run build","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","prepublishOnly":"npm run build","generate:openapi":"openapi-typescript ${OPENAPI_URL:-http://localhost:8787/openapi} --output ./src/openapi/generated/schema.ts"},"_npmUser":{"name":"bison-markets","email":"team@bison.markets"},"repository":{"url":"git+https://github.com/bison-markets/sdk-ts.git","type":"git"},"_npmVersion":"11.5.1","description":"Bison Markets SDK (TypeScript)","directories":{},"_nodeVersion":"24.5.0","dependencies":{"viem":"^2.38.6","openapi-fetch":"^0.15.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^27.1.0","eslint":"^9.14.0","vitest":"^2.1.4","globals":"^16.5.0","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.9.0","openapi-typescript":"^7.4.4","@typescript-eslint/parser":"^8.13.0","@typescript-eslint/eslint-plugin":"^8.13.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-ts_0.1.0_1763081467220_0.848631245214021","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@bison-markets/sdk-ts","version":"0.1.1","author":"","license":"AGPL-3.0-only","_id":"@bison-markets/sdk-ts@0.1.1","maintainers":[{"name":"bison-markets","email":"team@bison.markets"}],"homepage":"https://github.com/bison-markets/sdk-ts#readme","bugs":{"url":"https://github.com/bison-markets/sdk-ts/issues"},"dist":{"shasum":"d1d3077839b36e30ab4415dc0b706b580d4a1bf3","tarball":"https://registry.npmjs.org/@bison-markets/sdk-ts/-/sdk-ts-0.1.1.tgz","fileCount":9,"integrity":"sha512-jLZHjHpzRUwh2A65aYhQe2a7eiPsOsHYLjBAaQRbxlE+KVwb60X5Z5ty/9UFHJcW2UL82ZXopkYyg597IwB+vw==","signatures":[{"sig":"MEYCIQDll2hHAXF3z/T/A14OO9HEvkgqSxb81HP5u0RV9f8qYwIhALyUZzu1z+VePVMm6NoCvWyDSkvD+IgXdu5yWRl1ExaD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":314545},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"a9ccefb281bc37a190dc94ef4c8e0d3b24a3784d","scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","format":"prettier --write .","prepare":"husky","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","generate:openapi":"openapi-typescript ${OPENAPI_URL:-http://localhost:8787/openapi} --output ./src/openapi/generated/schema.ts"},"_npmUser":{"name":"bison-markets","email":"team@bison.markets"},"repository":{"url":"git+https://github.com/bison-markets/sdk-ts.git","type":"git"},"_npmVersion":"11.5.1","description":"Bison Markets SDK (TypeScript)","directories":{},"_nodeVersion":"24.5.0","dependencies":{"viem":"^2.38.6","openapi-fetch":"^0.15.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","husky":"^9.1.7","jsdom":"^27.1.0","eslint":"^9.14.0","vitest":"^2.1.4","globals":"^16.5.0","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.9.0","openapi-typescript":"^7.4.4","@typescript-eslint/parser":"^8.13.0","@typescript-eslint/eslint-plugin":"^8.13.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-ts_0.1.1_1763199598946_0.04176556251688046","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@bison-markets/sdk-ts","version":"0.1.2","author":"","license":"AGPL-3.0-only","_id":"@bison-markets/sdk-ts@0.1.2","maintainers":[{"name":"bison-markets","email":"team@bison.markets"}],"homepage":"https://github.com/bison-markets/sdk-ts#readme","bugs":{"url":"https://github.com/bison-markets/sdk-ts/issues"},"dist":{"shasum":"095445fe0b3024c6327e05f03486ce0751247dd4","tarball":"https://registry.npmjs.org/@bison-markets/sdk-ts/-/sdk-ts-0.1.2.tgz","fileCount":9,"integrity":"sha512-rMgxeyl3Zqyueia7RwU6MS36t1q1S7wtaXS3AhoBhKI8fTF+IIPTDENZ/1DzQlbUQ3woi2h2hQe8yYc3XUHX6Q==","signatures":[{"sig":"MEUCIEEjYytqjTwhWwRRWl1s6usE40C61R9RMEtuyu2CPxzdAiEApRxpMHIJ5wYhtGJWXtR8jAJgZCHxKZ9toujy8mAdC48=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":359567},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"9dcb1ead22d627c0a3e84ad5b91d094e348e384c","scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","format":"prettier --write .","prepare":"husky","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","generate:openapi":"openapi-typescript ${OPENAPI_URL:-http://localhost:8787/openapi} --output ./src/openapi/generated/schema.ts"},"_npmUser":{"name":"bison-markets","email":"team@bison.markets"},"repository":{"url":"git+https://github.com/bison-markets/sdk-ts.git","type":"git"},"_npmVersion":"11.5.1","description":"Bison Markets SDK (TypeScript)","directories":{},"_nodeVersion":"24.5.0","dependencies":{"viem":"^2.38.6","openapi-fetch":"^0.15.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","husky":"^9.1.7","jsdom":"^27.1.0","eslint":"^9.14.0","vitest":"^2.1.4","globals":"^16.5.0","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.9.0","openapi-typescript":"^7.4.4","@typescript-eslint/parser":"^8.13.0","@typescript-eslint/eslint-plugin":"^8.13.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-ts_0.1.2_1765428930369_0.19174409080648336","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@bison-markets/sdk-ts","version":"0.1.3","author":"","license":"AGPL-3.0-only","_id":"@bison-markets/sdk-ts@0.1.3","maintainers":[{"name":"bison-markets","email":"team@bison.markets"}],"homepage":"https://github.com/bison-markets/sdk-ts#readme","bugs":{"url":"https://github.com/bison-markets/sdk-ts/issues"},"dist":{"shasum":"ce4a097efa5d8e00539d57761b5ddb12466d0ca3","tarball":"https://registry.npmjs.org/@bison-markets/sdk-ts/-/sdk-ts-0.1.3.tgz","fileCount":9,"integrity":"sha512-XUht1XRqE7f1nuxXEQPxXef8n/tMfEAX5/yea94iqBvjQxLELtacfe49dB/AY7ubpTThZ/wW8LWZSm/menvCNQ==","signatures":[{"sig":"MEQCIAQHphGku8G6CyC9eWQFe91ffokexYUGOOGHitj81Y/IAiA3UIlZ28swZTk0H5RIrwUutfYFbc8pxTegy70GulFR2A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":389680},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"c007e5e3eae0e3bae63d6f19f59e8c28bf8f7215","scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","format":"prettier --write .","prepare":"husky","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","generate:openapi":"openapi-typescript ${OPENAPI_URL:-http://localhost:8787/openapi} --output ./src/openapi/generated/schema.ts"},"_npmUser":{"name":"bison-markets","email":"team@bison.markets"},"repository":{"url":"git+https://github.com/bison-markets/sdk-ts.git","type":"git"},"_npmVersion":"11.5.1","description":"Bison Markets SDK (TypeScript)","directories":{},"_nodeVersion":"24.5.0","dependencies":{"viem":"^2.38.6","openapi-fetch":"^0.15.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","husky":"^9.1.7","jsdom":"^27.1.0","eslint":"^9.14.0","vitest":"^2.1.4","globals":"^16.5.0","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.9.0","openapi-typescript":"^7.4.4","@typescript-eslint/parser":"^8.13.0","@typescript-eslint/eslint-plugin":"^8.13.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-ts_0.1.3_1765844469994_0.821220336101113","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@bison-markets/sdk-ts","version":"0.1.4","author":"","license":"AGPL-3.0-only","_id":"@bison-markets/sdk-ts@0.1.4","maintainers":[{"name":"bison-markets","email":"team@bison.markets"}],"homepage":"https://github.com/bison-markets/sdk-ts#readme","bugs":{"url":"https://github.com/bison-markets/sdk-ts/issues"},"dist":{"shasum":"99999f3d92a08516c08d6c4f93d500f87e9e47d1","tarball":"https://registry.npmjs.org/@bison-markets/sdk-ts/-/sdk-ts-0.1.4.tgz","fileCount":9,"integrity":"sha512-WiR6iCPBqeGsERWQOYxM0YzJukZTl86MYkAW3kUOPV+1L9nXXP6VuFKu9V+Yv2KlrKx7QRDQF5BX++fKOghO0Q==","signatures":[{"sig":"MEQCIGs6D4pEKtAjrtvWXDTsnww6OtYYb6bXNnrP2WW8HqauAiA7Tc6Hxc5p/TXGK4G5EHCUdBg/uNJd/ZNAEq88N18bsQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":400106},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"5061ea8b99dc879de25efc93be8d3f791ada340f","scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","format":"prettier --write .","prepare":"husky","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","generate:openapi":"openapi-typescript ${OPENAPI_URL:-http://localhost:8787/openapi} --output ./src/openapi/generated/schema.ts"},"_npmUser":{"name":"bison-markets","email":"team@bison.markets"},"repository":{"url":"git+https://github.com/bison-markets/sdk-ts.git","type":"git"},"_npmVersion":"11.5.1","description":"Bison Markets SDK (TypeScript)","directories":{},"_nodeVersion":"24.5.0","dependencies":{"viem":"^2.38.6","openapi-fetch":"^0.15.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","husky":"^9.1.7","jsdom":"^27.1.0","eslint":"^9.14.0","vitest":"^2.1.4","globals":"^16.5.0","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.9.0","openapi-typescript":"^7.4.4","@typescript-eslint/parser":"^8.13.0","@typescript-eslint/eslint-plugin":"^8.13.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-ts_0.1.4_1765913767500_0.36322033287970457","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@bison-markets/sdk-ts","version":"0.1.5","author":"","license":"AGPL-3.0-only","_id":"@bison-markets/sdk-ts@0.1.5","maintainers":[{"name":"bison-markets","email":"team@bison.markets"}],"homepage":"https://github.com/bison-markets/sdk-ts#readme","bugs":{"url":"https://github.com/bison-markets/sdk-ts/issues"},"dist":{"shasum":"b1936d862e7eb7aefbc6d99e2bf1c7371168e6f1","tarball":"https://registry.npmjs.org/@bison-markets/sdk-ts/-/sdk-ts-0.1.5.tgz","fileCount":9,"integrity":"sha512-bOyeSpkski5sfUItWyLNyMM6r+BncuJGTv/7wAtpYwvKmVTMl1mIbBRnji55fjKVqY4oyV+karbUSGe2CDitBA==","signatures":[{"sig":"MEYCIQCrerWd53FbMgFU89ubcaHrWih+5ZvBnqpG2+hFT2kSIwIhAKyGOA7CYnkJqRUCdku+A5LIJXoOj6tVHP2hKb3Y5BVk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":433712},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"6a49024a55aa0b9fcca2bafcf1455b5d36797dcb","scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","format":"prettier --write .","prepare":"husky","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","generate:openapi":"openapi-typescript ${OPENAPI_URL:-http://localhost:8787/openapi} --output ./src/openapi/generated/schema.ts"},"_npmUser":{"name":"bison-markets","email":"team@bison.markets"},"repository":{"url":"git+https://github.com/bison-markets/sdk-ts.git","type":"git"},"_npmVersion":"11.5.1","description":"Bison Markets SDK (TypeScript)","directories":{},"_nodeVersion":"24.5.0","dependencies":{"openapi-fetch":"^0.15.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","viem":"^2.43.1","husky":"^9.1.7","jsdom":"^27.1.0","eslint":"^9.14.0","vitest":"^2.1.4","globals":"^16.5.0","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.9.0","openapi-typescript":"^7.4.4","@typescript-eslint/parser":"^8.13.0","@typescript-eslint/eslint-plugin":"^8.13.0"},"peerDependencies":{"viem":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-ts_0.1.5_1766091652522_0.9311387908790429","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@bison-markets/sdk-ts","version":"0.1.6","author":"","license":"AGPL-3.0-only","_id":"@bison-markets/sdk-ts@0.1.6","maintainers":[{"name":"bison-markets","email":"team@bison.markets"}],"homepage":"https://github.com/bison-markets/sdk-ts#readme","bugs":{"url":"https://github.com/bison-markets/sdk-ts/issues"},"dist":{"shasum":"311c1cec1025f8ff493f30bae463146689a4158a","tarball":"https://registry.npmjs.org/@bison-markets/sdk-ts/-/sdk-ts-0.1.6.tgz","fileCount":9,"integrity":"sha512-vgzDSOCD1+1Hc1MTIIS4DPg9NNNCkR6Vs3+JVJ5U41Ry0utD4JW/viKr1A22GVdPyGf59vSu09myAJRdSquwrg==","signatures":[{"sig":"MEUCIQCfZXE8EUiGMErKrUtztkkr7CyfeXelkGksaSvXbowoBQIgObKGFhvA6qURiytEu/75YMq8zqVyAIgDIF9TGDmx4qQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":443806},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"f3372f12b8cf80a31b359f7a15b597c7974e68ef","scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","format":"prettier --write .","prepare":"husky","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","generate:openapi":"openapi-typescript ${OPENAPI_URL:-http://localhost:8787/openapi} --output ./src/openapi/generated/schema.ts"},"_npmUser":{"name":"bison-markets","email":"team@bison.markets"},"repository":{"url":"git+https://github.com/bison-markets/sdk-ts.git","type":"git"},"_npmVersion":"11.5.1","description":"Bison Markets SDK (TypeScript)","directories":{},"_nodeVersion":"24.5.0","dependencies":{"openapi-fetch":"^0.15.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","viem":"^2.43.1","husky":"^9.1.7","jsdom":"^27.1.0","eslint":"^9.14.0","vitest":"^2.1.4","globals":"^16.5.0","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.9.0","openapi-typescript":"^7.4.4","@typescript-eslint/parser":"^8.13.0","@typescript-eslint/eslint-plugin":"^8.13.0"},"peerDependencies":{"viem":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-ts_0.1.6_1766517677757_0.7590378531862503","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@bison-markets/sdk-ts","version":"0.1.7","author":"","license":"AGPL-3.0-only","_id":"@bison-markets/sdk-ts@0.1.7","maintainers":[{"name":"bison-markets","email":"team@bison.markets"}],"homepage":"https://github.com/bison-markets/sdk-ts#readme","bugs":{"url":"https://github.com/bison-markets/sdk-ts/issues"},"dist":{"shasum":"667462361408775a6b4855a409e2138469964c63","tarball":"https://registry.npmjs.org/@bison-markets/sdk-ts/-/sdk-ts-0.1.7.tgz","fileCount":9,"integrity":"sha512-jgPQrJrh5dFQ/Cz0nOGYVTpl3rBovr0LDGu2rTANvDC5krs+GwZPs5GgCfN/dLcKI7L4CGvyqEb7M+jQR4cpSA==","signatures":[{"sig":"MEUCIAyQDhichJ3W0E6B1FJmR6Dpk5Ba18zUR8wbdRyIY/8JAiEA6nks06nPJ4QkxS/O00KnTXE9wIGsIx1EWBiw7Ayhwjw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":471013},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"837a503bb0890c0b45c2158034005f7588f0efbb","scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","format":"prettier --write .","prepare":"husky","lint:fix":"eslint . --fix","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","generate:openapi":"openapi-typescript ${OPENAPI_URL:-http://localhost:8787/openapi} --output ./src/openapi/generated/schema.ts"},"_npmUser":{"name":"bison-markets","email":"team@bison.markets"},"repository":{"url":"git+https://github.com/bison-markets/sdk-ts.git","type":"git"},"_npmVersion":"11.5.1","description":"Bison Markets SDK (TypeScript)","directories":{},"_nodeVersion":"24.5.0","dependencies":{"openapi-fetch":"^0.15.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","viem":"^2.43.1","husky":"^9.1.7","jsdom":"^27.1.0","eslint":"^9.14.0","vitest":"^2.1.4","globals":"^16.5.0","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.9.0","openapi-typescript":"^7.4.4","@typescript-eslint/parser":"^8.13.0","@typescript-eslint/eslint-plugin":"^8.13.0"},"peerDependencies":{"viem":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-ts_0.1.7_1768617574206_0.5456423834342872","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@bison-markets/sdk-ts","version":"0.1.8","description":"Bison Markets SDK (TypeScript)","publishConfig":{"access":"public"},"homepage":"https://github.com/bison-markets/sdk-ts#readme","bugs":{"url":"https://github.com/bison-markets/sdk-ts/issues"},"repository":{"type":"git","url":"git+https://github.com/bison-markets/sdk-ts.git"},"license":"AGPL-3.0-only","author":"","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","test:watch":"vitest","lint":"eslint .","lint:fix":"eslint . --fix","format":"prettier --write .","format:check":"prettier --check .","typecheck":"tsc --noEmit","generate:openapi":"openapi-typescript ${OPENAPI_URL:-http://localhost:8787/openapi} --output ./src/openapi/generated/schema.ts","prepare":"husky"},"devDependencies":{"@types/node":"^22.9.0","@typescript-eslint/eslint-plugin":"^8.13.0","@typescript-eslint/parser":"^8.13.0","eslint":"^9.14.0","globals":"^16.5.0","husky":"^9.1.7","jsdom":"^27.1.0","openapi-typescript":"^7.4.4","prettier":"^3.3.3","tsup":"^8.3.5","typescript":"^5.6.3","viem":"^2.44.4","vitest":"^2.1.4"},"dependencies":{"openapi-fetch":"^0.15.0"},"peerDependencies":{"viem":"^2.0.0"},"engines":{"node":">=22.0.0"},"_id":"@bison-markets/sdk-ts@0.1.8","gitHead":"d7db6bf2992b7d55db43967ba392027d3528ae6d","_nodeVersion":"24.5.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-tJsVmLBk7hdyqFh0Ca9t3O3s9qB4bCnX0oTcwd/vjYqZjSjEmo+U8WSKYsJiT34dBMrozHbV1cSDuxjsFiG+4w==","shasum":"6326cdc354d3418462831cb46500fe49648d0e2f","tarball":"https://registry.npmjs.org/@bison-markets/sdk-ts/-/sdk-ts-0.1.8.tgz","fileCount":9,"unpackedSize":501365,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBSds/7Qbgqswh5kHwvH/U65rgpBh/buojTCbHxrt4caAiB6PjAJDf5SCcbokFRgatEAEnRy8VWchrHqfCGCboIuEw=="}]},"_npmUser":{"name":"bison-markets","email":"team@bison.markets"},"directories":{},"maintainers":[{"name":"bison-markets","email":"team@bison.markets"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk-ts_0.1.8_1769303768703_0.492570169684442"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-14T00:51:07.035Z","modified":"2026-01-25T01:16:08.989Z","0.1.0":"2025-11-14T00:51:07.458Z","0.1.1":"2025-11-15T09:39:59.161Z","0.1.2":"2025-12-11T04:55:30.535Z","0.1.3":"2025-12-16T00:21:10.140Z","0.1.4":"2025-12-16T19:36:07.655Z","0.1.5":"2025-12-18T21:00:52.665Z","0.1.6":"2025-12-23T19:21:17.942Z","0.1.7":"2026-01-17T02:39:34.371Z","0.1.8":"2026-01-25T01:16:08.877Z"},"bugs":{"url":"https://github.com/bison-markets/sdk-ts/issues"},"license":"AGPL-3.0-only","homepage":"https://github.com/bison-markets/sdk-ts#readme","repository":{"type":"git","url":"git+https://github.com/bison-markets/sdk-ts.git"},"description":"Bison Markets SDK (TypeScript)","maintainers":[{"name":"bison-markets","email":"team@bison.markets"}],"readme":"# Bison TS SDK\n\n[![npm version](https://badge.fury.io/js/@bison-markets%2Fsdk-ts.svg)](https://badge.fury.io/js/@bison-markets%2Fsdk-ts)\n\nTypeScript SDK for [Bison](https://bison.markets/).\n\n## Installation\n\n```bash\nnpm install @bison-markets/sdk-ts\n```\n\n**Requirements:**\n\n- Node.js >= 22 (for native WebSocket support)\n- All modern browsers\n\n## Usage\n\nMore information can be found at the [SDK Docs](https://docs.bison.markets/sdks/introduction)\n\n```typescript\nimport { createBisonClient } from '@bison-markets/sdk-ts';\nimport { createWalletClient, createPublicClient, http, custom } from 'viem';\nimport { base } from 'viem/chains';\n\n// Create a client instance\nconst client = createBisonClient({\n  baseUrl: 'https://api.bison.markets',\n});\n\n// Create a wallet client for signing transactions\nconst walletClient = createWalletClient({\n  chain: base,\n  transport: custom(window.ethereum!),\n});\n\n// Create a public client for reading blockchain state\nconst publicClient = createPublicClient({\n  chain: base,\n  transport: http(),\n});\n\n// Deposit 100 USDC into the vault (100 * 10^6 µUSDC)\nconst txHash = await client.executeDepositFlow({\n  walletClient,\n  publicClient,\n  userAddress: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',\n  chain: 'base', // Addresses are auto-resolved from /info endpoint\n  amountUusdc: '100000000', // 100 USDC\n});\n\nconsole.log('Deposited! Transaction:', txHash);\n\n// Place a limit order for 10.5 contracts (1050 ccontracts) at $0.75\nawait client.placeOrder({\n  chain: 'base',\n  marketId: 'PRES-2024',\n  ccontracts: '1050', // 10.5 contracts * 100\n  priceUusdc: '750000',\n  action: 'buy',\n  side: 'yes',\n  userAddress: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',\n  signature: '0x...',\n  expiry: 1234567890,\n});\n\n// Start listening for account events\nconst disconnect = client.listen('0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', (event) => {\n  if (event.type === 'usdc_deposited') {\n    console.log('USDC deposit confirmed:', BigInt(event.uusdcAmount) / 1_000_000n, 'USDC');\n  } else if (event.type === 'order_filled') {\n    console.log('Order filled:', event.orderId);\n  }\n});\n\n// Clean up when done\ndisconnect();\n```\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Build\nnpm run build\n\n# Development mode (watch)\nnpm run dev\n\n# Generate API types from OpenAPI spec\nOPENAPI_URL=... npm run generate:openapi\n\n# Run tests\nnpm test\n\n# Run tests in watch mode\nnpm run test:watch\n\n# Lint and format\nnpm run lint\nnpm run format\n\n# Type check\nnpm run typecheck\n```\n","readmeFilename":"README.md"}