@rpcbase/server 0.257.0 → 0.259.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/rts/index.js +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.257.0",
3
+ "version": "0.259.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/access-control": "0.27.0",
14
14
  "@rpcbase/agent": "0.32.0",
15
- "@rpcbase/std": "0.10.0",
15
+ "@rpcbase/std": "0.11.0",
16
16
  "@sentry/node": "7.71.0",
17
17
  "bluebird": "3.7.2",
18
18
  "body-parser": "1.20.2",
package/rts/index.js CHANGED
@@ -72,9 +72,10 @@ const dispatch_doc_change = (model, doc) => {
72
72
  return test_fn(doc)
73
73
  })
74
74
 
75
- if (!doc.__txn_id) {
76
- console.log(colors.yellow("Warning!"), "change on model:", model.modelName, "matching queries", target_queries, "did not include a valid", colors.yellow("__txn"), "field")
77
- }
75
+ // we don't need to log every missing txn id, it is expected
76
+ // if (!doc.__txn_id) {
77
+ // console.log(colors.yellow("Warning!"), "change on model:", model.modelName, "matching queries", target_queries, "did not include a valid", colors.yellow("__txn"), "field")
78
+ // }
78
79
 
79
80
  // TODO: we should not re-run each query here!!!!
80
81
  // dispatch change to target query clients