@rpcbase/server 0.242.0 → 0.244.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
@@ -16,7 +16,6 @@ const run_agent = require("./cli/run_agent")
16
16
 
17
17
  let is_command = false
18
18
 
19
- console.log("WILL RUN AGENT: DEBUG=", process.env.DEBUG)
20
19
 
21
20
  const args = yargs(hideBin(process.argv))
22
21
  .option("verbose", {
package/cli/run_docker.js CHANGED
@@ -42,11 +42,10 @@ const run_docker = async(infrastructure_dir, proj_prefix, args) => {
42
42
  ps_env.RB_SESSION_STORE = "yes"
43
43
  }
44
44
 
45
- console.log("SERVER START WITH SESSIONS DOCKER")
46
-
45
+ const exec_cmd = `${cmd} ${cmd_args.join(" ")}`
47
46
  // WARNING: blocks the process
48
47
  // this is the only way to have docker-compose shut down gracefully
49
- execSync(`${cmd} ${cmd_args.join(" ")}`, {
48
+ execSync(exec_cmd, {
50
49
  cwd: infrastructure_dir,
51
50
  stdio: "inherit",
52
51
  env: ps_env
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.242.0",
3
+ "version": "0.244.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {
package/rts/index.js CHANGED
@@ -159,7 +159,7 @@ const mongoose_txn_plugin = (schema, options) => {
159
159
 
160
160
  const {ctx} = save_options
161
161
  if (!ctx) {
162
- console.log(colors.yellow("Warning!"), "{ctx} not attached to save")
162
+ log(colors.yellow("Warning!"), "{ctx} not attached to save")
163
163
  }
164
164
 
165
165
  const txn_id = _get(ctx, ["req", "headers", "rts-txn-id"])
@@ -7,8 +7,6 @@ const is_development = process.env.NODE_ENV === "development"
7
7
  module.exports = (app) => {
8
8
  const has_session_store = process.env.RB_SESSION_STORE === "yes"
9
9
 
10
- console.log("WOWOWOW", process.env)
11
-
12
10
  if (has_session_store) {
13
11
  console.log("using", pc.bold(pc.green("SESSION STORE")))
14
12