@streamlayer/react 1.14.6 → 1.14.7

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 (38) 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/masters2.js +9 -5
  6. package/lib/cjs/notification.js +1 -1
  7. package/lib/cjs/provider.js +16 -16
  8. package/lib/cjs/useStreamLayerApp2.js +2 -2
  9. package/lib/classic/app/event.d.ts +3 -1
  10. package/lib/classic/app/masters.d.ts +2 -0
  11. package/lib/classic/cjs/advertisement.js +30 -30
  12. package/lib/classic/cjs/gamification-feature2.js +1 -1
  13. package/lib/classic/cjs/masters2.js +9 -5
  14. package/lib/classic/cjs/notification.js +1 -1
  15. package/lib/classic/cjs/provider.js +16 -16
  16. package/lib/classic/cjs/useStreamLayerApp2.js +2 -2
  17. package/lib/classic/es/advertisement.js +2584 -2561
  18. package/lib/classic/es/gamification-feature2.js +1 -1
  19. package/lib/classic/es/masters2.js +363 -337
  20. package/lib/classic/es/notification.js +19 -19
  21. package/lib/classic/es/provider.js +1928 -1909
  22. package/lib/classic/es/useStreamLayerApp2.js +4 -4
  23. package/lib/classic/style.css +1 -1
  24. package/lib/dist/cjs/gamification-feature.js +1 -1
  25. package/lib/dist/cjs/gamification-feature2.js +1 -1
  26. package/lib/dist/cjs/masters.js +32 -28
  27. package/lib/dist/es/gamification-feature.js +1 -1
  28. package/lib/dist/es/gamification-feature2.js +1 -1
  29. package/lib/dist/es/masters.js +5933 -5894
  30. package/lib/dist/style.css +1 -1
  31. package/lib/es/advertisement.js +2584 -2561
  32. package/lib/es/gamification-feature2.js +1 -1
  33. package/lib/es/masters2.js +363 -337
  34. package/lib/es/notification.js +19 -19
  35. package/lib/es/provider.js +1925 -1906
  36. package/lib/es/useStreamLayerApp2.js +4 -4
  37. package/lib/style.css +1 -1
  38. package/package.json +14 -14
@@ -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.7",
18439
18439
  onDeepLinkHandled: s,
18440
18440
  videoPlayerController: o,
18441
18441
  onContentActivate: r,