@thestatic-tv/dcl-sdk 2.5.15 → 2.5.17
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.js +8 -6
- package/dist/index.mjs +8 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3672,10 +3672,12 @@ var AdminPanelUIModule = class {
|
|
|
3672
3672
|
import_react_ecs5.UiEntity,
|
|
3673
3673
|
{
|
|
3674
3674
|
uiTransform: {
|
|
3675
|
-
|
|
3675
|
+
minWidth: this.s(200),
|
|
3676
|
+
maxWidth: this.s(600),
|
|
3676
3677
|
height: this.s(N2.height),
|
|
3677
3678
|
flexDirection: "row",
|
|
3678
|
-
alignItems: "center"
|
|
3679
|
+
alignItems: "center",
|
|
3680
|
+
padding: { left: 0, right: 10 }
|
|
3679
3681
|
},
|
|
3680
3682
|
uiBackground: { color: colors.panel }
|
|
3681
3683
|
},
|
|
@@ -3694,7 +3696,7 @@ var AdminPanelUIModule = class {
|
|
|
3694
3696
|
height: "100%",
|
|
3695
3697
|
padding: { left: 10, right: 10 },
|
|
3696
3698
|
justifyContent: "center",
|
|
3697
|
-
alignItems: "
|
|
3699
|
+
alignItems: "center"
|
|
3698
3700
|
}
|
|
3699
3701
|
},
|
|
3700
3702
|
/* @__PURE__ */ import_react_ecs5.default.createElement(
|
|
@@ -3703,7 +3705,7 @@ var AdminPanelUIModule = class {
|
|
|
3703
3705
|
value: state.text,
|
|
3704
3706
|
fontSize: this.s(N2.fontSize),
|
|
3705
3707
|
color: colors.white,
|
|
3706
|
-
textAlign: "middle-
|
|
3708
|
+
textAlign: "middle-center"
|
|
3707
3709
|
}
|
|
3708
3710
|
)
|
|
3709
3711
|
),
|
|
@@ -3824,7 +3826,7 @@ var StaticTVClient = class {
|
|
|
3824
3826
|
} else if (config.apiKey.startsWith("dcls_")) {
|
|
3825
3827
|
this._keyType = KEY_TYPE_SCENE;
|
|
3826
3828
|
} else {
|
|
3827
|
-
console.
|
|
3829
|
+
console.log("[TheStatic] Invalid API key format - get your key at thestatic.tv/dashboard");
|
|
3828
3830
|
this._disabled = true;
|
|
3829
3831
|
this._keyType = null;
|
|
3830
3832
|
this._resolveFeaturesReady("free");
|
|
@@ -3950,7 +3952,7 @@ var StaticTVClient = class {
|
|
|
3950
3952
|
* @internal
|
|
3951
3953
|
*/
|
|
3952
3954
|
warn(message) {
|
|
3953
|
-
console.
|
|
3955
|
+
console.log(`[TheStatic] WARN: ${message}`);
|
|
3954
3956
|
}
|
|
3955
3957
|
/**
|
|
3956
3958
|
* Log an error (always shown, user-friendly format)
|
package/dist/index.mjs
CHANGED
|
@@ -3627,10 +3627,12 @@ var AdminPanelUIModule = class {
|
|
|
3627
3627
|
UiEntity5,
|
|
3628
3628
|
{
|
|
3629
3629
|
uiTransform: {
|
|
3630
|
-
|
|
3630
|
+
minWidth: this.s(200),
|
|
3631
|
+
maxWidth: this.s(600),
|
|
3631
3632
|
height: this.s(N2.height),
|
|
3632
3633
|
flexDirection: "row",
|
|
3633
|
-
alignItems: "center"
|
|
3634
|
+
alignItems: "center",
|
|
3635
|
+
padding: { left: 0, right: 10 }
|
|
3634
3636
|
},
|
|
3635
3637
|
uiBackground: { color: colors.panel }
|
|
3636
3638
|
},
|
|
@@ -3649,7 +3651,7 @@ var AdminPanelUIModule = class {
|
|
|
3649
3651
|
height: "100%",
|
|
3650
3652
|
padding: { left: 10, right: 10 },
|
|
3651
3653
|
justifyContent: "center",
|
|
3652
|
-
alignItems: "
|
|
3654
|
+
alignItems: "center"
|
|
3653
3655
|
}
|
|
3654
3656
|
},
|
|
3655
3657
|
/* @__PURE__ */ ReactEcs5.createElement(
|
|
@@ -3658,7 +3660,7 @@ var AdminPanelUIModule = class {
|
|
|
3658
3660
|
value: state.text,
|
|
3659
3661
|
fontSize: this.s(N2.fontSize),
|
|
3660
3662
|
color: colors.white,
|
|
3661
|
-
textAlign: "middle-
|
|
3663
|
+
textAlign: "middle-center"
|
|
3662
3664
|
}
|
|
3663
3665
|
)
|
|
3664
3666
|
),
|
|
@@ -3779,7 +3781,7 @@ var StaticTVClient = class {
|
|
|
3779
3781
|
} else if (config.apiKey.startsWith("dcls_")) {
|
|
3780
3782
|
this._keyType = KEY_TYPE_SCENE;
|
|
3781
3783
|
} else {
|
|
3782
|
-
console.
|
|
3784
|
+
console.log("[TheStatic] Invalid API key format - get your key at thestatic.tv/dashboard");
|
|
3783
3785
|
this._disabled = true;
|
|
3784
3786
|
this._keyType = null;
|
|
3785
3787
|
this._resolveFeaturesReady("free");
|
|
@@ -3905,7 +3907,7 @@ var StaticTVClient = class {
|
|
|
3905
3907
|
* @internal
|
|
3906
3908
|
*/
|
|
3907
3909
|
warn(message) {
|
|
3908
|
-
console.
|
|
3910
|
+
console.log(`[TheStatic] WARN: ${message}`);
|
|
3909
3911
|
}
|
|
3910
3912
|
/**
|
|
3911
3913
|
* Log an error (always shown, user-friendly format)
|
package/package.json
CHANGED