@leeguoo/pwtk-network-debugger 1.2.49-beta.0 → 1.2.49-beta.2
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 +51 -44
- 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 {
|
|
@@ -7680,12 +7687,12 @@ const styles = `
|
|
|
7680
7687
|
}
|
|
7681
7688
|
|
|
7682
7689
|
.debugger-btn.active {
|
|
7683
|
-
background: linear-gradient(135deg, #
|
|
7690
|
+
background: linear-gradient(135deg, #007AFF, #5856D6);
|
|
7684
7691
|
color: #ffffff;
|
|
7685
7692
|
box-shadow:
|
|
7686
|
-
0
|
|
7693
|
+
0 4px 16px rgba(0, 122, 255, 0.25),
|
|
7687
7694
|
inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
|
7688
|
-
backdrop-filter: blur(
|
|
7695
|
+
backdrop-filter: blur(12px);
|
|
7689
7696
|
}
|
|
7690
7697
|
|
|
7691
7698
|
.debugger-icon {
|
|
@@ -7841,12 +7848,12 @@ const styles = `
|
|
|
7841
7848
|
-webkit-backdrop-filter: blur(18px) brightness(1.2);
|
|
7842
7849
|
background: linear-gradient(
|
|
7843
7850
|
135deg,
|
|
7844
|
-
rgba(
|
|
7845
|
-
rgba(
|
|
7851
|
+
rgba(0, 122, 255, 0.08),
|
|
7852
|
+
rgba(255, 255, 255, 0.05)
|
|
7846
7853
|
);
|
|
7847
|
-
border-color: rgba(
|
|
7854
|
+
border-color: rgba(0, 122, 255, 0.2);
|
|
7848
7855
|
box-shadow:
|
|
7849
|
-
0
|
|
7856
|
+
0 8px 32px rgba(0, 0, 0, 0.15),
|
|
7850
7857
|
inset 0 2px 4px rgba(255, 255, 255, 0.15);
|
|
7851
7858
|
}
|
|
7852
7859
|
|
|
@@ -7931,27 +7938,27 @@ const styles = `
|
|
|
7931
7938
|
.status-2xx {
|
|
7932
7939
|
background: linear-gradient(135deg, #4CAF50, #45a049);
|
|
7933
7940
|
color: #ffffff;
|
|
7934
|
-
box-shadow: 0
|
|
7941
|
+
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
|
|
7935
7942
|
}
|
|
7936
7943
|
.status-3xx {
|
|
7937
7944
|
background: linear-gradient(135deg, #FF9800, #F57C00);
|
|
7938
7945
|
color: #ffffff;
|
|
7939
|
-
box-shadow: 0
|
|
7946
|
+
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
|
|
7940
7947
|
}
|
|
7941
7948
|
.status-4xx {
|
|
7942
7949
|
background: linear-gradient(135deg, #F44336, #D32F2F);
|
|
7943
7950
|
color: #ffffff;
|
|
7944
|
-
box-shadow: 0
|
|
7951
|
+
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
|
|
7945
7952
|
}
|
|
7946
7953
|
.status-5xx {
|
|
7947
7954
|
background: linear-gradient(135deg, #9C27B0, #7B1FA2);
|
|
7948
7955
|
color: #ffffff;
|
|
7949
|
-
box-shadow: 0
|
|
7956
|
+
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
|
|
7950
7957
|
}
|
|
7951
7958
|
.status-error {
|
|
7952
7959
|
background: linear-gradient(135deg, #F44336, #D32F2F);
|
|
7953
7960
|
color: #ffffff;
|
|
7954
|
-
box-shadow: 0
|
|
7961
|
+
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
|
|
7955
7962
|
}
|
|
7956
7963
|
|
|
7957
7964
|
.request-info {
|
|
@@ -8304,10 +8311,10 @@ const styles = `
|
|
|
8304
8311
|
|
|
8305
8312
|
@keyframes liquid-glow {
|
|
8306
8313
|
0%, 100% {
|
|
8307
|
-
box-shadow: 0
|
|
8314
|
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
|
8308
8315
|
}
|
|
8309
8316
|
50% {
|
|
8310
|
-
box-shadow: 0
|
|
8317
|
+
box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
|
|
8311
8318
|
}
|
|
8312
8319
|
}
|
|
8313
8320
|
|
|
@@ -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.2"} ║
|
|
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.2";
|
|
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.2"
|
|
9549
9556
|
};
|
|
9550
9557
|
}
|
|
9551
9558
|
}
|