@agendajs/postgres-backend 3.0.2 → 3.0.3

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 +3 -3
package/README.md CHANGED
@@ -82,8 +82,8 @@ const backend = new PostgresBackend({
82
82
 
83
83
  // Sort order for job queries
84
84
  sort: {
85
- nextRunAt: 1, // 1 for ASC, -1 for DESC
86
- priority: -1
85
+ nextRunAt: 'asc',
86
+ priority: 'desc'
87
87
  }
88
88
  });
89
89
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agendajs/postgres-backend",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "PostgreSQL backend for Agenda job scheduler with LISTEN/NOTIFY support",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -44,7 +44,7 @@
44
44
  "pg": "^8.13.0"
45
45
  },
46
46
  "peerDependencies": {
47
- "agenda": "6.2.2"
47
+ "agenda": "6.2.3"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/debug": "^4.1.12",
@@ -53,7 +53,7 @@
53
53
  "@vitest/coverage-v8": "^3.1.0",
54
54
  "tsx": "^4.21.0",
55
55
  "vitest": "^3.1.0",
56
- "agenda": "6.2.2"
56
+ "agenda": "6.2.3"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "tsc -b",