@poolzin/pool-bot 2026.4.38 → 2026.4.39
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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor-config-flow.d.ts","sourceRoot":"","sources":["../../src/commands/doctor-config-flow.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAYzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"doctor-config-flow.d.ts","sourceRoot":"","sources":["../../src/commands/doctor-config-flow.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAYzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AA6tB1D,wBAAsB,+BAA+B,CAAC,MAAM,EAAE;IAC5D,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE,CAAC,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,OAAO,CAAA;KAAE,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAC9E;;;;;GAmLA"}
|
|
@@ -221,6 +221,7 @@ async function maybeRepairTelegramAllowFromUsernames(cfg) {
|
|
|
221
221
|
}
|
|
222
222
|
const tokens = Array.from(new Set(listTelegramAccountIds(cfg)
|
|
223
223
|
.map((accountId) => resolveTelegramAccount({ cfg, accountId }))
|
|
224
|
+
.filter((account) => account != null)
|
|
224
225
|
.map((account) => (account.tokenSource === "none" ? "" : account.token))
|
|
225
226
|
.map((token) => token.trim())
|
|
226
227
|
.filter(Boolean)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor-security.d.ts","sourceRoot":"","sources":["../../src/commands/doctor-security.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAmB,MAAM,qBAAqB,CAAC;AAO1E,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"doctor-security.d.ts","sourceRoot":"","sources":["../../src/commands/doctor-security.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAmB,MAAM,qBAAqB,CAAC;AAO1E,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,aAAa,iBAuK5D"}
|
|
@@ -100,6 +100,8 @@ export async function noteSecurityWarnings(cfg) {
|
|
|
100
100
|
accountIds,
|
|
101
101
|
});
|
|
102
102
|
const account = plugin.config.resolveAccount(cfg, defaultAccountId);
|
|
103
|
+
if (!account)
|
|
104
|
+
continue;
|
|
103
105
|
const enabled = plugin.config.isEnabled ? plugin.config.isEnabled(account, cfg) : true;
|
|
104
106
|
if (!enabled)
|
|
105
107
|
continue;
|