@elementor/editor-variables 4.2.0-879 → 4.2.0-880

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
@@ -4696,17 +4696,16 @@ function init() {
4696
4696
  priority: 40,
4697
4697
  useProps: usePropVariableAction
4698
4698
  });
4699
- service.init().then(() => {
4700
- const variablesMcpRegistry = getMCPByDomain("variables", {
4701
- instructions: `Everything related to V4 ( Atomic ) variables.
4699
+ service.init();
4700
+ const variablesMcpRegistry = getMCPByDomain("variables", {
4701
+ instructions: `Everything related to V4 ( Atomic ) variables.
4702
4702
  # Global variables
4703
4703
  - Create/update/delete global variables
4704
4704
  - Get list of global variables
4705
4705
  - Get details of a global variable
4706
4706
  `
4707
- });
4708
- initMcp(variablesMcpRegistry, getMCPByDomain("canvas"));
4709
4707
  });
4708
+ initMcp(variablesMcpRegistry, getMCPByDomain("canvas"));
4710
4709
  injectIntoTop({
4711
4710
  id: "canvas-style-variables-render",
4712
4711
  component: StyleVariablesRenderer