@punks/backend-entity-manager 0.0.54 → 0.0.55

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
@@ -90,7 +90,7 @@ exports.SortDirection = void 0;
90
90
  const PLATFORM_EVENT_NAMESPACE = "platform";
91
91
  const PlatformEvents = {
92
92
  Messaging: {
93
- EmailSent: `${PLATFORM_EVENT_NAMESPACE}.messaging:email.sent`,
93
+ EmailSent: `${PLATFORM_EVENT_NAMESPACE}:messaging.emailSent`,
94
94
  },
95
95
  };
96
96
 
@@ -233,11 +233,11 @@ class OperationTokenMismatchError extends AuthenticationError {
233
233
 
234
234
  const AUTHENTICATION_EVENTS_NAMESPACE = "authentication";
235
235
  const AuthenticationEvents = {
236
- UserLogin: `${AUTHENTICATION_EVENTS_NAMESPACE}.user.login`,
237
- UserRegistrationStarted: `${AUTHENTICATION_EVENTS_NAMESPACE}.user.registrationStarted`,
238
- UserRegistrationCompleted: `${AUTHENTICATION_EVENTS_NAMESPACE}.user.registrationCompleted`,
239
- UserPasswordResetStarted: `${AUTHENTICATION_EVENTS_NAMESPACE}.user.passwordResetStarted`,
240
- UserPasswordResetCompleted: `${AUTHENTICATION_EVENTS_NAMESPACE}.user.passwordResetCompleted`,
236
+ UserLogin: `${AUTHENTICATION_EVENTS_NAMESPACE}:user.login`,
237
+ UserRegistrationStarted: `${AUTHENTICATION_EVENTS_NAMESPACE}:user.registrationStarted`,
238
+ UserRegistrationCompleted: `${AUTHENTICATION_EVENTS_NAMESPACE}:user.registrationCompleted`,
239
+ UserPasswordResetStarted: `${AUTHENTICATION_EVENTS_NAMESPACE}:user.passwordResetStarted`,
240
+ UserPasswordResetCompleted: `${AUTHENTICATION_EVENTS_NAMESPACE}:user.passwordResetCompleted`,
241
241
  };
242
242
 
243
243
  /******************************************************************************