@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.js CHANGED
@@ -568,7 +568,7 @@ var updateLocalStorageCache = () => {
568
568
  };
569
569
  var initClassesResource = (classesMcpEntry, canvasMcpEntry) => {
570
570
  [canvasMcpEntry, classesMcpEntry].forEach((entry) => {
571
- const { mcpServer, resource, waitForReady } = entry;
571
+ const { sendResourceUpdated, resource, waitForReady } = entry;
572
572
  resource(
573
573
  "global-classes",
574
574
  GLOBAL_CLASSES_URI,
@@ -585,7 +585,7 @@ var initClassesResource = (classesMcpEntry, canvasMcpEntry) => {
585
585
  updateLocalStorageCache();
586
586
  globalClassesStylesProvider.subscribe(() => {
587
587
  updateLocalStorageCache();
588
- mcpServer.sendResourceListChanged();
588
+ sendResourceUpdated({ uri: GLOBAL_CLASSES_URI });
589
589
  });
590
590
  });
591
591
  });