From 481b9ff6276368b26947dcb8ff5c445bb84b54e7 Mon Sep 17 00:00:00 2001 From: alvseven Date: Wed, 14 Jan 2026 00:50:42 -0300 Subject: [PATCH] fix: correct BankAccountType typo (savings -> saving) --- .changeset/tiny-foxes-jump.md | 6 ++++++ package.json | 2 +- types/index.d.ts | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changeset/tiny-foxes-jump.md diff --git a/.changeset/tiny-foxes-jump.md b/.changeset/tiny-foxes-jump.md new file mode 100644 index 0000000..f007000 --- /dev/null +++ b/.changeset/tiny-foxes-jump.md @@ -0,0 +1,6 @@ +--- +"@blindpay/node": patch +--- + +Fix BankAccountType typo: changed "savings" to "saving" to match API response + diff --git a/package.json b/package.json index aa9448c..d080437 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@blindpay/node", - "version": "3.1.0", + "version": "3.1.1", "description": "Official Node.js SDK for Blindpay API - Global payments infrastructure", "keywords": [ "blindpay", diff --git a/types/index.d.ts b/types/index.d.ts index ef968cd..fa70da6 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -22,7 +22,7 @@ export type StablecoinToken = "USDC" | "USDT" | "USDB" export type TransactionDocumentType = "invoice" | "purchase_order" | "delivery_slip" | "contract" | "customs_declaration" | "bill_of_lading" | "others"; -export type BankAccountType = "checking" | "savings"; +export type BankAccountType = "checking" | "saving"; export type Currency = "USDC" | "USDT" | "USDB" | "BRL" | "USD" | "MXN" | "COP" | "ARS";