diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fd2182..423b5d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. +## [2.4.0] - 2024-11-08 +- Add `disableEdit` offramp parameter + ## [2.3.0] - 2024-10-21 - Add Offramp support with `generateOffRampURL` and `initOffRamp` functions diff --git a/package.json b/package.json index ec43c91..c5b41c0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@coinbase/cbpay-js", "repository": "https://github.com/coinbase/cbpay-js", - "version": "2.3.0", + "version": "2.4.0", "license": "MIT", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/src/types/offramp.ts b/src/types/offramp.ts index 265b2a0..82ed078 100644 --- a/src/types/offramp.ts +++ b/src/types/offramp.ts @@ -48,6 +48,7 @@ export type OffRampAggregatorAppParams = { defaultCashoutMethod?: string; // "CRYPTO_WALLET" | "FIAT_WALLET" | "CARD" | "ACH_BANK_ACCOUNT" | "PAYPAL" presetFiatAmount?: number; fiatCurrency?: string; + disableEdit?: boolean; }; export type OffRampAppParams =