nestjs-power-queues 1.0.0 → 1.0.1

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/index.cjs CHANGED
@@ -48,7 +48,7 @@ var _NestjsPowerQueues = class _NestjsPowerQueues extends import_power_queues.Po
48
48
  __publicField(this, "redis");
49
49
  __publicField(this, "logger", new import_common.Logger("NestjsPowerQueues"));
50
50
  __publicField(this, "runOnInit", false);
51
- __publicField(this, "abort");
51
+ __publicField(this, "abort", new AbortController());
52
52
  this.redis = redis;
53
53
  }
54
54
  async onModuleInit() {
package/dist/index.d.cts CHANGED
@@ -6,7 +6,7 @@ declare class NestjsPowerQueues extends PowerQueues implements OnModuleInit, OnM
6
6
  readonly redis: NestjsPowerRedis;
7
7
  readonly logger: Logger;
8
8
  readonly runOnInit: boolean;
9
- abort: any;
9
+ abort: AbortController;
10
10
  constructor(redis: NestjsPowerRedis);
11
11
  onModuleInit(): Promise<void>;
12
12
  onModuleDestroy(): Promise<void>;
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ declare class NestjsPowerQueues extends PowerQueues implements OnModuleInit, OnM
6
6
  readonly redis: NestjsPowerRedis;
7
7
  readonly logger: Logger;
8
8
  readonly runOnInit: boolean;
9
- abort: any;
9
+ abort: AbortController;
10
10
  constructor(redis: NestjsPowerRedis);
11
11
  onModuleInit(): Promise<void>;
12
12
  onModuleDestroy(): Promise<void>;
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ var _NestjsPowerQueues = class _NestjsPowerQueues extends PowerQueues {
24
24
  __publicField(this, "redis");
25
25
  __publicField(this, "logger", new Logger("NestjsPowerQueues"));
26
26
  __publicField(this, "runOnInit", false);
27
- __publicField(this, "abort");
27
+ __publicField(this, "abort", new AbortController());
28
28
  this.redis = redis;
29
29
  }
30
30
  async onModuleInit() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestjs-power-queues",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "NestJS wrapper for PowerQueues.",
5
5
  "author": "ihor-bielchenko",
6
6
  "license": "MIT",
@@ -26,10 +26,6 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "scripts": {
30
- "build": "tsup src/index.ts --format esm,cjs --dts",
31
- "clean": "rimraf dist docs"
32
- },
33
29
  "engines": {
34
30
  "node": ">=14"
35
31
  },
@@ -88,12 +84,6 @@
88
84
  "nestjs",
89
85
  "nest"
90
86
  ],
91
- "devDependencies": {
92
- "@swc/core": "^1.15.1",
93
- "@types/node": "^24.8.1",
94
- "tsup": "^8.5.0",
95
- "typescript": "^5.9.3"
96
- },
97
87
  "dependencies": {
98
88
  "@nestjs-labs/nestjs-ioredis": "^11.0.4",
99
89
  "@nestjs/common": "^11.1.8",