@poolzin/pool-bot 2026.4.9 → 2026.4.10
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/build-info.json
CHANGED
|
@@ -22,10 +22,10 @@ export function trimCredentialToUndefined(value) {
|
|
|
22
22
|
return trimmed;
|
|
23
23
|
}
|
|
24
24
|
export function readGatewayTokenEnv(env = process.env) {
|
|
25
|
-
return trimToUndefined(env.OPENCLAW_GATEWAY_TOKEN);
|
|
25
|
+
return trimToUndefined(env.OPENCLAW_GATEWAY_TOKEN ?? env.POOLBOT_GATEWAY_TOKEN);
|
|
26
26
|
}
|
|
27
27
|
export function readGatewayPasswordEnv(env = process.env) {
|
|
28
|
-
return trimToUndefined(env.OPENCLAW_GATEWAY_PASSWORD);
|
|
28
|
+
return trimToUndefined(env.OPENCLAW_GATEWAY_PASSWORD ?? env.POOLBOT_GATEWAY_PASSWORD);
|
|
29
29
|
}
|
|
30
30
|
export function hasGatewayTokenEnvCandidate(env = process.env) {
|
|
31
31
|
return Boolean(readGatewayTokenEnv(env));
|