@streamlayer/react 1.15.0 → 1.15.1
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/app/bet-pack.d.ts +1 -11
- package/lib/cjs/bet-pack.js +1 -1
- package/lib/cjs/provider.js +2 -2
- package/lib/cjs/useStreamLayerApp2.js +9 -9
- package/lib/classic/app/bet-pack.d.ts +1 -11
- package/lib/classic/cjs/bet-pack.js +1 -1
- package/lib/classic/cjs/provider.js +2 -2
- package/lib/classic/cjs/useStreamLayerApp2.js +9 -9
- package/lib/classic/es/bet-pack.js +12 -16
- package/lib/classic/es/provider.js +6 -6
- package/lib/classic/es/useStreamLayerApp2.js +308 -290
- package/lib/classic/masters.d.ts +1 -2
- package/lib/dist/cjs/index.js +1 -1
- package/lib/dist/cjs/masters.js +30 -30
- package/lib/dist/es/index.js +7 -8
- package/lib/dist/es/masters.js +4120 -4099
- package/lib/es/bet-pack.js +12 -16
- package/lib/es/provider.js +6 -6
- package/lib/es/useStreamLayerApp2.js +308 -290
- package/lib/masters.d.ts +1 -2
- package/package.json +14 -14
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { u as i, e as
|
|
3
|
-
import { Q as
|
|
4
|
-
import { useEffect as
|
|
5
|
-
const
|
|
6
|
-
const t = i();
|
|
7
|
-
return t ? /* @__PURE__ */ o(c, { sdk: t }) : null;
|
|
8
|
-
}, n = (t) => {
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { u as i, e as o } from "./provider.js";
|
|
3
|
+
import { Q as a } from "./index2.js";
|
|
4
|
+
import { useEffect as c } from "react";
|
|
5
|
+
const r = (t) => {
|
|
9
6
|
const e = t.target;
|
|
10
|
-
e instanceof
|
|
7
|
+
e instanceof Element && e.getAttribute("data-a") === "intr" && o.emit("interactions", {
|
|
11
8
|
action: "tap",
|
|
12
9
|
payload: {}
|
|
13
10
|
});
|
|
14
|
-
},
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
document == null || document.removeEventListener("click",
|
|
18
|
-
}), []),
|
|
11
|
+
}, d = () => {
|
|
12
|
+
const t = i();
|
|
13
|
+
return c(() => (document == null || document.addEventListener("click", r), () => {
|
|
14
|
+
document == null || document.removeEventListener("click", r);
|
|
15
|
+
}), []), t ? /* @__PURE__ */ n(a, { sdk: t }) : null;
|
|
19
16
|
};
|
|
20
17
|
export {
|
|
21
|
-
|
|
22
|
-
k as BetPackProvider
|
|
18
|
+
d as BetPackProvider
|
|
23
19
|
};
|
|
@@ -177,7 +177,7 @@ var va;
|
|
|
177
177
|
})(va || (va = {}));
|
|
178
178
|
var ga;
|
|
179
179
|
(function(e) {
|
|
180
|
-
e.ONBOARDING = "onboarding", e.ONBOARDING_IO = "onboarding_io", e.
|
|
180
|
+
e.ONBOARDING = "onboarding", e.ONBOARDING_IO = "onboarding_io", e.QUESTION_RECEIVED = "q-received", e.QUESTION_OPENED = "q-opened";
|
|
181
181
|
})(ga || (ga = {}));
|
|
182
182
|
var ya;
|
|
183
183
|
(function(e) {
|
|
@@ -9757,7 +9757,7 @@ const Rp = ({
|
|
|
9757
9757
|
/* @__PURE__ */ E(sh, { children: [
|
|
9758
9758
|
/* @__PURE__ */ c(ch, { children: r }),
|
|
9759
9759
|
/* @__PURE__ */ c(uh, { children: i }),
|
|
9760
|
-
a && /* @__PURE__ */ c(dh, {
|
|
9760
|
+
a && /* @__PURE__ */ c(dh, { onClick: a, children: "View Insight" })
|
|
9761
9761
|
] })
|
|
9762
9762
|
] }), fh = /* @__PURE__ */ d("div")({
|
|
9763
9763
|
name: "Container",
|
|
@@ -9810,7 +9810,7 @@ const Rp = ({
|
|
|
9810
9810
|
}), xh = ({ action: e, ...t }) => /* @__PURE__ */ E(Eh, { children: [
|
|
9811
9811
|
t.title && /* @__PURE__ */ c(Ih, { children: /* @__PURE__ */ c(Sh, { children: t.title }) }),
|
|
9812
9812
|
/* @__PURE__ */ c(ua, { ...t }),
|
|
9813
|
-
e && /* @__PURE__ */ c(kh, {
|
|
9813
|
+
e && /* @__PURE__ */ c(kh, { onClick: e, children: "View Insight" })
|
|
9814
9814
|
] }), c3 = ({
|
|
9815
9815
|
close: e,
|
|
9816
9816
|
action: t,
|
|
@@ -10589,9 +10589,9 @@ const Rp = ({
|
|
|
10589
10589
|
name: "Title",
|
|
10590
10590
|
class: "t154z7mh",
|
|
10591
10591
|
propsAsIs: !1
|
|
10592
|
-
}), bC = ({ title: e, onClick: t, className: n, style: r }) => /* @__PURE__ */ c(gC, { "data-a": "intr", onClick: t, className: n, style: r, children: /* @__PURE__ */ E(yC, { children: [
|
|
10593
|
-
/* @__PURE__ */ c(H, { name: "iconUp" }),
|
|
10594
|
-
e && /* @__PURE__ */ c(wC, { children: e })
|
|
10592
|
+
}), bC = ({ title: e, onClick: t, className: n, style: r }) => /* @__PURE__ */ c(gC, { "data-a": "intr", onClick: t, className: n, style: r, children: /* @__PURE__ */ E(yC, { "data-a": "intr", children: [
|
|
10593
|
+
/* @__PURE__ */ c(H, { "data-a": "intr", name: "iconUp" }),
|
|
10594
|
+
e && /* @__PURE__ */ c(wC, { "data-a": "intr", children: e })
|
|
10595
10595
|
] }) }), LC = () => n2, EC = /* @__PURE__ */ d(LC())({
|
|
10596
10596
|
name: "Container",
|
|
10597
10597
|
class: "c8ol1ve",
|