@dainprotocol/cli 1.0.14 → 1.0.16

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.
@@ -121,9 +121,6 @@ function dev(options) {
121
121
  _a.label = 1;
122
122
  case 1:
123
123
  _a.trys.push([1, 8, , 9]);
124
- if (!(runtime === 'node')) return [3 /*break*/, 4];
125
- // Existing Node.js development process
126
- startProcess(command, envVars);
127
124
  if (!!options.noproxy) return [3 /*break*/, 3];
128
125
  if (!config['api-key']) {
129
126
  throw new Error("'api-key' is required when using development proxy");
@@ -133,6 +130,9 @@ function dev(options) {
133
130
  proxyServer = _a.sent();
134
131
  _a.label = 3;
135
132
  case 3:
133
+ if (!(runtime === 'node')) return [3 /*break*/, 4];
134
+ // Existing Node.js development process
135
+ startProcess(command, envVars);
136
136
  watchPaths = [
137
137
  path_1.default.dirname(config['main-file']),
138
138
  config['static-dir'] ? path_1.default.join(process.cwd(), config['static-dir']) : (0, utils_1.getStaticFilesPath)()
@@ -6,7 +6,7 @@
6
6
  "out-dir": "dist",
7
7
  "environment": "development",
8
8
  "version": "1.0.0",
9
- "tunnel-base-url": "wss:///devtunnel.dain-local.com",
9
+ "tunnel-base-url": "wss:///tunnel.dain-local.com",
10
10
  "platform-base-url": "https://platform.dain.org",
11
11
  "runtime": "workers"
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dainprotocol/cli",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "CLI for Dain Protocol",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -6,7 +6,7 @@
6
6
  "out-dir": "dist",
7
7
  "environment": "development",
8
8
  "version": "1.0.0",
9
- "tunnel-base-url": "wss:///devtunnel.dain-local.com",
9
+ "tunnel-base-url": "wss:///tunnel.dain-local.com",
10
10
  "platform-base-url": "https://platform.dain.org",
11
11
  "runtime": "workers"
12
12
  }