@bigcommerce/checkout-sdk 1.350.0 → 1.351.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/CHANGELOG.md +15 -0
- package/dist/checkout-button.d.ts +0 -21
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +6 -21
- 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/README.md +1 -1
- package/docs/enums/UntrustedShippingCardVerificationType.md +22 -0
- package/docs/interfaces/CardInstrument.md +7 -0
- package/docs/interfaces/PayPalButtonStyleOptions.md +0 -14
- package/docs/interfaces/PayPalCommerceButtonInitializeOptions.md +0 -11
- package/docs/interfaces/PayPalCommerceCreditButtonInitializeOptions.md +0 -9
- package/docs/interfaces/PayPalCommerceVenmoButtonInitializeOptions.md +0 -9
- package/package.json +1 -1
- package/docs/enums/StyleButtonLayout.md +0 -22
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -1930,6 +1930,7 @@ declare interface CardInstrument extends BaseInstrument {
|
|
|
1930
1930
|
iin: string;
|
|
1931
1931
|
last4: string;
|
|
1932
1932
|
type: 'card';
|
|
1933
|
+
untrustedShippingCardVerificationMode: UntrustedShippingCardVerificationType;
|
|
1933
1934
|
}
|
|
1934
1935
|
|
|
1935
1936
|
declare interface CardNumberElementOptions extends BaseIndividualElementOptions {
|
|
@@ -5938,12 +5939,10 @@ declare interface PasswordRequirements {
|
|
|
5938
5939
|
}
|
|
5939
5940
|
|
|
5940
5941
|
declare interface PayPalButtonStyleOptions {
|
|
5941
|
-
layout?: StyleButtonLayout;
|
|
5942
5942
|
color?: StyleButtonColor;
|
|
5943
5943
|
shape?: StyleButtonShape;
|
|
5944
5944
|
height?: number;
|
|
5945
5945
|
label?: StyleButtonLabel;
|
|
5946
|
-
tagline?: boolean;
|
|
5947
5946
|
custom?: {
|
|
5948
5947
|
label?: string;
|
|
5949
5948
|
css?: {
|
|
@@ -5978,12 +5977,6 @@ declare interface PayPalCommerceButtonInitializeOptions {
|
|
|
5978
5977
|
* The option that used to initialize a PayPal script with provided currency code.
|
|
5979
5978
|
*/
|
|
5980
5979
|
currencyCode?: string;
|
|
5981
|
-
/**
|
|
5982
|
-
* // TODO: this flag should be removed, because the strategy does not used on checkout page
|
|
5983
|
-
* // and it always equals to 'false'
|
|
5984
|
-
* Flag which helps to detect that the strategy initializes on Checkout page.
|
|
5985
|
-
*/
|
|
5986
|
-
initializesOnCheckoutPage?: boolean;
|
|
5987
5980
|
/**
|
|
5988
5981
|
* A set of styling options for the checkout button.
|
|
5989
5982
|
*/
|
|
@@ -5995,10 +5988,6 @@ declare interface PayPalCommerceButtonInitializeOptions {
|
|
|
5995
5988
|
}
|
|
5996
5989
|
|
|
5997
5990
|
declare interface PayPalCommerceCreditButtonInitializeOptions {
|
|
5998
|
-
/**
|
|
5999
|
-
* Flag which helps to detect that the strategy initializes on Checkout page
|
|
6000
|
-
*/
|
|
6001
|
-
initializesOnCheckoutPage?: boolean;
|
|
6002
5991
|
/**
|
|
6003
5992
|
* The ID of a container which the messaging should be inserted.
|
|
6004
5993
|
*/
|
|
@@ -6092,10 +6081,6 @@ declare interface PayPalCommerceVenmoButtonInitializeOptions {
|
|
|
6092
6081
|
* A set of styling options for the checkout button.
|
|
6093
6082
|
*/
|
|
6094
6083
|
style?: PayPalButtonStyleOptions;
|
|
6095
|
-
/**
|
|
6096
|
-
* Flag which helps to detect that the strategy initializes on Checkout page
|
|
6097
|
-
*/
|
|
6098
|
-
initializesOnCheckoutPage?: boolean;
|
|
6099
6084
|
/**
|
|
6100
6085
|
* The option that used to initialize a PayPal script with provided currency code.
|
|
6101
6086
|
*/
|
|
@@ -7399,11 +7384,6 @@ declare enum StyleButtonLabel {
|
|
|
7399
7384
|
installment = "installment"
|
|
7400
7385
|
}
|
|
7401
7386
|
|
|
7402
|
-
declare enum StyleButtonLayout {
|
|
7403
|
-
vertical = "vertical",
|
|
7404
|
-
horizontal = "horizontal"
|
|
7405
|
-
}
|
|
7406
|
-
|
|
7407
7387
|
declare enum StyleButtonShape {
|
|
7408
7388
|
pill = "pill",
|
|
7409
7389
|
rect = "rect"
|
|
@@ -7541,6 +7521,11 @@ declare interface UnknownObject {
|
|
|
7541
7521
|
[key: string]: unknown;
|
|
7542
7522
|
}
|
|
7543
7523
|
|
|
7524
|
+
declare enum UntrustedShippingCardVerificationType {
|
|
7525
|
+
CVV = "cvv",
|
|
7526
|
+
PAN = "pan"
|
|
7527
|
+
}
|
|
7528
|
+
|
|
7544
7529
|
declare type UserExperienceSettingNames = 'walletButtonsOnTop';
|
|
7545
7530
|
|
|
7546
7531
|
declare type UserExperienceSettings = {
|