@holochain/hc-spin 0.500.0-rc.0 → 0.500.0-rc.1

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/dist/cli.js CHANGED
File without changes
@@ -12627,7 +12627,7 @@ async function startLocalServices() {
12627
12627
  localServicesHandle.stdout.pipe(split()).on("data", async (line) => {
12628
12628
  console.log(`[hc-spin] | [kitsune2-bootstrap-srv]: ${line}`);
12629
12629
  if (line.includes("#kitsune2_bootstrap_srv#listening#")) {
12630
- const hostAndPort = line.split("#kitsune2_bootstrap_srv#listening#")[1].trim().replace("#", "");
12630
+ const hostAndPort = line.split("#kitsune2_bootstrap_srv#listening#")[1].split("#")[0];
12631
12631
  bootStrapUrl = `http://${hostAndPort}`;
12632
12632
  signalUrl = `ws://${hostAndPort}`;
12633
12633
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@holochain/hc-spin",
3
- "version": "0.500.0-rc.0",
4
- "holochainVersion": "0.5.0-rc.0",
3
+ "version": "0.500.0-rc.1",
4
+ "holochainVersion": "0.5.0-rc.3",
5
5
  "description": "CLI to run Holochain aps during development.",
6
6
  "author": "matthme",
7
7
  "homepage": "https://developer.holochain.org",
@@ -36,7 +36,7 @@
36
36
  "@electron-toolkit/preload": "^3.0.0",
37
37
  "@electron-toolkit/utils": "^3.0.0",
38
38
  "@holochain/client": "0.19.0-rc.0",
39
- "@holochain/hc-spin-rust-utils": "0.500.0-rc.0",
39
+ "@holochain/hc-spin-rust-utils": "0.500.0-rc.1",
40
40
  "@msgpack/msgpack": "^2.8.0",
41
41
  "bufferutil": "4.0.8",
42
42
  "commander": "11.1.0",
package/src/main/index.ts CHANGED
@@ -179,8 +179,7 @@ async function startLocalServices(): Promise<[string, string]> {
179
179
  if (line.includes('#kitsune2_bootstrap_srv#listening#')) {
180
180
  const hostAndPort = line
181
181
  .split('#kitsune2_bootstrap_srv#listening#')[1]
182
- .trim()
183
- .replace('#', '');
182
+ .split("#")[0]
184
183
  bootStrapUrl = `http://${hostAndPort}`;
185
184
  signalUrl = `ws://${hostAndPort}`;
186
185
  }