@eventcatalog/core 2.13.3 → 2.13.4

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.13.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 2ad9561: fix(core): fixed issues with node graphs for services and metadata in the nodes
8
+
3
9
  ## 2.13.3
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/event-catalog/eventcatalog.git"
7
7
  },
8
8
  "type": "module",
9
- "version": "2.13.3",
9
+ "version": "2.13.4",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
@@ -11,6 +11,10 @@ import {
11
11
  import { findMatchingNodes, getItemsFromCollectionByIdAndSemverOrLatest } from '@utils/collections/util';
12
12
  import { MarkerType } from 'reactflow';
13
13
  import type { CollectionMessageTypes } from '@types';
14
+ import { getCommands } from '@utils/commands';
15
+ import { getEvents } from '@utils/events';
16
+ import { getQueries } from '@utils/queries';
17
+ import { getChannels } from '@utils/channels';
14
18
 
15
19
  type DagreGraph = any;
16
20
 
@@ -67,10 +71,10 @@ export const getNodesAndEdges = async ({ id, defaultFlow, version, mode = 'simpl
67
71
  const receivesRaw = service?.data.receives || [];
68
72
  const sendsRaw = service?.data.sends || [];
69
73
 
70
- const events = await getCollection('events');
71
- const commands = await getCollection('commands');
72
- const queries = await getCollection('queries');
73
- const channels = await getCollection('channels');
74
+ const events = await getEvents();
75
+ const commands = await getCommands();
76
+ const queries = await getQueries();
77
+ const channels = await getChannels();
74
78
 
75
79
  const messages = [...events, ...commands, ...queries];
76
80