@bigcommerce/checkout-sdk 1.304.0 → 1.305.1
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 +14 -0
- package/dist/checkout-button.d.ts +4 -19
- 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 +23 -19
- 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/README.md +2 -0
- package/docs/interfaces/BodlEventsPayload.md +7 -0
- package/docs/interfaces/BodlService.md +140 -0
- package/docs/interfaces/CheckoutPaymentMethodExecutedOptions.md +15 -0
- package/docs/interfaces/ExecutePaymentMethodCheckoutOptions.md +17 -0
- package/docs/interfaces/PaypalCommerceInlineCheckoutButtonInitializeOptions.md +13 -34
- package/package.json +1 -1
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.305.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.305.0...v1.305.1) (2022-11-08)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Code Refactoring
|
|
9
|
+
|
|
10
|
+
* **payment:** PAYPAL-1773 removed unnecessary business logic from PayPalCommerceInlineCheckoutButton strategy ([#1672](https://github.com/bigcommerce/checkout-sdk-js/issues/1672)) ([66597b0](https://github.com/bigcommerce/checkout-sdk-js/commit/66597b01d7487c5e3d2c7fbeaf70bf4050249f31))
|
|
11
|
+
|
|
12
|
+
## [1.305.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.304.0...v1.305.0) (2022-11-08)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **payment:** BOLT-386 Add BODL analytics tracking events ([4cf875c](https://github.com/bigcommerce/checkout-sdk-js/commit/4cf875cd629136293dea5245416593bedcedf047))
|
|
18
|
+
|
|
5
19
|
## [1.304.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.303.0...v1.304.0) (2022-11-07)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -795,30 +795,11 @@ declare interface PaypalCommerceCreditButtonInitializeOptions {
|
|
|
795
795
|
}
|
|
796
796
|
|
|
797
797
|
declare interface PaypalCommerceInlineCheckoutButtonInitializeOptions {
|
|
798
|
-
/**
|
|
799
|
-
* Accelerated Checkout Buttons container - is a generic container for all AC buttons
|
|
800
|
-
* Used as a container where the button will be rendered with its own container
|
|
801
|
-
* Example: 'data-cart-accelerated-checkout-buttons'
|
|
802
|
-
* Info: we are using data attributes as an identifier because the buttons can be rendered in several places on the page
|
|
803
|
-
*/
|
|
804
|
-
acceleratedCheckoutContainerDataId: string;
|
|
805
|
-
/**
|
|
806
|
-
* A container identifier what used to add special class for container where the button will be generated in
|
|
807
|
-
* Example: 'data-paypal-commerce-inline-button'
|
|
808
|
-
* Info: we are using data attributes as an identifier because the buttons can be rendered in several places on the page
|
|
809
|
-
*/
|
|
810
|
-
buttonContainerDataId: string;
|
|
811
798
|
/**
|
|
812
799
|
* A class name used to add special class for container where the button will be generated in
|
|
813
800
|
* Default: 'PaypalCommerceInlineButton'
|
|
814
801
|
*/
|
|
815
802
|
buttonContainerClassName?: string;
|
|
816
|
-
/**
|
|
817
|
-
* Used by Accelerated Checkout strategy to hide native action button before rendering PayPal inline checkout button
|
|
818
|
-
* Example: 'data-checkout-now-button'
|
|
819
|
-
* Info: we are using data attributes as an identifier because the buttons can be rendered in several places on the page
|
|
820
|
-
*/
|
|
821
|
-
nativeCheckoutButtonDataId: string;
|
|
822
803
|
/**
|
|
823
804
|
* A set of styling options for the checkout button.
|
|
824
805
|
*/
|
|
@@ -827,6 +808,10 @@ declare interface PaypalCommerceInlineCheckoutButtonInitializeOptions {
|
|
|
827
808
|
* A callback that gets called when payment complete on paypal side.
|
|
828
809
|
*/
|
|
829
810
|
onComplete(): void;
|
|
811
|
+
/**
|
|
812
|
+
* A callback that gets called on any error
|
|
813
|
+
*/
|
|
814
|
+
onError?(): void;
|
|
830
815
|
}
|
|
831
816
|
|
|
832
817
|
declare interface PaypalCommerceVenmoButtonInitializeOptions {
|