@rpcbase/server 0.308.0 → 0.310.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/cli/run_native.js CHANGED
@@ -47,7 +47,7 @@ const get_processes = (args) => {
47
47
  const worker_queue_logs_path = path.join(process.cwd(), "../infrastructure/data/worker-queue/log/logs.txt")
48
48
 
49
49
  const has_uds = true
50
- const uds_root_path = `/tmp/${env.RB_APP_NAME}/`
50
+ const uds_root_path = `/tmp/sockets-${env.RB_APP_NAME}/`
51
51
  if (has_uds && !fs.existsSync(uds_root_path)) {
52
52
  mkdirp.sync(uds_root_path)
53
53
  }
@@ -6,7 +6,7 @@ const isEmail = require("validator/lib/isEmail")
6
6
 
7
7
 
8
8
  expect.extend({
9
- toBeMongoId: (actual) => {
9
+ toBeMongoId: function(actual) {
10
10
  const pass = isMongoId(actual)
11
11
 
12
12
  if (pass) {
@@ -21,7 +21,7 @@ expect.extend({
21
21
  }
22
22
  }
23
23
  },
24
- toBeEmail: (actual) => {
24
+ toBeEmail: function(actual) {
25
25
  const pass = actual && isEmail(actual)
26
26
 
27
27
  if (pass) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.308.0",
3
+ "version": "0.310.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {