@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.js CHANGED
@@ -4676,17 +4676,16 @@ function init() {
4676
4676
  priority: 40,
4677
4677
  useProps: usePropVariableAction
4678
4678
  });
4679
- service.init().then(() => {
4680
- const variablesMcpRegistry = (0, import_editor_mcp2.getMCPByDomain)("variables", {
4681
- instructions: `Everything related to V4 ( Atomic ) variables.
4679
+ service.init();
4680
+ const variablesMcpRegistry = (0, import_editor_mcp2.getMCPByDomain)("variables", {
4681
+ instructions: `Everything related to V4 ( Atomic ) variables.
4682
4682
  # Global variables
4683
4683
  - Create/update/delete global variables
4684
4684
  - Get list of global variables
4685
4685
  - Get details of a global variable
4686
4686
  `
4687
- });
4688
- initMcp(variablesMcpRegistry, (0, import_editor_mcp2.getMCPByDomain)("canvas"));
4689
4687
  });
4688
+ initMcp(variablesMcpRegistry, (0, import_editor_mcp2.getMCPByDomain)("canvas"));
4690
4689
  (0, import_editor.injectIntoTop)({
4691
4690
  id: "canvas-style-variables-render",
4692
4691
  component: StyleVariablesRenderer