{"_id":"@derivexyz/derive-ts","_rev":"19-cfeb18592fd470b6c68f478c74d5c014","name":"@derivexyz/derive-ts","dist-tags":{"latest":"3.0.29"},"versions":{"3.0.4":{"name":"@derivexyz/derive-ts","version":"3.0.4","license":"MIT","_id":"@derivexyz/derive-ts@3.0.4","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"68b23a799188e09fcb7512b9e171c38212d86c6e","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.4.tgz","fileCount":37,"integrity":"sha512-i8R//0Hlpz6FmnyzJ/h2rkv8hREm0tujyJos8XxDHAZrZ15srG9bQuPeJZK9ZzkTC1HDYQjQOtuEgwIPaTRttw==","signatures":[{"sig":"MEQCIBEFNhHK4Jzw+NroJdJ0i3mcogzcTbHq+4Shuj2wEfejAiA7S75idFr59Lr8HQ8bflIwSkAxXI+jCXraThAM3H1qDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1327603},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"7a30b96bd1b5de7edad67dd507e93f25938555b8","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.0.1","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.4_1783926606017_0.5344953513465047","host":"s3://npm-registry-packages-npm-production"}},"3.0.5":{"name":"@derivexyz/derive-ts","version":"3.0.5","license":"MIT","_id":"@derivexyz/derive-ts@3.0.5","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"4841321e19577d26baf2fa080904cb51f668e487","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.5.tgz","fileCount":37,"integrity":"sha512-5f+BcffHD65uAuEfx3qerX782Lo1w8eTC5lcxqp77879uoMua+cJTkiFIE55foH4LQJunYR+rgpKaUbnGCinHQ==","signatures":[{"sig":"MEUCIQCvuCFxSory/Glza+An/lnkIRMakAIBlYLSv9ZwrGlOUQIgNNMlz+6XrAJVpuspZUI/jowxn8hi+EHYiZC5AimNp9k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1372853},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"92aa7d113928e53661de3684e3973a258d74c939","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.0.1","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.5_1784274253312_0.596868218049734","host":"s3://npm-registry-packages-npm-production"}},"3.0.6":{"name":"@derivexyz/derive-ts","version":"3.0.6","license":"MIT","_id":"@derivexyz/derive-ts@3.0.6","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"f4169ea6db28a0586fb528407d430dd3f413eaa0","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.6.tgz","fileCount":37,"integrity":"sha512-Jn0sdhPhwRxIBDGeVUmlo6e9pfu0L624AeLJXGcp8r3KbMdPKw4+LUk3yvx768N7uwbCg7CdCfc0wc8F+fM6bA==","signatures":[{"sig":"MEUCIC+8fUJVhj5XSc426W9A8RjwgMLmJMHlhg88m2QjuP5eAiEAvu3/5tuLO4vAAAOmOponWdQUtqKjObTJFDfbzNqN12s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1379723},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"d3097791fcdab00da787050f7170cfd09110034e","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.0.1","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.6_1784447934825_0.296398932591853","host":"s3://npm-registry-packages-npm-production"}},"3.0.7":{"name":"@derivexyz/derive-ts","version":"3.0.7","license":"MIT","_id":"@derivexyz/derive-ts@3.0.7","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"b910fe69a8149192790b0d313f0d7c8f8d86df85","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.7.tgz","fileCount":37,"integrity":"sha512-c+bIYTEy1UdDJwiMnBTv7Ivetl14/7y9rE2xQ3XO412tFabSuPFVWFS1EDFGVylHJyJAyUAY2aqLu0Ap2k8x9g==","signatures":[{"sig":"MEUCIQDkAvoPrCG0lUahjDj8TKx4MI8w/ldDaMGhtgLbw29odgIgOZaG+A0dWZtpK0Gqa0rZrZJ2u4V61gzj4zUqSejjZns=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1403445},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"a04acdc7651bc9c16dd1680ee1a40bbccd39e645","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.0.1","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.7_1784616822158_0.6118286521530392","host":"s3://npm-registry-packages-npm-production"}},"3.0.10":{"name":"@derivexyz/derive-ts","version":"3.0.10","license":"MIT","_id":"@derivexyz/derive-ts@3.0.10","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"e6487f5b038127093035ee35ba91a531ad21d4a5","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.10.tgz","fileCount":37,"integrity":"sha512-wLOqFvmXFPJKJplNXjRbtk/9eirKMuVUo9mdI/usVILsZ/49buAGfczWlz83dvpfU+NsG5eugomFCO6+epw6ZA==","signatures":[{"sig":"MEQCIDUYid1dyydWC22IpP0hJOzX5Qpr5A4AXdGt7n4tUYZqAiB6lULOE3D8/7RxmTBGtj7m+UcR+C+WO6I7pitHmAK5qg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1439035},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"c0d069abe79b1eabe10b64e53df44392eb5e1e77","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.10_1785531128035_0.1884254681432771","host":"s3://npm-registry-packages-npm-production"}},"3.0.11":{"name":"@derivexyz/derive-ts","version":"3.0.11","license":"MIT","_id":"@derivexyz/derive-ts@3.0.11","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"6a5740feeaaa94d34cd8ebceb07cc746caf660b1","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.11.tgz","fileCount":37,"integrity":"sha512-x+JmrbgZZv6IIIkDJDTmsoiObhvjtIMlWQG/SLn1USQ5FWbdQO0fjZJbInY/Pb4/GoviQSAyoREyJAZBi+TfUQ==","signatures":[{"sig":"MEQCICaf+1MraTTJ7vdWt7s1PbmRyLvZ4bqweUfqHluxQC4jAiBPVXMqcUnpGZTtA3yPhpMCPxi0VLkNfGNDs0+2NFMqTg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1439107},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"4c8933daea9e114bf317d3cfa1364f65fbaeb4fb","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.11_1785982097932_0.7078068848268375","host":"s3://npm-registry-packages-npm-production"}},"3.0.12":{"name":"@derivexyz/derive-ts","version":"3.0.12","license":"MIT","_id":"@derivexyz/derive-ts@3.0.12","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"b052ea40f954be55f8cd4faad0b171433fcf8885","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.12.tgz","fileCount":37,"integrity":"sha512-iSmYMiEK2uBiRaHYEDF5qqnZQvuHCmVLe/ODqWF6ycEu7ZGXqO2YKNA6iop/Yt4Hzxt4z2dk9UljYlHYl4by1w==","signatures":[{"sig":"MEUCIQC6Za1pUdIQ6xKiwx28WWGv1wt2eMkyVBIWee/bAhPs8wIgfvASpxuIyRR7wuE9iJsTnXJmAqtVJIH+idJCOuSQyXM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1437584},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"bc5deaa7e31d48db5aa10b43a1c5c3f54d7084a7","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.12_1786067193558_0.4791563936301113","host":"s3://npm-registry-packages-npm-production"}},"3.0.13":{"name":"@derivexyz/derive-ts","version":"3.0.13","license":"MIT","_id":"@derivexyz/derive-ts@3.0.13","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"6e14a91afcf6682ec0c365a7dd5dd1168fcc831f","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.13.tgz","fileCount":37,"integrity":"sha512-YGBtmE7TSwtbqn2S7ogzEv7+rW3zEBIElmdM/RCDKVcOcnDx3XIroS4LP0u1fZTH0kkuTLLgvKO9TwKSTp9ohg==","signatures":[{"sig":"MEQCICAt6ii+cVI9Eim8hxoF0IxJDPGuY+sy1qF45CAd/My0AiBmRWxbUEEPM3hBucX1elBcqosQ9kiMxnpYwF6ZkCjkkQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.13","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1438217},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"a58797b069c7f125c71e9a57963633580a5bfe04","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.13_1787708055984_0.5469194418036776","host":"s3://npm-registry-packages-npm-production"}},"3.0.20":{"name":"@derivexyz/derive-ts","version":"3.0.20","license":"MIT","_id":"@derivexyz/derive-ts@3.0.20","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"20ca3512b1da22d024d980882735e4b7ba5b17ec","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.20.tgz","fileCount":38,"integrity":"sha512-mbF4KPi+34zmoUxTUJkLZRCDS0FoNqtJ4ljmXSss17cPL/c1RDCNhiJ6pVXVhiWl80MUM6RQq45UNFo5la3Eww==","signatures":[{"sig":"MEUCIQDp7I3cfvq6Iv3sAbKp6KhgU6n7EdTlu2fpxvZusM/N2wIgJpIR542ok6NgT/5p0OKwahgoG1doOLCeTpxv/alSe88=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHSFrbgJuvMm3Q/v4C5VPRU7e/MqRSHAO4mIDCRtzYIjAiBpLPW5djf/N3cdyrzom7VIfcrnwA7n/2DKNNkEib8iUA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.20","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1585358},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"b2a3b46fc0427b2c3bfacbdb78d3f94b6e683006","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.20_1789685544114_0.5279721757307787","host":"s3://npm-registry-packages-npm-production"}},"3.0.21":{"name":"@derivexyz/derive-ts","version":"3.0.21","license":"MIT","_id":"@derivexyz/derive-ts@3.0.21","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"5b6a73b725f298bf15fbc4a20d9e9d8df898d892","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.21.tgz","fileCount":38,"integrity":"sha512-N5sx+7xeTCJKbdfLcacazGguNwWM9nj/UaWVE1f/XpGY76TxsoGP6MunYYCCmQ9c2rAf9FtBbZ611VmjAcgx7g==","signatures":[{"sig":"MEYCIQD165BHVRDlCbSCwZpWaPPRTnkRPf1BtPkWIbreABtUyAIhAKmGIQojwR4DmSz142KgUV+t8giWVLU7/dnp4hFcxKFc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIC4LCUZapDpAi0YxY99YZ5JfIxo/bzYxIO+nsUWeKc5lAiEAj/bdITd4ZINMmQJZrLeklLxndUcRPHoMeGll/QVH8a0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.21","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1582152},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"7b7ad4dd8d308ff3be36e39ef1b983481935bead","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.21_1789701501549_0.1366925433075996","host":"s3://npm-registry-packages-npm-production"}},"3.0.22":{"name":"@derivexyz/derive-ts","version":"3.0.22","license":"MIT","_id":"@derivexyz/derive-ts@3.0.22","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"6ab01b41731aefe1f90c9341cd1ec7bf60c8b507","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.22.tgz","fileCount":38,"integrity":"sha512-Wz8F0w92ZZ6AQ6gdMkl0GqyCiDTfpNQ/A469xks/qr3Dj5f4iibRwvuseOhaY44NQGpBCtoy//u1TGuIKnB+lA==","signatures":[{"sig":"MEUCIGlJo0QvMABjTOEoBwtdq5wgkreB+7AuNHrGJ/m8gT9NAiEA449FoOn4IVytuSmI1Fx438IWugJ5Zn1eUbBO/EqfGcs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDMDtaTaF4Dp1+EzszwPG1AD9bDAg8N7+5EgKWpGEgwIQIgYUKqizmJSOIjep6cvf0u8/cFKZhMqwMJUpJxmptuxXk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.22","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1582190},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"88fd4ab00f890a37b253ca08da6e6e3ea6d7b69b","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.22_1789975799365_0.22547790907901022","host":"s3://npm-registry-packages-npm-production"}},"3.0.24":{"name":"@derivexyz/derive-ts","version":"3.0.24","license":"MIT","_id":"@derivexyz/derive-ts@3.0.24","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"c5449ce1bd40c4b42ad5cee7755d238892231fdd","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.24.tgz","fileCount":38,"integrity":"sha512-RZbidgc17/2Bqj6gkNYClIiGq3NQxc2szlCEVCD9RRL+kF251iJbJflPj42uGyaOkKBGfSbCzLRn0KAJmA8hdw==","signatures":[{"sig":"MEUCIQDcjX34VM9O/TWJkcDGg4kr/chXxgAahVF5ZtOlhxT+3AIgLqtPpJaHz7oeVaSVBjTumSdRlnDYIWzfB6XKY0eTVoE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIB0X+tnWzaxjraZK1FMHOR+iSRQWY9YJ0CBJo5TUDyD8AiEA0Yn4WQL/HYt019c5A08icetrX1JjCjWOGvIx+FXzM4s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.24","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1601670},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"db58bc6a0be90b12690c6f1aadf4151a67ddea8d","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.1.0","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.24_1790219027041_0.014589283237008033","host":"s3://npm-registry-packages-npm-production"}},"3.0.25":{"name":"@derivexyz/derive-ts","version":"3.0.25","license":"MIT","_id":"@derivexyz/derive-ts@3.0.25","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"homepage":"https://github.com/derivexyz/derive-ts#readme","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"67867c010264cd902ca3e41c27dcdf44b36ac3bb","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.25.tgz","fileCount":38,"integrity":"sha512-lUaemRIqR9WItHi2pGRWRdfTe4I3hP2CSIxmttRxgL/cyvNk2kt2ALK86EKdenlZVAeZ4iVyLBjJGoWNjWjgVg==","signatures":[{"sig":"MEUCIGjmB+lb0VShh1erAsFRbpGRIxvjgDUcZV7W2Hfr3refAiEA4XD5ceRlQHzE0uQce1j8ZLjJR/NIqL974rQv5gEfBGI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDgcZxAmgCAoXtdurJUez52rt4uMovFL7PNf+lvP+IeaQIhAKUjK91F0fpJvNbQ42O0ICJ9Bm4qr9JJ8HucZ4UWdStV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.25","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1607378},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"f50c7fabc0153004b57478d2bc67f5d06983c224","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.1.0","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/derive-ts_3.0.25_1790222789491_0.705961719988506","host":"s3://npm-registry-packages-npm-production"}},"3.0.29":{"_id":"@derivexyz/derive-ts@3.0.29","bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"dist":{"shasum":"69c8558d8a8639a2e17ad3b4dba259e80d15d4e0","tarball":"https://registry.npmjs.org/@derivexyz/derive-ts/-/derive-ts-3.0.29.tgz","fileCount":38,"integrity":"sha512-pyY5KGa9aZux+iTBfJ8ssOfeaPlWK24JElRUi0y+/vDEB7cyyu8FIi7/tUkIGwH2zRN5f+OqzIKZGJetPpSCCg==","signatures":[{"sig":"MEYCIQD2ME/WzO8Z3NP1eHSJl0s6DuwJgLjMMCqRCS1UlbbOjAIhAJ/HRzo3IbffAAjRyrmnYplcEUX+cqKPejoRpCsOq8Fz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDflZ06AC6LLliI/li/MuPzRkowEDhXOS02LAzDKEQeIAiBD4dmqR/aXZ7wqnIvrL/MQKXc/u2Exr4vYXG33WbcjFQ=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derivexyz%2fderive-ts@3.0.29","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1653910},"main":"./dist/index.cjs","name":"@derivexyz/derive-ts","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./codecs":{"types":"./dist/codecs/index.d.ts","import":"./dist/codecs/index.js","require":"./dist/codecs/index.cjs"},"./types/endpoints":{"types":"./dist/types/endpoints.d.ts","import":"./dist/types/endpoints.js","require":"./dist/types/endpoints.cjs"}},"gitHead":"04d8280e5b4cf4c57dd111daec55cb0c37126fb0","license":"MIT","scripts":{"test":"vitest run test/unit","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run test/integration --no-file-parallelism"},"version":"3.0.29","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"1c2d0f71-7d20-4d3b-8733-cebfd6f70e33"}},"homepage":"https://github.com/derivexyz/derive-ts#readme","repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"_npmVersion":"12.2.0","description":"TypeScript SDK for the Derive v3 exchange API","directories":{},"maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"sideEffects":false,"_nodeVersion":"22.23.3","dependencies":{"ws":"^8.18.0","ethers":"^6.13.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","vitest":"^2.0.0","@types/ws":"^8.5.10","typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/derive-ts_3.0.29_1790912667992_0.40297129325960457"}}},"time":{"created":"2026-07-13T05:54:04.201Z","modified":"2026-10-02T03:44:28.425Z","3.0.0":"2026-07-13T00:42:58.462Z","3.0.1":"2026-07-13T05:54:04.469Z","3.0.4":"2026-07-13T07:10:06.170Z","3.0.5":"2026-07-17T07:44:13.484Z","3.0.6":"2026-07-19T07:58:54.993Z","3.0.7":"2026-07-21T06:53:42.300Z","3.0.10":"2026-07-31T20:52:08.313Z","3.0.11":"2026-08-06T02:08:18.116Z","3.0.12":"2026-08-07T01:46:33.752Z","3.0.13":"2026-08-26T01:34:16.131Z","3.0.20":"2026-09-17T22:52:24.220Z","3.0.21":"2026-09-18T03:18:21.671Z","3.0.22":"2026-09-21T07:29:59.464Z","3.0.24":"2026-09-24T03:03:47.139Z","3.0.25":"2026-09-24T04:06:29.574Z","3.0.29":"2026-10-02T03:44:28.088Z"},"bugs":{"url":"https://github.com/derivexyz/derive-ts/issues"},"license":"MIT","homepage":"https://github.com/derivexyz/derive-ts#readme","repository":{"url":"git+https://github.com/derivexyz/derive-ts.git","type":"git"},"description":"TypeScript SDK for the Derive v3 exchange API","maintainers":[{"name":"joshpwrk","email":"joshua@derivelabs.xyz"}],"readme":"# @derivexyz/derive-ts\n\n[![npm version](https://img.shields.io/npm/v/@derivexyz/derive-ts)](https://www.npmjs.com/package/@derivexyz/derive-ts)\n[![CI](https://github.com/derivexyz/derive-ts/actions/workflows/ci.yml/badge.svg)](https://github.com/derivexyz/derive-ts/actions/workflows/ci.yml)\n[![license](https://img.shields.io/npm/l/@derivexyz/derive-ts)](./LICENSE)\n\nTypeScript SDK for the [Derive](https://derive.xyz) v3 exchange API — a typed\nclient for market data, orders, RFQs, transfers, withdrawals, deposits, vaults,\nsession keys, and websocket subscriptions.\n\nFor more detailed docs see the [Derive v3 API reference](https://docs.derive.xyz/).\n\n## Install\n\n```bash\nnpm install @derivexyz/derive-ts ethers ws\n```\n\n## Quickstart\n\n```ts\nimport { DeriveClient } from '@derivexyz/derive-ts';\n\nconst client = new DeriveClient({\n  network: 'testnet', // 'mainnet' | 'testnet' | 'local'\n  wallet: process.env.PRIVATE_KEY, // account owner key (or an ethers Wallet)\n});\n\n// Public data needs no auth:\nconst ticker = await client.marketData.getTicker('ETH-PERP');\nconsole.log('ETH index price', ticker.I);\n\n// Private calls sign automatically. Open the websocket and log in first:\nawait client.connect();\nconst subaccountIds = await client.login();\n\nawait client.orders.place({\n  subaccountId: subaccountIds[0],\n  instrumentName: 'ETH-PERP',\n  direction: 'buy',\n  amount: '0.1',\n  limitPrice: '1000', // rests below market\n});\n\nawait client.close();\n```\n\n## Authentication & session keys\n\nLogin and per-request auth use an **EIP-191** signature over a millisecond\ntimestamp. Trading/transfer/withdrawal actions are separately **EIP-712** signed.\nBoth are handled for you — you only provide a signing key.\n\nFor bots and frontends, do **not** ship the account owner key. Register a scoped\n**session key** once (signed by the owner), then run with only that key:\n\n```ts\nimport { DeriveClient, ProtocolScopeCode } from '@derivexyz/derive-ts';\nimport { Wallet } from 'ethers';\n\nconst sessionKey = Wallet.createRandom();\nconst owner = new DeriveClient({ network: 'testnet', wallet: process.env.PRIVATE_KEY });\nawait owner.connect();\nawait owner.login();\nawait owner.sessionKeys.set({\n  publicSessionKey: sessionKey,\n  expirySec: Math.floor(Date.now() / 1000) + 7 * 24 * 3600,\n  protocolScopes: [ProtocolScopeCode.Trade], // least privilege — never Admin for a bot\n  ipWhitelist: ['203.0.113.7'],\n});\n\n// Later, in the bot, with only the session key:\nconst bot = new DeriveClient({\n  network: 'testnet',\n  sessionKey: sessionKey.privateKey,\n  ownerAddress: await (new Wallet(process.env.PRIVATE_KEY!)).getAddress(),\n});\n```\n\nSession keys expire at their signed `expirySec` and cannot be revoked via the\nAPI — set a sensible expiry. `sessionKeys.edit` changes only off-chain\nattributes (label, IP allowlist).\n\n## API surface\n\n`DeriveClient` exposes namespaced sub-APIs:\n\n| Namespace | What it does |\n|---|---|\n| `client.marketData` | instruments, tickers, currencies (public, no auth) |\n| `client.subaccounts` | portfolio, positions, margin, trade history |\n| `client.orders` | place / cancel / query orders |\n| `client.rfq` | RFQ taker (request → quote → execute) and maker (quote) flows |\n| `client.spotTransfers` | `transferInternal` (own subaccounts), `transferExternal` (other wallets), `updateWhitelistedRecipients` |\n| `client.positionTransfers` | RFQ-backed `transferPositions` between subaccounts owned by the same wallet |\n| `client.withdrawals` | signed L1 withdrawals |\n| `client.deposits` | `contractCall.*` (self-custody on-chain) and `depositAddress.*` (CEX-style) |\n| `client.vaults` | public reads + `vaults.shareholder.*` and `vaults.curator.*` |\n| `client.sessionKeys` | create / list / edit session keys |\n| `client.subscriptions` | websocket channels (callback or async-iterator) |\n\nAnything not wrapped is reachable, fully typed, via `client.send(method, params)`.\n\n### Type-only usage (stubs)\n\nIf you only want the endpoint type stubs — the request/response shape of every\npublic RPC method, with no runtime client — import them from the `types/endpoints`\nsubpath. They're generated from the exchange's canonical API spec, so they stay in\nlockstep with the live surface; nothing here pulls in `ethers`, `ws`, or any runtime.\n\n```ts\nimport type { EndpointMap, ParamsOf, ResultFor } from '@derivexyz/derive-ts/types/endpoints';\n\ntype PlaceParams = ParamsOf<'private/order'>;\ntype Ticker = ResultFor<'public/get_ticker'>;\n// or reach into the map structurally:\ntype PlaceParamsStructural = EndpointMap['private/order']['request']['params'];\n```\n\nUseful for codegen, tooling, or typing a hand-rolled client. `EndpointMap` is keyed by\nmethod string; each entry is `{ request, response }`, where `response` is the\n`{ result } | { error }` JSON-RPC union — use `ResultFor<M>` to pull out the success\npayload.\n\n### Subscriptions\n\n```ts\nimport { channel } from '@derivexyz/derive-ts';\n\nawait client.connect();\nconst book = channel('orderbook.{instrument_name}.{group}.{depth}', {\n  instrument_name: 'ETH-PERP',\n  group: '1',\n  depth: '10',\n});\n\nconst sub = await client.subscriptions.subscribe(book, (data) => console.log(data));\n// ...later\nawait sub.unsubscribe();\n\n// Or as an async iterator:\nfor await (const update of client.subscriptions.stream(channel('trades.{instrument_name}', { instrument_name: 'ETH-PERP' }))) {\n  console.log(update);\n}\n```\n\n## Value conventions (read this before signing)\n\n- **Prices, amounts, and fees** are passed as decimal strings/numbers (e.g.\n  `'1500.5'`). On the wire the SDK sends decimal strings; inside signed action\n  data it scales them to 1e18. The protocol runs at 1e12 precision and *rejects*\n  (does not truncate) values with more than 12 decimal places.\n- **Withdrawal amounts** are the one exception — they are in the ERC-20's\n  **native decimals** (e.g. USDC has 6), because they are the L1 payout value.\n- **Withdrawals always pay out to the signer.** If a session key signs a\n  withdrawal, funds go to the session key's address, not the owner's.\n- **Deposits are two distinct flows, chosen explicitly:**\n  - `deposits.depositAddress.register(...)` returns a deterministic address; send\n    funds to it from anywhere and the exchange sweeps and credits them.\n  - `deposits.contractCall.*` builds the on-chain approve + ActionManager\n    transaction from an ethers `Signer` you provide.\n\n## Examples\n\nRunnable, heavily commented walkthroughs live in [`examples/`](./examples):\n\n```bash\nDERIVE_NETWORK=testnet PRIVATE_KEY=0x... npx tsx examples/01-deposit.ts\n```\n\nOrdered by the v3 onboarding flow — your first **deposit creates your account**,\nthen **session keys**, then the rest: `01-deposit`, `02-session-keys`,\n`03-market-data`, `04-subscribe`, `05-place-order`, `06-rfq-taker`,\n`07-rfq-maker`, `08-transfers`, `09-withdraw`, `10-vaults`,\n`11-position-transfers`.\n\n## Networks & signing params\n\nThe EIP-712 domain separator is computed from the network's chain id and the\nprotocol's constant `Matching` verifying contract; the action typehash is a\nprotocol constant. You normally just pass `network: 'mainnet' | 'testnet' |\n'local'`. To point at a custom deployment, pass a full `NetworkConfig`.\n\n> **Security note:** auth headers are named `X-Derive*` on the wire. Keep your\n> private keys in a secret manager; the SDK never logs key material.\n\n## License\n\nMIT — see [LICENSE](./LICENSE).\n","readmeFilename":"README.md"}