@bigcommerce/checkout-sdk 1.328.0 → 1.329.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.
@@ -219,7 +219,7 @@ declare interface AdyenCreditCardComponentOptions extends AdyenBaseCardComponent
219
219
  placeholders?: CreditCardPlaceHolder | SepaPlaceHolder;
220
220
  }
221
221
 
222
- declare interface AdyenIdealComponentOptions {
222
+ declare interface AdyenIdealComponentOptions extends AdyenBaseCardComponentOptions {
223
223
  /**
224
224
  * Optional. Set to **false** to remove the bank logos from the iDEAL form.
225
225
  */
@@ -1007,6 +1007,11 @@ declare interface BaseCustomerInitializeOptions extends CustomerRequestOptions {
1007
1007
  * when using Braintree PayPal provided.
1008
1008
  */
1009
1009
  braintreepaypal?: BraintreePaypalCustomerInitializeOptions;
1010
+ /**
1011
+ * The options that are required to facilitate Braintree Credit. They can be
1012
+ * omitted unless you need to support Braintree Credit.
1013
+ */
1014
+ braintreepaypalcredit?: BraintreePaypalCreditCustomerInitializeOptions;
1010
1015
  /**
1011
1016
  * The options that are required to initialize the customer step of checkout
1012
1017
  * when using Visa Checkout provided by Braintree.
@@ -1703,6 +1708,19 @@ declare interface BraintreePaypalCreditButtonInitializeOptions {
1703
1708
  };
1704
1709
  }
1705
1710
 
1711
+ declare interface BraintreePaypalCreditCustomerInitializeOptions {
1712
+ /**
1713
+ * The ID of a container which the checkout button should be inserted into.
1714
+ */
1715
+ container: string;
1716
+ /**
1717
+ * A callback that gets called on any error instead of submit payment or authorization errors.
1718
+ *
1719
+ * @param error - The error object describing the failure.
1720
+ */
1721
+ onError?(error: BraintreeError | StandardError): void;
1722
+ }
1723
+
1706
1724
  declare interface BraintreePaypalCustomerInitializeOptions {
1707
1725
  /**
1708
1726
  * The ID of a container which the checkout button should be inserted into.
@@ -4317,6 +4335,7 @@ declare interface CreditCardPlaceHolder_2 {
4317
4335
 
4318
4336
  declare interface CssProperties {
4319
4337
  background?: string;
4338
+ caretColor?: string;
4320
4339
  color?: string;
4321
4340
  display?: string;
4322
4341
  font?: string;
@@ -4349,6 +4368,7 @@ declare interface CssProperties {
4349
4368
 
4350
4369
  declare interface CssProperties_2 {
4351
4370
  background?: string;
4371
+ caretColor?: string;
4352
4372
  color?: string;
4353
4373
  display?: string;
4354
4374
  font?: string;