@bigcommerce/checkout-sdk 1.323.1 → 1.324.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.
@@ -1106,6 +1106,11 @@ declare interface BaseCustomerInitializeOptions extends CustomerRequestOptions {
1106
1106
  * when using AmazonPayV2.
1107
1107
  */
1108
1108
  amazonpay?: AmazonPayV2CustomerInitializeOptions;
1109
+ /**
1110
+ * The options that are required to initialize the customer step of checkout
1111
+ * when using Braintree PayPal provided.
1112
+ */
1113
+ braintreepaypal?: BraintreePaypalCustomerInitializeOptions;
1109
1114
  /**
1110
1115
  * The options that are required to initialize the customer step of checkout
1111
1116
  * when using Visa Checkout provided by Braintree.
@@ -1807,6 +1812,19 @@ declare interface BraintreePaypalCreditButtonInitializeOptions {
1807
1812
  };
1808
1813
  }
1809
1814
 
1815
+ declare interface BraintreePaypalCustomerInitializeOptions {
1816
+ /**
1817
+ * The ID of a container which the checkout button should be inserted into.
1818
+ */
1819
+ container: string;
1820
+ /**
1821
+ * A callback that gets called on any error instead of submit payment or authorization errors.
1822
+ *
1823
+ * @param error - The error object describing the failure.
1824
+ */
1825
+ onError?(error: BraintreeError | StandardError): void;
1826
+ }
1827
+
1810
1828
  declare interface BraintreeStoredCardFieldOptions extends BraintreeFormFieldOptions {
1811
1829
  instrumentId: string;
1812
1830
  }