@rpcbase/server 0.232.0 → 0.234.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/bin.js CHANGED
@@ -32,6 +32,7 @@ const args = yargs(hideBin(process.argv))
32
32
  })
33
33
  .command("start", "runs server/infrastructure", () => {}, (args) => {
34
34
  is_command = true
35
+ check_args(args)
35
36
  start_server_infrastructure(args)
36
37
  })
37
38
  .command("agent", "run the agent", () => {}, (args) => {
@@ -42,7 +43,6 @@ const args = yargs(hideBin(process.argv))
42
43
  is_command = true
43
44
  build_server()
44
45
  })
45
- .check(check_args)
46
46
  .parse()
47
47
 
48
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.232.0",
3
+ "version": "0.234.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -51,7 +51,7 @@ const sign_up = async({email, password}, ctx) => {
51
51
  const user_id = user._id.toString()
52
52
  req.session.user_id = user_id
53
53
 
54
- await req.session.save()
54
+ // await req.session.save()
55
55
  await user.save({ctx})
56
56
 
57
57
  return {
@@ -13,7 +13,7 @@ module.exports = (app) => {
13
13
  const session_store_middleware = require("./session_store_middleware")
14
14
  app.use(session_store_middleware)
15
15
  } else {
16
- console.log("using", pc.bold(pc.red("REVERSE-PROXY SESSIONS")), "if you want to use the session store, start with the --sessions argument")
16
+ console.log("using", pc.bold(pc.red("REVERSE-PROXY SESSIONS!")), "if you want to use the session store, start with the --sessions argument")
17
17
 
18
18
  // warn the user
19
19
  if (is_development) {