{"_id":"@blend-money/sdk","_rev":"14-45484de1f523181cae634c964e927845","name":"@blend-money/sdk","dist-tags":{"latest":"2.4.0"},"versions":{"1.0.0":{"name":"@blend-money/sdk","version":"1.0.0","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@1.0.0","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/blend/sdks/issues"},"dist":{"shasum":"29574f0eadad1927ec342c0fd9e5d5a08c977682","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-1.0.0.tgz","fileCount":6,"integrity":"sha512-bqYcvd18ummS09GKAJWiNIzMgJemTzn4uQEtAxEfzQL8ibMg6S2zEeOrFV767U2tyjbnyAnz7fbAdmz6zK4a9g==","signatures":[{"sig":"MEUCICKsle9flHWr5HWOrOdfeFx5nyNT68OzF75ZMevi788EAiEAmLK/nG0rvQfUW9DgztqO76qyXR7mNZR2xXgI/7bzu9A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160701},"main":"./dist/index.js","type":"module","_from":"file:blend-money-sdk-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"blendcore","email":"j@blend.money"},"_resolved":"/tmp/866ec496217ae22a1b78e97d2c92a107/blend-money-sdk-1.0.0.tgz","_integrity":"sha512-bqYcvd18ummS09GKAJWiNIzMgJemTzn4uQEtAxEfzQL8ibMg6S2zEeOrFV767U2tyjbnyAnz7fbAdmz6zK4a9g==","repository":{"url":"git+https://github.com/blend/sdks.git","type":"git"},"_npmVersion":"10.8.2","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","dependencies":{"zod":"^4.1.5","viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.0_1773107995279_0.6327025552029095","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@blend-money/sdk","version":"1.0.3","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@1.0.3","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"dist":{"shasum":"adf02ae8bff75976108788653d8ea1d5f76d6472","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-1.0.3.tgz","fileCount":6,"integrity":"sha512-rle9KMal2mHGqfobNYvLUluIjj6tjzNV31xldjGzTQCo1MnXbiqvP1NWoVybFoLrbA4OQ9SBgmw4MnTT+k1PXQ==","signatures":[{"sig":"MEUCIGhzcKdY1L8rmnZtkR2WdQdHuCX7V3XXNgLI7vi0j9tKAiEAnJDqJ8i3yajPsgMwgRu7BaTa6hSNtn4vdDbVCPlaQXA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160562},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"e34ae8623df9e978735d278420a87718911cf159","scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"repository":{"url":"git+https://github.com/BlendMoney/sdks.git","type":"git"},"_npmVersion":"11.11.0","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.1.5","viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.3_1773109198173_0.31856268349005057","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@blend-money/sdk","version":"1.0.4","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@1.0.4","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"dist":{"shasum":"6dd5ce71cefedc3c1c119a8f8f5c4c348f3e3e01","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-1.0.4.tgz","fileCount":6,"integrity":"sha512-MLoimuFprWyqRcyjRc58RhTOkrGgfVf+8+ooRh8lEVHoOWbHhqKr882XUR7aumw+SOO6NABOHLjCMVKYKGtH9w==","signatures":[{"sig":"MEQCIC8CLymArU6bBYKUzTXNPncrMcChfEJm1yieEgpPJ/tHAiBTBeIYDKOCnh5Gk8VLJRxw+usiCAf3LmureseRA7XqGw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160562},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"1bff802492aa6f1487bf970f05bdf9fd1db37420","scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"repository":{"url":"git+https://github.com/BlendMoney/sdks.git","type":"git"},"_npmVersion":"11.11.0","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.1.5","viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.4_1773109331569_0.2616903740590151","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@blend-money/sdk","version":"1.0.5","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@1.0.5","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"dist":{"shasum":"361df23a69146627f9d8c952875fddf202c26621","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-1.0.5.tgz","fileCount":6,"integrity":"sha512-2r/fP4r6qfYV4/GG7YisA61iOLaCtwTPJbBgbcxdg8xeRZAjIilgKTIx5pxneb4PNLfZPawzkvqCayOkhJefqA==","signatures":[{"sig":"MEUCIQC3LL7XMfbz098j/u5Kl77m9KgZt5StpYpgsYLzrf+iCwIgcaG41/7uH04BcvDuTbPh/sm9IbjAOOALzdNnWBWaiBs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161810},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"43235cf1f64d382a1a65f32d725163b5cb356e70","scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"repository":{"url":"git+https://github.com/BlendMoney/sdks.git","type":"git"},"_npmVersion":"11.11.0","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.1.5","viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.5_1773118375249_0.8302412500306358","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@blend-money/sdk","version":"1.0.6","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@1.0.6","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"dist":{"shasum":"aa482d29813db5248d95958c85cbb29d1f62163b","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-1.0.6.tgz","fileCount":6,"integrity":"sha512-YaxIZH/9fwpyuuE+rf9EH8y2qXaizNbCaYwHfMy82++WZZ6EyJG6b3yh4BXZv7uLZPfxqWSb3GW5nsVE1owgbg==","signatures":[{"sig":"MEQCIHHmmq9/9gRalnFTMxIZilwtK7JJz9IWn752uhYG0hYcAiB07HMFRweU1BWGZbXfME4y8RK6p8vO28dHYvS7SDC7lg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161880},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"e854e7a56ec4fdce09ee9336ae90bf7158f82b64","scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"repository":{"url":"git+https://github.com/BlendMoney/sdks.git","type":"git"},"_npmVersion":"11.11.0","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.1.5","viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.6_1773127289318_0.892888940231046","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@blend-money/sdk","version":"1.0.8","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@1.0.8","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"dist":{"shasum":"25e24c40cd10ffc9ec4e237d2f6c5fc2abbc8785","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-1.0.8.tgz","fileCount":6,"integrity":"sha512-RptGbx2GoCj7Jx+1ebHFC9vus22lu4DL9k4cQwz9THmwrivZj9kTIi3foP7boXrhOW8CqlwivW2fc8FywpSbhw==","signatures":[{"sig":"MEUCIBfQej5Uw6e8rawrUj94IdBKZG5c1daRkmh8xceEFmh0AiEAg19kPTSrkuq6EQvH0u3XiYc4/N0EIFgKCnla7PvNZMY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161129},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4cde00cb89998476b9d9090f80ec7a957a1b89cf","scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"repository":{"url":"git+https://github.com/BlendMoney/sdks.git","type":"git"},"_npmVersion":"11.11.0","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.1.5","viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.8_1773208264577_0.12042639362365715","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@blend-money/sdk","version":"1.1.0","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@1.1.0","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"dist":{"shasum":"8ef33f271f0e91b9cca6336a899c764238730641","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-1.1.0.tgz","fileCount":6,"integrity":"sha512-MuDnVo/jH5+bLy5CkvU4BmEz3hk+c2CPzo3ttxDyIgxVtPleLOJx2+xrqKAtW78P7WAhZvwSURL5lJANFuo5kw==","signatures":[{"sig":"MEUCIQC+lvTKx40HFxOQaNf5xRAO3IfXU9oFUt1Fse6iMz8gjgIgQJ4vpiwrrQYhv04ea0iGtj5lJlspXgyFIw+WXC5oztI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160872},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"a3cc2974df0de29977aae6ce566075ec179c0248","scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"repository":{"url":"git+https://github.com/BlendMoney/sdks.git","type":"git"},"_npmVersion":"11.12.0","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.1.5","viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.1.0_1773978396214_0.7979601828420468","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@blend-money/sdk","version":"1.1.1","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@1.1.1","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"dist":{"shasum":"0d4cd04bd450e64c760a6e3e21dc0c850dcbedde","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-1.1.1.tgz","fileCount":6,"integrity":"sha512-oNqQErb2HTA0VghD0lWoHeMqHmBttuhMCnS1GAQYsQ1gCtrp9EcCmvODK3G0f9CPVSbNzEm0LZEsVE7pNWfxxw==","signatures":[{"sig":"MEUCIHr5D34YcJXHkAbq1Tpmk8BdAKoqhamZZDtmieMlfHFyAiEA+5oB18SfM2iGbraj/zgYp1Ryr5rQIaKWqWzapbihhJc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162061},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"6a7045b37c2460ce93bc2e68edda84b7f4db9069","scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"repository":{"url":"git+https://github.com/BlendMoney/sdks.git","type":"git"},"_npmVersion":"11.12.0","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.1.5","viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.1.1_1774206345526_0.4844496359702526","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@blend-money/sdk","version":"1.2.0","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@1.2.0","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"dist":{"shasum":"5873b56ca1768218a6c95a28a43ea277acb009d1","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-1.2.0.tgz","fileCount":6,"integrity":"sha512-03jxUUpMJ9Qc4VpwVKesr+emzG6ze1ZVjlQ8R/yP+XoueSLkYpqAHEzfWfV0yjb1fSiklErNc9SBekHd7YFvrg==","signatures":[{"sig":"MEUCIDdsjkSDoRoNviiFluvfJLf929/V5tc7rjC++BfgdjgWAiEA3VucJtp/7ujE6PfU3/Pk2EXsbXqA4/1OjTHNk1Vvelg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":173815},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"ecae0edf0f21eebe00992c5019ac55b6d2efdce7","scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"repository":{"url":"git+https://github.com/BlendMoney/sdks.git","type":"git"},"_npmVersion":"11.12.1","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.1.5","viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.2.0_1775138000959_0.8754026452965","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@blend-money/sdk","version":"1.2.1","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@1.2.1","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"dist":{"shasum":"338234a0757407ad90664340076f54b5e199c91c","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-1.2.1.tgz","fileCount":6,"integrity":"sha512-soSQH6k+9Exfx6QkxsyXGBzbsQ6K68ro4PbdFGnykvZYRWJGk5l53gdV593jCgm9vZx/wZ9P2JIpLAjTGQiIOw==","signatures":[{"sig":"MEUCIGX0Vg0JJRpbB3agpuTKvN9jp5OluWV6zC1IvxOSOtedAiEAjtkEDDGC0Vj4oT1n86+PyywOhJEtcFWjka6JhH0c1jY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":176044},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"1783f282f5bfc2c412521148324f616d6712960d","scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"repository":{"url":"git+https://github.com/BlendMoney/sdks.git","type":"git"},"_npmVersion":"11.12.1","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.1.5","viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.2.1_1775490387396_0.1722819875663255","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@blend-money/sdk","version":"2.0.0","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@2.0.0","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"dist":{"shasum":"95a8b6694a62f6c9ec6bbd5479ad146dc1e123fc","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-2.0.0.tgz","fileCount":6,"integrity":"sha512-j+qjxvTg3VbhYxLaFtTEQqoFNrUqJYYvssVTpoRT+4VYBQtavq43rQ5vc2PbTD0H1IJMNuUhkYQqlCu6+we0Fw==","signatures":[{"sig":"MEUCIQDE5nQfeyuc1Fo6HbgPsC7yo744cC6f4wVQVR2JQROtggIgbS8MGL8zbdyhpw8S9Inq1YRLUqo7nSbnWQFT20++wxI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":245373},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"3a083d0e6cf1608e80fdfbc524e8f2c704c1c2cd","scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"repository":{"url":"git+https://github.com/BlendMoney/sdks.git","type":"git"},"_npmVersion":"11.13.0","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.1.5","viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.0_1777770192845_0.4192244479220042","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@blend-money/sdk","version":"2.2.0","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@2.2.0","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"dist":{"shasum":"125cc45d0cc7bcb86de86af77b10c9b808320300","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-2.2.0.tgz","fileCount":6,"integrity":"sha512-KQTCrYqXB6Nvn3FWP0VNK70AxpKuPx5gfUTgD8sex3yb+1HvjzVMWsr2EDyCLenh1/sjq7RlBskWSjT5wGorbw==","signatures":[{"sig":"MEYCIQDPxRD2aoQ6VX5tu3vboHL11CEcvv+C0bQGL6TMqQHAyAIhALoPszN+f/V3XHO3jjNxxmrmW9nQ6nV00VwZyskHTwc7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":271768},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"e673b6afa3cae8774ee1855970ae6674a540f808","scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"repository":{"url":"git+https://github.com/BlendMoney/sdks.git","type":"git"},"_npmVersion":"11.13.0","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{"viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.2.0_1777859575050_0.08552831174397468","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@blend-money/sdk","version":"2.3.0","keywords":["blend","sdk","neobank"],"author":{"name":"Blend"},"license":"MIT","_id":"@blend-money/sdk@2.3.0","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"dist":{"shasum":"13ba31fef388a5b3c795da379d59995dbad08668","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-2.3.0.tgz","fileCount":6,"integrity":"sha512-hKyqIfQnbC/DW2HstUL6Ie71s7USJTdXuXIOJrb+0z7kMWmTUdUHmHt3FFDTOrNqb4D54dY6Y9YUFoPu/rtCAA==","signatures":[{"sig":"MEQCIApjq5LzqdW29J1ym3KaAGp6wcNLqdtIpb54sVicJQ7LAiBAN2C+u0CE/SjhIKYXiJpl8+1Ripp6gI1gkANBXU9slg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":272510},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"61ead85f7181b6054d169ee66561882864ce15c8","scripts":{"dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","test":"vitest","build":"tsup src/index.ts --format esm --dts --sourcemap --clean","format":"prettier --write \"**/*.{ts,md}\"","test:ui":"vitest --ui","test:run":"vitest run","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"repository":{"url":"git+https://github.com/BlendMoney/sdks.git","type":"git"},"_npmVersion":"11.13.0","description":"Blend SDK for B2B neobank integrations.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{"viem":"^2.37.5","axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.15.1","devDependencies":{"msw":"^2.11.2","tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.3.0_1777909718898_0.736636356875803","host":"s3://npm-registry-packages-npm-production"}},"2.4.0":{"name":"@blend-money/sdk","version":"2.4.0","description":"Blend SDK for B2B neobank integrations.","keywords":["blend","sdk","neobank"],"license":"MIT","author":{"name":"Blend"},"repository":{"type":"git","url":"git+https://github.com/BlendMoney/sdks.git"},"homepage":"https://docs.blend.money","bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"type":"module","sideEffects":false,"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsup src/index.ts --format esm --dts --sourcemap --clean","dev":"tsup src/index.ts --format esm --dts --sourcemap --watch --clean","check-types":"tsc --noEmit","test":"vitest","test:ui":"vitest --ui","test:run":"vitest run","test:coverage":"vitest run --coverage","format":"prettier --write \"**/*.{ts,md}\"","prepublishOnly":"pnpm run build"},"engines":{"node":">=20"},"publishConfig":{"access":"public"},"packageManager":"pnpm@10.15.1","dependencies":{"axios":"^1.11.0","decimal.js":"^10.6.0","permissionless":"^0.2.57","viem":"^2.37.5"},"devDependencies":{"@vitest/coverage-v8":"^3.2.4","@vitest/ui":"^3.2.4","msw":"^2.11.2","prettier":"^3.6.2","tsup":"^8.5.0","typescript":"^5.9.2","vitest":"^3.2.4"},"gitHead":"c8f66a232ed36904ec11da79ab6c0ee253c26955","_id":"@blend-money/sdk@2.4.0","_nodeVersion":"24.14.1","_npmVersion":"11.13.0","dist":{"integrity":"sha512-MS5qFPwJQujmhVWhTlQYMllrGgUkRlElvmtb1dh1QfXZxbmAnAcGsvj8UUSVocCAghx4IOyjVn/dkg2qO2dPGA==","shasum":"26abc3efa671c8c748c52f278a4bca3a4089d93c","tarball":"https://registry.npmjs.org/@blend-money/sdk/-/sdk-2.4.0.tgz","fileCount":6,"unpackedSize":274922,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDYWy9LaFfSvU+lO8vHrQuGbpYG5EpVQvOkoc3E9LDMLAIgddPjeHa5dB38/ej5m+3ureCeLW2EL0dOZjCkzr7e/co="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10755bfc-cc24-4bcf-a1c6-c8d18114d0c1"}},"directories":{},"maintainers":[{"name":"blendcore","email":"j@blend.money"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_2.4.0_1777999216290_0.33631813498392527"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-10T01:59:55.171Z","modified":"2026-05-05T16:40:16.549Z","1.0.0":"2026-03-10T01:59:55.443Z","1.0.3":"2026-03-10T02:19:58.323Z","1.0.4":"2026-03-10T02:22:11.710Z","1.0.5":"2026-03-10T04:52:55.404Z","1.0.6":"2026-03-10T07:21:29.512Z","1.0.8":"2026-03-11T05:51:04.732Z","1.1.0":"2026-03-20T03:46:36.351Z","1.1.1":"2026-03-22T19:05:45.662Z","1.2.0":"2026-04-02T13:53:21.115Z","1.2.1":"2026-04-06T15:46:27.570Z","2.0.0":"2026-05-03T01:03:12.995Z","2.2.0":"2026-05-04T01:52:55.196Z","2.3.0":"2026-05-04T15:48:39.041Z","2.4.0":"2026-05-05T16:40:16.425Z"},"bugs":{"url":"https://github.com/BlendMoney/sdks/issues"},"author":{"name":"Blend"},"license":"MIT","homepage":"https://docs.blend.money","keywords":["blend","sdk","neobank"],"repository":{"type":"git","url":"git+https://github.com/BlendMoney/sdks.git"},"description":"Blend SDK for B2B neobank integrations.","maintainers":[{"name":"blendcore","email":"j@blend.money"}],"readme":"# Blend SDK\n\n[![npm version](https://img.shields.io/npm/v/@blend-money/sdk.svg)](https://www.npmjs.com/package/@blend-money/sdk) [![npm downloads per week](https://img.shields.io/npm/dw/@blend-money/sdk.svg)](https://www.npmjs.com/package/@blend-money/sdk) [![npm downloads per month](https://img.shields.io/npm/dm/@blend-money/sdk.svg)](https://www.npmjs.com/package/@blend-money/sdk)\n\nTypeScript SDK for the Blend Protocol. Frontend-first, wallet-authenticated via SIWE.\n\n## Install\n\n```bash\npnpm add @blend-money/sdk\n```\n\n**Peer dependencies:** `viem`\n\n## Quick Start\n\n```typescript\nimport { BlendSdk } from \"@blend-money/sdk\";\n\nconst sdk = new BlendSdk({\n  publishableKey: \"pk_live_...\",\n  signMessage: walletClient.signMessage,\n  paymasterRpcUrl: \"https://your-bundler.example.com/v2/8453/rpc?apikey=...\",\n});\n\n// 1. Discover what's available\nconst chains = await sdk.discover.depositChains();\nconst tokens = await sdk.discover.depositTokens(8453);\n\n// 2. Sign in with SIWE\nconst session = await sdk.signIn({ address: \"0x...\", chainId: 8453 });\n\n// 3. Get a quote\nconst quote = await sdk.quoteDeposit({\n  chainId: 8453,\n  tokenAddress: \"0xA0b86991...\",\n  amount: \"1000000\",\n});\n\n// 4. Show confirmation UI\nconsole.log(quote.input); // { symbol: \"USDC\", amount: \"1000000\", amountUsd: \"1\" }\nconsole.log(quote.output); // { symbol: \"USDC\", amount: \"1000000\", amountUsd: \"1\" }\nconsole.log(quote.fees); // { totalUsd: \"0.01\" }\n\n// 5. Execute\nconst result = await sdk.execute(quote, {\n  signerAddress: address,\n  deriveSigner: async (chainId) => ({\n    signer: getWalletClient({ chainId }),\n    publicClient: getPublicClient({ chainId }),\n  }),\n  onStatusChange: (status) => console.log(status),\n});\n\nif (result.status === \"settled\") {\n  console.log(\"Done!\", result.txHashes);\n}\n```\n\n## Configuration\n\n```typescript\nconst sdk = new BlendSdk({\n  // Required\n  publishableKey: \"pk_live_...\", // Safe for client-side code\n  signMessage: (msg) => wallet.sign(msg), // SIWE signature function\n\n  // Required for execute()\n  paymasterRpcUrl: \"https://...\", // Any ERC-4337 bundler/paymaster\n\n  // Optional\n  baseUrl: \"https://...\", // API base URL override\n  fiatCurrency: \"EUR\", // ISO 4217 code for multi-currency\n  timeoutMs: 15000, // Request timeout (default: 15000)\n  retries: 3, // Max retries for 429/5xx (default: 3)\n});\n```\n\nThe `paymasterRpcUrl` is optional for read-only usage (discovery, account data) but required when calling `sdk.execute()`.\n\n## API Reference\n\n### Authentication\n\n```typescript\n// Sign in — wallet prompted to sign a SIWE message\nconst session = await sdk.signIn({ address: \"0x...\", chainId: 8453 });\n// session: { address, accountId, safeAddress, chainsDeployed, expiresAt }\n\n// Sign out\nawait sdk.signOut();\n\n// Check state\nsdk.isSignedIn; // boolean\nsdk.session; // AuthSession (throws if not signed in)\n```\n\n### Session Persistence\n\nSessions are in-memory by default and lost on page reload. Use `exportSession()` and `restoreSession()` to persist across reloads. Expired tokens are automatically refreshed on the next API call. Use `sessionStorage` (cleared when the tab closes) unless you need cross-tab persistence — `localStorage` extends XSS exposure to the token's full lifetime.\n\n```typescript\n// After sign-in, save the session\nawait sdk.signIn({ address: \"0x...\", chainId: 8453 });\nsessionStorage.setItem(\"blend-session\", JSON.stringify(sdk.exportSession()));\n\n// On page load, restore the session\nconst stored = sessionStorage.getItem(\"blend-session\");\nif (stored) {\n  try {\n    sdk.restoreSession(JSON.parse(stored));\n    // sdk.isSignedIn === true — no wallet prompt needed\n  } catch {\n    // Corrupt data — fall back to signIn\n    sessionStorage.removeItem(\"blend-session\");\n  }\n}\n```\n\n### Discovery\n\nNo authentication required. When signed in, `depositTokens` automatically filters to tokens the wallet holds.\n\n```typescript\nconst chains = await sdk.discover.depositChains();\n// [{ chainId, name, displayName, iconUrl }]\n\nconst tokens = await sdk.discover.depositTokens(8453);\n// [{ chainId, address, symbol, name, decimals, logoURI, price, balance?, amount? }]\n\nconst destinations = await sdk.discover.withdrawDestinations();\n// [{ chainId, name, loanTokenAddress }]\n\nconst yieldData = await sdk.discover.yield();\n// { accountTypeId, yieldBreakdown: [{ chainId, vaultAddress, breakdown, summary }] }\n```\n\n### Amount Helpers\n\nThe SDK requires amounts in the token's smallest unit (e.g. `\"1000000\"` for 1 USDC). Use `parseAmount` and `formatAmount` to convert between human-readable and smallest-unit strings without floating-point precision loss.\n\n```typescript\nimport { parseAmount, formatAmount } from \"@blend-money/sdk\";\n\n// Human-readable → smallest unit\nconst smallest = parseAmount(\"100.50\", 6); // \"100500000\" (USDC has 6 decimals)\n\n// Smallest unit → human-readable\nconst human = formatAmount(\"100500000\", 6); // \"100.5\"\n\n// Use with discovered tokens\nconst tokens = await sdk.discover.depositTokens(8453);\nconst usdc = tokens.find((t) => t.symbol === \"USDC\")!;\nconst amount = parseAmount(userInput, usdc.decimals);\nconst quote = await sdk.quoteDeposit({\n  chainId: 8453,\n  tokenAddress: usdc.address,\n  amount,\n});\n```\n\n### Quoting\n\nRequires authentication. Creates or reuses a session, then quotes it. Returns a clean object for your confirmation UI.\n\n```typescript\n// Deposit quote\nconst quote = await sdk.quoteDeposit({\n  chainId: 8453,\n  tokenAddress: \"0xA0b86991...\",\n  amount: \"1000000\",\n  externalRef: \"order-123\", // optional — for reconciliation\n  forceReset: false, // optional — cancel existing session first (default: false)\n});\n// DepositQuote: { type, intentId, originChainId, destinationChainId,\n//   input, output, fees, estimatedSeconds, expiresAt }\n\n// Withdrawal quote\nconst quote = await sdk.quoteWithdraw({\n  destinationChainId: 8453,\n  amount: \"1000000\",\n  isMaxWithdraw: false, // optional — redeem all shares (default: false)\n  forceReset: false, // optional\n});\n// WithdrawQuote: { type, intentId, destinationChainId, totalAmount,\n//   totalFeesUsd, estimatedSeconds, sourceChainCount, expiresAt }\n```\n\n### Live Quoting\n\nCalling `quoteDeposit` or `quoteWithdraw` multiple times re-quotes the same open session with the new parameters. No need for `forceReset` just to change the amount or token.\n\n```typescript\n// User types $1\nconst quote1 = await sdk.quoteDeposit({\n  chainId: 8453,\n  tokenAddress: \"0xA0b86991...\",\n  amount: parseAmount(\"1\", 6),\n});\n\n// User changes to $5 — same session, fresh quote\nconst quote2 = await sdk.quoteDeposit({\n  chainId: 8453,\n  tokenAddress: \"0xA0b86991...\",\n  amount: parseAmount(\"5\", 6),\n});\n// quote2 reflects the updated amount — same intentId, fresh prices\n\n// Switching from withdraw to deposit also works on open sessions\nconst depositQuote = await sdk.quoteDeposit({ ... });\n```\n\n### Execution\n\nPass a quote, a signer address, and a `deriveSigner` callback that returns viem clients for a given chain. The SDK handles session locking, on-chain submission (Safe UserOps via the paymaster), hash submission, and settlement polling internally. For multi-chain withdrawals, `deriveSigner` is called once per source chain.\n\n```typescript\nconst result = await sdk.execute(quote, {\n  signerAddress: address, // EOA address (Hex)\n  deriveSigner: async (chainId) => ({\n    // returns viem clients for the chain\n    signer: getWalletClient({ chainId }),\n    publicClient: getPublicClient({ chainId }),\n  }),\n  isContractSigner: false, // optional — for smart contract wallets (e.g. Coinbase)\n  onStatusChange: (status) => {\n    // optional — \"executing\" | \"confirming\" | \"settled\" | \"failed\"\n    updateUI(status);\n  },\n  pollIntervalMs: 3000, // optional (default: 3000)\n  pollTimeoutMs: 300000, // optional (default: 300000)\n});\n// ExecuteResult: { status, txHashes, settledAt, error }\n```\n\n### Account Data\n\nRequires authentication.\n\n```typescript\nconst balance = await sdk.account.balance();\n// { accountId, safeAddress, perChain, total }\n\nconst history = await sdk.account.balanceHistory({ startDate: \"2025-01-01\" });\n// [{ id, createdAt, totalValue, totalYield, breakdown }]\n\nconst positions = await sdk.account.positions();\n// { accountId, safeAddress, events }\n\nconst returns = await sdk.account.returns();\n// { current, totalDeposited, totalWithdrawn, netDeposited, returns, returnsPct }\n```\n\n### Safe Management\n\n```typescript\n// Resolve Safe deployment on a chain (requires auth)\nconst resolution = await sdk.account.safe.resolve(8453);\n// { status: \"validated\", accountId, userAddress, safeAddress, chainId }\n\n// Request Safe deployment (requires auth)\nawait sdk.account.safe.request(8453);\n\n// Look up account by EOA (no auth required)\nconst account = await sdk.account.safe.lookup(\"0x...\");\n// { accountId, safeAddress, chainsDeployed }\n```\n\n### Power-User: Session Lifecycle\n\nFor advanced use cases, the full intent session lifecycle is available via `sdk.sessions`:\n\n```typescript\nconst session = await sdk.sessions.createSession({ forceReset: true });\nconst quoted = await sdk.sessions.quoteDeposit(session.intentId, { ... });\nconst locked = await sdk.sessions.lock(session.intentId, { signerAddress: \"0x...\" });\nconst submitted = await sdk.sessions.submit(session.intentId, { txHashes: [...] });\nconst result = await sdk.sessions.execute(session.intentId, { ... });\nconst sessions = await sdk.sessions.list();\nawait sdk.sessions.cancel(session.intentId);\n```\n\n## Error Handling\n\n```typescript\nimport { SdkError, SESSION_ERROR_CODES } from \"@blend-money/sdk\";\n\ntry {\n  await sdk.quoteDeposit({ ... });\n} catch (err) {\n  if (err instanceof SdkError) {\n    console.log(err.code);            // e.g. \"AUTH_NOT_SIGNED_IN\"\n    console.log(err.status);          // HTTP status\n    console.log(err.getUserMessage()); // human-readable message\n    console.log(err.isRetryable());   // true for 429, 5xx, network errors\n  }\n}\n```\n\nError codes: `AUTH_NOT_SIGNED_IN`, `AUTH_CHALLENGE_FAILED`, `AUTH_VERIFICATION_FAILED`, `AUTH_TOKEN_EXPIRED`, `AUTH_INVALID_SESSION`, `INTENT_NOT_FOUND`, `INTENT_EXPIRED`, `INTENT_WRONG_STATUS`, `INTENT_CONCURRENT_TRANSITION`, `SESSION_NOT_QUOTED`, `SESSION_LOCKED_BY_OTHER`, `SETTLEMENT_TIMEOUT`, `FLOWPLAN_CONFLICT`.\n\n## Development\n\n```bash\npnpm install        # Install dependencies\npnpm build          # Build\npnpm dev            # Watch mode\npnpm test           # Run tests (interactive)\npnpm test:run       # Run tests (CI)\npnpm test:coverage  # Coverage report\npnpm check-types    # Type check\npnpm format         # Prettier\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}