@rpcbase/server 0.272.0 → 0.274.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.272.0",
3
+ "version": "0.274.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@rpcbase/access-control": "0.27.0",
14
- "@rpcbase/agent": "0.33.0",
15
- "@rpcbase/std": "0.12.0",
14
+ "@rpcbase/agent": "0.35.0",
15
+ "@rpcbase/std": "0.13.0",
16
16
  "@sentry/node": "7.72.0",
17
17
  "bluebird": "3.7.2",
18
18
  "body-parser": "1.20.2",
package/rts/index.js CHANGED
@@ -181,7 +181,6 @@ const mongoose_txn_plugin = (schema, options) => {
181
181
  // responds to a change stream "change" event
182
182
  const get_dispatch_change_handler = (mongoose, model_name) => async(change) => {
183
183
  const queries = _queries[model_name]
184
- // console.log("onchange::queries", queries)
185
184
 
186
185
  const model = mongoose.model(model_name)
187
186
 
@@ -62,9 +62,9 @@ setTimeout(async() => {
62
62
  const session_config = {
63
63
  store: new RedisStore({client: redis_client}),
64
64
  proxy: true,
65
- saveUninitialized: false,
65
+ saveUninitialized: true,
66
66
  // WARNING DO NOT USE IN PROD
67
- secret: "not so secret",
67
+ // secret: "not so secret",
68
68
  resave: false,
69
69
  cookie: {
70
70
  // TODO: set to secure in production