@streamlayer/react 1.8.2 → 1.8.4

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.
@@ -38743,7 +38743,7 @@ const r2 = new pm(), HX = (n, a, o) => {
38743
38743
  }), o();
38744
38744
  }, jX = (n, a, o) => {
38745
38745
  const l = { onMountedFired: !1 }, c = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map();
38746
- n.sdk = /* @__PURE__ */ Object.create(null), n.sdk.onMount = ({ name: f, clear: y }, b) => {
38746
+ n.sdk = /* @__PURE__ */ Object.create(null), n.sdk.withAuth = !1, n.sdk.onMount = ({ name: f, clear: y }, b) => {
38747
38747
  var w, E;
38748
38748
  if (c.has(f)) {
38749
38749
  const I = p.get(f);
@@ -39303,7 +39303,7 @@ class nJ extends fE {
39303
39303
  }
39304
39304
  }
39305
39305
  });
39306
- this.background = new _X(c), this.advertisement = this.background.advertisement, this.onQuestionActivate = c.onQuestionActivate, this.feedSubscription = this.background.feedSubscription, this.activeQuestionId = this.background.activeQuestionId, this.openedQuestionId = this.background.openedQuestionId, this.storage = new vE(), this.feedList = this.background.feedList, this.friends = new is(fX(this.background.userId, c.transport), "gamification:friends"), this.currentUserId = this.background.userId, this.openedUser = _a(void 0), this.onboardingProcessed = _a(!1), this.leaderboardId = new Do(_a(this.settings.getValue("pinnedLeaderboardId")), "pinnedLeaderboardId").getStore(), this.onboardingStatus = XX(this, this.background, c.transport, c.notifications), this.notifications = c.notifications, this.transport = c.transport, this.closeFeature = (p = !0) => c.sdk.closeFeature(p), this.openFeature = () => c.sdk.openFeature(yt.GAMES), this.openedQuestion = this.background.openedQuestion, this.deepLink = KX(this.transport, this.background.slStreamId, c.stores.providerStreamId.getStore(), this.background.userId), this.userSummary = JX(this.background.slStreamId, this.background.userId, this.friends, this.transport), this.leaderboardList = MX(this.transport, this.background.slStreamId, this.background.userId, this.friends), this.connect(), this.cancels.add(this.userSummary.$store.listen((p, f) => {
39306
+ this.background = new _X(c), this.advertisement = this.background.advertisement, this.onQuestionActivate = c.onQuestionActivate, this.feedSubscription = this.background.feedSubscription, this.activeQuestionId = this.background.activeQuestionId, this.openedQuestionId = this.background.openedQuestionId, this.storage = new vE(), this.feedList = this.background.feedList, this.friends = new is(fX(this.background.userId, c.transport), "gamification:friends"), this.currentUserId = this.background.userId, this.openedUser = _a(void 0), this.onboardingProcessed = _a(!c.sdk.withAuth), this.leaderboardId = new Do(_a(this.settings.getValue("pinnedLeaderboardId")), "pinnedLeaderboardId").getStore(), this.onboardingStatus = XX(this, this.background, c.transport, c.notifications), this.notifications = c.notifications, this.transport = c.transport, this.closeFeature = (p = !0) => c.sdk.closeFeature(p), this.openFeature = () => c.sdk.openFeature(yt.GAMES), this.openedQuestion = this.background.openedQuestion, this.deepLink = KX(this.transport, this.background.slStreamId, c.stores.providerStreamId.getStore(), this.background.userId), this.userSummary = JX(this.background.slStreamId, this.background.userId, this.friends, this.transport), this.leaderboardList = MX(this.transport, this.background.slStreamId, this.background.userId, this.friends), this.connect(), this.cancels.add(this.userSummary.$store.listen((p, f) => {
39307
39307
  f != null && f.summary && (p != null && p.summary) && this.leaderboardList.invalidate();
39308
39308
  })), this.cancels.add(this.onboardingStatus.$store.listen(this.checkInteractiveFlag)), this.cancels.add(this.background.moderation.getStore().listen(this.checkInteractiveFlag)), this.cancels.add(this.settings.subscribe(this.checkInteractiveFlag)), this.cancels.add(this.onboardingStatus.$store.listen((p, f) => {
39309
39309
  (f === void 0 || p !== ca.Unset) && this.background.activeQuestionId.invalidate();
@@ -42260,7 +42260,7 @@ const Gte = ({
42260
42260
  I = !0;
42261
42261
  };
42262
42262
  const O = qte(n, o, l, {
42263
- version: "1.8.2",
42263
+ version: "1.8.4",
42264
42264
  onDeepLinkHandled: c,
42265
42265
  videoPlayerController: p,
42266
42266
  onContentActivate: f,
@@ -42363,7 +42363,7 @@ class une extends Y9 {
42363
42363
  const cne = ({ token: n, schema: a }) => {
42364
42364
  const o = Vy();
42365
42365
  return bt(() => {
42366
- n && a && o && o.authorizationBypass(a, n);
42366
+ n && a && o && o.authorizationBypass(a, n), o && (o.withAuth = !0);
42367
42367
  }, [n, a, o]), null;
42368
42368
  }, dne = () => {
42369
42369
  const n = Vy();