@bigcommerce/checkout-sdk 1.280.3 → 1.281.1

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 CHANGED
@@ -2,6 +2,32 @@
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.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.281.0...v1.281.1) (2022-09-05)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **payment:** INT-6328 Bluesnap open a new tab insted of using iframe to complete order ([#1578](https://github.com/bigcommerce/checkout-sdk-js/issues/1578)) ([701d09b](https://github.com/bigcommerce/checkout-sdk-js/commit/701d09bdf388128aab900160f26f69df74085305))
11
+
12
+ ## [1.281.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.280.4...v1.281.0) (2022-09-05)
13
+
14
+
15
+ ### Features
16
+
17
+ * **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))
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **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))
23
+
24
+ ### [1.280.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.280.3...v1.280.4) (2022-08-30)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * **payment:** STRIPE-130 Stripe UPE making postal code not always required to make purchase ([#1565](https://github.com/bigcommerce/checkout-sdk-js/issues/1565)) ([6e0bb16](https://github.com/bigcommerce/checkout-sdk-js/commit/6e0bb1676647600da55b776b832d1bb3626f4079))
30
+
5
31
  ### [1.280.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.280.2...v1.280.3) (2022-08-26)
6
32
 
7
33
 
@@ -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
  *