@wearejh/m2-pwa-cart-gql 0.39.0 → 0.45.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
|
@@ -3,6 +3,77 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.45.0](https://github.com/WeareJH/mage-mono/compare/v0.44.0...v0.45.0) (2026-01-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @wearejh/m2-pwa-cart-gql
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [0.44.0](https://github.com/WeareJH/mage-mono/compare/v0.39.1...v0.44.0) (2026-01-08)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **WOOD-2902:** add Include VAT prices to cart ([774db19](https://github.com/WeareJH/mage-mono/commit/774db192c7f2e43fb7906842307ed29cedb8d6b3))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [0.43.0](https://github.com/WeareJH/mage-mono/compare/v0.39.1...v0.43.0) (2026-01-08)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **WOOD-2902:** add Include VAT prices to cart ([774db19](https://github.com/WeareJH/mage-mono/commit/774db192c7f2e43fb7906842307ed29cedb8d6b3))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [0.42.0](https://github.com/WeareJH/mage-mono/compare/v0.39.1...v0.42.0) (2026-01-08)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* **WOOD-2902:** add Include VAT prices to cart ([774db19](https://github.com/WeareJH/mage-mono/commit/774db192c7f2e43fb7906842307ed29cedb8d6b3))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
# [0.41.0](https://github.com/WeareJH/mage-mono/compare/v0.39.1...v0.41.0) (2026-01-08)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Bug Fixes
|
|
51
|
+
|
|
52
|
+
* **WOOD-2902:** add Include VAT prices to cart ([774db19](https://github.com/WeareJH/mage-mono/commit/774db192c7f2e43fb7906842307ed29cedb8d6b3))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
# [0.40.0](https://github.com/WeareJH/mage-mono/compare/v0.39.1...v0.40.0) (2026-01-08)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### Bug Fixes
|
|
62
|
+
|
|
63
|
+
* **WOOD-2902:** add Include VAT prices to cart ([774db19](https://github.com/WeareJH/mage-mono/commit/774db192c7f2e43fb7906842307ed29cedb8d6b3))
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
## [0.39.1](https://github.com/WeareJH/mage-mono/compare/v0.39.0...v0.39.1) (2025-11-12)
|
|
70
|
+
|
|
71
|
+
**Note:** Version bump only for package @wearejh/m2-pwa-cart-gql
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
6
77
|
# [0.39.0](https://github.com/WeareJH/mage-mono/compare/v0.38.0...v0.39.0) (2025-11-07)
|
|
7
78
|
|
|
8
79
|
**Note:** Version bump only for package @wearejh/m2-pwa-cart-gql
|
package/lib/index.ts
CHANGED
|
@@ -111,6 +111,18 @@ export interface getCart_getCart_items_SimpleCartItem_prices_price {
|
|
|
111
111
|
value: number | null;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
export interface getCart_getCart_items_SimpleCartItem_prices_price_including_tax {
|
|
115
|
+
__typename: "Money";
|
|
116
|
+
/**
|
|
117
|
+
* A three-letter currency code, such as USD or EUR
|
|
118
|
+
*/
|
|
119
|
+
currency: CurrencyEnum | null;
|
|
120
|
+
/**
|
|
121
|
+
* A number expressing a monetary value
|
|
122
|
+
*/
|
|
123
|
+
value: number | null;
|
|
124
|
+
}
|
|
125
|
+
|
|
114
126
|
export interface getCart_getCart_items_SimpleCartItem_prices_row_total {
|
|
115
127
|
__typename: "Money";
|
|
116
128
|
/**
|
|
@@ -150,6 +162,7 @@ export interface getCart_getCart_items_SimpleCartItem_prices_total_item_discount
|
|
|
150
162
|
export interface getCart_getCart_items_SimpleCartItem_prices {
|
|
151
163
|
__typename: "CartItemPrices";
|
|
152
164
|
price: getCart_getCart_items_SimpleCartItem_prices_price;
|
|
165
|
+
price_including_tax: getCart_getCart_items_SimpleCartItem_prices_price_including_tax;
|
|
153
166
|
row_total: getCart_getCart_items_SimpleCartItem_prices_row_total;
|
|
154
167
|
row_total_including_tax: getCart_getCart_items_SimpleCartItem_prices_row_total_including_tax;
|
|
155
168
|
/**
|
|
@@ -222,6 +235,18 @@ export interface getCart_getCart_items_ConfigurableCartItem_prices_price {
|
|
|
222
235
|
value: number | null;
|
|
223
236
|
}
|
|
224
237
|
|
|
238
|
+
export interface getCart_getCart_items_ConfigurableCartItem_prices_price_including_tax {
|
|
239
|
+
__typename: "Money";
|
|
240
|
+
/**
|
|
241
|
+
* A three-letter currency code, such as USD or EUR
|
|
242
|
+
*/
|
|
243
|
+
currency: CurrencyEnum | null;
|
|
244
|
+
/**
|
|
245
|
+
* A number expressing a monetary value
|
|
246
|
+
*/
|
|
247
|
+
value: number | null;
|
|
248
|
+
}
|
|
249
|
+
|
|
225
250
|
export interface getCart_getCart_items_ConfigurableCartItem_prices_row_total {
|
|
226
251
|
__typename: "Money";
|
|
227
252
|
/**
|
|
@@ -261,6 +286,7 @@ export interface getCart_getCart_items_ConfigurableCartItem_prices_total_item_di
|
|
|
261
286
|
export interface getCart_getCart_items_ConfigurableCartItem_prices {
|
|
262
287
|
__typename: "CartItemPrices";
|
|
263
288
|
price: getCart_getCart_items_ConfigurableCartItem_prices_price;
|
|
289
|
+
price_including_tax: getCart_getCart_items_ConfigurableCartItem_prices_price_including_tax;
|
|
264
290
|
row_total: getCart_getCart_items_ConfigurableCartItem_prices_row_total;
|
|
265
291
|
row_total_including_tax: getCart_getCart_items_ConfigurableCartItem_prices_row_total_including_tax;
|
|
266
292
|
/**
|
|
@@ -388,6 +414,18 @@ export interface getCart_getCart_items_BundleCartItem_prices_price {
|
|
|
388
414
|
value: number | null;
|
|
389
415
|
}
|
|
390
416
|
|
|
417
|
+
export interface getCart_getCart_items_BundleCartItem_prices_price_including_tax {
|
|
418
|
+
__typename: "Money";
|
|
419
|
+
/**
|
|
420
|
+
* A three-letter currency code, such as USD or EUR
|
|
421
|
+
*/
|
|
422
|
+
currency: CurrencyEnum | null;
|
|
423
|
+
/**
|
|
424
|
+
* A number expressing a monetary value
|
|
425
|
+
*/
|
|
426
|
+
value: number | null;
|
|
427
|
+
}
|
|
428
|
+
|
|
391
429
|
export interface getCart_getCart_items_BundleCartItem_prices_row_total {
|
|
392
430
|
__typename: "Money";
|
|
393
431
|
/**
|
|
@@ -427,6 +465,7 @@ export interface getCart_getCart_items_BundleCartItem_prices_total_item_discount
|
|
|
427
465
|
export interface getCart_getCart_items_BundleCartItem_prices {
|
|
428
466
|
__typename: "CartItemPrices";
|
|
429
467
|
price: getCart_getCart_items_BundleCartItem_prices_price;
|
|
468
|
+
price_including_tax: getCart_getCart_items_BundleCartItem_prices_price_including_tax;
|
|
430
469
|
row_total: getCart_getCart_items_BundleCartItem_prices_row_total;
|
|
431
470
|
row_total_including_tax: getCart_getCart_items_BundleCartItem_prices_row_total_including_tax;
|
|
432
471
|
/**
|
package/lib/utils/fetchCart.ts
CHANGED
|
@@ -75,6 +75,7 @@ export function processResp(cart: getCart_getCart): CartFetchParams {
|
|
|
75
75
|
};
|
|
76
76
|
const prices = {
|
|
77
77
|
price: item.prices!.price.value!,
|
|
78
|
+
price_including_tax: item.prices!.price_including_tax.value!,
|
|
78
79
|
row_total: item.prices!.row_total.value!,
|
|
79
80
|
row_total_including_tax: item.prices!.row_total_including_tax.value!,
|
|
80
81
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wearejh/m2-pwa-cart-gql",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.45.0",
|
|
4
4
|
"description": "m2 cart",
|
|
5
5
|
"author": "Shane Osbourne <shane.osbourne8@gmail.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@wearejh/m2-pwa-engine": "^0.
|
|
21
|
-
"@wearejh/m2-pwa-user": "^0.
|
|
22
|
-
"@wearejh/rx-form": "^0.
|
|
23
|
-
"@wearejh/swagger-rxjs": "^0.
|
|
20
|
+
"@wearejh/m2-pwa-engine": "^0.45.0",
|
|
21
|
+
"@wearejh/m2-pwa-user": "^0.45.0",
|
|
22
|
+
"@wearejh/rx-form": "^0.45.0",
|
|
23
|
+
"@wearejh/swagger-rxjs": "^0.45.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@wearejh/testing": "^0.
|
|
26
|
+
"@wearejh/testing": "^0.45.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "f22c9f8583c85902860ec49590cae76752f8d227"
|
|
29
29
|
}
|