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";