@bigcommerce/checkout-sdk 1.590.0 → 1.592.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.
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +7 -2
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/interfaces/BraintreeFastlaneShippingInitializeOptions.md +1 -1
- package/docs/interfaces/PayPalCommerceFastlaneShippingInitializeOptions.md +23 -0
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
/// <reference types="lodash" />
|
|
4
4
|
import { AmazonPayV2ButtonConfig } from '@bigcommerce/checkout-sdk/amazon-pay-utils';
|
|
5
5
|
import { AmazonPayV2ButtonParameters } from '@bigcommerce/checkout-sdk/amazon-pay-utils';
|
|
6
|
-
import { BraintreeConnectStylesOption } from '@bigcommerce/checkout-sdk/braintree-utils';
|
|
7
6
|
import { BraintreeError as BraintreeError_2 } from '@bigcommerce/checkout-sdk/braintree-utils';
|
|
8
7
|
import { BraintreeFastlaneStylesOption } from '@bigcommerce/checkout-sdk/braintree-utils';
|
|
9
8
|
import { BuyNowCartRequestBody as BuyNowCartRequestBody_2 } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
@@ -11,6 +10,7 @@ import { CardClassSelectors } from '@square/web-payments-sdk-types';
|
|
|
11
10
|
import { CardInstrument as CardInstrument_2 } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
12
11
|
import { CartSource } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
13
12
|
import { CreditCardPaymentInitializeOptions } from '@bigcommerce/checkout-sdk/credit-card-integration';
|
|
13
|
+
import { CustomerAddress as CustomerAddress_2 } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
14
14
|
import { HostedForm as HostedFormInterface } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
15
15
|
import { HostedFormOptions as HostedFormOptions_2 } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
16
16
|
import { HostedInstrument as HostedInstrument_2 } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
@@ -1426,7 +1426,7 @@ declare interface BraintreeFastlaneShippingInitializeOptions {
|
|
|
1426
1426
|
* because they will be provided to PayPal library only for the first strategy initialization
|
|
1427
1427
|
* no matter what strategy was initialised first
|
|
1428
1428
|
*/
|
|
1429
|
-
styles?:
|
|
1429
|
+
styles?: BraintreeFastlaneStylesOption;
|
|
1430
1430
|
}
|
|
1431
1431
|
|
|
1432
1432
|
declare type BraintreeFormErrorData = Omit<BraintreeFormFieldState, 'isFocused'>;
|
|
@@ -7143,6 +7143,11 @@ declare interface PayPalCommerceFastlaneShippingInitializeOptions {
|
|
|
7143
7143
|
* no matter what strategy was initialised first
|
|
7144
7144
|
*/
|
|
7145
7145
|
styles?: PayPalFastlaneStylesOption;
|
|
7146
|
+
/**
|
|
7147
|
+
* Is a callback that shows PayPal Fastlane popup with customer addresses
|
|
7148
|
+
* when get triggered
|
|
7149
|
+
*/
|
|
7150
|
+
onPayPalFastlaneAddressChange?: (showPayPalFastlaneAddressSelector: () => Promise<CustomerAddress_2 | undefined>) => void;
|
|
7146
7151
|
}
|
|
7147
7152
|
|
|
7148
7153
|
declare interface PayPalCommerceFieldsStyleOptions {
|