@bigcommerce/checkout-sdk 1.371.0 → 1.371.2

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,20 @@
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.371.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.371.1...v1.371.2) (2023-03-30)
6
+
7
+
8
+ ### Code Refactoring
9
+
10
+ * **payment:** PAYPAL-000 added paypal commerce integration service mock to simplify test files ([#1926](https://github.com/bigcommerce/checkout-sdk-js/issues/1926)) ([b9265af](https://github.com/bigcommerce/checkout-sdk-js/commit/b9265af8e6b2efd16c8b8022fba63c09cb54eeeb))
11
+
12
+ ### [1.371.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.371.0...v1.371.1) (2023-03-28)
13
+
14
+
15
+ ### Code Refactoring
16
+
17
+ * **payment:** PAYPAL-2078 removed PayPalCommerceInlineCheckoutButtonStrategy ([#1922](https://github.com/bigcommerce/checkout-sdk-js/issues/1922)) ([7d586db](https://github.com/bigcommerce/checkout-sdk-js/commit/7d586db8f65cba45419cb7c29350084fc3963a15))
18
+
5
19
  ## [1.371.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.370.0...v1.371.0) (2023-03-27)
6
20
 
7
21
 
@@ -458,7 +458,7 @@ declare class CheckoutButtonErrorSelector {
458
458
  getDeinitializeButtonError(methodId?: CheckoutButtonMethodType): Error | undefined;
459
459
  }
460
460
 
461
- declare type CheckoutButtonInitializeOptions = BaseCheckoutButtonInitializeOptions & WithApplePayButtonInitializeOptions & WithBoltButtonInitializeOptions & WithPayPalCommerceButtonInitializeOptions & WithPayPalCommerceCreditButtonInitializeOptions & WithPayPalCommerceInlineButtonInitializeOptions & WithPayPalCommerceVenmoButtonInitializeOptions;
461
+ declare type CheckoutButtonInitializeOptions = BaseCheckoutButtonInitializeOptions & WithApplePayButtonInitializeOptions & WithBoltButtonInitializeOptions & WithPayPalCommerceButtonInitializeOptions & WithPayPalCommerceCreditButtonInitializeOptions & WithPayPalCommerceVenmoButtonInitializeOptions;
462
462
 
463
463
  declare class CheckoutButtonInitializer {
464
464
  private _store;
@@ -634,14 +634,6 @@ declare interface PayPalButtonStyleOptions {
634
634
  shape?: StyleButtonShape;
635
635
  height?: number;
636
636
  label?: StyleButtonLabel;
637
- custom?: {
638
- label?: string;
639
- css?: {
640
- background?: string;
641
- color?: string;
642
- width?: string;
643
- };
644
- };
645
637
  }
646
638
 
647
639
  /**
@@ -701,32 +693,6 @@ declare interface PayPalCommerceCreditButtonInitializeOptions {
701
693
  onComplete?(): void;
702
694
  }
703
695
 
704
- /**
705
- * A set of options that are required to initialize ApplePay in cart.
706
- *
707
- * When ApplePay is initialized, an ApplePay button will be inserted into the
708
- * DOM. When a customer clicks on it, it will trigger Apple sheet.
709
- */
710
- declare interface PayPalCommerceInlineButtonInitializeOptions {
711
- /**
712
- * A class name used to add special class for container where the button will be generated in
713
- * Default: 'PaypalCommerceInlineButton'
714
- */
715
- buttonContainerClassName?: string;
716
- /**
717
- * A set of styling options for the checkout button.
718
- */
719
- style?: Pick<PayPalButtonStyleOptions, 'custom'>;
720
- /**
721
- * A callback that gets called when payment complete on paypal side.
722
- */
723
- onComplete(): void;
724
- /**
725
- * A callback that gets called on any error
726
- */
727
- onError?(): void;
728
- }
729
-
730
696
  declare interface PayPalCommerceVenmoButtonInitializeOptions {
731
697
  /**
732
698
  * A set of styling options for the checkout button.
@@ -888,10 +854,6 @@ declare interface WithPayPalCommerceCreditButtonInitializeOptions {
888
854
  paypalcommercecredit?: PayPalCommerceCreditButtonInitializeOptions;
889
855
  }
890
856
 
891
- declare interface WithPayPalCommerceInlineButtonInitializeOptions {
892
- paypalcommerceinline?: PayPalCommerceInlineButtonInitializeOptions;
893
- }
894
-
895
857
  declare interface WithPayPalCommerceVenmoButtonInitializeOptions {
896
858
  paypalcommercevenmo?: PayPalCommerceVenmoButtonInitializeOptions;
897
859
  }