@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.js CHANGED
@@ -807,7 +807,7 @@ var getEventCatalogVersion = async (catalogDir) => {
807
807
  return "unknown";
808
808
  }
809
809
  };
810
- var hydrateResource = async (catalogDir, resources, { attachSchema = false } = {}) => {
810
+ var hydrateResource = async (catalogDir, resources = [], { attachSchema = false } = {}) => {
811
811
  return await Promise.all(
812
812
  resources.map(async (resource) => {
813
813
  const resourcePath = await getResourcePath(catalogDir, resource.id, resource.version);