@eventcatalog/sdk 2.5.2 → 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.
@@ -404,7 +404,7 @@ import { join as join6, dirname as dirname4, extname } from "path";
404
404
  var getService = (directory) => async (id, version) => getResource(directory, id, version, { type: "service" });
405
405
  var getServices = (directory) => async (options) => getResources(directory, {
406
406
  type: "services",
407
- ignore: ["**/events/**", "**/commands/**", "**/queries/**", "**/entities/**"],
407
+ ignore: ["**/events/**", "**/commands/**", "**/queries/**", "**/entities/**", "**/subdomains/**/entities/**"],
408
408
  ...options
409
409
  });
410
410
  var writeService = (directory) => async (service, options = {
@@ -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);