@bigcommerce/checkout-sdk 1.617.1 → 1.618.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.
@@ -4764,6 +4764,10 @@ declare interface DeprecatedPayPalCommerceCreditCardsPaymentInitializeOptions {
4764
4764
  * The form is data for Credit Card Form
4765
4765
  */
4766
4766
  form?: HostedFormOptions_2;
4767
+ /**
4768
+ * The callback that gets called when there is an issue with rendering credit card fields
4769
+ */
4770
+ onCreditCardFieldsRenderingError?: (error: unknown) => void;
4767
4771
  }
4768
4772
 
4769
4773
  declare class DetachmentObserver {
@@ -6893,6 +6897,7 @@ declare interface PayPalCommerceCreditButtonInitializeOptions {
6893
6897
  * cardCode: { containerId: 'card-code' },
6894
6898
  * },
6895
6899
  * },
6900
+ * onCreditCardFieldsRenderingError: (error) => handleError(error),
6896
6901
  * },
6897
6902
  * });
6898
6903
  * ```
@@ -6939,6 +6944,7 @@ declare interface PayPalCommerceCreditButtonInitializeOptions {
6939
6944
  * console.log(isValid);
6940
6945
  * },
6941
6946
  * },
6947
+ * onCreditCardFieldsRenderingError: (error) => handleError(error),
6942
6948
  * },
6943
6949
  * });
6944
6950
  * ```
@@ -6948,6 +6954,10 @@ declare interface PayPalCommerceCreditCardsPaymentInitializeOptions {
6948
6954
  * The form is data for Credit Card Form
6949
6955
  */
6950
6956
  form: HostedFormOptions_2;
6957
+ /**
6958
+ * The callback that gets called when there is an issue with rendering credit card fields
6959
+ */
6960
+ onCreditCardFieldsRenderingError?: (error: unknown) => void;
6951
6961
  }
6952
6962
 
6953
6963
  declare interface PayPalCommerceCreditCustomerInitializeOptions {