@elementor/editor-global-classes 4.1.0-789 → 4.1.0-791
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -20
- package/src/mcp-integration/classes-resource.ts +2 -3
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 {
|
|
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
|
-
|
|
588
|
+
sendResourceUpdated({ uri: GLOBAL_CLASSES_URI });
|
|
589
589
|
});
|
|
590
590
|
});
|
|
591
591
|
});
|