vona-module-a-queue 5.0.21 → 5.0.23

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.
@@ -43,6 +43,7 @@ declare module 'vona-module-a-queue' {
43
43
  interface StartupLoadQueueWorkers {
44
44
  get $beanFullName(): 'a-queue.startup.loadQueueWorkers';
45
45
  get $onionName(): 'a-queue:loadQueueWorkers';
46
+ get $onionOptions(): IDecoratorStartupOptions;
46
47
  }
47
48
  }
48
49
  /** startup: end */
package/dist/index.js CHANGED
@@ -317,11 +317,11 @@ const __ThisModule__ = 'a-queue';
317
317
 
318
318
  class Monkey extends BeanSimple {
319
319
  async appClose() {
320
- const scopeSelf = this.bean.scope(__ThisModule__);
320
+ const scopeSelf = this.app.scope(__ThisModule__);
321
321
  await scopeSelf.service.queue.clearWorkers();
322
322
  }
323
323
  async appClosed() {
324
- const scopeSelf = this.bean.scope(__ThisModule__);
324
+ const scopeSelf = this.app.scope(__ThisModule__);
325
325
  await scopeSelf.service.queue.clearQueues();
326
326
  }
327
327
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-queue",
3
3
  "type": "module",
4
- "version": "5.0.21",
4
+ "version": "5.0.23",
5
5
  "title": "a-queue",
6
6
  "vonaModule": {
7
7
  "dependencies": {},