@leeguoo/pwtk-network-debugger 1.2.49-beta.4 → 1.2.49-beta.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/index.esm.js CHANGED
@@ -7890,26 +7890,9 @@ const styles = `
7890
7890
  backdrop-filter: blur(10px) brightness(1.1);
7891
7891
  -webkit-backdrop-filter: blur(10px) brightness(1.1);
7892
7892
 
7893
- /* 多层背景 - 模拟 Liquid Glass */
7894
- background:
7895
- /* 动态光效层 */
7896
- linear-gradient(
7897
- 105deg,
7898
- transparent 35%,
7899
- rgba(255, 255, 255, 0.25) 45%,
7900
- rgba(255, 255, 255, 0.35) 50%,
7901
- rgba(255, 255, 255, 0.25) 55%,
7902
- transparent 65%
7903
- ),
7904
- /* 基础玻璃层 */
7905
- linear-gradient(
7906
- 135deg,
7907
- rgba(255, 255, 255, 0.8),
7908
- rgba(255, 255, 255, 0.6)
7909
- );
7910
-
7911
- background-size: 300% 100%, 100% 100%;
7912
- border: 1px solid rgba(255, 255, 255, 0.2);
7893
+ /* 背景极简化,避免遮挡文本 */
7894
+ background: rgba(255, 255, 255, 0.35);
7895
+ border: 1px solid rgba(255, 255, 255, 0.28);
7913
7896
  border-radius: 16px;
7914
7897
  padding: 16px;
7915
7898
  cursor: default;
@@ -8060,7 +8043,7 @@ const styles = `
8060
8043
  margin: 0 8px;
8061
8044
  word-break: break-all;
8062
8045
  white-space: normal;
8063
- color: rgba(60, 60, 67, 0.9);
8046
+ color: rgba(20, 20, 33, 0.98);
8064
8047
  font-size: 11px;
8065
8048
  line-height: 1.3;
8066
8049
  }
@@ -8246,7 +8229,7 @@ const styles = `
8246
8229
  }
8247
8230
 
8248
8231
  .headers-table td {
8249
- color: rgba(60, 60, 67, 0.8);
8232
+ color: rgba(20, 20, 33, 0.85);
8250
8233
  }
8251
8234
 
8252
8235
  .decrypted-badge {
@@ -17992,7 +17975,7 @@ const _DebugPanel = class _DebugPanel {
17992
17975
  this.container.style.pointerEvents = "auto";
17993
17976
  this.container.innerHTML = `
17994
17977
  <div class="debugger-header">
17995
- <div class="debugger-title">🔓 PWTK 解密小工具 <span style="font-size: 10px; opacity: 0.7;">by Leo v${"1.2.49-beta.4"}</span></div>
17978
+ <div class="debugger-title">🔓 PWTK 解密小工具 <span style="font-size: 10px; opacity: 0.7;">by Leo v${"1.2.49-beta.5"}</span></div>
17996
17979
  <div class="debugger-controls">
17997
17980
  <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>
17998
17981
  <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>
@@ -18661,7 +18644,7 @@ Created by Leo (@leeguoo)`);
18661
18644
  }
18662
18645
  this.addDragFunctionality(glassButton.element);
18663
18646
  this.reopenButton = glassButton;
18664
- console.log("[PWTK] Glass button created successfully");
18647
+ logger.debug("[PWTK] Glass button created successfully");
18665
18648
  } catch (error) {
18666
18649
  console.error("[PWTK] Failed to create glass button:", error);
18667
18650
  this.createFallbackButton();
@@ -18700,7 +18683,7 @@ Created by Leo (@leeguoo)`);
18700
18683
  btn.onclick = () => this.show();
18701
18684
  this.addDragFunctionality(btn);
18702
18685
  document.body.appendChild(btn);
18703
- console.log("[PWTK] Fallback button created");
18686
+ logger.warn("[PWTK] Fallback button created");
18704
18687
  }
18705
18688
  addDragFunctionality(element) {
18706
18689
  let isDragging = false;
@@ -19052,7 +19035,7 @@ class NetworkDebugger {
19052
19035
  this.initialized = true;
19053
19036
  logger.consoleDirect(`
19054
19037
  ╔════════════════════════════════════════╗
19055
- ║ 🔓 PWTK 解密小工具 v${"1.2.49-beta.4"} ║
19038
+ ║ 🔓 PWTK 解密小工具 v${"1.2.49-beta.5"} ║
19056
19039
  ║ Created by Leo (@leeguoo) ║
19057
19040
  ║ 技术支持: 请联系 Leo ║
19058
19041
  ║ 分享服务: curl.bwg.leeguoo.com ║
@@ -19113,7 +19096,7 @@ class NetworkDebugger {
19113
19096
  }
19114
19097
  async checkForUpdates() {
19115
19098
  try {
19116
- const currentVersion = "1.2.49-beta.4";
19099
+ const currentVersion = "1.2.49-beta.5";
19117
19100
  logger.info(`[PWTK Update] Checking for updates... Current version: ${currentVersion}`);
19118
19101
  const response = await fetch("https://registry.npmjs.org/@leeguoo/pwtk-network-debugger/latest");
19119
19102
  const data = await response.json();
@@ -19133,7 +19116,7 @@ class NetworkDebugger {
19133
19116
  logger.error("[PWTK Update] Failed to check for updates:", error);
19134
19117
  return {
19135
19118
  hasUpdate: false,
19136
- currentVersion: "1.2.49-beta.4"
19119
+ currentVersion: "1.2.49-beta.5"
19137
19120
  };
19138
19121
  }
19139
19122
  }