@bigcommerce/checkout-sdk 1.181.0 → 1.183.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
@@ -289,6 +289,7 @@
289
289
  * [VaultedInstrument](interfaces/vaultedinstrument.md)
290
290
  * [WechatDataPaymentMethodState](interfaces/wechatdatapaymentmethodstate.md)
291
291
  * [WechatState](interfaces/wechatstate.md)
292
+ * [WithAccountCreation](interfaces/withaccountcreation.md)
292
293
  * [WithCheckoutcomFawryInstrument](interfaces/withcheckoutcomfawryinstrument.md)
293
294
  * [WithCheckoutcomSEPAInstrument](interfaces/withcheckoutcomsepainstrument.md)
294
295
  * [WithCheckoutcomiDealInstrument](interfaces/withcheckoutcomidealinstrument.md)
@@ -61,6 +61,10 @@ service.initializePayment({
61
61
  * [containerId](boltpaymentinitializeoptions.md#optional-containerid)
62
62
  * [useBigCommerceCheckout](boltpaymentinitializeoptions.md#usebigcommercecheckout)
63
63
 
64
+ ### Methods
65
+
66
+ * [onPaymentSelect](boltpaymentinitializeoptions.md#optional-onpaymentselect)
67
+
64
68
  ## Properties
65
69
 
66
70
  ### `Optional` containerId
@@ -74,3 +78,19 @@ ___
74
78
  ### useBigCommerceCheckout
75
79
 
76
80
  • **useBigCommerceCheckout**: *boolean*
81
+
82
+ ## Methods
83
+
84
+ ### `Optional` onPaymentSelect
85
+
86
+ ▸ **onPaymentSelect**(`hasBoltAccount`: boolean): *void*
87
+
88
+ A callback that gets called when the customer selects Bolt as payment option.
89
+
90
+ **Parameters:**
91
+
92
+ Name | Type |
93
+ ------ | ------ |
94
+ `hasBoltAccount` | boolean |
95
+
96
+ **Returns:** *void*
@@ -37,7 +37,7 @@ ___
37
37
 
38
38
  ### `Optional` paymentData
39
39
 
40
- • **paymentData**? : *[CreditCardInstrument](creditcardinstrument.md) | [HostedInstrument](hostedinstrument.md) | [HostedCreditCardInstrument](../README.md#hostedcreditcardinstrument) | [HostedVaultedInstrument](../README.md#hostedvaultedinstrument) | [NonceInstrument](nonceinstrument.md) | [VaultedInstrument](vaultedinstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithDocumentInstrument](withdocumentinstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithCheckoutcomFawryInstrument](withcheckoutcomfawryinstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithCheckoutcomSEPAInstrument](withcheckoutcomsepainstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithCheckoutcomiDealInstrument](withcheckoutcomidealinstrument.md) | [HostedInstrument](hostedinstrument.md) & [WithMollieIssuerInstrument](withmollieissuerinstrument.md)*
40
+ • **paymentData**? : *[CreditCardInstrument](creditcardinstrument.md) | [HostedInstrument](hostedinstrument.md) | [HostedCreditCardInstrument](../README.md#hostedcreditcardinstrument) | [HostedVaultedInstrument](../README.md#hostedvaultedinstrument) | [NonceInstrument](nonceinstrument.md) | [VaultedInstrument](vaultedinstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithDocumentInstrument](withdocumentinstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithCheckoutcomFawryInstrument](withcheckoutcomfawryinstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithCheckoutcomSEPAInstrument](withcheckoutcomsepainstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithCheckoutcomiDealInstrument](withcheckoutcomidealinstrument.md) | [HostedInstrument](hostedinstrument.md) & [WithMollieIssuerInstrument](withmollieissuerinstrument.md) | [WithAccountCreation](withaccountcreation.md)*
41
41
 
42
42
  An object that contains the details of a credit card, vaulted payment
43
43
  instrument or nonce instrument.
@@ -0,0 +1,19 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) › [WithAccountCreation](withaccountcreation.md)
2
+
3
+ # Interface: WithAccountCreation
4
+
5
+ ## Hierarchy
6
+
7
+ * **WithAccountCreation**
8
+
9
+ ## Index
10
+
11
+ ### Properties
12
+
13
+ * [shouldCreateAccount](withaccountcreation.md#optional-shouldcreateaccount)
14
+
15
+ ## Properties
16
+
17
+ ### `Optional` shouldCreateAccount
18
+
19
+ • **shouldCreateAccount**? : *undefined | false | true*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.181.0",
3
+ "version": "1.183.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",