@bigcommerce/checkout-sdk 1.743.1 → 1.743.2

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.
@@ -1132,6 +1132,26 @@ declare interface BigCommercePaymentsFastlanePaymentInitializeOptions {
1132
1132
  styles?: PayPalFastlaneStylesOption;
1133
1133
  }
1134
1134
 
1135
+ /**
1136
+ * A set of options that are required to initialize the shipping step of
1137
+ * checkout in order to support BigCommercePayments Fastlane.
1138
+ */
1139
+ declare interface BigCommercePaymentsFastlaneShippingInitializeOptions {
1140
+ /**
1141
+ * Is a stylisation options for customizing BigCommercePayments Fastlane components
1142
+ *
1143
+ * Note: the styles for all BigCommercePayments Fastlane strategies should be the same,
1144
+ * because they will be provided to fastlane library only for the first strategy initialization
1145
+ * no matter what strategy was initialised first
1146
+ */
1147
+ styles?: PayPalFastlaneStylesOption;
1148
+ /**
1149
+ * Is a callback that shows BigCommercePayments Fastlane popup with customer addresses
1150
+ * when get triggered
1151
+ */
1152
+ onPayPalFastlaneAddressChange?: (showPayPalFastlaneAddressSelector: () => Promise<CustomerAddress_2 | undefined>) => void;
1153
+ }
1154
+
1135
1155
  declare interface BigCommercePaymentsFieldsStyleOptions {
1136
1156
  variables?: {
1137
1157
  fontFamily?: string;
@@ -8308,6 +8328,11 @@ declare interface ShippingInitializeOptions<T = {}> extends ShippingRequestOptio
8308
8328
  * when using PayPal Commerce Fastlane.
8309
8329
  */
8310
8330
  paypalcommercefastlane?: PayPalCommerceFastlaneShippingInitializeOptions;
8331
+ /**
8332
+ * The options that are required to initialize the shipping step of checkout
8333
+ * when using BigCommercePayments Fastlane.
8334
+ */
8335
+ bigcommerce_payments_fastlane?: BigCommercePaymentsFastlaneShippingInitializeOptions;
8311
8336
  }
8312
8337
 
8313
8338
  declare interface ShippingOption {