@leeguoo/pwtk-network-debugger 1.3.4 → 1.3.5
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/{button-Dt1KsQb6.mjs → button-B5OqHDUm.mjs} +20 -1
- package/dist/button-Bcbh--qO.js +1 -0
- package/dist/container-BZUC7qSB.js +1 -0
- package/dist/{container-Cy51KA7q.mjs → container-qvHOCG_V.mjs} +344 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +6 -5
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/dist/button-CbMfuNRL.js +0 -1
- package/dist/container-D_U0MRYG.js +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -17981,6 +17981,7 @@ class LiquidGlassScene {
|
|
|
17981
17981
|
useCORS: true,
|
|
17982
17982
|
windowWidth: document.documentElement.scrollWidth,
|
|
17983
17983
|
windowHeight: document.documentElement.scrollHeight,
|
|
17984
|
+
logging: false,
|
|
17984
17985
|
ignoreElements: (element) => this.container.contains(element)
|
|
17985
17986
|
}).then((canvas) => {
|
|
17986
17987
|
this.snapshotCanvas = canvas;
|
|
@@ -18373,7 +18374,7 @@ const _DebugPanel = class _DebugPanel {
|
|
|
18373
18374
|
this.container.style.pointerEvents = "auto";
|
|
18374
18375
|
this.container.innerHTML = `
|
|
18375
18376
|
<div class="debugger-header">
|
|
18376
|
-
<div class="debugger-title">🔓 PWTK 解密小工具 <span style="font-size: 10px; opacity: 0.7;">by Leo v${"1.3.
|
|
18377
|
+
<div class="debugger-title">🔓 PWTK 解密小工具 <span style="font-size: 10px; opacity: 0.7;">by Leo v${"1.3.5"}</span></div>
|
|
18377
18378
|
<div class="debugger-controls">
|
|
18378
18379
|
<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>
|
|
18379
18380
|
<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>
|
|
@@ -19528,8 +19529,8 @@ if (typeof window !== "undefined") {
|
|
|
19528
19529
|
}
|
|
19529
19530
|
function loadLiquidGlass() {
|
|
19530
19531
|
return new Promise((resolve) => {
|
|
19531
|
-
import("./container-
|
|
19532
|
-
return import("./button-
|
|
19532
|
+
import("./container-qvHOCG_V.mjs").then(() => {
|
|
19533
|
+
return import("./button-B5OqHDUm.mjs");
|
|
19533
19534
|
}).then(() => {
|
|
19534
19535
|
resolve();
|
|
19535
19536
|
}).catch((error) => {
|
|
@@ -19669,7 +19670,7 @@ const _NetworkDebugger = class _NetworkDebugger {
|
|
|
19669
19670
|
}
|
|
19670
19671
|
async checkForUpdates() {
|
|
19671
19672
|
try {
|
|
19672
|
-
const currentVersion = "1.3.
|
|
19673
|
+
const currentVersion = "1.3.5";
|
|
19673
19674
|
logger.info(`[PWTK Update] Checking for updates... Current version: ${currentVersion}`);
|
|
19674
19675
|
const response = await fetch("https://registry.npmjs.org/@leeguoo/pwtk-network-debugger/latest");
|
|
19675
19676
|
const data = await response.json();
|
|
@@ -19689,7 +19690,7 @@ const _NetworkDebugger = class _NetworkDebugger {
|
|
|
19689
19690
|
logger.error("[PWTK Update] Failed to check for updates:", error);
|
|
19690
19691
|
return {
|
|
19691
19692
|
hasUpdate: false,
|
|
19692
|
-
currentVersion: "1.3.
|
|
19693
|
+
currentVersion: "1.3.5"
|
|
19693
19694
|
};
|
|
19694
19695
|
}
|
|
19695
19696
|
}
|