@coinbase/cbpay-js
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -5,2 +5,5 @@ # Changelog | ||
## [2.2.1] - 2024-08-01 | ||
- Added `redirectUrl` widget parameter | ||
## [2.2.0] - 2024-06-11 | ||
@@ -7,0 +10,0 @@ - Added new `addresses` and `assets` initialization parameters to simplify `destinationWallets` |
@@ -72,3 +72,3 @@ type DestinationWallet = { | ||
* The values in this list can either be asset symbols like BTC, ETH, or asset UUIDs that you can get from the Buy | ||
* Options API {@link https://docs-cdp-onramp-preview.cbhq.net/onramp/docs/api-configurations/#buy-options}. | ||
* Options API {@link https://docs.cdp.coinbase.com/onramp/docs/api-configurations/#buy-options}. | ||
*/ | ||
@@ -91,2 +91,5 @@ assets?: string[]; | ||
partnerUserId?: string; | ||
/** A URL that the user will be automatically redirected to after a successful buy/send. The domain must match a domain | ||
* on the domain allowlist in Coinbase Developer Platform (https://portal.cdp.coinbase.com/products/onramp). */ | ||
redirectUrl?: string; | ||
}; | ||
@@ -93,0 +96,0 @@ type OnRampAggregatorAppParams = { |
{ | ||
"name": "@coinbase/cbpay-js", | ||
"repository": "https://github.com/coinbase/cbpay-js", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"license": "MIT", | ||
@@ -36,2 +36,3 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@babel/core": "^7.0.0", | ||
"@swc/core": "^1.2.237", | ||
@@ -45,3 +46,2 @@ "@types/chrome": "0.0.168", | ||
"babel-jest": "^27.5.1", | ||
"@babel/core": "^7.0.0", | ||
"eslint": "^6.8.0", | ||
@@ -55,5 +55,5 @@ "eslint-config-prettier": "^8.4.0", | ||
"ts-jest": "^27.1.3", | ||
"tslint": "^6.0.0", | ||
"tsup": "^6.2.2", | ||
"typescript": "^4.4.4", | ||
"tslint": "^6.0.0" | ||
"typescript": "^4.4.4" | ||
}, | ||
@@ -60,0 +60,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
119491
1522
0