@punks/backend-entity-manager 0.0.418 → 0.0.420

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/dist/cjs/index.js CHANGED
@@ -23879,7 +23879,7 @@ exports.AuthenticationService = class AuthenticationService {
23879
23879
  await this.userPasswordChangeHandler.execute(input);
23880
23880
  }
23881
23881
  async userPasswordResetFinalize(input) {
23882
- await this.userPasswordResetFinalizeHandler.execute(input);
23882
+ return await this.userPasswordResetFinalizeHandler.execute(input);
23883
23883
  }
23884
23884
  async userPasswordResetRequest(input) {
23885
23885
  return await this.userPasswordResetRequestHandler.execute(input);
@@ -41047,7 +41047,7 @@ const fieldTextValidator = (item, selector, params) => {
41047
41047
  : [{ errorCode: params.regexErrorCode ?? "regex" }]),
41048
41048
  ];
41049
41049
  };
41050
- const allErrors = values.flatMap(validateSingle);
41050
+ const allErrors = values?.flatMap(validateSingle) ?? [];
41051
41051
  return {
41052
41052
  isValid: isRequiredValid && allErrors.length === 0,
41053
41053
  validationErrors: [