{"_id":"@blockstream/anyswap-sdk","_rev":"17-18ede2671acdad965e3ddf9a580ff06b","name":"@blockstream/anyswap-sdk","dist-tags":{"latest":"1.2.0","rc":"1.2.0-rc.2"},"versions":{"0.1.1":{"name":"@blockstream/anyswap-sdk","version":"0.1.1","_id":"@blockstream/anyswap-sdk@0.1.1","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"5ebff19748e1215bcef106a09b321c2b52fdfde5","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-0.1.1.tgz","fileCount":14,"integrity":"sha512-4poTW5OA3eqp+mJt5vpG4c6Ahm1A99ABG5ldH3V7E1nmRWy5vQ9awx5vDXAWctOfH1t21QjJNO0HUcJVccRM2Q==","signatures":[{"sig":"MEUCIEAWC4bm9P+j2AiUn28QFfORUGdIt3Ack3HyvrMoEBisAiEAxMDrj1vNG0qsnZio6vAYxvlM/ryazU+i/g+lNhNQfzU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110406},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"256bb387856773448d3a2a0e5c207c1dfcc25c96","scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"openapi-typescript spec/openapi.yaml -o src/generated/api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:swap-in":"tsx examples/btc-swap-in.ts","example:swap-out":"tsx examples/btc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"^0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^9.0.0","vitest":"^3.0.0","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","openapi-typescript":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_0.1.1_1776798915611_0.529808910364272","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@blockstream/anyswap-sdk","version":"0.2.0","_id":"@blockstream/anyswap-sdk@0.2.0","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"f6a7beecf93fb04f42548d76a137e5b943b11a32","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-0.2.0.tgz","fileCount":26,"integrity":"sha512-nfy1xKqd9w6DXZXr9Yhp9wxNehasuSQuGmnrkqZMtpwBWvubxhUveAr7eIUHmG73bDItRbCGsVi1C/66qS5rJg==","signatures":[{"sig":"MEUCID8xlQ5HrfuV7ckcPxWOvdUv2eeNDy3gmcQt90X/Nz/iAiEA/y3OPDTUYBFtBmD/Gi05I4xeb/ufpTzObiQ4OEbQKpE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":120661},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"5d3179cc1756c81e8c681347dff1bb9584f745d6","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"openapi-typescript spec/openapi.yaml -o src/generated/api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:swap-in":"tsx examples/btc-swap-in.ts","example:swap-out":"tsx examples/btc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^9.0.0","vitest":"^3.0.0","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","openapi-typescript":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_0.2.0_1776877987074_0.12077541243088463","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@blockstream/anyswap-sdk","version":"0.3.0","_id":"@blockstream/anyswap-sdk@0.3.0","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"8c7865c32eb05e093b28a96ac292f194eb2124ac","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-0.3.0.tgz","fileCount":26,"integrity":"sha512-XBtBDmjNL+Xk0eV0K9J5l/+3bdpH0CeSt/cPfLOXpQ+KCwsDvvS3jUHB9cR4Y6heLqCiRSWOlUY6uIEF71CO0A==","signatures":[{"sig":"MEUCIAEeJdFM2jvNqDa2iq1LzWBiRAn9U99EmyFREIeawzjjAiEAqW+vyHEVQ/bnu+xKOHEvvFDqcpO+gUBKGlxNK8blbkk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":255402},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"d50da238fb5009c2ee4d388dbd538d821a23f91a","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.swagger.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:swap-in":"tsx examples/btc-swap-in.ts","example:swap-out":"tsx examples/btc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^9.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_0.3.0_1777376964953_0.452012466649534","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@blockstream/anyswap-sdk","version":"0.3.1","_id":"@blockstream/anyswap-sdk@0.3.1","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"38cff52b1fe9ff076fddee15a28702f157b1ca35","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-0.3.1.tgz","fileCount":26,"integrity":"sha512-q1X1ARLYONTFQbbyB5Mi2EwM6hKpMGLgoYL8mGJqpi4Vnc+fOHP/PpuyoseoecN82ebPoSi1fd/cdxQXDc+jRw==","signatures":[{"sig":"MEQCHwp+lqHLr7dLj9K1mgCQwLPvgsHYpDoYD1PFK3qDA3ECIQD8NXGy02PumPJetBXKYHX3PkgizedErP2RKqs6RcL/Cw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":254223},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"3c1d203398be7cdb9d35a85c1bf4c6a6e9494e1c","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.swagger.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:swap-in":"tsx examples/btc-swap-in.ts","example:swap-out":"tsx examples/btc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"0.3.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^9.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_0.3.1_1777892462693_0.13540813714295985","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.1":{"name":"@blockstream/anyswap-sdk","version":"1.0.0-rc.1","_id":"@blockstream/anyswap-sdk@1.0.0-rc.1","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"c107c1e3f1d0a26480f61be279ef19c615f8a825","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.0.0-rc.1.tgz","fileCount":26,"integrity":"sha512-LjvDoYwayTCHVRoUtPJobAQBJkH1j7R3xpEMZveKCjIdUQTJ51bQumL6fdAX6k2zeAf1rGmkYPnqiobqCn2TFw==","signatures":[{"sig":"MEYCIQDSirp61mz60bDXScso5lVpDr06jBtsLve3TAIscn9YZAIhAN5SyUBjLDOQVeXbK+pz/XLZdXQ2CmBS1OvxxJqMxEWG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":328969},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"fcc6cc90e9334d3a4ec9a1066bae787eb7301b8b","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:swap-in":"tsx examples/btc-swap-in.ts","example:swap-out":"tsx examples/btc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@noble/secp256k1":"3.1.0","@blockstream/anyswap-wasm":"1.0.0-rc.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_1.0.0-rc.1_1782917808064_0.7798759816676644","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.2":{"name":"@blockstream/anyswap-sdk","version":"1.0.0-rc.2","_id":"@blockstream/anyswap-sdk@1.0.0-rc.2","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"563635b815343bff89f99ef2847319d89d6e4fcc","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.0.0-rc.2.tgz","fileCount":26,"integrity":"sha512-RbtKj6uhp47RmM/UyME38hoeFeIb18duHMMc9qiwCgJ9jL+fSqsY7AokCRxTHlARbDw/Sl8/fZOMzZ6oKULmYA==","signatures":[{"sig":"MEUCIE8HwJiNVeRKcb3nV2LLbiG3suJI+Jmy5eLRtTzPR2HCAiEA3tXfnK6Ec0xMfffd+5k/AIzJiFMk94yDn6gZl1ggsYs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":342056},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"9a6f866c09f036d1c06ece116a596facffd0db1c","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:swap-in":"tsx examples/btc-swap-in.ts","example:swap-out":"tsx examples/btc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@noble/secp256k1":"3.1.0","@blockstream/anyswap-wasm":"1.0.0-rc.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_1.0.0-rc.2_1784046345818_0.3529429847194001","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.3":{"name":"@blockstream/anyswap-sdk","version":"1.0.0-rc.3","_id":"@blockstream/anyswap-sdk@1.0.0-rc.3","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"54816450fb16a306665176698933d4ada59b1dae","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.0.0-rc.3.tgz","fileCount":26,"integrity":"sha512-JSllGfrmEBAjxJlq0mi05Tg4W9SVGDrpcp/0XPE7CKgMmZUTZ1Xh3SoeA0yd8wabzfP2Odpp0n0m9GmH+ZE3Yg==","signatures":[{"sig":"MEUCIEuMEROmMmjUL+EiRUnFdWeaD65ZnwHbSjEpTSCfWYKrAiEAg65JwyXjK6c9CDaJ5HA6qfeo4luPzdjEIQfR66Ll4Uw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":354976},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"40478b947ae7a34344495d21d1b80d4831bde509","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:swap-in":"tsx examples/btc-swap-in.ts","example:swap-out":"tsx examples/btc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"1.0.0-rc.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","@noble/secp256k1":"3.1.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_1.0.0-rc.3_1784279210622_0.8530772415414609","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.4":{"name":"@blockstream/anyswap-sdk","version":"1.0.0-rc.4","_id":"@blockstream/anyswap-sdk@1.0.0-rc.4","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"b35d9fcef1727234b4b32cbd8ef61453e5c70615","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.0.0-rc.4.tgz","fileCount":26,"integrity":"sha512-2rNhg9wL/UXj7Uqxtxwf3WxH69zlnlamR1OwG81NLnfzpudEpqPNMYEP6ScPfXG4e2L+nOVrFxoV1yOeXGE+bg==","signatures":[{"sig":"MEYCIQCQKZSwacoLMMXK1fnPqZP4KiWCt/142u4XKh6oM381+gIhAPnms8//bop8raD+8Dkk6VwzTDpG+1dohftK0e2bcKOZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":360270},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"9d8cfe947897423afe5dbd57237f444ed1838c86","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:swap-in":"tsx examples/btc-swap-in.ts","example:swap-out":"tsx examples/btc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"1.0.0-rc.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","@noble/secp256k1":"3.1.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_1.0.0-rc.4_1785168576882_0.19732459923328127","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.5":{"name":"@blockstream/anyswap-sdk","version":"1.0.0-rc.5","_id":"@blockstream/anyswap-sdk@1.0.0-rc.5","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"cca7540fe126f50df6aec74c99025ae5bce6448e","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.0.0-rc.5.tgz","fileCount":26,"integrity":"sha512-Io+oUJI2lFp20c4XhZ1eLMoGcyhLICVW5ZWghL8AZ0N1RUuMBt6/2Dz98FXiR8ibPIPMapL0UHEqPNGki4WAKg==","signatures":[{"sig":"MEQCIFkHjyhbZXOLSKsTluFioUKwWEHnJHXGFu/CwaUp34wRAiBrBdvdRci2/AP4TYe+21jBSs/aXSG0H8oRbrXHKlskqg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":378131},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"409adfd30207b21436753b1d24b2cd97b0b759aa","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:swap-in":"tsx examples/btc-swap-in.ts","example:swap-out":"tsx examples/btc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"1.0.0-rc.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","@noble/secp256k1":"3.1.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_1.0.0-rc.5_1785352851347_0.1708030963775673","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.6":{"name":"@blockstream/anyswap-sdk","version":"1.0.0-rc.6","_id":"@blockstream/anyswap-sdk@1.0.0-rc.6","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"391d1b16cf82ab4bb0715d7fe3f5429ccb5c5575","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.0.0-rc.6.tgz","fileCount":26,"integrity":"sha512-IJR5fEl1j3219f+nGmq7aBFzzS/8QDpUgtH8z90EDAN3Fo7HwQd8ZJJQBIHWFtgrhbT4nBrbnY/61VagylwvoQ==","signatures":[{"sig":"MEYCIQD27tngUw7ZJFPqzfaVil826n2RHHJu5yOPQ7uvOVVWsQIhAMeEABPrWK4jeLjdEy0CQA12Y5o332yH88IRA5VQr/9r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":378131},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"ac6de7aa61fa490e53d4c4033eacc02ca478fd78","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:swap-in":"tsx examples/btc-swap-in.ts","example:swap-out":"tsx examples/btc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"1.0.0-rc.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","@noble/secp256k1":"3.1.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_1.0.0-rc.6_1785856938575_0.7715367884386732","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@blockstream/anyswap-sdk","version":"1.0.0","_id":"@blockstream/anyswap-sdk@1.0.0","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"ced61eb0a06796741cbf1d5c6b8e029ec849a837","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.0.0.tgz","fileCount":26,"integrity":"sha512-zTVDICCQsJfHR+tcbxDK/ZDuE6SguRF6CovwnqgiYI4GNDpGbBQ2Nu21QEJ9+pb5efWAdpSAA+nW8AIxx175Jg==","signatures":[{"sig":"MEYCIQDXvPVnGHyMC8Y0696nB06F4Gpwn8u9O6iLskVB5NCOdQIhANJeVSygX5xKOq12+1nuLxI7fV8ZRNgWBV9g2/E9plno","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":378106},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"abab3992f9095f7047d7d62b73a17355869c43b6","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:swap-in":"tsx examples/btc-swap-in.ts","example:swap-out":"tsx examples/btc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"1.0.0-rc.6"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","@noble/secp256k1":"3.1.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_1.0.0_1785867244662_0.35497171767554603","host":"s3://npm-registry-packages-npm-production"}},"1.1.0-rc.1":{"name":"@blockstream/anyswap-sdk","version":"1.1.0-rc.1","_id":"@blockstream/anyswap-sdk@1.1.0-rc.1","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"6089f59c96be0b4a47b15728fcb7f79f816ca914","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.1.0-rc.1.tgz","fileCount":30,"integrity":"sha512-VntP1ywOItD7stDX9Xit7HSrhU26gtQ8UxzJVL2ew9zVQz5rUlPE2FcZq7NY3dVVgWdg5Kdx0oMbQZtmfpHjcg==","signatures":[{"sig":"MEUCIQDbSfhQ5xqhMELCukIgrziaagNez+C2try1zsF6Kp5/vgIgUW6hIn7ncTSSRWtLnjA0KKKuo+wr3roY5YwLrpKGnP0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":464161},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"89136f8c31b574c352bdfaf9943e4a2cab12cb1e","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:btc-swap-in":"tsx examples/btc-swap-in.ts","example:btc-swap-out":"tsx examples/btc-swap-out.ts","example:lbtc-swap-in":"tsx examples/lbtc-swap-in.ts","example:lbtc-swap-out":"tsx examples/lbtc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"1.1.0-rc.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","@noble/secp256k1":"3.1.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_1.1.0-rc.1_1786705246360_0.5833432233241285","host":"s3://npm-registry-packages-npm-production"}},"1.1.0-rc.2":{"name":"@blockstream/anyswap-sdk","version":"1.1.0-rc.2","_id":"@blockstream/anyswap-sdk@1.1.0-rc.2","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"bdee86951f5e4d03999e44e8f6857fab2828143d","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.1.0-rc.2.tgz","fileCount":30,"integrity":"sha512-kAgKBsxUIp4nCVJcCs3vkSDS03hnVDNtQG5+97+b05FjfQYHFEfoVWWNJc5umExb6VPfXKAFmf0lxs+oI7aBdg==","signatures":[{"sig":"MEUCIQDNbybM+vav3N/p1VTumk0HqE6DaFJ9W6ZPurTlxkoAXwIgIIfvswJqSkaZnvnj0byrGQpF4MQqdqgW/Fmsf+6cAOg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":468475},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"a836c15a998f2fe6c6ce0e4e5264ebc4af9dfbbc","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:btc-swap-in":"tsx examples/btc-swap-in.ts","example:btc-swap-out":"tsx examples/btc-swap-out.ts","example:lbtc-swap-in":"tsx examples/lbtc-swap-in.ts","example:lbtc-swap-out":"tsx examples/lbtc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"1.1.0-rc.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","@noble/secp256k1":"3.1.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_1.1.0-rc.2_1787582531668_0.05460784872268465","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@blockstream/anyswap-sdk","version":"1.1.0","_id":"@blockstream/anyswap-sdk@1.1.0","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"cd55a9684c26c5fa42b5529956fc8e8b2647ae1c","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.1.0.tgz","fileCount":30,"integrity":"sha512-awfVcz/wt6RXT/7XyMvy+RvfU8WrRBG+FL0stjfoyBFcSQYB1VNEuF9lKyB6z3gTmqMw8kmfzo3aKL6dL4rSuQ==","signatures":[{"sig":"MEUCIQCqhCrX5ARjNp4xQEDxdnnQVQSH6nQiIuEr+Sn66v7JhgIgJVUsp1XwyFLZmevBn0mZxv+DLI2vvXp3OJS7x9GEqw4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":473567},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"adebcfedefef2b045239d2109a58f66ccd5983ad","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:btc-swap-in":"tsx examples/btc-swap-in.ts","example:btc-swap-out":"tsx examples/btc-swap-out.ts","example:lbtc-swap-in":"tsx examples/lbtc-swap-in.ts","example:lbtc-swap-out":"tsx examples/lbtc-swap-out.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","@noble/secp256k1":"3.1.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_1.1.0_1787840296866_0.38815243207669226","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-rc.1":{"name":"@blockstream/anyswap-sdk","version":"1.2.0-rc.1","_id":"@blockstream/anyswap-sdk@1.2.0-rc.1","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"a050f1c353a6a0fad0894605707c1e1daf592435","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.2.0-rc.1.tgz","fileCount":30,"integrity":"sha512-X3rMQugxcanH63I/qxFdirf6S7jDiUV96HUp+ixzqdSEGMYnDACRKanGWr4h9KOtCF8PKyJbLge4jagcq33P0A==","signatures":[{"sig":"MEUCIBObHtjo2CcX9BTYFRnt//3GXPnahTFUpH85BYlmRgqwAiEAlNlOtrfOqdXc/PT92ta6+HXahghDMcnE2mY8ZU47g9Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":585989},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"9edb88217fcb74faaea31481e03063444c7bd804","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit && tsc -p tsconfig.examples.json","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:btc-swap-in":"tsx examples/btc-swap-in.ts","example:btc-swap-out":"tsx examples/btc-swap-out.ts","example:driver-swaps":"tsx examples/driver-swaps.ts","example:lbtc-swap-in":"tsx examples/lbtc-swap-in.ts","example:lbtc-swap-out":"tsx examples/lbtc-swap-out.ts","example:driver-advance":"tsx examples/driver-advance.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"1.2.0-rc.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","@noble/secp256k1":"3.1.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_1.2.0-rc.1_1788943626396_0.6471910620443226","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-rc.2":{"name":"@blockstream/anyswap-sdk","version":"1.2.0-rc.2","_id":"@blockstream/anyswap-sdk@1.2.0-rc.2","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"dist":{"shasum":"c7ac2c61dc74e2e08b21bcd13e3dd9e1deef81f9","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.2.0-rc.2.tgz","fileCount":30,"integrity":"sha512-rjgxrJByYb4SF8DsNVLIOqsF8ru10hVlythilqqPm0j1sIHCogHG0Nck66cFaFUrGahTm9/YzwqvUeeSKGfUTw==","signatures":[{"sig":"MEUCIQDD8mDS0XPsNTG64aPWz8ccHetROr8fU/p3s89fN0MJggIgGpStkqP+TZhi9nsSG5wJMKfz2hz4Qkjxs6bM38e4DHc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":585989},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"fc4212d572dbf3db4e3709eca5de3c6da9e8f12c","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit && tsc -p tsconfig.examples.json","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:btc-swap-in":"tsx examples/btc-swap-in.ts","example:btc-swap-out":"tsx examples/btc-swap-out.ts","example:driver-swaps":"tsx examples/driver-swaps.ts","example:lbtc-swap-in":"tsx examples/lbtc-swap-in.ts","example:lbtc-swap-out":"tsx examples/lbtc-swap-out.ts","example:driver-advance":"tsx examples/driver-advance.ts"},"_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"1.2.0-rc.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","@noble/secp256k1":"3.1.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/anyswap-sdk_1.2.0-rc.2_1788970626300_0.6009150845488682","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"_id":"@blockstream/anyswap-sdk@1.2.0","dist":{"shasum":"04684358fc70cbab553529573e7f3bb99e62de8d","tarball":"https://registry.npmjs.org/@blockstream/anyswap-sdk/-/anyswap-sdk-1.2.0.tgz","fileCount":30,"integrity":"sha512-yU0DMF1qOldGL0xNkCUgnfwnI//2b7fEDSFv7ZYgpOBaREL7crzkntoFzjhdFPPYb0dRm9rmYoDt9jhH3JVySg==","signatures":[{"sig":"MEUCIG2MG9GrwfP4ZwilVa3bplyW9Aznvn0VaS4hKnZE8eRFAiEAvTraYtzHKUScki5sVWf11i+M1TbT+0SkKeYsuaE4vAk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD0pSW3LgoZmE+/z5EL9iPcG/JkFnYCgoxxq6+qZRFEjAIhAIh7Wh/wjYBoGqWivrYIDKHc06hNEkxt98ZpEJx7HZEX"}],"unpackedSize":584079},"main":"./dist/index.cjs","name":"@blockstream/anyswap-sdk","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./esplora":{"types":"./dist/esplora.d.ts","import":"./dist/esplora.js","require":"./dist/esplora.cjs"}},"gitHead":"071920d216fb0d3c1229660c9fd61480dbccd4f6","imports":{"#wasm-loader":{"node":{"types":"./dist/wasm/loader-node.d.ts","import":"./dist/wasm/loader-node.js","require":"./dist/wasm/loader-node.cjs"},"default":{"types":"./dist/wasm/loader-browser.d.ts","import":"./dist/wasm/loader-browser.js","require":"./dist/wasm/loader-browser.cjs"}}},"scripts":{"dev":"tsup --watch","fmt":"prettier --write 'src/**/*.ts' 'examples/**/*.ts'","lint":"prettier --check 'src/**/*.ts' 'examples/**/*.ts'","test":"vitest run","build":"npm run generate && tsup","generate":"swagger-typescript-api generate --path ./spec/api.yaml --no-client --just-types --responses -o ./src/generated -n api.ts","typecheck":"tsc --noEmit && tsc -p tsconfig.examples.json","docs:build":"npm --prefix website run build","docs:start":"npm --prefix website run start","test:watch":"vitest","docs:preview":"npm --prefix website run serve -- --build --host 0.0.0.0 --port 3000","docs:generate":"typedoc","docs:typecheck":"npm --prefix website run typecheck","prepublishOnly":"npm run build","example:btc-swap-in":"tsx examples/btc-swap-in.ts","example:btc-swap-out":"tsx examples/btc-swap-out.ts","example:driver-swaps":"tsx examples/driver-swaps.ts","example:lbtc-swap-in":"tsx examples/lbtc-swap-in.ts","example:lbtc-swap-out":"tsx examples/lbtc-swap-out.ts","example:driver-advance":"tsx examples/driver-advance.ts"},"version":"1.2.0","_npmUser":{"name":"blockstream_dot_com","email":"npm@blockstream.com"},"_npmVersion":"10.8.2","description":"AnySwap TypeScript SDK","directories":{},"maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"_nodeVersion":"20.20.2","dependencies":{"@blockstream/anyswap-wasm":"1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^3.0.0","typedoc":"^0.28.19","prettier":"^3.8.1","typescript":"^5.7.0","@types/node":"^22.0.0","@noble/secp256k1":"3.1.0","swagger-typescript-api":"^13.6.10","typedoc-plugin-markdown":"^4.11.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/anyswap-sdk_1.2.0_1790667800385_0.7079886319116409"}}},"time":{"created":"2026-04-21T19:15:15.509Z","modified":"2026-09-29T07:43:20.983Z","0.1.1":"2026-04-21T19:15:15.762Z","0.2.0":"2026-04-22T17:13:07.204Z","0.3.0":"2026-04-28T11:49:25.130Z","0.3.1":"2026-05-04T11:01:02.860Z","1.0.0-rc.1":"2026-07-01T14:56:48.196Z","1.0.0-rc.2":"2026-07-14T16:25:46.039Z","1.0.0-rc.3":"2026-07-17T09:06:50.755Z","1.0.0-rc.4":"2026-07-27T16:09:37.031Z","1.0.0-rc.5":"2026-07-29T19:20:51.529Z","1.0.0-rc.6":"2026-08-04T15:22:18.723Z","1.0.0":"2026-08-04T18:14:04.802Z","1.1.0-rc.1":"2026-08-14T11:00:46.485Z","1.1.0-rc.2":"2026-08-24T14:42:11.829Z","1.1.0":"2026-08-27T14:18:17.015Z","1.2.0-rc.1":"2026-09-09T08:47:06.562Z","1.2.0-rc.2":"2026-09-09T16:17:06.431Z","1.2.0":"2026-09-29T07:43:20.527Z"},"description":"AnySwap TypeScript SDK","maintainers":[{"name":"blockstream_dot_com","email":"npm@blockstream.com"},{"name":"licensing-it","email":"licensing-it@blockstream.com"},{"name":"rcasatta-blockstream","email":"riccardo@blockstream.com"},{"name":"bsm26","email":"mtischlinger@blockstream.com"}],"readme":"# anyswap-ts-sdk\n\nTypeScript SDK for atomic swaps between Lightning and on-chain Bitcoin or Liquid.\n\nFull documentation: <https://lightning.gl-page.blockstream.io/anyswap-ts-sdk>\n\n## Install\n\n```bash\nnpm install @blockstream/anyswap-sdk\n```\n\n## Build from source\n\nThe SDK depends on a sibling wasm crate built from\n[`anyswap`](https://gl.blockstream.io/lightning/anyswap).\nClone it next to this repo so the layout is:\n\n```text\nyour-workspace/\n  anyswap/\n  anyswap-ts-sdk/\n```\n\nPrerequisites: Node.js `22+`, Rust with the `wasm32-unknown-unknown` target,\n`wasm-pack`, and a working clang/LLVM toolchain.\n\nOn macOS:\n\n```bash\nrustup target add wasm32-unknown-unknown\nbrew install wasm-pack llvm\n```\n\nBuild the wasm crate, then this repo:\n\n```bash\ncd ../anyswap\nmake generate-wasm\n```\n\nThe workspace `package.json` points `@blockstream/anyswap-wasm` at the\nfreshly-built local `pkg` directory. Finish the installation from this repo:\n\n```bash\ncd ../anyswap-ts-sdk\nnpm install ../anyswap/crates/sdk-wasm/pkg\nnpm run build\n```\n\n`npm install <path>` reads the target's `name` field and overwrites the\nexisting `@blockstream/anyswap-wasm` entry with a `file:` reference.\n\n## Run the examples\n\nThe examples talk to a local swap service from\n[`anyswap`](https://gl.blockstream.io/lightning/anyswap). From its repo root:\n\n```bash\nmake run-local\nmake setup-nodes-network\n```\n\nThat brings up the swap service on `http://localhost:8083`, an Esplora API on\n`http://localhost:8080/regtest/api`, and the Liquid stack (Esplora on\n`http://localhost:8081/liquidregtest/api`). Then, from this repo:\n\n```bash\nnpm run example:btc-swap-in\nnpm run example:btc-swap-out\n```\n\n```bash\nnpm run example:lbtc-swap-in\nnpm run example:lbtc-swap-out\n```\n\nThose drive the protocol by hand from poll responses. The driver examples let\nthe SDK run the swaps instead: `driver-swaps` drives any mix of swaps on both\nchains in the background, `driver-advance` drives one swap by hand over a file\nstore and resumes it after a restart.\n\n```bash\nnpm run example:driver-swaps -- bcrt1q... 50000 lnbcrt1...\nnpm run example:driver-advance -- out 50000 bcrt1q...\n```\n\nA regtest Elements chain mints its own L-BTC at genesis, so set `POLICY_ASSET` at\nthe top of the Liquid examples to that chain's asset id before running them.\n`make run-local` writes it into the service's `config.toml`, or read it straight\nfrom the node:\n\n```bash\nelements-cli -chain=liquidregtest dumpassetlabels\n```\n\n## Documentation\n\nDocs are built with [MkDocs Material](https://squidfunk.github.io/mkdocs-material/).\nTo serve them locally you need Python `3.12+` and [`uv`](https://github.com/astral-sh/uv):\n\n```bash\nuv sync --all-extras\nuv run mkdocs serve\n```\n\n## Troubleshooting\n\n- `@blockstream/anyswap-wasm` cannot be resolved: build the sibling wasm\n  crate first (see [Build from source](#build-from-source)).\n- Examples fail with `fetch failed`: the local services are not running.\n  Check `curl http://localhost:8083/info` and\n  `curl http://localhost:8080/regtest/api/blocks/tip/height`.\n","readmeFilename":"README.md"}