@lumiastream/ui 0.4.2 → 0.4.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 CHANGED
@@ -5776,6 +5776,12 @@ function mapViewerProfilesLeaderboard(widget, currency, ctx) {
5776
5776
  content: {
5777
5777
  theme: "list",
5778
5778
  sortBy: TOP_LIST_SORT_BY[currency],
5779
+ // Mirror native `viewerprofileslist` layer creation
5780
+ // (Overlay-UI layer.actions.ts): when a streamer adds a list
5781
+ // pre-sorted by a single metric, only viewers with non-zero
5782
+ // activity in that metric are relevant — otherwise the list
5783
+ // pads out with zeros from arbitrary recent viewers.
5784
+ filterToSort: true,
5779
5785
  count,
5780
5786
  title: TOP_LIST_TITLE[currency],
5781
5787
  showTitle: false,
@@ -5791,7 +5797,6 @@ function mapViewerProfilesLeaderboard(widget, currency, ctx) {
5791
5797
  showTopActivity: false,
5792
5798
  showAchievements: false,
5793
5799
  showAchievementProgress: false,
5794
- refreshIntervalSeconds: 30,
5795
5800
  itemGap: 8,
5796
5801
  autoScroll: false,
5797
5802
  // Source-side knobs that don't map cleanly survive under the
package/dist/se-import.js CHANGED
@@ -2642,6 +2642,12 @@ function mapViewerProfilesLeaderboard(widget, currency, ctx) {
2642
2642
  content: {
2643
2643
  theme: "list",
2644
2644
  sortBy: TOP_LIST_SORT_BY[currency],
2645
+ // Mirror native `viewerprofileslist` layer creation
2646
+ // (Overlay-UI layer.actions.ts): when a streamer adds a list
2647
+ // pre-sorted by a single metric, only viewers with non-zero
2648
+ // activity in that metric are relevant — otherwise the list
2649
+ // pads out with zeros from arbitrary recent viewers.
2650
+ filterToSort: true,
2645
2651
  count,
2646
2652
  title: TOP_LIST_TITLE[currency],
2647
2653
  showTitle: false,
@@ -2657,7 +2663,6 @@ function mapViewerProfilesLeaderboard(widget, currency, ctx) {
2657
2663
  showTopActivity: false,
2658
2664
  showAchievements: false,
2659
2665
  showAchievementProgress: false,
2660
- refreshIntervalSeconds: 30,
2661
2666
  itemGap: 8,
2662
2667
  autoScroll: false,
2663
2668
  // Source-side knobs that don't map cleanly survive under the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/ui",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "author": "Lumia Stream",
5
5
  "license": "ISC",
6
6
  "description": "Lumia UI Kit",