From bb8357c0459ee91a5beeb256a7c4036e4307584b Mon Sep 17 00:00:00 2001 From: Sum Xu Date: Thu, 7 Nov 2024 11:26:50 -0500 Subject: [PATCH 1/2] add `disableEdit` offramp parameter --- CHANGELOG.md | 3 +++ package.json | 2 +- src/types/offramp.ts | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fd2182..a16081d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. +## [2.3.1] - 2024-11-07 +- 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..61cc3de 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.3.1", "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 = From 36341bdc2bda81496ae4b0f189d4a8fa20e991dc Mon Sep 17 00:00:00 2001 From: Sum Xu Date: Fri, 8 Nov 2024 13:39:19 -0500 Subject: [PATCH 2/2] 2.4.0 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a16081d..423b5d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -## [2.3.1] - 2024-11-07 +## [2.4.0] - 2024-11-08 - Add `disableEdit` offramp parameter ## [2.3.0] - 2024-10-21 diff --git a/package.json b/package.json index 61cc3de..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.1", + "version": "2.4.0", "license": "MIT", "main": "dist/index.js", "module": "dist/index.mjs",