@bigcommerce/checkout-sdk 1.650.2 → 1.650.3
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 +1 -78
- 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/dist/hosted-form-v2-iframe-host.js +1 -1
- package/dist/hosted-form-v2-iframe-host.umd.js +1 -1
- package/docs/README.md +0 -2
- package/docs/interfaces/BaseCustomerInitializeOptions.md +0 -10
- package/docs/interfaces/BasePaymentInitializeOptions.md +0 -10
- package/docs/interfaces/MasterpassPaymentInitializeOptions.md +1 -1
- package/package.json +1 -1
- package/docs/interfaces/ChasePayCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/ChasePayInitializeOptions.md +0 -98
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -705,11 +705,6 @@ declare interface BaseCustomerInitializeOptions extends CustomerRequestOptions {
|
|
|
705
705
|
* when using Visa Checkout provided by Braintree.
|
|
706
706
|
*/
|
|
707
707
|
braintreevisacheckout?: BraintreeVisaCheckoutCustomerInitializeOptions;
|
|
708
|
-
/**
|
|
709
|
-
* The options that are required to initialize the Chasepay payment method.
|
|
710
|
-
* They can be omitted unless you need to support Chasepay.
|
|
711
|
-
*/
|
|
712
|
-
chasepay?: ChasePayCustomerInitializeOptions;
|
|
713
708
|
/**
|
|
714
709
|
* The options that are required to initialize the Masterpass payment method.
|
|
715
710
|
* They can be omitted unless you need to support Masterpass.
|
|
@@ -820,11 +815,6 @@ declare interface BasePaymentInitializeOptions extends PaymentRequestOptions {
|
|
|
820
815
|
* They can be omitted unless you need to support Square.
|
|
821
816
|
*/
|
|
822
817
|
square?: SquarePaymentInitializeOptions;
|
|
823
|
-
/**
|
|
824
|
-
* The options that are required to initialize the Chasepay payment method.
|
|
825
|
-
* They can be omitted unless you need to support Chasepay.
|
|
826
|
-
*/
|
|
827
|
-
chasepay?: ChasePayInitializeOptions;
|
|
828
818
|
}
|
|
829
819
|
|
|
830
820
|
declare interface BillingAddress extends Address {
|
|
@@ -1880,73 +1870,6 @@ declare interface CartSelector {
|
|
|
1880
1870
|
isLoading(): boolean;
|
|
1881
1871
|
}
|
|
1882
1872
|
|
|
1883
|
-
declare interface ChasePayCustomerInitializeOptions {
|
|
1884
|
-
container: string;
|
|
1885
|
-
}
|
|
1886
|
-
|
|
1887
|
-
/**
|
|
1888
|
-
* A set of options that are required to initialize the Chase Pay payment method.
|
|
1889
|
-
*
|
|
1890
|
-
* ```html
|
|
1891
|
-
* <!-- This is where the Chase Pay button will be inserted -->
|
|
1892
|
-
* <div id="wallet-button"></div>
|
|
1893
|
-
* ```
|
|
1894
|
-
*
|
|
1895
|
-
* ```js
|
|
1896
|
-
* service.initializePayment({
|
|
1897
|
-
* methodId: 'chasepay',
|
|
1898
|
-
* chasepay: {
|
|
1899
|
-
* walletButton: 'wallet-button',
|
|
1900
|
-
* },
|
|
1901
|
-
* });
|
|
1902
|
-
* ```
|
|
1903
|
-
*
|
|
1904
|
-
* Additional options can be passed in to customize the fields and register
|
|
1905
|
-
* event callbacks.
|
|
1906
|
-
*
|
|
1907
|
-
* ```html
|
|
1908
|
-
* <!-- This is where the Chase Pay logo will be inserted -->
|
|
1909
|
-
* <div id="logo"></div>
|
|
1910
|
-
* ```
|
|
1911
|
-
*
|
|
1912
|
-
* ```js
|
|
1913
|
-
* service.initializePayment({
|
|
1914
|
-
* methodId: 'chasepay',
|
|
1915
|
-
* chasepay: {
|
|
1916
|
-
* walletButton: 'wallet-button',
|
|
1917
|
-
* logoContainer: 'logo',
|
|
1918
|
-
* onPaymentSelect() {
|
|
1919
|
-
* console.log('Selected');
|
|
1920
|
-
* },
|
|
1921
|
-
* onCancel() {
|
|
1922
|
-
* console.log('Cancelled');
|
|
1923
|
-
* },
|
|
1924
|
-
* },
|
|
1925
|
-
* });
|
|
1926
|
-
* ```
|
|
1927
|
-
*/
|
|
1928
|
-
declare interface ChasePayInitializeOptions {
|
|
1929
|
-
/**
|
|
1930
|
-
* This container is used to host the chasepay branding logo.
|
|
1931
|
-
* It should be an HTML element.
|
|
1932
|
-
*/
|
|
1933
|
-
logoContainer?: string;
|
|
1934
|
-
/**
|
|
1935
|
-
* This walletButton is used to set an event listener, provide an element ID if you want
|
|
1936
|
-
* users to be able to launch the ChasePay wallet modal by clicking on a button.
|
|
1937
|
-
* It should be an HTML element.
|
|
1938
|
-
*/
|
|
1939
|
-
walletButton?: string;
|
|
1940
|
-
/**
|
|
1941
|
-
* A callback that gets called when the customer selects a payment option.
|
|
1942
|
-
*/
|
|
1943
|
-
onPaymentSelect?(): void;
|
|
1944
|
-
/**
|
|
1945
|
-
* A callback that gets called when the customer cancels their payment selection.
|
|
1946
|
-
*/
|
|
1947
|
-
onCancel?(): void;
|
|
1948
|
-
}
|
|
1949
|
-
|
|
1950
1873
|
declare interface CheckableInputStyles extends InputStyles {
|
|
1951
1874
|
error?: InputStyles;
|
|
1952
1875
|
checked?: BlockElementStyles;
|
|
@@ -5939,7 +5862,7 @@ declare interface MasterpassCustomerInitializeOptions {
|
|
|
5939
5862
|
declare interface MasterpassPaymentInitializeOptions {
|
|
5940
5863
|
/**
|
|
5941
5864
|
* This walletButton is used to set an event listener, provide an element ID if you want
|
|
5942
|
-
* users to be able to launch the
|
|
5865
|
+
* users to be able to launch the Masterpass wallet modal by clicking on a button.
|
|
5943
5866
|
* It should be an HTML element.
|
|
5944
5867
|
*/
|
|
5945
5868
|
walletButton?: string;
|