@bigcommerce/checkout-sdk 1.554.0 → 1.555.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/docs/README.md CHANGED
@@ -454,6 +454,7 @@
454
454
  - [StripeElementClasses](interfaces/StripeElementClasses.md)
455
455
  - [StripeElementStyle](interfaces/StripeElementStyle.md)
456
456
  - [StripeElementStyleVariant](interfaces/StripeElementStyleVariant.md)
457
+ - [StripeElementUpdateOptions](interfaces/StripeElementUpdateOptions.md)
457
458
  - [StripeEvent](interfaces/StripeEvent.md)
458
459
  - [StripeShippingEvent](interfaces/StripeShippingEvent.md)
459
460
  - [StripeUPECustomerInitializeOptions](interfaces/StripeUPECustomerInitializeOptions.md)
@@ -0,0 +1,15 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / StripeElementUpdateOptions
2
+
3
+ # Interface: StripeElementUpdateOptions
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [shouldShowTerms](StripeElementUpdateOptions.md#shouldshowterms)
10
+
11
+ ## Properties
12
+
13
+ ### shouldShowTerms
14
+
15
+ • `Optional` **shouldShowTerms**: `boolean`
@@ -31,6 +31,7 @@ service.initializePayment({
31
31
 
32
32
  ### Methods
33
33
 
34
+ - [initStripeElementUpdateTrigger](StripeUPEPaymentInitializeOptions.md#initstripeelementupdatetrigger)
34
35
  - [onError](StripeUPEPaymentInitializeOptions.md#onerror)
35
36
  - [render](StripeUPEPaymentInitializeOptions.md#render)
36
37
 
@@ -56,6 +57,22 @@ Checkout styles from store theme
56
57
 
57
58
  ## Methods
58
59
 
60
+ ### initStripeElementUpdateTrigger
61
+
62
+ ▸ `Optional` **initStripeElementUpdateTrigger**(`updateTriggerFn`): `void`
63
+
64
+ #### Parameters
65
+
66
+ | Name | Type |
67
+ | :------ | :------ |
68
+ | `updateTriggerFn` | (`payload`: [`StripeElementUpdateOptions`](StripeElementUpdateOptions.md)) => `void` |
69
+
70
+ #### Returns
71
+
72
+ `void`
73
+
74
+ ___
75
+
59
76
  ### onError
60
77
 
61
78
  ▸ `Optional` **onError**(`error?`): `void`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.554.0",
3
+ "version": "1.555.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",