@arkstack/jobs 0.19.2 → 0.19.4

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -21,7 +21,7 @@ export class SendWelcomeEmail extends Job {
21
21
  super()
22
22
  }
23
23
 
24
- async handle () {
24
+ async handle() {
25
25
  // ... send the email
26
26
  }
27
27
  }
@@ -36,7 +36,7 @@ import { SendWelcomeEmail } from '@app/jobs/SendWelcomeEmail'
36
36
  // static helper
37
37
  await SendWelcomeEmail.dispatch(user.id)
38
38
  await SendWelcomeEmail.dispatch(user.id).onQueue('mail').withDelay(60)
39
- await SendWelcomeEmail.dispatchSync(user.id) // run inline now
39
+ await SendWelcomeEmail.dispatchSync(user.id) // run inline now
40
40
 
41
41
  // functional helper
42
42
  await dispatch(new SendWelcomeEmail(user.id))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkstack/jobs",
3
- "version": "0.19.2",
3
+ "version": "0.19.4",
4
4
  "type": "module",
5
5
  "description": "Jobs module for Arkstack, providing dispatchable job classes and a dispatcher on top of @arkstack/queue.",
6
6
  "homepage": "https://arkstack.toneflix.net/guide/jobs",
@@ -32,12 +32,12 @@
32
32
  "./package.json": "./package.json"
33
33
  },
34
34
  "dependencies": {
35
- "@arkstack/queue": "^0.19.2",
36
- "@arkstack/common": "^0.19.2"
35
+ "@arkstack/common": "^0.19.4",
36
+ "@arkstack/queue": "^0.19.4"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@h3ravel/musket": "^2.2.13",
40
- "@arkstack/contract": "^0.19.2"
40
+ "@arkstack/contract": "^0.19.4"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "tsdown",