@streamlayer/react 0.32.5 → 0.32.6
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/cjs/gamification-feature.js +1 -1
- package/lib/cjs/masters2.js +2 -2
- package/lib/dist/cjs/gamification-feature.js +1 -1
- package/lib/dist/cjs/masters.js +1 -1
- package/lib/dist/es/gamification-feature.js +269 -269
- package/lib/dist/es/masters.js +1 -1
- package/lib/es/gamification-feature.js +1 -1
- package/lib/es/masters2.js +1 -1
- package/package.json +2 -2
package/lib/dist/es/masters.js
CHANGED
|
@@ -7690,7 +7690,7 @@ const vp = {
|
|
|
7690
7690
|
action: a
|
|
7691
7691
|
}) => /* @__PURE__ */ q(Ip, { children: [
|
|
7692
7692
|
(e == null ? void 0 : e.url) && /* @__PURE__ */ R(Ap, { source: e.url, poster: e.thumbnailUrl }),
|
|
7693
|
-
t && /* @__PURE__ */ R(Np, { src: t }),
|
|
7693
|
+
t && !(e != null && e.url) && /* @__PURE__ */ R(Np, { src: t }),
|
|
7694
7694
|
/* @__PURE__ */ q(Lp, { children: [
|
|
7695
7695
|
/* @__PURE__ */ R(Op, { children: n }),
|
|
7696
7696
|
/* @__PURE__ */ R(Mp, { children: r }),
|
|
@@ -621,7 +621,7 @@ const We = /* @__PURE__ */ r("div")({
|
|
|
621
621
|
o.time
|
|
622
622
|
] }),
|
|
623
623
|
(i == null ? void 0 : i.video) && /* @__PURE__ */ s(Re, { source: i.video.url, poster: i.video.thumbnailUrl }),
|
|
624
|
-
d && /* @__PURE__ */ s(On, { src: d }),
|
|
624
|
+
d && !(i != null && i.video) && /* @__PURE__ */ s(On, { src: d }),
|
|
625
625
|
/* @__PURE__ */ m(Dn, { children: [
|
|
626
626
|
/* @__PURE__ */ s(Sn, { children: (i == null ? void 0 : i.heading) || n }),
|
|
627
627
|
/* @__PURE__ */ s(zn, { children: i == null ? void 0 : i.body })
|
package/lib/es/masters2.js
CHANGED
|
@@ -192,7 +192,7 @@ const ei = ({ feature: s, sdk: n, children: l, className: f }) => {
|
|
|
192
192
|
action: m
|
|
193
193
|
}) => /* @__PURE__ */ I(_i, { children: [
|
|
194
194
|
(s == null ? void 0 : s.url) && /* @__PURE__ */ c(Bi, { source: s.url, poster: s.thumbnailUrl }),
|
|
195
|
-
n && /* @__PURE__ */ c(Ci, { src: n }),
|
|
195
|
+
n && !(s != null && s.url) && /* @__PURE__ */ c(Ci, { src: n }),
|
|
196
196
|
/* @__PURE__ */ I(Ti, { children: [
|
|
197
197
|
/* @__PURE__ */ c(Fi, { children: l }),
|
|
198
198
|
/* @__PURE__ */ c($i, { children: f }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/react",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "StreamLayer, Inc (https://streamlayer.io)",
|
|
6
6
|
"maintainers": [
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"size-limit": "^11.0.0",
|
|
116
116
|
"url-loader": "^4.1.1",
|
|
117
117
|
"vite-plugin-dts": "^3.6.3",
|
|
118
|
-
"@streamlayer/react-ui": "^0.75.
|
|
118
|
+
"@streamlayer/react-ui": "^0.75.1"
|
|
119
119
|
},
|
|
120
120
|
"scripts": {
|
|
121
121
|
"size-limit": "size-limit"
|