@dotcms/experiments 0.0.1-alpha.17 → 0.0.1-alpha.19
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.esm.js +1 -1
- package/package.json +2 -2
package/index.esm.js
CHANGED
|
@@ -1708,7 +1708,7 @@ const DotExperimentHandlingComponent = _ref => {
|
|
|
1708
1708
|
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
1709
1709
|
const {
|
|
1710
1710
|
shouldWaitForVariant
|
|
1711
|
-
} = useExperimentVariant(props.
|
|
1711
|
+
} = useExperimentVariant(props.pageContext.pageAsset);
|
|
1712
1712
|
if (shouldWaitForVariant) {
|
|
1713
1713
|
return jsx("div", {
|
|
1714
1714
|
style: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotcms/experiments",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.19",
|
|
4
4
|
"description": "Official JavaScript library to use Experiments with DotCMS.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": ">=18",
|
|
27
27
|
"react-dom": ">=18",
|
|
28
|
-
"@dotcms/client": "0.0.1-alpha.
|
|
28
|
+
"@dotcms/client": "0.0.1-alpha.19"
|
|
29
29
|
},
|
|
30
30
|
"module": "./index.esm.js",
|
|
31
31
|
"type": "module",
|