@punks/backend-entity-manager 0.0.266 → 0.0.268

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
@@ -22411,7 +22411,9 @@ let UserRegistrationHandler = class UserRegistrationHandler {
22411
22411
  passwordHash,
22412
22412
  passwordUpdateTimestamp: new Date(),
22413
22413
  });
22414
- await this.sendRegistrationEmail(user, input.callback, input.languageCode);
22414
+ if (input.callback) {
22415
+ await this.sendRegistrationEmail(user, input.callback, input.languageCode);
22416
+ }
22415
22417
  this.logger.debug(`User already exists but not verified. Sending new verification email: ${input.email} - ${input.userName}`, { user });
22416
22418
  return {
22417
22419
  success: true,
@@ -22424,7 +22426,9 @@ let UserRegistrationHandler = class UserRegistrationHandler {
22424
22426
  passwordHash,
22425
22427
  passwordUpdateTimestamp: new Date(),
22426
22428
  });
22427
- await this.sendRegistrationEmail(newUser, input.callback, input.languageCode);
22429
+ if (input.callback) {
22430
+ await this.sendRegistrationEmail(newUser, input.callback, input.languageCode);
22431
+ }
22428
22432
  this.logger.debug(`New user created: ${input.email} - ${input.userName}`, {
22429
22433
  user: newUser,
22430
22434
  });
@@ -34004,10 +34008,13 @@ const JobProcessors = [RunnableJobsProcessor];
34004
34008
 
34005
34009
  const JobResolverProviders = [JobsProviderFactory];
34006
34010
 
34011
+ const JobTasks = [JobsMonitorTask, JobsSchedulerTask];
34012
+
34007
34013
  var JobsModule_1;
34008
34014
  const ModuleData$7 = {
34009
34015
  providers: [
34010
34016
  ...JobsProviders,
34017
+ ...JobTasks,
34011
34018
  ...JobsServices,
34012
34019
  ...JobHandlers,
34013
34020
  ...JobProcessors,