@intelligo-dev/jobs 1.0.0-beta.13 → 1.0.0-beta.15

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 +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -30,7 +30,7 @@ import { enqueue } from "@intelligo-dev/jobs";
30
30
 
31
31
  await enqueue({
32
32
  kind: "digest.send",
33
- workspaceId,
33
+ workspaceId, // or null: a job no workspace owns (an anonymous request's work)
34
34
  payload: { userId },
35
35
  runAt: new Date(Date.now() + 60_000), // optional: not before
36
36
  maxAttempts: 5, // optional: 3 by default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intelligo-dev/jobs",
3
- "version": "1.0.0-beta.13",
3
+ "version": "1.0.0-beta.15",
4
4
  "description": "A Postgres-backed job queue: enqueue, claim with SKIP LOCKED, retry with backoff and prune. No Redis.",
5
5
  "keywords": [
6
6
  "intelligo",
@@ -34,7 +34,7 @@
34
34
  }
35
35
  },
36
36
  "dependencies": {
37
- "@intelligo-dev/core": "1.0.0-beta.13"
37
+ "@intelligo-dev/core": "1.0.0-beta.15"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "drizzle-orm": "^0.45.1"