@everymatrix/general-registration-otp-standalone 0.0.3 → 0.0.4

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.
Files changed (23) hide show
  1. package/dist/cjs/checkbox-group-input_15.cjs.entry.js +253 -253
  2. package/dist/cjs/index.cjs.js +1 -1
  3. package/dist/collection/components/general-registration-otp-standalone/general-registration-otp-standalone.js +2 -2
  4. package/dist/esm/checkbox-group-input_15.entry.js +254 -254
  5. package/dist/esm/index.js +1 -1
  6. package/dist/general-registration-otp-standalone/checkbox-group-input_15.entry.js +4 -4
  7. package/dist/general-registration-otp-standalone/{general-registration-otp-standalone-62740d31.js → general-registration-otp-standalone-933a7f9d.js} +1 -1
  8. package/dist/general-registration-otp-standalone/index.esm.js +1 -1
  9. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/packages/stencil/general-registration-otp-standalone/stencil.config.d.ts +2 -0
  10. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/packages/stencil/general-registration-otp-standalone/stencil.config.dev.d.ts +2 -0
  11. package/package.json +1 -1
  12. package/dist/types/Users/chilgoe/Documents/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/packages/stencil/general-registration-otp-standalone/stencil.config.d.ts +0 -2
  13. package/dist/types/Users/chilgoe/Documents/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/packages/stencil/general-registration-otp-standalone/stencil.config.dev.d.ts +0 -2
  14. package/dist/cjs/{general-registration-otp-standalone-3422f533.js → general-registration-otp-standalone-6d5019bc.js} +2 -2
  15. package/dist/esm/{general-registration-otp-standalone-62740d31.js → general-registration-otp-standalone-933a7f9d.js} +2 -2
  16. /package/dist/types/{Users/chilgoe/Documents → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
  17. /package/dist/types/{Users/chilgoe/Documents → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/packages/stencil/general-registration-otp-standalone/storybook/main.d.ts +0 -0
  18. /package/dist/types/{Users/chilgoe/Documents → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/packages/stencil/general-registration-otp-standalone/storybook/preview.d.ts +0 -0
  19. /package/dist/types/{Users/chilgoe/Documents → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/tools/plugins/index.d.ts +0 -0
  20. /package/dist/types/{Users/chilgoe/Documents → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +0 -0
  21. /package/dist/types/{Users/chilgoe/Documents → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  22. /package/dist/types/{Users/chilgoe/Documents → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  23. /package/dist/types/{Users/chilgoe/Documents → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const generalRegistrationOtpStandalone = require('./general-registration-otp-standalone-3422f533.js');
5
+ const generalRegistrationOtpStandalone = require('./general-registration-otp-standalone-6d5019bc.js');
6
6
  require('./index-b0fda18c.js');
7
7
 
8
8
 
@@ -143,13 +143,13 @@ export class GeneralRegistrationOtpStandalone {
143
143
  const result = await this.request(registerPath, isGm2 ? 'POST' : 'PUT', {
144
144
  registrationId: stepResult.registrationId
145
145
  });
146
- window.postMessage({ type: 'registrationSuccessful', userId: result === null || result === void 0 ? void 0 : result.userId, extraActions: [] }, window.location.href);
147
146
  window.postMessage({ type: 'WidgetNotification', data: { type: 'success', message: translate('successMessage', this.language) } }, window.location.href);
147
+ window.postMessage({ type: 'registrationSuccessful', userId: result === null || result === void 0 ? void 0 : result.userId, extraActions: [] }, window.location.href);
148
148
  }
149
149
  catch (error) {
150
150
  this.errorMessage = this.getErrorMessage(error);
151
- window.postMessage({ type: 'registrationFailed', errorMessage: this.errorMessage }, window.location.href);
152
151
  window.postMessage({ type: 'WidgetNotification', data: { type: 'error', message: this.errorMessage } }, window.location.href);
152
+ window.postMessage({ type: 'registrationFailed', errorMessage: this.errorMessage }, window.location.href);
153
153
  }
154
154
  finally {
155
155
  this.isSubmitting = false;