@bigcommerce/checkout-sdk 1.280.4 → 1.281.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/checkout-button.d.ts +18 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +18 -0
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +1 -0
- package/docs/interfaces/AmazonPayV2NewButtonParams.md +12 -0
- package/docs/interfaces/AmazonPayV2Price.md +26 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.281.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.280.4...v1.281.0) (2022-09-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **payment:** INT-6407 AmazonPayV2: Add the new `estimatedOrderAmount` parameter ([#1555](https://github.com/bigcommerce/checkout-sdk-js/issues/1555)) ([8defc3b](https://github.com/bigcommerce/checkout-sdk-js/commit/8defc3bcf099a3caac9ebb26a97716a6f2a73e07))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **payment:** INT-6115 Payment with hosted credit card ([#1583](https://github.com/bigcommerce/checkout-sdk-js/issues/1583)) ([a491acf](https://github.com/bigcommerce/checkout-sdk-js/commit/a491acf699e86fd52e1ee45e4125e463c002e451))
|
|
16
|
+
|
|
5
17
|
### [1.280.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.280.3...v1.280.4) (2022-08-30)
|
|
6
18
|
|
|
7
19
|
|
|
@@ -130,6 +130,13 @@ declare interface AmazonPayV2NewButtonParams extends AmazonPayV2ButtonConfig {
|
|
|
130
130
|
* parameter if your `publicKeyId` does not have an environment prefix.
|
|
131
131
|
*/
|
|
132
132
|
publicKeyId?: string;
|
|
133
|
+
/**
|
|
134
|
+
* It does not have to match the final order amount if the buyer updates
|
|
135
|
+
* their order after starting checkout. Amazon Pay will use this value to
|
|
136
|
+
* assess transaction risk and prevent buyers from selecting payment methods
|
|
137
|
+
* that can't be used to process the order.
|
|
138
|
+
*/
|
|
139
|
+
estimatedOrderAmount?: AmazonPayV2Price;
|
|
133
140
|
/**
|
|
134
141
|
* Create Checkout Session configuration.
|
|
135
142
|
*/
|
|
@@ -156,6 +163,17 @@ declare enum AmazonPayV2Placement {
|
|
|
156
163
|
Other = "Other"
|
|
157
164
|
}
|
|
158
165
|
|
|
166
|
+
declare interface AmazonPayV2Price {
|
|
167
|
+
/**
|
|
168
|
+
* Transaction amount.
|
|
169
|
+
*/
|
|
170
|
+
amount: string;
|
|
171
|
+
/**
|
|
172
|
+
* Transaction currency code in ISO 4217 format. Example: USD.
|
|
173
|
+
*/
|
|
174
|
+
currencyCode: string;
|
|
175
|
+
}
|
|
176
|
+
|
|
159
177
|
/**
|
|
160
178
|
* A set of options that are required to initialize ApplePay in cart.
|
|
161
179
|
*
|