@dotcms/experiments 0.0.1-beta.2 → 0.0.1-beta.21

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.
Files changed (2) hide show
  1. package/index.esm.js +1 -1
  2. package/package.json +4 -4
package/index.esm.js CHANGED
@@ -1682,7 +1682,7 @@ const useExperimentVariant = data => {
1682
1682
  return;
1683
1683
  }
1684
1684
  }
1685
- }, [dotExperimentInstance, data]);
1685
+ }, [dotExperimentInstance, data, variantId, runningExperimentId]);
1686
1686
  return {
1687
1687
  shouldWaitForVariant
1688
1688
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcms/experiments",
3
- "version": "0.0.1-beta.2",
3
+ "version": "0.0.1-beta.21",
4
4
  "description": "Official JavaScript library to use Experiments with DotCMS.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,9 +25,9 @@
25
25
  "peerDependencies": {
26
26
  "react": ">=18",
27
27
  "react-dom": ">=18",
28
- "@dotcms/client": "0.0.1-beta.2",
29
- "@dotcms/react": "0.0.1-beta.2",
30
- "@dotcms/uve": "0.0.1-beta.2"
28
+ "@dotcms/client": "0.0.1-beta.21",
29
+ "@dotcms/react": "0.0.1-beta.21",
30
+ "@dotcms/uve": "0.0.1-beta.21"
31
31
  },
32
32
  "module": "./index.esm.js",
33
33
  "type": "module",