@ninetailed/experience.js-react 7.12.0-beta.0 → 7.13.0-beta.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/index.cjs.js +9 -1
- package/index.esm.js +9 -1
- package/package.json +4 -4
package/index.cjs.js
CHANGED
|
@@ -641,7 +641,15 @@ const ESRLoadingComponent = _a => {
|
|
|
641
641
|
}
|
|
642
642
|
}));
|
|
643
643
|
}
|
|
644
|
-
const component = experience.components.find(component =>
|
|
644
|
+
const component = experience.components.find(component => {
|
|
645
|
+
if (!('id' in component.baseline)) {
|
|
646
|
+
return false;
|
|
647
|
+
}
|
|
648
|
+
if (!('id' in baseline)) {
|
|
649
|
+
return component.baseline.id === undefined;
|
|
650
|
+
}
|
|
651
|
+
return component.baseline.id === baseline.id;
|
|
652
|
+
});
|
|
645
653
|
if (!component) {
|
|
646
654
|
return jsxRuntime.jsx(Component, Object.assign({}, passthroughProps, baseline, {
|
|
647
655
|
ninetailed: {
|
package/index.esm.js
CHANGED
|
@@ -625,7 +625,15 @@ const ESRLoadingComponent = _ref => {
|
|
|
625
625
|
}
|
|
626
626
|
}));
|
|
627
627
|
}
|
|
628
|
-
const component = experience.components.find(component =>
|
|
628
|
+
const component = experience.components.find(component => {
|
|
629
|
+
if (!('id' in component.baseline)) {
|
|
630
|
+
return false;
|
|
631
|
+
}
|
|
632
|
+
if (!('id' in baseline)) {
|
|
633
|
+
return component.baseline.id === undefined;
|
|
634
|
+
}
|
|
635
|
+
return component.baseline.id === baseline.id;
|
|
636
|
+
});
|
|
629
637
|
if (!component) {
|
|
630
638
|
return /*#__PURE__*/jsx(Component, Object.assign({}, passthroughProps, baseline, {
|
|
631
639
|
ninetailed: {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ninetailed/experience.js-react",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.13.0-beta.0",
|
|
4
4
|
"description": "Ninetailed SDK for React",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@ninetailed/experience.js": "7.
|
|
7
|
-
"@ninetailed/experience.js-shared": "7.
|
|
8
|
-
"@ninetailed/experience.js-plugin-analytics": "7.
|
|
6
|
+
"@ninetailed/experience.js": "7.13.0-beta.0",
|
|
7
|
+
"@ninetailed/experience.js-shared": "7.13.0-beta.0",
|
|
8
|
+
"@ninetailed/experience.js-plugin-analytics": "7.13.0-beta.0",
|
|
9
9
|
"radash": "10.9.0",
|
|
10
10
|
"react-is": "18.2.0"
|
|
11
11
|
},
|