@wearejh/m2-pwa-password 0.13.2 → 0.16.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,33 @@
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.16.0](https://github.com/WeareJH/mage-mono/compare/v0.15.0...v0.16.0) (2022-10-24)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * add new email field now required in M2 2.4.3-p3 ([#78](https://github.com/WeareJH/mage-mono/issues/78)) ([4f871f7](https://github.com/WeareJH/mage-mono/commit/4f871f73ca5d08fd05ab551dba05131e2c23d247))
12
+
13
+
14
+
15
+
16
+
17
+ # [0.15.0](https://github.com/WeareJH/mage-mono/compare/v0.14.0...v0.15.0) (2022-10-13)
18
+
19
+ **Note:** Version bump only for package @wearejh/m2-pwa-password
20
+
21
+
22
+
23
+
24
+
25
+ # [0.14.0](https://github.com/WeareJH/mage-mono/compare/v0.13.2...v0.14.0) (2022-10-13)
26
+
27
+ **Note:** Version bump only for package @wearejh/m2-pwa-password
28
+
29
+
30
+
31
+
32
+
6
33
  ## [0.13.2](https://github.com/WeareJH/mage-mono/compare/v0.13.0...v0.13.2) (2022-04-04)
7
34
 
8
35
  **Note:** Version bump only for package @wearejh/m2-pwa-password
@@ -11,12 +11,12 @@ export function newPasswordEpic(action$: Observable<any>, _state$, deps: EpicDep
11
11
  return action$.pipe(
12
12
  ofType<Actions, TypeMap['NewPassword.Submit']>('NewPassword.Submit'),
13
13
  switchMap(({ payload }) => {
14
- const { newPassword, resetToken } = payload;
14
+ const { newPassword, resetToken, email } = payload;
15
15
  return execute(
16
16
  {
17
17
  newPassword,
18
18
  resetToken,
19
- email: '', // the API does not require an email, but the field must be present
19
+ email,
20
20
  },
21
21
  deps,
22
22
  ).pipe(
@@ -1,11 +1,13 @@
1
1
  import { NewPasswordState } from './newPassword.reducer';
2
2
 
3
3
  export type NewPasswordData = {
4
+ email: string;
4
5
  newPassword: string;
5
6
  resetToken: string;
6
7
  };
7
8
 
8
9
  export const Fields = {
10
+ email: 'email',
9
11
  password: 'password',
10
12
  confirmation: 'confirmation',
11
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wearejh/m2-pwa-password",
3
- "version": "0.13.2",
3
+ "version": "0.16.0",
4
4
  "description": "> TODO: description",
5
5
  "author": "Shane Osbourne <shane.osbourne8@gmail.com>",
6
6
  "homepage": "",
@@ -14,8 +14,8 @@
14
14
  "test": "__tests__"
15
15
  },
16
16
  "dependencies": {
17
- "@wearejh/m2-pwa-engine": "^0.13.2",
18
- "@wearejh/swagger-rxjs": "^0.13.2"
17
+ "@wearejh/m2-pwa-engine": "^0.16.0",
18
+ "@wearejh/swagger-rxjs": "^0.16.0"
19
19
  },
20
- "gitHead": "a17286833b7fd91270b8fa60d65427b9b931dd81"
20
+ "gitHead": "4575ad20a27273e832a2f202ae941e3cae828ac8"
21
21
  }