@eventcatalog/core 3.41.1 → 3.41.3
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/analytics/analytics.cjs +9 -3
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/log-build.cjs +9 -3
- package/dist/analytics/log-build.js +3 -3
- package/dist/{chunk-GNLFCESR.js → chunk-IDDIDORN.js} +1 -1
- package/dist/{chunk-UGNBEYJJ.js → chunk-LDIQOYHO.js} +1 -1
- package/dist/{chunk-6C2H2YLW.js → chunk-OAKTA2TK.js} +9 -3
- package/dist/{chunk-Z5A2F2DN.js → chunk-R6N3LSL4.js} +1 -1
- package/dist/{chunk-X5JM6SAH.js → chunk-Z5FOJKNW.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +9 -3
- package/dist/eventcatalog.js +5 -5
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/src/components/MDX/NodeGraph/NodeGraphPortal.tsx +1 -1
- package/eventcatalog/src/utils/node-graphs/services-node-graph.ts +1 -1
- package/package.json +3 -4
|
@@ -33,11 +33,10 @@ __export(analytics_exports, {
|
|
|
33
33
|
raiseEvent: () => raiseEvent
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(analytics_exports);
|
|
36
|
-
var import_axios = __toESM(require("axios"), 1);
|
|
37
36
|
var import_os = __toESM(require("os"), 1);
|
|
38
37
|
|
|
39
38
|
// package.json
|
|
40
|
-
var version = "3.41.
|
|
39
|
+
var version = "3.41.3";
|
|
41
40
|
|
|
42
41
|
// src/constants.ts
|
|
43
42
|
var VERSION = version;
|
|
@@ -61,7 +60,14 @@ async function raiseEvent(eventData) {
|
|
|
61
60
|
ua: userAgent
|
|
62
61
|
};
|
|
63
62
|
try {
|
|
64
|
-
await
|
|
63
|
+
const response = await fetch(url, {
|
|
64
|
+
method: "POST",
|
|
65
|
+
headers,
|
|
66
|
+
body: JSON.stringify(payload)
|
|
67
|
+
});
|
|
68
|
+
if (!response.ok) {
|
|
69
|
+
throw new Error(`Failed to raise analytics event: ${response.status}`);
|
|
70
|
+
}
|
|
65
71
|
} catch (error) {
|
|
66
72
|
}
|
|
67
73
|
}
|
|
@@ -107,11 +107,10 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
107
107
|
};
|
|
108
108
|
|
|
109
109
|
// src/analytics/analytics.js
|
|
110
|
-
var import_axios = __toESM(require("axios"), 1);
|
|
111
110
|
var import_os = __toESM(require("os"), 1);
|
|
112
111
|
|
|
113
112
|
// package.json
|
|
114
|
-
var version = "3.41.
|
|
113
|
+
var version = "3.41.3";
|
|
115
114
|
|
|
116
115
|
// src/constants.ts
|
|
117
116
|
var VERSION = version;
|
|
@@ -135,7 +134,14 @@ async function raiseEvent(eventData) {
|
|
|
135
134
|
ua: userAgent
|
|
136
135
|
};
|
|
137
136
|
try {
|
|
138
|
-
await
|
|
137
|
+
const response = await fetch(url, {
|
|
138
|
+
method: "POST",
|
|
139
|
+
headers,
|
|
140
|
+
body: JSON.stringify(payload)
|
|
141
|
+
});
|
|
142
|
+
if (!response.ok) {
|
|
143
|
+
throw new Error(`Failed to raise analytics event: ${response.status}`);
|
|
144
|
+
}
|
|
139
145
|
} catch (error) {
|
|
140
146
|
}
|
|
141
147
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-LDIQOYHO.js";
|
|
4
|
+
import "../chunk-OAKTA2TK.js";
|
|
5
5
|
import "../chunk-3DVHEVHQ.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-Z5FOJKNW.js";
|
|
7
7
|
import "../chunk-5T63CXKU.js";
|
|
8
8
|
export {
|
|
9
9
|
log_build_default as default
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z5FOJKNW.js";
|
|
4
4
|
|
|
5
5
|
// src/analytics/analytics.js
|
|
6
|
-
import axios from "axios";
|
|
7
6
|
import os from "os";
|
|
8
7
|
async function raiseEvent(eventData) {
|
|
9
8
|
const url = "https://queue.simpleanalyticscdn.com/events";
|
|
@@ -23,7 +22,14 @@ async function raiseEvent(eventData) {
|
|
|
23
22
|
ua: userAgent
|
|
24
23
|
};
|
|
25
24
|
try {
|
|
26
|
-
await
|
|
25
|
+
const response = await fetch(url, {
|
|
26
|
+
method: "POST",
|
|
27
|
+
headers,
|
|
28
|
+
body: JSON.stringify(payload)
|
|
29
|
+
});
|
|
30
|
+
if (!response.ok) {
|
|
31
|
+
throw new Error(`Failed to raise analytics event: ${response.status}`);
|
|
32
|
+
}
|
|
27
33
|
} catch (error) {
|
|
28
34
|
}
|
|
29
35
|
}
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -114,7 +114,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
114
114
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
115
115
|
|
|
116
116
|
// package.json
|
|
117
|
-
var version = "3.41.
|
|
117
|
+
var version = "3.41.3";
|
|
118
118
|
|
|
119
119
|
// src/constants.ts
|
|
120
120
|
var VERSION = version;
|
|
@@ -210,7 +210,6 @@ var generate = async (PROJECT_DIRECTORY) => {
|
|
|
210
210
|
};
|
|
211
211
|
|
|
212
212
|
// src/analytics/analytics.js
|
|
213
|
-
var import_axios = __toESM(require("axios"), 1);
|
|
214
213
|
var import_os = __toESM(require("os"), 1);
|
|
215
214
|
async function raiseEvent(eventData) {
|
|
216
215
|
const url = "https://queue.simpleanalyticscdn.com/events";
|
|
@@ -230,7 +229,14 @@ async function raiseEvent(eventData) {
|
|
|
230
229
|
ua: userAgent
|
|
231
230
|
};
|
|
232
231
|
try {
|
|
233
|
-
await
|
|
232
|
+
const response = await fetch(url, {
|
|
233
|
+
method: "POST",
|
|
234
|
+
headers,
|
|
235
|
+
body: JSON.stringify(payload)
|
|
236
|
+
});
|
|
237
|
+
if (!response.ok) {
|
|
238
|
+
throw new Error(`Failed to raise analytics event: ${response.status}`);
|
|
239
|
+
}
|
|
234
240
|
} catch (error) {
|
|
235
241
|
}
|
|
236
242
|
}
|
package/dist/eventcatalog.js
CHANGED
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
} from "./chunk-3H2RT3CM.js";
|
|
14
14
|
import {
|
|
15
15
|
log_build_default
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-LDIQOYHO.js";
|
|
17
|
+
import "./chunk-OAKTA2TK.js";
|
|
18
18
|
import "./chunk-3DVHEVHQ.js";
|
|
19
19
|
import {
|
|
20
20
|
catalogToAstro
|
|
@@ -28,13 +28,13 @@ import {
|
|
|
28
28
|
} from "./chunk-ULZYHF3V.js";
|
|
29
29
|
import {
|
|
30
30
|
generate
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-R6N3LSL4.js";
|
|
32
32
|
import {
|
|
33
33
|
logger
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IDDIDORN.js";
|
|
35
35
|
import {
|
|
36
36
|
VERSION
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-Z5FOJKNW.js";
|
|
38
38
|
import {
|
|
39
39
|
getEventCatalogConfigFile,
|
|
40
40
|
verifyRequiredFieldsAreInCatalogConfigFile
|
package/dist/generate.cjs
CHANGED
package/dist/generate.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-R6N3LSL4.js";
|
|
4
|
+
import "./chunk-IDDIDORN.js";
|
|
5
|
+
import "./chunk-Z5FOJKNW.js";
|
|
6
6
|
import "./chunk-5T63CXKU.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const NodeGraphPortal = (props: any) => {
|
|
2
2
|
return (
|
|
3
3
|
<div
|
|
4
|
-
className="h-[30em] my-6 mb-12 w-full relative border! border-[rgb(var(--ec-page-border))]! rounded-md overflow-hidden"
|
|
4
|
+
className="not-prose h-[30em] my-6 mb-12 w-full relative border! border-[rgb(var(--ec-page-border))]! rounded-md overflow-hidden"
|
|
5
5
|
id={`${props.id}-portal`}
|
|
6
6
|
style={{
|
|
7
7
|
maxHeight: props.maxHeight ? `${props.maxHeight}em` : `30em`,
|
|
@@ -215,7 +215,7 @@ export const getNodesAndEdges = async ({
|
|
|
215
215
|
const sendsRaw = service?.data.sends || [];
|
|
216
216
|
const writesToRaw = service?.data.writesTo || [];
|
|
217
217
|
const readsFromRaw = service?.data.readsFrom || [];
|
|
218
|
-
const toolsRaw = collection === 'agents' ? (service?.data as any).tools || [] : [];
|
|
218
|
+
const toolsRaw: any[] = collection === 'agents' ? (service?.data as any).tools || [] : [];
|
|
219
219
|
|
|
220
220
|
const receivesHydrated = receivesRaw
|
|
221
221
|
.map((message) => findInMap(messageMap, message.id, message.version))
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"license": "SEE LICENSE IN LICENSE",
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "3.41.
|
|
10
|
+
"version": "3.41.3",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
@@ -63,7 +63,6 @@
|
|
|
63
63
|
"astro-expressive-code": "^0.41.7",
|
|
64
64
|
"astro-seo": "^0.8.4",
|
|
65
65
|
"auth-astro": "^4.2.0",
|
|
66
|
-
"axios": "^1.15.2",
|
|
67
66
|
"boxen": "^8.0.1",
|
|
68
67
|
"commander": "^12.1.0",
|
|
69
68
|
"concurrently": "^8.2.2",
|
|
@@ -114,8 +113,8 @@
|
|
|
114
113
|
"uuid": "^10.0.0",
|
|
115
114
|
"zod": "^4.3.6",
|
|
116
115
|
"@eventcatalog/linter": "1.0.26",
|
|
117
|
-
"@eventcatalog/
|
|
118
|
-
"@eventcatalog/
|
|
116
|
+
"@eventcatalog/visualiser": "^3.22.1",
|
|
117
|
+
"@eventcatalog/sdk": "2.23.0"
|
|
119
118
|
},
|
|
120
119
|
"devDependencies": {
|
|
121
120
|
"@astrojs/check": "^0.9.9",
|