@bigcommerce/checkout-sdk 1.262.3 → 1.264.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 CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.264.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.263.0...v1.264.0) (2022-07-05)
6
+
7
+
8
+ ### Features
9
+
10
+ * **payment:** INT-3926 StripeV3: Google Pay: Add BOPIS support ([#1483](https://github.com/bigcommerce/checkout-sdk-js/issues/1483)) ([ccde9b2](https://github.com/bigcommerce/checkout-sdk-js/commit/ccde9b27d86fa83c9bc8db59be695d386d4c545c))
11
+
12
+ ## [1.263.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.262.4...v1.263.0) (2022-07-05)
13
+
14
+
15
+ ### Features
16
+
17
+ * **payment:** PAYPAL-1383 added PayPalCommerce Venmo button strategy ([#1485](https://github.com/bigcommerce/checkout-sdk-js/issues/1485)) ([6fb289f](https://github.com/bigcommerce/checkout-sdk-js/commit/6fb289fa252b5a21cdc0958dfa88a1121e200775))
18
+
19
+ ### [1.262.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.262.3...v1.262.4) (2022-07-05)
20
+
5
21
  ### [1.262.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.262.2...v1.262.3) (2022-07-01)
6
22
 
7
23
  ### [1.262.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.262.1...v1.262.2) (2022-06-30)
@@ -251,16 +251,6 @@ declare interface CheckoutButtonInitializeOptions extends CheckoutButtonOptions
251
251
  * omitted unless you need to support Braintree Venmo.
252
252
  */
253
253
  braintreevenmo?: BraintreeVenmoButtonInitializeOptions;
254
- /**
255
- * The options that are required to facilitate PayPal. They can be omitted
256
- * unless you need to support Paypal.
257
- */
258
- paypal?: PaypalButtonInitializeOptions;
259
- /**
260
- * The options that are required to facilitate PayPal Commerce. They can be omitted
261
- * unless you need to support Paypal.
262
- */
263
- paypalCommerce?: PaypalCommerceButtonInitializeOptions;
264
254
  /**
265
255
  * The ID of a container which the checkout button should be inserted.
266
256
  */
@@ -310,6 +300,21 @@ declare interface CheckoutButtonInitializeOptions extends CheckoutButtonOptions
310
300
  * They can be omitted unless you need to support Authorize.Net GooglePay.
311
301
  */
312
302
  googlepayauthorizenet?: GooglePayButtonInitializeOptions;
303
+ /**
304
+ * The options that are required to facilitate PayPal. They can be omitted
305
+ * unless you need to support Paypal.
306
+ */
307
+ paypal?: PaypalButtonInitializeOptions;
308
+ /**
309
+ * The options that are required to facilitate PayPal Commerce. They can be omitted
310
+ * unless you need to support Paypal.
311
+ */
312
+ paypalCommerce?: PaypalCommerceButtonInitializeOptions;
313
+ /**
314
+ * The options that are required to facilitate PayPal Commerce Venmo. They can be omitted
315
+ * unless you need to support PayPal Commerce Venmo.
316
+ */
317
+ paypalcommercevenmo?: PaypalCommerceVenmoButtonInitializeOptions;
313
318
  }
314
319
 
315
320
  declare class CheckoutButtonInitializer {
@@ -419,7 +424,8 @@ declare enum CheckoutButtonMethodType {
419
424
  GOOGLEPAY_STRIPEUPE = "googlepaystripeupe",
420
425
  MASTERPASS = "masterpass",
421
426
  PAYPALEXPRESS = "paypalexpress",
422
- PAYPALCOMMERCE = "paypalcommerce"
427
+ PAYPALCOMMERCE = "paypalcommerce",
428
+ PAYPALCOMMERCE_VENMO = "paypalcommercevenmo"
423
429
  }
424
430
 
425
431
  /**
@@ -527,7 +533,7 @@ declare interface PaypalButtonStyleOptions_2 {
527
533
  layout?: StyleButtonLayout;
528
534
  color?: StyleButtonColor;
529
535
  shape?: StyleButtonShape;
530
- height?: 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55;
536
+ height?: number;
531
537
  label?: StyleButtonLabel;
532
538
  tagline?: boolean;
533
539
  }
@@ -555,6 +561,17 @@ declare interface PaypalCommerceButtonInitializeOptions {
555
561
  messagingContainer?: string;
556
562
  }
557
563
 
564
+ declare interface PaypalCommerceVenmoButtonInitializeOptions {
565
+ /**
566
+ * A set of styling options for the checkout button.
567
+ */
568
+ style?: PaypalButtonStyleOptions_2;
569
+ /**
570
+ * Flag which helps to detect that the strategy initializes on Checkout page
571
+ */
572
+ initializesOnCheckoutPage?: boolean;
573
+ }
574
+
558
575
  /**
559
576
  * A set of options for configuring an asynchronous request.
560
577
  */