@eventcatalog/sdk 2.5.3 → 2.5.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/eventcatalog.js +1 -1
- package/dist/eventcatalog.js.map +1 -1
- package/dist/eventcatalog.mjs +1 -1
- package/dist/eventcatalog.mjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/eventcatalog.mjs
CHANGED
|
@@ -1458,7 +1458,7 @@ var getEventCatalogVersion = async (catalogDir) => {
|
|
|
1458
1458
|
return "unknown";
|
|
1459
1459
|
}
|
|
1460
1460
|
};
|
|
1461
|
-
var hydrateResource = async (catalogDir, resources, { attachSchema = false } = {}) => {
|
|
1461
|
+
var hydrateResource = async (catalogDir, resources = [], { attachSchema = false } = {}) => {
|
|
1462
1462
|
return await Promise.all(
|
|
1463
1463
|
resources.map(async (resource) => {
|
|
1464
1464
|
const resourcePath = await getResourcePath(catalogDir, resource.id, resource.version);
|