@bigcommerce/checkout-sdk 1.259.0 → 1.262.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.
@@ -1200,7 +1200,11 @@ declare interface BraintreePaymentInitializeOptions {
1200
1200
  form?: BraintreeFormOptions;
1201
1201
  }
1202
1202
 
1203
- declare interface BraintreePaypalCreditButtonInitializeOptions {
1203
+ declare interface BraintreePaypalButtonInitializeOptions {
1204
+ /**
1205
+ * The ID of a container which the messaging should be inserted.
1206
+ */
1207
+ messagingContainerId?: string;
1204
1208
  /**
1205
1209
  * A set of styling options for the checkout button.
1206
1210
  */
@@ -1230,19 +1234,11 @@ declare interface BraintreePaypalCreditButtonInitializeOptions {
1230
1234
  onError?(error: BraintreeError | StandardError): void;
1231
1235
  }
1232
1236
 
1233
- declare interface BraintreePaypalV1ButtonInitializeOptions {
1234
- /**
1235
- * The ID of a container which the messaging should be inserted.
1236
- */
1237
- messagingContainerId?: string;
1237
+ declare interface BraintreePaypalCreditButtonInitializeOptions {
1238
1238
  /**
1239
1239
  * A set of styling options for the checkout button.
1240
1240
  */
1241
1241
  style?: Pick<PaypalButtonStyleOptions, 'layout' | 'size' | 'color' | 'label' | 'shape' | 'tagline' | 'fundingicons' | 'height'>;
1242
- /**
1243
- * Whether or not to show a credit button.
1244
- */
1245
- allowCredit?: boolean;
1246
1242
  /**
1247
1243
  * Address to be used for shipping.
1248
1244
  * If not provided, it will use the first saved address from the active customer.
@@ -1669,17 +1665,12 @@ declare interface CheckoutButtonInitializeOptions extends CheckoutButtonOptions
1669
1665
  * The options that are required to facilitate Braintree PayPal. They can be
1670
1666
  * omitted unless you need to support Braintree PayPal.
1671
1667
  */
1672
- braintreepaypal?: BraintreePaypalV1ButtonInitializeOptions;
1673
- /**
1674
- * The options that are required to facilitate Braintree Credit. They can be
1675
- * omitted unless you need to support Braintree Credit.
1676
- */
1677
- braintreepaypalcredit?: BraintreePaypalV1ButtonInitializeOptions;
1668
+ braintreepaypal?: BraintreePaypalButtonInitializeOptions;
1678
1669
  /**
1679
1670
  * The options that are required to facilitate Braintree Credit. They can be
1680
1671
  * omitted unless you need to support Braintree Credit.
1681
1672
  */
1682
- braintreepaypalcreditv2?: BraintreePaypalCreditButtonInitializeOptions;
1673
+ braintreepaypalcredit?: BraintreePaypalCreditButtonInitializeOptions;
1683
1674
  /**
1684
1675
  * The options that are required to facilitate Braintree Venmo. They can be
1685
1676
  * omitted unless you need to support Braintree Venmo.