@eventcatalog/core 2.14.0 → 2.14.1

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.14.1
4
+
5
+ ### Patch Changes
6
+
7
+ - a904248: Revert "fix/service-node-graph-metadata (#964)"
8
+
3
9
  ## 2.14.0
4
10
 
5
11
  ### Minor Changes
@@ -162,7 +162,7 @@ var import_axios = __toESM(require("axios"), 1);
162
162
  var import_os = __toESM(require("os"), 1);
163
163
 
164
164
  // package.json
165
- var version = "2.14.0";
165
+ var version = "2.14.1";
166
166
 
167
167
  // scripts/constants.ts
168
168
  var VERSION = version;
@@ -135,7 +135,7 @@ import axios from "axios";
135
135
  import os from "os";
136
136
 
137
137
  // package.json
138
- var version = "2.14.0";
138
+ var version = "2.14.1";
139
139
 
140
140
  // scripts/constants.ts
141
141
  var VERSION = version;
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.14.0",
9
+ "version": "2.14.1",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
@@ -11,10 +11,6 @@ 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';
18
14
 
19
15
  type DagreGraph = any;
20
16
 
@@ -71,10 +67,10 @@ export const getNodesAndEdges = async ({ id, defaultFlow, version, mode = 'simpl
71
67
  const receivesRaw = service?.data.receives || [];
72
68
  const sendsRaw = service?.data.sends || [];
73
69
 
74
- const events = await getEvents();
75
- const commands = await getCommands();
76
- const queries = await getQueries();
77
- const channels = await getChannels();
70
+ const events = await getCollection('events');
71
+ const commands = await getCollection('commands');
72
+ const queries = await getCollection('queries');
73
+ const channels = await getCollection('channels');
78
74
 
79
75
  const messages = [...events, ...commands, ...queries];
80
76