@rpcbase/server 0.140.0 → 0.142.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.140.0",
3
+ "version": "0.142.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -10,10 +10,10 @@
10
10
  "test": "echo \"Error: no test specified\" && exit 0"
11
11
  },
12
12
  "dependencies": {
13
- "@rpcbase/agent": "0.22.0",
13
+ "@rpcbase/agent": "0.25.0",
14
14
  "@rpcbase/std": "0.5.0",
15
15
  "body-parser": "1.20.1",
16
- "bull": "4.10.1",
16
+ "bull": "4.10.2",
17
17
  "connect-redis": "6.1.3",
18
18
  "cors": "2.8.5",
19
19
  "debug": "4.3.4",
@@ -26,7 +26,7 @@
26
26
  "mongoose": "6.7.3",
27
27
  "picocolors": "1.0.0",
28
28
  "postmark": "3.0.14",
29
- "redis": "4.5.0",
29
+ "redis": "4.5.1",
30
30
  "request-ip": "3.3.0",
31
31
  "validator": "13.7.0",
32
32
  "yargs": "17.6.2"
@@ -12,7 +12,7 @@ const dispatch_queue = (queue, model_name, op, doc) => {
12
12
  const tasks = queue.get_tasks()
13
13
 
14
14
  const handler_name = `on_${op_names[op]}_${model_name.toLowerCase()}`
15
- console.log("dispatch", handler_name)
15
+ // console.log("dispatch", handler_name)
16
16
  // skip if there's no matching handler
17
17
  if (!Object.keys(tasks).includes(handler_name)) return
18
18
 
@@ -32,7 +32,7 @@ const mongoose_delete_plugin = (schema) => {
32
32
 
33
33
 
34
34
  const get_dispatch_change_handler = (model_name) => (change) => {
35
- console.log("le change data", model_name, change)
35
+ // console.log("change data", model_name, change)
36
36
  const op = change.operationType
37
37
  if (["insert", "update"].includes(op)) {
38
38
  dispatch_queue(queue, model_name, op, change.fullDocument)