supbuddy 3.1.24 → 3.1.25
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/bin.js +1 -1
- package/dist/daemon/worker.cjs +7 -2
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -19807,7 +19807,7 @@ function cliBuildKind(env3 = process.env) {
|
|
|
19807
19807
|
return raw === "host" || raw === "npm" ? raw : "dev";
|
|
19808
19808
|
}
|
|
19809
19809
|
function cliVersion(env3 = process.env) {
|
|
19810
|
-
return "3.1.
|
|
19810
|
+
return "3.1.25".trim() || "0.0.0-dev";
|
|
19811
19811
|
}
|
|
19812
19812
|
function isDevBuild(env3) {
|
|
19813
19813
|
return cliBuildKind(env3) === "dev";
|
package/dist/daemon/worker.cjs
CHANGED
|
@@ -28662,6 +28662,12 @@ function proxyExpectedRunning() {
|
|
|
28662
28662
|
const s = useStore.getState().proxyState.status;
|
|
28663
28663
|
return s === "running" || s === "recovering" || s === "starting";
|
|
28664
28664
|
}
|
|
28665
|
+
async function probeCaddyTlsEitherFamily(opts, probe2 = probeCaddyTls) {
|
|
28666
|
+
const results = await Promise.all(
|
|
28667
|
+
["::1", "127.0.0.1"].map((host) => probe2({ host, ...opts }))
|
|
28668
|
+
);
|
|
28669
|
+
return results.find((r) => r.ok) ?? results[0];
|
|
28670
|
+
}
|
|
28665
28671
|
function probeCaddyTls(opts) {
|
|
28666
28672
|
return new Promise((resolve) => {
|
|
28667
28673
|
let settled = false;
|
|
@@ -28763,8 +28769,7 @@ async function healthTick(cfg) {
|
|
|
28763
28769
|
}
|
|
28764
28770
|
const target = pickProbeTarget();
|
|
28765
28771
|
if (!target) return;
|
|
28766
|
-
const probe2 = await
|
|
28767
|
-
host: "127.0.0.1",
|
|
28772
|
+
const probe2 = await probeCaddyTlsEitherFamily({
|
|
28768
28773
|
port: target.port,
|
|
28769
28774
|
servername: target.servername,
|
|
28770
28775
|
timeoutMs: cfg.probeTimeoutMs
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supbuddy",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.25",
|
|
4
4
|
"description": "Run multiple Supabase projects at once on custom local domains with HTTPS. A headless CLI and daemon (proxy, DNS, Supabase/Compose lifecycle, MCP) for macOS and Linux.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"supabase",
|