@bigcommerce/checkout-sdk 1.744.1 → 1.745.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 +13 -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/dist/hosted-form-v2-iframe-host.js +1 -1
- package/dist/hosted-form-v2-iframe-host.umd.js +1 -1
- package/docs/README.md +1 -0
- package/docs/interfaces/BasePaymentInitializeOptions.md +10 -0
- package/docs/interfaces/BraintreeVenmoInitializeOptions.md +18 -0
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -786,6 +786,11 @@ declare interface BasePaymentInitializeOptions extends PaymentRequestOptions {
|
|
|
786
786
|
* They can be omitted unless you need to support PayPal Express.
|
|
787
787
|
*/
|
|
788
788
|
paypalexpress?: PaypalExpressPaymentInitializeOptions;
|
|
789
|
+
/**
|
|
790
|
+
* The options that are required to initialize the Braintree Venmo payment method.
|
|
791
|
+
* They can be omitted unless you need to support Braintree Venmo.
|
|
792
|
+
*/
|
|
793
|
+
braintreevenmo?: BraintreeVenmoInitializeOptions;
|
|
789
794
|
}
|
|
790
795
|
|
|
791
796
|
declare interface BigCommercePaymentsAlternativeMethodsButtonInitializeOptions {
|
|
@@ -2429,6 +2434,14 @@ declare interface BraintreeThreeDSecureOptions {
|
|
|
2429
2434
|
};
|
|
2430
2435
|
}
|
|
2431
2436
|
|
|
2437
|
+
declare interface BraintreeVenmoInitializeOptions {
|
|
2438
|
+
/**
|
|
2439
|
+
* An option that can provide different payment authorization methods, for more information use the following link: https://developer.paypal.com/braintree/docs/guides/venmo/client-side/javascript/v3/#desktop-qr-code
|
|
2440
|
+
* If no value is specified, it will be true
|
|
2441
|
+
*/
|
|
2442
|
+
allowDesktop?: boolean;
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2432
2445
|
declare interface BraintreeVerifyPayload {
|
|
2433
2446
|
nonce: string;
|
|
2434
2447
|
details?: {
|