@eventcatalog/core 2.5.4 → 2.5.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eventcatalog/core
2
2
 
3
+ ## 2.5.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 2b84b47: fix(core): moved node graphs to only load on client fixing the invalid hook call warning
8
+
3
9
  ## 2.5.4
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eventcatalog/core",
3
3
  "type": "module",
4
- "version": "2.5.4",
4
+ "version": "2.5.5",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -52,7 +52,7 @@ const { nodes, edges } = await getNodesAndEdges({
52
52
  linkTo={'visualiser'}
53
53
  includeKey={includeKey}
54
54
  footerLabel=`Flow diagram - ${flow.data.name} - v(${flow.data.version})`
55
- client:load
55
+ client:only="react"
56
56
  />
57
57
  </div>
58
58
 
@@ -97,8 +97,8 @@ const getVisualiserUrlForCollection = () => {
97
97
  hrefLabel={href.label}
98
98
  href={href.url}
99
99
  linkTo={linkTo}
100
+ client:only="react"
100
101
  urlHasTrailingSlash={config.trailingSlash}
101
- client:load
102
102
  />
103
103
  </div>
104
104
 
@@ -72,7 +72,7 @@ try {
72
72
  schemas.length > 0 &&
73
73
  schemas.map((schema) => (
74
74
  <div>
75
- {schema.exists && <SchemaViewerClient {...schema} client:load />}
75
+ {schema.exists && <SchemaViewerClient {...schema} client:only="react" />}
76
76
 
77
77
  {/* User has tried to load the schema, but it was not found on file system */}
78
78
  {!schema.exists && (