Skip to content

Commit ef84b78

Browse files
authored
Add disableEdit parameter for offramp (#318)
* add `disableEdit` offramp parameter * 2.4.0
1 parent 6025d23 commit ef84b78

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [2.4.0] - 2024-11-08
6+
- Add `disableEdit` offramp parameter
7+
58
## [2.3.0] - 2024-10-21
69
- Add Offramp support with `generateOffRampURL` and `initOffRamp` functions
710

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@coinbase/cbpay-js",
33
"repository": "https://github.com/coinbase/cbpay-js",
4-
"version": "2.3.0",
4+
"version": "2.4.0",
55
"license": "MIT",
66
"main": "dist/index.js",
77
"module": "dist/index.mjs",

src/types/offramp.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export type OffRampAggregatorAppParams = {
4848
defaultCashoutMethod?: string; // "CRYPTO_WALLET" | "FIAT_WALLET" | "CARD" | "ACH_BANK_ACCOUNT" | "PAYPAL"
4949
presetFiatAmount?: number;
5050
fiatCurrency?: string;
51+
disableEdit?: boolean;
5152
};
5253

5354
export type OffRampAppParams =

0 commit comments

Comments
 (0)