@eventcatalog/sdk 2.3.3 → 2.3.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
@@ -390,7 +390,7 @@ var writeVersionedService = (directory) => async (service) => {
390
390
  const path4 = getVersionedDirectory(service.id, service.version);
391
391
  return await writeService(directory)(resource, { path: path4 });
392
392
  };
393
- var writeServiceToDomain = (directory) => async (service, domain, options = { path: "", format: "mdx" }) => {
393
+ var writeServiceToDomain = (directory) => async (service, domain, options = { path: "", format: "mdx", override: false }) => {
394
394
  let pathForService = domain.version && domain.version !== "latest" ? `/${domain.id}/versioned/${domain.version}/services` : `/${domain.id}/services`;
395
395
  pathForService = join6(pathForService, service.id);
396
396
  await writeResource(directory, { ...service }, { ...options, path: pathForService, type: "service" });