@thestatic-tv/dcl-sdk 2.3.0-beta.2 → 2.3.0-beta.3
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 +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1049,7 +1049,7 @@ var GuideUIModule = class {
|
|
|
1049
1049
|
renderLeftPanel() {
|
|
1050
1050
|
const sidebarW = this.s(UI_DIMENSIONS.guide.sidebar.width);
|
|
1051
1051
|
const liveCount = this.liveVideos.length;
|
|
1052
|
-
const signalCount = this.videos.filter((v) => !v.isLive).length;
|
|
1052
|
+
const signalCount = this.videos.filter((v) => !v.isLive && !v.isCreator).length;
|
|
1053
1053
|
const nodesPlaylist = this.featuredPlaylists.find((p) => p.name === "NODES");
|
|
1054
1054
|
const nodesCount = nodesPlaylist ? nodesPlaylist.videos.filter((v) => v.isCreator).length : 0;
|
|
1055
1055
|
const displayedPlaylists = this.featuredPlaylists.filter((p) => p.name !== "NODES").slice(0, 6);
|
|
@@ -1146,7 +1146,7 @@ var GuideUIModule = class {
|
|
|
1146
1146
|
}),
|
|
1147
1147
|
// Menu buttons
|
|
1148
1148
|
this.renderMenuButton("LIVE NOW", liveCount, THEME.colors.red, liveCount > 0 ? "\u25CF" : void 0, "ACTIVE STREAMS"),
|
|
1149
|
-
this.renderMenuButton("SIGNALS", signalCount, THEME.colors.white, void 0, "
|
|
1149
|
+
this.renderMenuButton("SIGNALS", signalCount, THEME.colors.white, void 0, "VODS & RECORDINGS"),
|
|
1150
1150
|
this.renderMenuButton("NODES", nodesCount, THEME.colors.magenta, void 0, "CHANNELS & CREATORS"),
|
|
1151
1151
|
// Divider
|
|
1152
1152
|
import_react_ecs2.default.createElement(import_react_ecs2.UiEntity, {
|
|
@@ -1228,7 +1228,7 @@ var GuideUIModule = class {
|
|
|
1228
1228
|
let videosToShow = [];
|
|
1229
1229
|
const nodePl = this.featuredPlaylists.find((p) => p.name === "NODES");
|
|
1230
1230
|
if (this.activeTab === "SIGNALS") {
|
|
1231
|
-
videosToShow = this.videos.filter((v) => !v.isLive);
|
|
1231
|
+
videosToShow = this.videos.filter((v) => !v.isLive && !v.isCreator);
|
|
1232
1232
|
} else if (this.activeTab === "NODES") {
|
|
1233
1233
|
videosToShow = nodePl ? nodePl.videos.filter((v) => v.isCreator) : [];
|
|
1234
1234
|
} else if (this.activeTab === "LIVE NOW") {
|
package/dist/index.mjs
CHANGED
|
@@ -1006,7 +1006,7 @@ var GuideUIModule = class {
|
|
|
1006
1006
|
renderLeftPanel() {
|
|
1007
1007
|
const sidebarW = this.s(UI_DIMENSIONS.guide.sidebar.width);
|
|
1008
1008
|
const liveCount = this.liveVideos.length;
|
|
1009
|
-
const signalCount = this.videos.filter((v) => !v.isLive).length;
|
|
1009
|
+
const signalCount = this.videos.filter((v) => !v.isLive && !v.isCreator).length;
|
|
1010
1010
|
const nodesPlaylist = this.featuredPlaylists.find((p) => p.name === "NODES");
|
|
1011
1011
|
const nodesCount = nodesPlaylist ? nodesPlaylist.videos.filter((v) => v.isCreator).length : 0;
|
|
1012
1012
|
const displayedPlaylists = this.featuredPlaylists.filter((p) => p.name !== "NODES").slice(0, 6);
|
|
@@ -1103,7 +1103,7 @@ var GuideUIModule = class {
|
|
|
1103
1103
|
}),
|
|
1104
1104
|
// Menu buttons
|
|
1105
1105
|
this.renderMenuButton("LIVE NOW", liveCount, THEME.colors.red, liveCount > 0 ? "\u25CF" : void 0, "ACTIVE STREAMS"),
|
|
1106
|
-
this.renderMenuButton("SIGNALS", signalCount, THEME.colors.white, void 0, "
|
|
1106
|
+
this.renderMenuButton("SIGNALS", signalCount, THEME.colors.white, void 0, "VODS & RECORDINGS"),
|
|
1107
1107
|
this.renderMenuButton("NODES", nodesCount, THEME.colors.magenta, void 0, "CHANNELS & CREATORS"),
|
|
1108
1108
|
// Divider
|
|
1109
1109
|
ReactEcs2.createElement(UiEntity2, {
|
|
@@ -1185,7 +1185,7 @@ var GuideUIModule = class {
|
|
|
1185
1185
|
let videosToShow = [];
|
|
1186
1186
|
const nodePl = this.featuredPlaylists.find((p) => p.name === "NODES");
|
|
1187
1187
|
if (this.activeTab === "SIGNALS") {
|
|
1188
|
-
videosToShow = this.videos.filter((v) => !v.isLive);
|
|
1188
|
+
videosToShow = this.videos.filter((v) => !v.isLive && !v.isCreator);
|
|
1189
1189
|
} else if (this.activeTab === "NODES") {
|
|
1190
1190
|
videosToShow = nodePl ? nodePl.videos.filter((v) => v.isCreator) : [];
|
|
1191
1191
|
} else if (this.activeTab === "LIVE NOW") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thestatic-tv/dcl-sdk",
|
|
3
|
-
"version": "2.3.0-beta.
|
|
3
|
+
"version": "2.3.0-beta.3",
|
|
4
4
|
"description": "Connect your Decentraland scene to thestatic.tv - full channel lineup, metrics tracking, and interactions",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|