@streamlayer/react 1.15.5 → 1.16.0

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/lib/es/index.js CHANGED
@@ -1,16 +1,15 @@
1
- import { Q as S, S as o, a1 as i, h as s, u as y, b as L, Y as p } from "./provider.js";
2
- import "./useStreamLayerApp2.js";
1
+ import { Q as m, S, a1 as o, h as i, u as s, b as y, Y as L } from "./provider.js";
3
2
  import "react/jsx-runtime";
4
3
  import "react";
5
- import { StreamLayerSDKNotification as u, StreamLayerSDKNotificationUI as D } from "./notification.js";
4
+ import { StreamLayerSDKNotification as p, StreamLayerSDKNotificationUI as u } from "./notification.js";
6
5
  export {
7
- S as StreamLayerProvider,
8
- o as StreamLayerSDKEvent,
9
- u as StreamLayerSDKNotification,
10
- D as StreamLayerSDKNotificationUI,
11
- i as StreamLayerSDKReact,
12
- s as StreamLayerThemeProvider,
13
- y as useStreamLayer,
14
- L as useStreamLayerTheme,
15
- p as useStreamLayerUI
6
+ m as StreamLayerProvider,
7
+ S as StreamLayerSDKEvent,
8
+ p as StreamLayerSDKNotification,
9
+ u as StreamLayerSDKNotificationUI,
10
+ o as StreamLayerSDKReact,
11
+ i as StreamLayerThemeProvider,
12
+ s as useStreamLayer,
13
+ y as useStreamLayerTheme,
14
+ L as useStreamLayerUI
16
15
  };
@@ -1,7 +1,7 @@
1
- import { k as u, s, Z as L, _ as O, $ as R, G as B, a0 as P, W as Q, d as U, a as V, e as F, N as k, u as W, b as G, Y, h as _ } from "./provider.js";
2
- import { j as m, Q as A, k as K, S as Z } from "./useStreamLayerApp2.js";
1
+ import { s, k as u, Z as L, _ as O, $ as R, G as B, a0 as P, W as Q, d as U, a as V, e as F, N as k, u as W, b as G, Y, h as _ } from "./provider.js";
3
2
  import { jsxs as c, jsx as e } from "react/jsx-runtime";
4
- import { useState as y, useCallback as H, useMemo as E, useEffect as x } from "react";
3
+ import { useState as y, useCallback as K, useMemo as E, useEffect as x } from "react";
4
+ import { j as m, Q as A, k as Z, S as H } from "./useStreamLayerApp2.js";
5
5
  const $ = /* @__PURE__ */ s("div")({
6
6
  name: "Media",
7
7
  class: "m1bcvojl",
@@ -117,7 +117,7 @@ const $ = /* @__PURE__ */ s("div")({
117
117
  {
118
118
  questionTypeData: o,
119
119
  questionType: i,
120
- questionStatus: K.UNSET
120
+ questionStatus: Z.UNSET
121
121
  }
122
122
  ),
123
123
  t && /* @__PURE__ */ e(pe, { children: t })
@@ -258,7 +258,7 @@ const $ = /* @__PURE__ */ s("div")({
258
258
  var I, v;
259
259
  d((v = (I = p == null ? void 0 : p[0]) == null ? void 0 : I.contentRect) == null ? void 0 : v.width);
260
260
  });
261
- })), r = H((p) => {
261
+ })), r = K((p) => {
262
262
  p || l.disconnect(), l.observe(p);
263
263
  }, [l]);
264
264
  return E(() => () => {
@@ -458,7 +458,7 @@ const $ = /* @__PURE__ */ s("div")({
458
458
  class: "n1i4h28u",
459
459
  propsAsIs: !1
460
460
  }), ys = (t) => /* @__PURE__ */ e($s, { children: /* @__PURE__ */ e(As, { ...t }) }), fs = ({ sdk: t }) => {
461
- const [i] = y(t.getNotificationsStore()), o = V(i), a = t.getFeature(Z.GAMES), n = E(() => t.getActiveNotification(), [t, o]);
461
+ const [i] = y(t.getNotificationsStore()), o = V(i), a = t.getFeature(H.GAMES), n = E(() => t.getActiveNotification(), [t, o]);
462
462
  return x(() => {
463
463
  n && F.emit("notification", {
464
464
  action: "rendered",