@thestatic-tv/dcl-sdk 2.2.4 → 2.2.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.js +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -905,8 +905,8 @@ var GuideUIModule = class {
|
|
|
905
905
|
id: v.id || slug,
|
|
906
906
|
name: v.name || v.title || "Unknown",
|
|
907
907
|
src,
|
|
908
|
-
// isLive =
|
|
909
|
-
isLive: v.isLive === true
|
|
908
|
+
// isLive = ONLY true if backend says isLive:true (actually streaming)
|
|
909
|
+
isLive: v.isLive === true,
|
|
910
910
|
// isCreator = creator channel (type === 'live' means creator, not actually live)
|
|
911
911
|
isCreator: v.isCreator === true || v.type === "live",
|
|
912
912
|
channelId: v.channelId || slug,
|
|
@@ -1452,6 +1452,7 @@ var ChatUIModule = class {
|
|
|
1452
1452
|
this.config = config;
|
|
1453
1453
|
this.position = config.position || "right";
|
|
1454
1454
|
this.fontScale = config.fontScale || 1;
|
|
1455
|
+
console.log("[StaticTV Chat] Initialized with position:", this.position);
|
|
1455
1456
|
}
|
|
1456
1457
|
/**
|
|
1457
1458
|
* Initialize the chat system
|
|
@@ -1744,6 +1745,7 @@ var ChatUIModule = class {
|
|
|
1744
1745
|
}
|
|
1745
1746
|
}
|
|
1746
1747
|
getPositionStyle() {
|
|
1748
|
+
console.log("[StaticTV Chat] getPositionStyle called, position:", this.position);
|
|
1747
1749
|
switch (this.position) {
|
|
1748
1750
|
case "left":
|
|
1749
1751
|
return { bottom: 55, left: 20 };
|
package/dist/index.mjs
CHANGED
|
@@ -865,8 +865,8 @@ var GuideUIModule = class {
|
|
|
865
865
|
id: v.id || slug,
|
|
866
866
|
name: v.name || v.title || "Unknown",
|
|
867
867
|
src,
|
|
868
|
-
// isLive =
|
|
869
|
-
isLive: v.isLive === true
|
|
868
|
+
// isLive = ONLY true if backend says isLive:true (actually streaming)
|
|
869
|
+
isLive: v.isLive === true,
|
|
870
870
|
// isCreator = creator channel (type === 'live' means creator, not actually live)
|
|
871
871
|
isCreator: v.isCreator === true || v.type === "live",
|
|
872
872
|
channelId: v.channelId || slug,
|
|
@@ -1412,6 +1412,7 @@ var ChatUIModule = class {
|
|
|
1412
1412
|
this.config = config;
|
|
1413
1413
|
this.position = config.position || "right";
|
|
1414
1414
|
this.fontScale = config.fontScale || 1;
|
|
1415
|
+
console.log("[StaticTV Chat] Initialized with position:", this.position);
|
|
1415
1416
|
}
|
|
1416
1417
|
/**
|
|
1417
1418
|
* Initialize the chat system
|
|
@@ -1704,6 +1705,7 @@ var ChatUIModule = class {
|
|
|
1704
1705
|
}
|
|
1705
1706
|
}
|
|
1706
1707
|
getPositionStyle() {
|
|
1708
|
+
console.log("[StaticTV Chat] getPositionStyle called, position:", this.position);
|
|
1707
1709
|
switch (this.position) {
|
|
1708
1710
|
case "left":
|
|
1709
1711
|
return { bottom: 55, left: 20 };
|
package/package.json
CHANGED