@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/index.mjs CHANGED
@@ -773,7 +773,7 @@ var getEventCatalogVersion = async (catalogDir) => {
773
773
  return "unknown";
774
774
  }
775
775
  };
776
- var hydrateResource = async (catalogDir, resources, { attachSchema = false } = {}) => {
776
+ var hydrateResource = async (catalogDir, resources = [], { attachSchema = false } = {}) => {
777
777
  return await Promise.all(
778
778
  resources.map(async (resource) => {
779
779
  const resourcePath = await getResourcePath(catalogDir, resource.id, resource.version);