dsh-multi-router 0.5.2 → 0.5.3
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/README.md +3 -3
- package/lib/{chunk-MFVNBA2Z.js → chunk-EJWYFWIT.js} +2 -2
- package/lib/{chunk-MFVNBA2Z.js.map → chunk-EJWYFWIT.js.map} +1 -1
- package/lib/client.js +2 -2
- package/lib/client.js.map +2 -2
- package/lib/host.js +1 -1
- package/lib/index.js +1 -1
- package/lib/manager.js +1 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(client_exports);
|
|
|
35
35
|
var import_react = require("react");
|
|
36
36
|
|
|
37
37
|
// package.json
|
|
38
|
-
var version = "0.5.
|
|
38
|
+
var version = "0.5.3";
|
|
39
39
|
|
|
40
40
|
// src/client.jsx
|
|
41
41
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -481,7 +481,7 @@ function CheckinPanel({ data, busy, act }) {
|
|
|
481
481
|
const blocked = busy || info.running || !!info.error;
|
|
482
482
|
const eligible = rows.filter((r) => r.supported && !r.paused && data.accounts.find((a) => a.id === r.id)?.enabled && (r.last?.day !== today || r.last?.retryReady));
|
|
483
483
|
const ready = (r) => eligible.includes(r) && !beforeWindow;
|
|
484
|
-
const displayName = (a) => a?.name?.replace(/(
|
|
484
|
+
const displayName = (a) => a?.name?.replace(/(?<!\d)(\+?\d{2,3})\d{3,8}(\d{4})(?!\d)/g, "$1****$2");
|
|
485
485
|
const resultLabels = { claimed: "\u6210\u529F", "already-claimed": "\u5DF2\u9886\u53D6", "no-campaign": "\u65E0\u6D3B\u52A8", retryable: "\u67E5\u8BE2\u5931\u8D25", "before-window": "\u7A97\u53E3\u672A\u5F00", "auth-invalid": "\u4EE4\u724C\u5931\u6548", paused: "\u5E73\u53F0\u6682\u505C", uncertain: "\u5F85\u6838\u5BF9", "device-used": "\u8BBE\u5907\u5DF2\u53C2\u4E0E" };
|
|
486
486
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "stack", children: [
|
|
487
487
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", { className: "box stack", children: [
|