@wearejh/m2-pwa-checkout 0.28.0 → 0.30.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,22 @@
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.30.0](https://github.com/WeareJH/mage-mono/compare/v0.29.0...v0.30.0) (2024-09-27)
7
+
8
+ **Note:** Version bump only for package @wearejh/m2-pwa-checkout
9
+
10
+
11
+
12
+
13
+
14
+ # [0.29.0](https://github.com/WeareJH/mage-mono/compare/v0.28.0...v0.29.0) (2024-08-02)
15
+
16
+ **Note:** Version bump only for package @wearejh/m2-pwa-checkout
17
+
18
+
19
+
20
+
21
+
6
22
  # [0.28.0](https://github.com/WeareJH/mage-mono/compare/v0.25.0...v0.28.0) (2024-07-30)
7
23
 
8
24
  **Note:** Version bump only for package @wearejh/m2-pwa-checkout
@@ -30,8 +30,8 @@ export function getOrderIncrementId(action$: Observable<any>, state$: any, deps:
30
30
  withLatestFrom(signedIn(state$)),
31
31
 
32
32
  mergeMap(([{ payload }, isSignedInUser]) => {
33
- if (typeof payload.orderId !== 'string') {
34
- const errorMsg = 'Expected `payload` to contain `orderId` and to be a string, but got';
33
+ if (!payload.orderId) {
34
+ const errorMsg = `Expected 'payload' to contain 'orderId' but got ${typeof payload.orderId}`;
35
35
 
36
36
  return of(CheckoutMsg('Checkout.PaymentSubmitError', errorMsg), scrollTop());
37
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wearejh/m2-pwa-checkout",
3
- "version": "0.28.0",
3
+ "version": "0.30.0",
4
4
  "description": "> TODO: description",
5
5
  "author": "Shane Osbourne <shane.osbourne8@gmail.com>",
6
6
  "homepage": "",
@@ -18,15 +18,15 @@
18
18
  ],
19
19
  "scripts": {},
20
20
  "dependencies": {
21
- "@wearejh/m2-pwa-addresses": "^0.28.0",
22
- "@wearejh/m2-pwa-cart": "^0.28.0",
23
- "@wearejh/m2-pwa-engine": "^0.28.0",
24
- "@wearejh/m2-pwa-user": "^0.28.0",
25
- "@wearejh/rx-form": "^0.28.0",
26
- "@wearejh/swagger-rxjs": "^0.28.0"
21
+ "@wearejh/m2-pwa-addresses": "^0.30.0",
22
+ "@wearejh/m2-pwa-cart": "^0.30.0",
23
+ "@wearejh/m2-pwa-engine": "^0.30.0",
24
+ "@wearejh/m2-pwa-user": "^0.30.0",
25
+ "@wearejh/rx-form": "^0.30.0",
26
+ "@wearejh/swagger-rxjs": "^0.30.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@reach/dialog": "0.8.2"
30
30
  },
31
- "gitHead": "7fafabd9c93a5f95b4b4794bc650da1bb599b480"
31
+ "gitHead": "f8e8f2cf23751858479e7127ce0143ca11b149e9"
32
32
  }