@holochain/hc-spin 0.500.0 → 0.500.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/CHANGELOG.md +4 -0
- package/dist/main/index.js +2 -1
- package/package.json +1 -1
- package/src/main/index.ts +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
9
9
|
### Changed
|
|
10
10
|
### Removed
|
|
11
11
|
|
|
12
|
+
## 2025-04-30: v0.500.1
|
|
13
|
+
### Fixed
|
|
14
|
+
- Fixed an error that could prevent hc-spin to start up properly (`ERROR: error: invalid value 'undefined' for '--bootstrap <BOOTSTRAP>': relative URL without a base`) ([#25](https://github.com/holochain/hc-spin/pull/25))
|
|
15
|
+
|
|
12
16
|
## 2025-04-10: v0.500.0-rc.0
|
|
13
17
|
|
|
14
18
|
### Changed
|
package/dist/main/index.js
CHANGED
|
@@ -12643,7 +12643,8 @@ async function startLocalServices() {
|
|
|
12643
12643
|
bootstrapRunning = true;
|
|
12644
12644
|
signalRunnig = true;
|
|
12645
12645
|
}
|
|
12646
|
-
if (bootstrapRunning && signalRunnig
|
|
12646
|
+
if (bootstrapRunning && signalRunnig && bootStrapUrl && signalUrl)
|
|
12647
|
+
resolve([bootStrapUrl, signalUrl]);
|
|
12647
12648
|
});
|
|
12648
12649
|
localServicesHandle.stderr.pipe(split()).on("data", async (line) => {
|
|
12649
12650
|
console.log(`[hc-spin] | [hc run-local-services] ERROR: ${line}`);
|
package/package.json
CHANGED
package/src/main/index.ts
CHANGED
|
@@ -177,9 +177,7 @@ async function startLocalServices(): Promise<[string, string]> {
|
|
|
177
177
|
localServicesHandle.stdout.pipe(split()).on('data', async (line: string) => {
|
|
178
178
|
console.log(`[hc-spin] | [kitsune2-bootstrap-srv]: ${line}`);
|
|
179
179
|
if (line.includes('#kitsune2_bootstrap_srv#listening#')) {
|
|
180
|
-
const hostAndPort = line
|
|
181
|
-
.split('#kitsune2_bootstrap_srv#listening#')[1]
|
|
182
|
-
.split("#")[0]
|
|
180
|
+
const hostAndPort = line.split('#kitsune2_bootstrap_srv#listening#')[1].split('#')[0];
|
|
183
181
|
bootStrapUrl = `http://${hostAndPort}`;
|
|
184
182
|
signalUrl = `ws://${hostAndPort}`;
|
|
185
183
|
}
|
|
@@ -187,7 +185,8 @@ async function startLocalServices(): Promise<[string, string]> {
|
|
|
187
185
|
bootstrapRunning = true;
|
|
188
186
|
signalRunnig = true;
|
|
189
187
|
}
|
|
190
|
-
if (bootstrapRunning && signalRunnig
|
|
188
|
+
if (bootstrapRunning && signalRunnig && bootStrapUrl && signalUrl)
|
|
189
|
+
resolve([bootStrapUrl, signalUrl]);
|
|
191
190
|
});
|
|
192
191
|
localServicesHandle.stderr.pipe(split()).on('data', async (line: string) => {
|
|
193
192
|
console.log(`[hc-spin] | [hc run-local-services] ERROR: ${line}`);
|