@adobe/magento-storefront-events-sdk 1.1.9 → 1.1.10
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.
|
@@ -4,7 +4,9 @@ export declare type Order = {
|
|
|
4
4
|
grandTotal: number;
|
|
5
5
|
orderId: number;
|
|
6
6
|
otherTax: number;
|
|
7
|
+
/** @deprecated - use payments instead */
|
|
7
8
|
paymentMethodCode: string;
|
|
9
|
+
/** @deprecated - use payments instead */
|
|
8
10
|
paymentMethodName: string;
|
|
9
11
|
payments?: Payment[];
|
|
10
12
|
salesTax: number;
|
|
@@ -18,5 +20,5 @@ export declare type Payment = {
|
|
|
18
20
|
};
|
|
19
21
|
export declare type Shipping = {
|
|
20
22
|
shippingMethod?: string;
|
|
21
|
-
shippingAmount?:
|
|
23
|
+
shippingAmount?: number;
|
|
22
24
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/magento-storefront-events-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"description": "SDK for working with events on an Adobe Commerce storefront",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -47,6 +47,8 @@
|
|
|
47
47
|
"cross-env": "^7.0.3",
|
|
48
48
|
"cz-conventional-changelog": "3.3.0",
|
|
49
49
|
"eslint": "^7.9.0",
|
|
50
|
+
"eslint-config-prettier": "^8.5.0",
|
|
51
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
50
52
|
"html-webpack-plugin": "^5.3.1",
|
|
51
53
|
"husky": "^4.3.8",
|
|
52
54
|
"jest": "^26.6.3",
|