@streamlayer/react 1.14.6 → 1.14.8

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.
Files changed (44) hide show
  1. package/lib/app/event.d.ts +3 -1
  2. package/lib/app/masters.d.ts +2 -0
  3. package/lib/cjs/advertisement.js +30 -30
  4. package/lib/cjs/gamification-feature2.js +1 -1
  5. package/lib/cjs/index2.js +3 -3
  6. package/lib/cjs/masters2.js +9 -5
  7. package/lib/cjs/notification.js +1 -1
  8. package/lib/cjs/provider.js +17 -17
  9. package/lib/cjs/useStreamLayerApp2.js +2 -2
  10. package/lib/classic/app/event.d.ts +3 -1
  11. package/lib/classic/app/masters.d.ts +2 -0
  12. package/lib/classic/cjs/advertisement.js +30 -30
  13. package/lib/classic/cjs/gamification-feature2.js +1 -1
  14. package/lib/classic/cjs/index2.js +3 -3
  15. package/lib/classic/cjs/masters2.js +9 -5
  16. package/lib/classic/cjs/notification.js +1 -1
  17. package/lib/classic/cjs/provider.js +17 -17
  18. package/lib/classic/cjs/useStreamLayerApp2.js +2 -2
  19. package/lib/classic/es/advertisement.js +2584 -2561
  20. package/lib/classic/es/gamification-feature2.js +1 -1
  21. package/lib/classic/es/index.js +1 -1
  22. package/lib/classic/es/index2.js +209 -209
  23. package/lib/classic/es/masters2.js +364 -338
  24. package/lib/classic/es/notification.js +26 -26
  25. package/lib/classic/es/provider.js +2276 -2247
  26. package/lib/classic/es/useStreamLayerApp2.js +5 -5
  27. package/lib/classic/style.css +1 -1
  28. package/lib/dist/cjs/gamification-feature.js +1 -1
  29. package/lib/dist/cjs/gamification-feature2.js +1 -1
  30. package/lib/dist/cjs/masters.js +33 -29
  31. package/lib/dist/es/gamification-feature.js +1 -1
  32. package/lib/dist/es/gamification-feature2.js +1 -1
  33. package/lib/dist/es/masters.js +6371 -6323
  34. package/lib/dist/style.css +1 -1
  35. package/lib/es/advertisement.js +2584 -2561
  36. package/lib/es/gamification-feature2.js +1 -1
  37. package/lib/es/index.js +1 -1
  38. package/lib/es/index2.js +209 -209
  39. package/lib/es/masters2.js +364 -338
  40. package/lib/es/notification.js +26 -26
  41. package/lib/es/provider.js +2273 -2244
  42. package/lib/es/useStreamLayerApp2.js +5 -5
  43. package/lib/style.css +1 -1
  44. package/package.json +14 -14
@@ -14011,7 +14011,7 @@ class lh extends Qt {
14011
14011
  });
14012
14012
  p(this, "isBetPackQuestionReceived", ({ userId: n, eventId: a, organizationId: s }, o) => !!this.read(Le.BET_PACK_ITEM_RECEIVED, s, n, a, o));
14013
14013
  p(this, "saveQuestionOpened", ({ userId: n, eventId: a, organizationId: s }, o) => {
14014
- this.write(Le.QUESTION_OPENED, s, n, a, o);
14014
+ this.write(Le.QUESTION_OPENED, s, n, a, o, "1");
14015
14015
  });
14016
14016
  p(this, "isQuestionOpened", ({ userId: n, eventId: a, organizationId: s }, o) => !!this.read(Le.QUESTION_OPENED, s, n, a, o));
14017
14017
  p(this, "saveOnboardingStatus", ({ userId: n, eventId: a, organizationId: s }, o) => {
@@ -14795,8 +14795,8 @@ const Kt = new wt(), Ih = (e, t, n) => {
14795
14795
  }
14796
14796
  }, e.sdk.disableApp = () => {
14797
14797
  e.stores.enabled.get() === "on" && (e.stores.enabled.setValue(), e.stores.status.setValue(Ye.DISABLED), e.stores.slStreamId.setValue(), e.stores.providerStreamId.setValue(), e.sdk.closeFeature(!0), e.storeUnsubscribe(), e.transport.disconnect());
14798
- }, e.sdk.createEventSession = (r) => {
14799
- e.stores.providerStreamId.setValue(r);
14798
+ }, e.sdk.createEventSession = (r, c) => {
14799
+ c ? e.stores.slStreamId.getStore().set({ loading: !1, data: r }) : e.stores.providerStreamId.setValue(r);
14800
14800
  }, n();
14801
14801
  }, wh = (e, t) => {
14802
14802
  const { client: n, queryKey: a } = e.createPromiseClient(on, {
@@ -15221,7 +15221,7 @@ class Ch extends rc {
15221
15221
  return () => {
15222
15222
  };
15223
15223
  const s = (a == null ? void 0 : a.openedFrom) === "bet-pack";
15224
- s && this.notifications.close(this.background.getCurrentSessionId({
15224
+ this.notifications.close(this.background.getCurrentSessionId({
15225
15225
  prefix: "notification",
15226
15226
  entity: n
15227
15227
  }), {
@@ -18435,7 +18435,7 @@ const OE = ({
18435
18435
  f = !0;
18436
18436
  };
18437
18437
  const _ = bE(e, n, a, {
18438
- version: "1.14.6",
18438
+ version: "1.14.8",
18439
18439
  onDeepLinkHandled: s,
18440
18440
  videoPlayerController: o,
18441
18441
  onContentActivate: r,