@bigcommerce/checkout-sdk 1.589.0 → 1.589.1

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.
@@ -1276,25 +1276,6 @@ declare interface BoltPaymentInitializeOptions {
1276
1276
  onPaymentSelect?(hasBoltAccount: boolean): void;
1277
1277
  }
1278
1278
 
1279
- /**
1280
- * A set of options that are required to initialize the shipping step of
1281
- * checkout in order to support Braintree Accelerated Checkout.
1282
- */
1283
- declare interface BraintreeAcceleratedCheckoutShippingInitializeOptions {
1284
- /**
1285
- * The identifier of the payment method.
1286
- */
1287
- methodId: string;
1288
- /**
1289
- * Is a stylisation options for customizing PayPal Connect components
1290
- *
1291
- * Note: the styles for all Braintree Accelerated Checkout strategies should be the same,
1292
- * because they will be provided to PayPal library only for the first strategy initialization
1293
- * no matter what strategy was initialised first
1294
- */
1295
- styles?: BraintreeConnectStylesOption;
1296
- }
1297
-
1298
1279
  declare interface BraintreeAchInitializeOptions {
1299
1280
  /**
1300
1281
  * A callback that returns text that should be displayed to the customer in UI for proof of authorization
@@ -1433,6 +1414,21 @@ declare interface BraintreeFastlanePaymentInitializeOptions {
1433
1414
  styles?: BraintreeFastlaneStylesOption;
1434
1415
  }
1435
1416
 
1417
+ /**
1418
+ * A set of options that are required to initialize the shipping step of
1419
+ * checkout in order to support Braintree Fastlane.
1420
+ */
1421
+ declare interface BraintreeFastlaneShippingInitializeOptions {
1422
+ /**
1423
+ * Is a stylisation options for customizing PayPal Fastlane components
1424
+ *
1425
+ * Note: the styles for all Braintree Fastlane strategies should be the same,
1426
+ * because they will be provided to PayPal library only for the first strategy initialization
1427
+ * no matter what strategy was initialised first
1428
+ */
1429
+ styles?: BraintreeConnectStylesOption;
1430
+ }
1431
+
1436
1432
  declare type BraintreeFormErrorData = Omit<BraintreeFormFieldState, 'isFocused'>;
1437
1433
 
1438
1434
  declare type BraintreeFormErrorDataKeys = 'number' | 'expirationDate' | 'expirationMonth' | 'expirationYear' | 'cvv' | 'postalCode';
@@ -7134,6 +7130,21 @@ declare interface PayPalCommerceFastlanePaymentInitializeOptions {
7134
7130
  styles?: PayPalFastlaneStylesOption;
7135
7131
  }
7136
7132
 
7133
+ /**
7134
+ * A set of options that are required to initialize the shipping step of
7135
+ * checkout in order to support PayPal Commerce Fastlane.
7136
+ */
7137
+ declare interface PayPalCommerceFastlaneShippingInitializeOptions {
7138
+ /**
7139
+ * Is a stylisation options for customizing PayPal Fastlane components
7140
+ *
7141
+ * Note: the styles for all PayPal Commerce Fastlane strategies should be the same,
7142
+ * because they will be provided to PayPal library only for the first strategy initialization
7143
+ * no matter what strategy was initialised first
7144
+ */
7145
+ styles?: PayPalFastlaneStylesOption;
7146
+ }
7147
+
7137
7148
  declare interface PayPalCommerceFieldsStyleOptions {
7138
7149
  variables?: {
7139
7150
  fontFamily?: string;
@@ -7789,9 +7800,14 @@ declare interface ShippingInitializeOptions<T = {}> extends ShippingRequestOptio
7789
7800
  stripeupe?: StripeUPEShippingInitializeOptions;
7790
7801
  /**
7791
7802
  * The options that are required to initialize the shipping step of checkout
7792
- * when using Braintree Accelerated Checkout.
7803
+ * when using Braintree Fastlane.
7804
+ */
7805
+ braintreefastlane?: BraintreeFastlaneShippingInitializeOptions;
7806
+ /**
7807
+ * The options that are required to initialize the shipping step of checkout
7808
+ * when using PayPal Commerce Fastlane.
7793
7809
  */
7794
- braintreeacceleratedcheckout?: BraintreeAcceleratedCheckoutShippingInitializeOptions;
7810
+ paypalcommercefastlane?: PayPalCommerceFastlaneShippingInitializeOptions;
7795
7811
  }
7796
7812
 
7797
7813
  declare interface ShippingOption {