@authme/util 2.8.35 → 2.8.37
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/index.cjs +5 -5
- package/index.js +5 -5
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -1130,12 +1130,12 @@ const uiThemeButton = (dom, buttonStyle, disabled) => {
|
|
|
1130
1130
|
dom.style.opacity = buttonStyle.backgroundOpacity;
|
|
1131
1131
|
if (disabled) {
|
|
1132
1132
|
dom.style.color = buttonStyle.disabledTextColor;
|
|
1133
|
-
dom.style.borderRadius =
|
|
1133
|
+
dom.style.borderRadius = `100px`;
|
|
1134
1134
|
dom.style.backgroundColor = buttonStyle.disabledBackgroundColor;
|
|
1135
1135
|
dom.style.borderColor = hexToRgba(buttonStyle.disabledBorderColor, buttonStyle.borderOpacity);
|
|
1136
1136
|
} else {
|
|
1137
1137
|
dom.style.color = buttonStyle.textColor;
|
|
1138
|
-
dom.style.borderRadius =
|
|
1138
|
+
dom.style.borderRadius = `100px`;
|
|
1139
1139
|
dom.style.backgroundColor = buttonStyle.backgroundColor;
|
|
1140
1140
|
dom.style.borderColor = hexToRgba(buttonStyle.borderColor, buttonStyle.borderOpacity);
|
|
1141
1141
|
}
|
|
@@ -1516,7 +1516,7 @@ function upgradeResolution(videoTrack) {
|
|
|
1516
1516
|
}
|
|
1517
1517
|
};
|
|
1518
1518
|
const minAcceptableWidth = 1280; // 最低可接受的解析度寬度
|
|
1519
|
-
const maxAttempts =
|
|
1519
|
+
const maxAttempts = 15; // 最多嘗試10次
|
|
1520
1520
|
const retryDelay = 2000; // 每次重試間隔1秒
|
|
1521
1521
|
console.log('🚀 開始提升解析度...');
|
|
1522
1522
|
const startTime = Date.now();
|
|
@@ -3368,8 +3368,8 @@ const themeConfigDefault = {
|
|
|
3368
3368
|
};
|
|
3369
3369
|
|
|
3370
3370
|
var name = "authme/sdk";
|
|
3371
|
-
var version$1 = "2.8.
|
|
3372
|
-
var date = "2025-
|
|
3371
|
+
var version$1 = "2.8.37";
|
|
3372
|
+
var date = "2025-12-11T09:36:46+0800";
|
|
3373
3373
|
var packageInfo = {
|
|
3374
3374
|
name: name,
|
|
3375
3375
|
version: version$1,
|
package/index.js
CHANGED
|
@@ -1120,12 +1120,12 @@ const uiThemeButton = (dom, buttonStyle, disabled) => {
|
|
|
1120
1120
|
dom.style.opacity = buttonStyle.backgroundOpacity;
|
|
1121
1121
|
if (disabled) {
|
|
1122
1122
|
dom.style.color = buttonStyle.disabledTextColor;
|
|
1123
|
-
dom.style.borderRadius =
|
|
1123
|
+
dom.style.borderRadius = `100px`;
|
|
1124
1124
|
dom.style.backgroundColor = buttonStyle.disabledBackgroundColor;
|
|
1125
1125
|
dom.style.borderColor = hexToRgba(buttonStyle.disabledBorderColor, buttonStyle.borderOpacity);
|
|
1126
1126
|
} else {
|
|
1127
1127
|
dom.style.color = buttonStyle.textColor;
|
|
1128
|
-
dom.style.borderRadius =
|
|
1128
|
+
dom.style.borderRadius = `100px`;
|
|
1129
1129
|
dom.style.backgroundColor = buttonStyle.backgroundColor;
|
|
1130
1130
|
dom.style.borderColor = hexToRgba(buttonStyle.borderColor, buttonStyle.borderOpacity);
|
|
1131
1131
|
}
|
|
@@ -1506,7 +1506,7 @@ function upgradeResolution(videoTrack) {
|
|
|
1506
1506
|
}
|
|
1507
1507
|
};
|
|
1508
1508
|
const minAcceptableWidth = 1280; // 最低可接受的解析度寬度
|
|
1509
|
-
const maxAttempts =
|
|
1509
|
+
const maxAttempts = 15; // 最多嘗試10次
|
|
1510
1510
|
const retryDelay = 2000; // 每次重試間隔1秒
|
|
1511
1511
|
console.log('🚀 開始提升解析度...');
|
|
1512
1512
|
const startTime = Date.now();
|
|
@@ -3358,8 +3358,8 @@ const themeConfigDefault = {
|
|
|
3358
3358
|
};
|
|
3359
3359
|
|
|
3360
3360
|
var name = "authme/sdk";
|
|
3361
|
-
var version$1 = "2.8.
|
|
3362
|
-
var date = "2025-
|
|
3361
|
+
var version$1 = "2.8.37";
|
|
3362
|
+
var date = "2025-12-11T09:36:46+0800";
|
|
3363
3363
|
var packageInfo = {
|
|
3364
3364
|
name: name,
|
|
3365
3365
|
version: version$1,
|