@fragmentsx/render-react 1.2.0 → 1.2.2

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/dist/index.cjs.js CHANGED
@@ -1626,7 +1626,7 @@ const useTextContent = (layerKey, manager) => {
1626
1626
  variables.forEach((variable) => {
1627
1627
  nextContent = nextContent.replace(
1628
1628
  variable.fullMatch,
1629
- readVariable(variable.variableKey).value
1629
+ readVariable(variable.variableKey).value ?? ""
1630
1630
  );
1631
1631
  });
1632
1632
  return nextContent;
package/dist/index.es.js CHANGED
@@ -1624,7 +1624,7 @@ const useTextContent = (layerKey, manager) => {
1624
1624
  variables.forEach((variable) => {
1625
1625
  nextContent = nextContent.replace(
1626
1626
  variable.fullMatch,
1627
- readVariable(variable.variableKey).value
1627
+ readVariable(variable.variableKey).value ?? ""
1628
1628
  );
1629
1629
  });
1630
1630
  return nextContent;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fragmentsx/render-react",
3
3
  "private": false,
4
- "version": "1.2.0",
4
+ "version": "1.2.2",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@graph-state/checkers": "^0.1.2",
27
- "@graph-state/core": "^0.13.1",
28
- "@graph-state/react": "^0.8.1",
27
+ "@graph-state/core": "^0.13.2",
28
+ "@graph-state/react": "^0.8.2",
29
29
  "react-use-measure": "^2.1.7",
30
30
  "@fragmentsx/definition": "0.2.0",
31
31
  "@fragmentsx/utils": "0.2.0"