@agendajs/redis-backend 3.0.1 → 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 +5 -4
package/README.md CHANGED
@@ -78,8 +78,8 @@ const backend = new RedisBackend({
78
78
 
79
79
  // Sort order for job queries
80
80
  sort: {
81
- nextRunAt: 1, // 1 for ASC, -1 for DESC
82
- priority: -1
81
+ nextRunAt: 'asc',
82
+ priority: 'desc'
83
83
  }
84
84
  });
85
85
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agendajs/redis-backend",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "Redis backend for Agenda job scheduler with Pub/Sub notification support",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -8,7 +8,8 @@
8
8
  "exports": {
9
9
  ".": {
10
10
  "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js"
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
12
13
  }
13
14
  },
14
15
  "publishConfig": {
@@ -41,7 +42,7 @@
41
42
  "ioredis": "^5.4.0"
42
43
  },
43
44
  "peerDependencies": {
44
- "agenda": "6.2.1"
45
+ "agenda": "6.2.3"
45
46
  },
46
47
  "devDependencies": {
47
48
  "@types/debug": "^4.1.12",
@@ -49,7 +50,7 @@
49
50
  "@vitest/coverage-v8": "^3.1.0",
50
51
  "tsx": "^4.21.0",
51
52
  "vitest": "^3.1.0",
52
- "agenda": "6.2.1"
53
+ "agenda": "6.2.3"
53
54
  },
54
55
  "scripts": {
55
56
  "build": "tsc -b",