@bigcommerce/checkout-sdk 1.298.2 → 1.299.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 +16 -0
- package/dist/checkout-button.d.ts +30 -0
- 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 +30 -0
- 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/BraintreePaypalButtonInitializeOptions.md +24 -0
- package/docs/interfaces/BraintreePaypalCreditButtonInitializeOptions.md +24 -0
- package/docs/interfaces/BraintreeVenmoButtonInitializeOptions.md +27 -0
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -1736,6 +1736,16 @@ declare interface BraintreePaypalButtonInitializeOptions {
|
|
|
1736
1736
|
* @param error - The error object describing the failure.
|
|
1737
1737
|
*/
|
|
1738
1738
|
onError?(error: BraintreeError | StandardError): void;
|
|
1739
|
+
/**
|
|
1740
|
+
* The option that used to initialize a PayPal script with provided currency code.
|
|
1741
|
+
*/
|
|
1742
|
+
currencyCode?: string;
|
|
1743
|
+
/**
|
|
1744
|
+
* The options that are required to initialize Buy Now functionality.
|
|
1745
|
+
*/
|
|
1746
|
+
buyNowInitializeOptions?: {
|
|
1747
|
+
getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
|
|
1748
|
+
};
|
|
1739
1749
|
}
|
|
1740
1750
|
|
|
1741
1751
|
declare interface BraintreePaypalCreditButtonInitializeOptions {
|
|
@@ -1766,6 +1776,16 @@ declare interface BraintreePaypalCreditButtonInitializeOptions {
|
|
|
1766
1776
|
* @param error - The error object describing the failure.
|
|
1767
1777
|
*/
|
|
1768
1778
|
onError?(error: BraintreeError | StandardError): void;
|
|
1779
|
+
/**
|
|
1780
|
+
* The option that used to initialize a PayPal script with provided currency code.
|
|
1781
|
+
*/
|
|
1782
|
+
currencyCode?: string;
|
|
1783
|
+
/**
|
|
1784
|
+
* The options that are required to initialize Buy Now functionality.
|
|
1785
|
+
*/
|
|
1786
|
+
buyNowInitializeOptions?: {
|
|
1787
|
+
getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
|
|
1788
|
+
};
|
|
1769
1789
|
}
|
|
1770
1790
|
|
|
1771
1791
|
declare interface BraintreeStoredCardFieldOptions extends BraintreeFormFieldOptions {
|
|
@@ -1812,6 +1832,16 @@ declare interface BraintreeVenmoButtonInitializeOptions {
|
|
|
1812
1832
|
* @param error - The error object describing the failure.
|
|
1813
1833
|
*/
|
|
1814
1834
|
onError?(error: BraintreeError | StandardError): void;
|
|
1835
|
+
/**
|
|
1836
|
+
* The option that used to initialize a PayPal script with provided currency code.
|
|
1837
|
+
*/
|
|
1838
|
+
currencyCode?: string;
|
|
1839
|
+
/**
|
|
1840
|
+
* The options that are required to initialize Buy Now functionality.
|
|
1841
|
+
*/
|
|
1842
|
+
buyNowInitializeOptions?: {
|
|
1843
|
+
getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
|
|
1844
|
+
};
|
|
1815
1845
|
}
|
|
1816
1846
|
|
|
1817
1847
|
declare interface BraintreeVerifyPayload {
|