@punks/backend-entity-manager 0.0.265 → 0.0.267

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.
@@ -0,0 +1,3 @@
1
+ import { JobsMonitorTask } from "./jobs-monitor";
2
+ import { JobsSchedulerTask } from "./jobs-scheduler";
3
+ export declare const JobTasks: (typeof JobsSchedulerTask | typeof JobsMonitorTask)[];
@@ -1,6 +1,6 @@
1
1
  export type AwsBatchSettings = {
2
- accessKeyId?: string;
3
- secretAccessKey?: string;
2
+ awsAccessKeyId?: string;
3
+ awsSecretAccessKey?: string;
4
4
  region?: string;
5
5
  defaultQueueName: string;
6
6
  batchComputeEnvironment: string;
package/dist/esm/index.js CHANGED
@@ -33989,10 +33989,13 @@ const JobProcessors = [RunnableJobsProcessor];
33989
33989
 
33990
33990
  const JobResolverProviders = [JobsProviderFactory];
33991
33991
 
33992
+ const JobTasks = [JobsMonitorTask, JobsSchedulerTask];
33993
+
33992
33994
  var JobsModule_1;
33993
33995
  const ModuleData$7 = {
33994
33996
  providers: [
33995
33997
  ...JobsProviders,
33998
+ ...JobTasks,
33996
33999
  ...JobsServices,
33997
34000
  ...JobHandlers,
33998
34001
  ...JobProcessors,
@@ -39862,10 +39865,11 @@ let AwsBatchService = AwsBatchService_1 = class AwsBatchService {
39862
39865
  this.awsSettings = awsSettings;
39863
39866
  this.logger = Log.getLogger(AwsBatchService_1.name);
39864
39867
  this.client = () => new BatchClient({
39865
- ...(this.awsSettings.accessKeyId && this.awsSettings.secretAccessKey
39868
+ ...(this.awsSettings.awsSecretAccessKey &&
39869
+ this.awsSettings.awsSecretAccessKey
39866
39870
  ? {
39867
- accessKeyId: this.awsSettings.accessKeyId,
39868
- secretAccessKey: this.awsSettings.secretAccessKey,
39871
+ accessKeyId: this.awsSettings.awsSecretAccessKey,
39872
+ secretAccessKey: this.awsSettings.awsSecretAccessKey,
39869
39873
  }
39870
39874
  : {}),
39871
39875
  });