@stagewhisper/stagewhisper 0.44.0 → 0.45.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/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/src/openresponses.ts +1 -3
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
package/src/openresponses.ts
CHANGED
|
@@ -11,9 +11,7 @@ function resolveGatewayConfig(api: OpenClawPluginApi): GatewayConfig {
|
|
|
11
11
|
const explicitUrl = typeof gw?.url === "string" ? gw.url : null;
|
|
12
12
|
const url = (explicitUrl ?? `http://127.0.0.1:${port}`).replace(/\/+$/, "");
|
|
13
13
|
|
|
14
|
-
const token =
|
|
15
|
-
(typeof auth?.token === "string" ? auth.token : null) ??
|
|
16
|
-
(typeof process !== "undefined" ? process.env.OPENCLAW_GATEWAY_TOKEN ?? null : null);
|
|
14
|
+
const token = typeof auth?.token === "string" ? auth.token : null;
|
|
17
15
|
|
|
18
16
|
return { url, apiKey: token };
|
|
19
17
|
}
|