@eventcatalog/core 3.41.2 → 3.41.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/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/catalog-to-astro-content-directory.cjs +1 -1
- package/dist/{chunk-53UE7CND.js → chunk-COPXPOV2.js} +1 -1
- package/dist/{chunk-SIIGMU5D.js → chunk-LYRAK5LI.js} +1 -1
- package/dist/{chunk-W23FZFPL.js → chunk-OH2U6UEJ.js} +1 -1
- package/dist/{chunk-W6HR4AHT.js → chunk-VQLDZRHC.js} +9 -3
- package/dist/{chunk-4EQ6HV43.js → chunk-YWG7CCN7.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +10 -4
- 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/pages/docs/[type]/[id]/[version]/index.astro +0 -6
- package/eventcatalog/src/utils/node-graphs/services-node-graph.ts +1 -1
- package/package.json +4 -5
|
@@ -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.4";
|
|
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.4";
|
|
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-LYRAK5LI.js";
|
|
4
|
+
import "../chunk-VQLDZRHC.js";
|
|
5
5
|
import "../chunk-3DVHEVHQ.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-OH2U6UEJ.js";
|
|
7
7
|
import "../chunk-5T63CXKU.js";
|
|
8
8
|
export {
|
|
9
9
|
log_build_default as default
|
|
@@ -34,7 +34,7 @@ __export(catalog_to_astro_content_directory_exports, {
|
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(catalog_to_astro_content_directory_exports);
|
|
36
36
|
|
|
37
|
-
// ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.6.1_postcss@8.5.9_tsx@4.21.0_typescript@5.9.3_yaml@2.
|
|
37
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.6.1_postcss@8.5.9_tsx@4.21.0_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/assets/cjs_shims.js
|
|
38
38
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
39
39
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
40
40
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OH2U6UEJ.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
|
@@ -22,7 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
22
22
|
mod
|
|
23
23
|
));
|
|
24
24
|
|
|
25
|
-
// ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.6.1_postcss@8.5.9_tsx@4.21.0_typescript@5.9.3_yaml@2.
|
|
25
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.6.1_postcss@8.5.9_tsx@4.21.0_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/assets/cjs_shims.js
|
|
26
26
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
27
27
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
28
28
|
|
|
@@ -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.4";
|
|
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-LYRAK5LI.js";
|
|
17
|
+
import "./chunk-VQLDZRHC.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-YWG7CCN7.js";
|
|
32
32
|
import {
|
|
33
33
|
logger
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-COPXPOV2.js";
|
|
35
35
|
import {
|
|
36
36
|
VERSION
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-OH2U6UEJ.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-YWG7CCN7.js";
|
|
4
|
+
import "./chunk-COPXPOV2.js";
|
|
5
|
+
import "./chunk-OH2U6UEJ.js";
|
|
6
6
|
import "./chunk-5T63CXKU.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
|
@@ -197,8 +197,6 @@ const getSpecificationBadges = () => {
|
|
|
197
197
|
if (openapiSpecs.length > 0) {
|
|
198
198
|
for (const spec of openapiSpecs) {
|
|
199
199
|
badges.push({
|
|
200
|
-
backgroundColor: 'white',
|
|
201
|
-
textColor: 'gray',
|
|
202
200
|
content: spec.name || 'OpenAPI Spec',
|
|
203
201
|
iconURL: buildUrl('/icons/openapi.svg', true),
|
|
204
202
|
class: 'text-[rgb(var(--ec-page-text))] hover:underline',
|
|
@@ -211,8 +209,6 @@ const getSpecificationBadges = () => {
|
|
|
211
209
|
if (asyncapiSpecs.length > 0) {
|
|
212
210
|
for (const spec of asyncapiSpecs) {
|
|
213
211
|
badges.push({
|
|
214
|
-
backgroundColor: 'white',
|
|
215
|
-
textColor: 'gray',
|
|
216
212
|
content: spec.name || 'AsyncAPI Spec',
|
|
217
213
|
iconURL: buildUrl('/icons/asyncapi.svg', true),
|
|
218
214
|
class: 'text-[rgb(var(--ec-page-text))] hover:underline',
|
|
@@ -227,8 +223,6 @@ const getSpecificationBadges = () => {
|
|
|
227
223
|
if (graphQLSpecs.length > 0) {
|
|
228
224
|
for (const spec of graphQLSpecs) {
|
|
229
225
|
badges.push({
|
|
230
|
-
backgroundColor: 'white',
|
|
231
|
-
textColor: 'gray',
|
|
232
226
|
content: spec.name || 'GraphQL Spec',
|
|
233
227
|
iconURL: buildUrl('/icons/graphql.svg', true),
|
|
234
228
|
class: 'text-[rgb(var(--ec-page-text))] hover:underline',
|
|
@@ -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.4",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@radix-ui/react-dropdown-menu": "^2.1.12",
|
|
53
53
|
"@radix-ui/react-popover": "^1.1.15",
|
|
54
54
|
"@radix-ui/react-tooltip": "^1.1.8",
|
|
55
|
-
"@scalar/api-reference-react": "^0.9.
|
|
55
|
+
"@scalar/api-reference-react": "^0.9.36",
|
|
56
56
|
"@tailwindcss/typography": "^0.5.16",
|
|
57
57
|
"@tailwindcss/vite": ">=4.1.5 <4.2.2",
|
|
58
58
|
"@tanstack/react-table": "^8.17.3",
|
|
@@ -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",
|
|
@@ -113,9 +112,9 @@
|
|
|
113
112
|
"update-notifier": "^7.3.1",
|
|
114
113
|
"uuid": "^10.0.0",
|
|
115
114
|
"zod": "^4.3.6",
|
|
116
|
-
"@eventcatalog/
|
|
115
|
+
"@eventcatalog/sdk": "2.23.0",
|
|
117
116
|
"@eventcatalog/visualiser": "^3.22.1",
|
|
118
|
-
"@eventcatalog/
|
|
117
|
+
"@eventcatalog/linter": "1.0.26"
|
|
119
118
|
},
|
|
120
119
|
"devDependencies": {
|
|
121
120
|
"@astrojs/check": "^0.9.9",
|