@stacksjs/queue 0.63.0 → 0.64.0

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.js CHANGED
@@ -1,28 +1,5 @@
1
1
  // @bun
2
- // src/index.ts
3
- class Job {
4
- name;
5
- description;
6
- action;
7
- handle;
8
- rate;
9
- tries;
10
- backoff;
11
- enabled;
12
- constructor({ name, description, handle, rate, tries, backoff, action, enabled }) {
13
- this.name = name;
14
- this.description = description;
15
- this.handle = handle;
16
- this.rate = rate;
17
- this.action = action;
18
- this.tries = tries;
19
- this.backoff = backoff;
20
- this.enabled = enabled;
21
- }
22
- }
23
- export {
24
- Job
25
- };
2
+ class p{name;description;action;handle;rate;tries;backoff;enabled;constructor({name:t,description:o,handle:i,rate:s,tries:n,backoff:e,action:a,enabled:b}){this.name=t,this.description=o,this.handle=i,this.rate=s,this.action=a,this.tries=n,this.backoff=e,this.enabled=b}}export{p as Job};
26
3
 
27
- //# debugId=421A69BD9490053F64756E2164756E21
4
+ //# debugId=38CFA3AA5092CC4B64756E2164756E21
28
5
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -4,7 +4,7 @@
4
4
  "sourcesContent": [
5
5
  "import type { JobOptions } from '@stacksjs/types'\n\nexport class Job {\n name: JobOptions['name']\n description: JobOptions['description']\n action?: JobOptions['action']\n handle?: JobOptions['handle']\n rate: JobOptions['rate']\n tries: JobOptions['tries']\n backoff: JobOptions['backoff']\n enabled: JobOptions['enabled']\n\n constructor({ name, description, handle, rate, tries, backoff, action, enabled }: JobOptions) {\n this.name = name\n this.description = description\n this.handle = handle\n this.rate = rate\n this.action = action\n this.tries = tries\n this.backoff = backoff\n this.enabled = enabled\n }\n}\n"
6
6
  ],
7
- "mappings": ";;AAEO,MAAM,IAAI;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,WAAW,GAAG,MAAM,aAAa,QAAQ,MAAM,OAAO,SAAS,QAAQ,WAAuB;AAC5F,SAAK,OAAO;AACZ,SAAK,cAAc;AACnB,SAAK,SAAS;AACd,SAAK,OAAO;AACZ,SAAK,SAAS;AACd,SAAK,QAAQ;AACb,SAAK,UAAU;AACf,SAAK,UAAU;AAAA;AAEnB;",
8
- "debugId": "421A69BD9490053F64756E2164756E21",
7
+ "mappings": ";AAEO,MAAM,CAAI,CACf,KACA,YACA,OACA,OACA,KACA,MACA,QACA,QAEA,WAAW,EAAG,OAAM,cAAa,SAAQ,OAAM,QAAO,UAAS,SAAQ,WAAuB,CAC5F,KAAK,KAAO,EACZ,KAAK,YAAc,EACnB,KAAK,OAAS,EACd,KAAK,KAAO,EACZ,KAAK,OAAS,EACd,KAAK,MAAQ,EACb,KAAK,QAAU,EACf,KAAK,QAAU,EAEnB",
8
+ "debugId": "38CFA3AA5092CC4B64756E2164756E21",
9
9
  "names": []
10
10
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/queue",
3
3
  "type": "module",
4
- "version": "0.63.0",
4
+ "version": "0.64.0",
5
5
  "description": "The Stacks Queue system.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",