@elementor/editor-global-classes 4.1.0-789 → 4.1.0-790

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
@@ -540,7 +540,7 @@ var updateLocalStorageCache = () => {
540
540
  };
541
541
  var initClassesResource = (classesMcpEntry, canvasMcpEntry) => {
542
542
  [canvasMcpEntry, classesMcpEntry].forEach((entry) => {
543
- const { mcpServer, resource, waitForReady } = entry;
543
+ const { sendResourceUpdated, resource, waitForReady } = entry;
544
544
  resource(
545
545
  "global-classes",
546
546
  GLOBAL_CLASSES_URI,
@@ -557,7 +557,7 @@ var initClassesResource = (classesMcpEntry, canvasMcpEntry) => {
557
557
  updateLocalStorageCache();
558
558
  globalClassesStylesProvider.subscribe(() => {
559
559
  updateLocalStorageCache();
560
- mcpServer.sendResourceListChanged();
560
+ sendResourceUpdated({ uri: GLOBAL_CLASSES_URI });
561
561
  });
562
562
  });
563
563
  });