@rpcbase/server 0.296.0 → 0.298.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.
@@ -0,0 +1,7 @@
1
+ /* @flow */
2
+ // WARNING: must be first import here
3
+ require("./mactchers")
4
+
5
+ // add all jest-extended matchers
6
+ const matchers = require("jest-extended")
7
+ expect.extend(matchers)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.296.0",
3
+ "version": "0.298.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@rpcbase/agent": "0.35.0",
14
14
  "@rpcbase/std": "0.13.0",
15
- "@sentry/node": "7.81.1",
15
+ "@sentry/node": "7.84.0",
16
16
  "bluebird": "3.7.2",
17
17
  "body-parser": "1.20.2",
18
18
  "bull": "4.11.5",
@@ -25,9 +25,10 @@
25
25
  "express-session": "1.17.3",
26
26
  "firebase-admin": "11.11.1",
27
27
  "glob": "9.3.5",
28
+ "jest-extended": "4.0.2",
28
29
  "lodash": "4.17.21",
29
30
  "mkdirp": "2.1.3",
30
- "mongoose": "8.0.1",
31
+ "mongoose": "8.0.2",
31
32
  "nodemon": "3.0.1",
32
33
  "picocolors": "1.0.0",
33
34
  "postmark": "3.11.0",
package/queue/index.js CHANGED
@@ -60,8 +60,8 @@ const start_worker = async() => {
60
60
  })
61
61
 
62
62
  // on stall
63
- worker_queue.on("stalled", (id) => {
64
- console.log(`Job ${id} stalled and will be reprocessed`)
63
+ worker_queue.on("stalled", (job) => {
64
+ console.log(`Job ${job.id} stalled and will be reprocessed`)
65
65
  })
66
66
 
67
67
  worker_queue.on("job failed", (id, err) => {