@leeguoo/pwtk-network-debugger 1.2.49-beta.0 → 1.2.49-beta.1
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 +3 -3
- package/dist/index.esm.js +37 -30
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -7415,26 +7415,30 @@ const styles = `
|
|
|
7415
7415
|
position: fixed;
|
|
7416
7416
|
z-index: 999999;
|
|
7417
7417
|
|
|
7418
|
-
/*
|
|
7419
|
-
|
|
7420
|
-
-
|
|
7418
|
+
/* 强制 GPU 加速和 3D 变换 */
|
|
7419
|
+
transform: translate3d(0, 0, 0);
|
|
7420
|
+
will-change: transform, backdrop-filter;
|
|
7421
|
+
|
|
7422
|
+
/* iOS 26 Liquid Glass 核心效果 - 增强版 */
|
|
7423
|
+
backdrop-filter: blur(25px) saturate(200%) brightness(1.05) !important;
|
|
7424
|
+
-webkit-backdrop-filter: blur(25px) saturate(200%) brightness(1.05) !important;
|
|
7421
7425
|
|
|
7422
7426
|
/* iOS 浅色毛玻璃背景 */
|
|
7423
|
-
background: rgba(245, 245, 247, 0.
|
|
7427
|
+
background: rgba(245, 245, 247, 0.8);
|
|
7424
7428
|
background-image: linear-gradient(
|
|
7425
7429
|
135deg,
|
|
7426
|
-
rgba(255, 255, 255, 0.
|
|
7427
|
-
rgba(255, 255, 255, 0.
|
|
7430
|
+
rgba(255, 255, 255, 0.5) 0%,
|
|
7431
|
+
rgba(255, 255, 255, 0.25) 100%
|
|
7428
7432
|
);
|
|
7429
7433
|
|
|
7430
7434
|
/* 玻璃边框 */
|
|
7431
|
-
border: 1px solid
|
|
7435
|
+
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
7432
7436
|
|
|
7433
7437
|
/* 多层阴影创建深度 */
|
|
7434
7438
|
box-shadow:
|
|
7435
|
-
0
|
|
7436
|
-
inset 0 2px 4px
|
|
7437
|
-
inset 0 -2px 4px rgba(0, 0, 0, 0.
|
|
7439
|
+
0 10px 40px rgba(31, 38, 135, 0.4),
|
|
7440
|
+
inset 0 2px 4px rgba(255, 255, 255, 0.3),
|
|
7441
|
+
inset 0 -2px 4px rgba(0, 0, 0, 0.12);
|
|
7438
7442
|
|
|
7439
7443
|
border-radius: 20px;
|
|
7440
7444
|
color: #ffffff;
|
|
@@ -7445,8 +7449,6 @@ const styles = `
|
|
|
7445
7449
|
max-height: 80vh;
|
|
7446
7450
|
|
|
7447
7451
|
/* 性能优化 */
|
|
7448
|
-
will-change: transform;
|
|
7449
|
-
transform: translateZ(0);
|
|
7450
7452
|
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
7451
7453
|
}
|
|
7452
7454
|
|
|
@@ -7489,35 +7491,40 @@ const styles = `
|
|
|
7489
7491
|
border-radius: 24px !important;
|
|
7490
7492
|
overflow: hidden;
|
|
7491
7493
|
|
|
7492
|
-
/*
|
|
7494
|
+
/* 强制 GPU 加速和 3D 变换 */
|
|
7495
|
+
transform: translate3d(0, 0, 0) !important;
|
|
7496
|
+
will-change: transform, backdrop-filter !important;
|
|
7497
|
+
|
|
7498
|
+
/* 真正的 iOS Liquid Glass 效果 - 加强版 */
|
|
7493
7499
|
background:
|
|
7494
7500
|
/* 顶部高光 */
|
|
7495
7501
|
linear-gradient(180deg,
|
|
7496
|
-
rgba(255, 255, 255, 0.
|
|
7497
|
-
rgba(255, 255, 255, 0) 35%),
|
|
7502
|
+
rgba(255, 255, 255, 0.5) 0%,
|
|
7503
|
+
rgba(255, 255, 255, 0.1) 35%),
|
|
7498
7504
|
/* 主玻璃层 */
|
|
7499
7505
|
radial-gradient(ellipse at top,
|
|
7500
|
-
rgba(255, 255, 255, 0.
|
|
7501
|
-
rgba(255, 255, 255, 0.
|
|
7506
|
+
rgba(255, 255, 255, 0.35),
|
|
7507
|
+
rgba(255, 255, 255, 0.12)),
|
|
7502
7508
|
/* iOS 浅色基底 */
|
|
7503
|
-
rgba(245, 245, 247, 0.
|
|
7509
|
+
rgba(245, 245, 247, 0.85) !important;
|
|
7504
7510
|
|
|
7505
|
-
|
|
7506
|
-
|
|
7511
|
+
/* 增强毛玻璃效果 */
|
|
7512
|
+
backdrop-filter: blur(40px) saturate(220%) brightness(1.1) !important;
|
|
7513
|
+
-webkit-backdrop-filter: blur(40px) saturate(220%) brightness(1.1) !important;
|
|
7507
7514
|
|
|
7508
|
-
/* iOS 风格边缘光效 */
|
|
7515
|
+
/* iOS 风格边缘光效 - 增强版 */
|
|
7509
7516
|
box-shadow:
|
|
7510
7517
|
/* 外发光 */
|
|
7511
|
-
0 0 0 0.5px rgba(255, 255, 255, 0.
|
|
7518
|
+
0 0 0 0.5px rgba(255, 255, 255, 0.7) !important,
|
|
7512
7519
|
/* 内阴影创建玻璃厚度 */
|
|
7513
|
-
inset 0 1px 0 0 rgba(255, 255, 255, 0.
|
|
7514
|
-
inset 0 -1px 0 0 rgba(0, 0, 0, 0.
|
|
7520
|
+
inset 0 1px 0 0 rgba(255, 255, 255, 0.7) !important,
|
|
7521
|
+
inset 0 -1px 0 0 rgba(0, 0, 0, 0.2) !important,
|
|
7515
7522
|
/* 深度阴影 */
|
|
7516
|
-
0
|
|
7517
|
-
0
|
|
7523
|
+
0 15px 40px rgba(0, 0, 0, 0.3) !important,
|
|
7524
|
+
0 4px 10px rgba(0, 0, 0, 0.2) !important;
|
|
7518
7525
|
|
|
7519
7526
|
/* 平滑过渡 */
|
|
7520
|
-
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
7527
|
+
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
7521
7528
|
}
|
|
7522
7529
|
|
|
7523
7530
|
#network-debugger-panel.minimized .debugger-content {
|
|
@@ -9464,7 +9471,7 @@ class NetworkDebugger {
|
|
|
9464
9471
|
this.initialized = true;
|
|
9465
9472
|
logger.consoleDirect(`
|
|
9466
9473
|
╔════════════════════════════════════════╗
|
|
9467
|
-
║ 🔓 PWTK 解密小工具 v${"1.2.49-beta.
|
|
9474
|
+
║ 🔓 PWTK 解密小工具 v${"1.2.49-beta.1"} ║
|
|
9468
9475
|
║ Created by Leo (@leeguoo) ║
|
|
9469
9476
|
║ 技术支持: 请联系 Leo ║
|
|
9470
9477
|
║ 分享服务: curl.bwg.leeguoo.com ║
|
|
@@ -9525,7 +9532,7 @@ class NetworkDebugger {
|
|
|
9525
9532
|
}
|
|
9526
9533
|
async checkForUpdates() {
|
|
9527
9534
|
try {
|
|
9528
|
-
const currentVersion = "1.2.49-beta.
|
|
9535
|
+
const currentVersion = "1.2.49-beta.1";
|
|
9529
9536
|
logger.info(`[PWTK Update] Checking for updates... Current version: ${currentVersion}`);
|
|
9530
9537
|
const response = await fetch("https://registry.npmjs.org/@leeguoo/pwtk-network-debugger/latest");
|
|
9531
9538
|
const data = await response.json();
|
|
@@ -9545,7 +9552,7 @@ class NetworkDebugger {
|
|
|
9545
9552
|
logger.error("[PWTK Update] Failed to check for updates:", error);
|
|
9546
9553
|
return {
|
|
9547
9554
|
hasUpdate: false,
|
|
9548
|
-
currentVersion: "1.2.49-beta.
|
|
9555
|
+
currentVersion: "1.2.49-beta.1"
|
|
9549
9556
|
};
|
|
9550
9557
|
}
|
|
9551
9558
|
}
|