@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.
@@ -1493,7 +1493,7 @@ var getEventCatalogVersion = async (catalogDir) => {
1493
1493
  return "unknown";
1494
1494
  }
1495
1495
  };
1496
- var hydrateResource = async (catalogDir, resources, { attachSchema = false } = {}) => {
1496
+ var hydrateResource = async (catalogDir, resources = [], { attachSchema = false } = {}) => {
1497
1497
  return await Promise.all(
1498
1498
  resources.map(async (resource) => {
1499
1499
  const resourcePath = await getResourcePath(catalogDir, resource.id, resource.version);