@leeguoo/pwtk-network-debugger 1.3.2 → 1.3.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/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +1 -1
- package/types/ui/panel.d.ts.map +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -18256,7 +18256,7 @@ const _DebugPanel = class _DebugPanel {
|
|
|
18256
18256
|
this.container.style.pointerEvents = "auto";
|
|
18257
18257
|
this.container.innerHTML = `
|
|
18258
18258
|
<div class="debugger-header">
|
|
18259
|
-
<div class="debugger-title">🔓 PWTK 解密小工具 <span style="font-size: 10px; opacity: 0.7;">by Leo v${"1.3.
|
|
18259
|
+
<div class="debugger-title">🔓 PWTK 解密小工具 <span style="font-size: 10px; opacity: 0.7;">by Leo v${"1.3.3"}</span></div>
|
|
18260
18260
|
<div class="debugger-controls">
|
|
18261
18261
|
<button class="debugger-btn" data-action="clear" title="清空"><svg class="debugger-icon" viewBox="0 0 24 24"><path fill="currentColor" d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"/></svg></button>
|
|
18262
18262
|
<button class="debugger-btn" data-action="export" title="导出"><svg class="debugger-icon" viewBox="0 0 24 24"><path fill="currentColor" d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/></svg></button>
|
|
@@ -19549,7 +19549,7 @@ const _NetworkDebugger = class _NetworkDebugger {
|
|
|
19549
19549
|
}
|
|
19550
19550
|
async checkForUpdates() {
|
|
19551
19551
|
try {
|
|
19552
|
-
const currentVersion = "1.3.
|
|
19552
|
+
const currentVersion = "1.3.3";
|
|
19553
19553
|
logger.info(`[PWTK Update] Checking for updates... Current version: ${currentVersion}`);
|
|
19554
19554
|
const response = await fetch("https://registry.npmjs.org/@leeguoo/pwtk-network-debugger/latest");
|
|
19555
19555
|
const data = await response.json();
|
|
@@ -19569,7 +19569,7 @@ const _NetworkDebugger = class _NetworkDebugger {
|
|
|
19569
19569
|
logger.error("[PWTK Update] Failed to check for updates:", error);
|
|
19570
19570
|
return {
|
|
19571
19571
|
hasUpdate: false,
|
|
19572
|
-
currentVersion: "1.3.
|
|
19572
|
+
currentVersion: "1.3.3"
|
|
19573
19573
|
};
|
|
19574
19574
|
}
|
|
19575
19575
|
}
|
|
@@ -19665,7 +19665,7 @@ const _NetworkDebugger = class _NetworkDebugger {
|
|
|
19665
19665
|
return headers.slk || headers["x-slk"] || "";
|
|
19666
19666
|
}
|
|
19667
19667
|
};
|
|
19668
|
-
_NetworkDebugger.version = "1.3.
|
|
19668
|
+
_NetworkDebugger.version = "1.3.2";
|
|
19669
19669
|
let NetworkDebugger = _NetworkDebugger;
|
|
19670
19670
|
let globalInstance = null;
|
|
19671
19671
|
const NetworkDebuggerGlobal = {
|