@eventcatalog/sdk 2.7.0 → 2.7.2

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/README.md CHANGED
@@ -46,22 +46,6 @@ const service await getService('PaymentService');
46
46
 
47
47
  See the [SDK docs](https://www.eventcatalog.dev/docs/sdk) for more information and examples
48
48
 
49
- # Sponsors
50
-
51
- Thank you to our project sponsors.
52
-
53
- ## Gold sponsors
54
-
55
- <div align="center">
56
- <img alt="hookdeck" src="./images/sponsors/hookdeck.svg" />
57
- <p style="margin: 0; padding: 0;">Serverless infrastructure for event-driven architecture. </p>
58
- <a href="https://hookdeck.com/?ref=eventcatalog-sponsor" target="_blank" >Learn more</a>
59
- </div>
60
-
61
- <hr />
62
-
63
- _Sponsors help make EventCatalog sustainable, want to help the project? Get in touch! Or [visit our sponsor page](https://www.eventcatalog.dev/support)._
64
-
65
49
  # Enterprise support
66
50
 
67
51
  Interested in collaborating with us? Our offerings include dedicated support, priority assistance, feature development, custom integrations, and more.
@@ -488,7 +488,9 @@ var versionService = (directory) => async (id) => versionResource(directory, id)
488
488
  var rmService = (directory) => async (path5) => {
489
489
  await import_promises5.default.rm((0, import_node_path5.join)(directory, path5), { recursive: true });
490
490
  };
491
- var rmServiceById = (directory) => async (id, version, persistFiles) => rmResourceById(directory, id, version, { type: "service", persistFiles });
491
+ var rmServiceById = (directory) => async (id, version, persistFiles) => {
492
+ await rmResourceById(directory, id, version, { type: "service", persistFiles });
493
+ };
492
494
  var addFileToService = (directory) => async (id, file, version) => addFileToResource(directory, id, file, version);
493
495
  var getSpecificationFilesForService = (directory) => async (id, version) => {
494
496
  let service = await getService(directory)(id, version);