@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementor/editor-variables",
3
- "version": "4.2.0-879",
3
+ "version": "4.2.0-880",
4
4
  "private": false,
5
5
  "author": "Elementor Team",
6
6
  "homepage": "https://elementor.com/",
@@ -39,22 +39,22 @@
39
39
  "dev": "tsup --config=../../tsup.dev.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@elementor/editor": "4.2.0-879",
43
- "@elementor/editor-canvas": "4.2.0-879",
44
- "@elementor/editor-controls": "4.2.0-879",
45
- "@elementor/editor-current-user": "4.2.0-879",
46
- "@elementor/editor-mcp": "4.2.0-879",
47
- "@elementor/editor-panels": "4.2.0-879",
48
- "@elementor/editor-props": "4.2.0-879",
49
- "@elementor/editor-ui": "4.2.0-879",
50
- "@elementor/editor-v1-adapters": "4.2.0-879",
51
- "@elementor/menus": "4.2.0-879",
52
- "@elementor/http-client": "4.2.0-879",
42
+ "@elementor/editor": "4.2.0-880",
43
+ "@elementor/editor-canvas": "4.2.0-880",
44
+ "@elementor/editor-controls": "4.2.0-880",
45
+ "@elementor/editor-current-user": "4.2.0-880",
46
+ "@elementor/editor-mcp": "4.2.0-880",
47
+ "@elementor/editor-panels": "4.2.0-880",
48
+ "@elementor/editor-props": "4.2.0-880",
49
+ "@elementor/editor-ui": "4.2.0-880",
50
+ "@elementor/editor-v1-adapters": "4.2.0-880",
51
+ "@elementor/menus": "4.2.0-880",
52
+ "@elementor/http-client": "4.2.0-880",
53
53
  "@elementor/icons": "~1.75.1",
54
- "@elementor/events": "4.2.0-879",
55
- "@elementor/schema": "4.2.0-879",
54
+ "@elementor/events": "4.2.0-880",
55
+ "@elementor/schema": "4.2.0-880",
56
56
  "@elementor/ui": "1.37.5",
57
- "@elementor/utils": "4.2.0-879",
57
+ "@elementor/utils": "4.2.0-880",
58
58
  "@wordpress/i18n": "^5.13.0"
59
59
  },
60
60
  "peerDependencies": {
package/src/init.ts CHANGED
@@ -46,18 +46,19 @@ export function init() {
46
46
  useProps: usePropVariableAction,
47
47
  } );
48
48
 
49
- variablesService.init().then( () => {
50
- const variablesMcpRegistry = getMCPByDomain( 'variables', {
51
- instructions: `Everything related to V4 ( Atomic ) variables.
49
+ variablesService.init();
50
+
51
+ const variablesMcpRegistry = getMCPByDomain( 'variables', {
52
+ instructions: `Everything related to V4 ( Atomic ) variables.
52
53
  # Global variables
53
54
  - Create/update/delete global variables
54
55
  - Get list of global variables
55
56
  - Get details of a global variable
56
57
  `,
57
- } );
58
- initMcp( variablesMcpRegistry, getMCPByDomain( 'canvas' ) );
59
58
  } );
60
59
 
60
+ initMcp( variablesMcpRegistry, getMCPByDomain( 'canvas' ) );
61
+
61
62
  injectIntoTop( {
62
63
  id: 'canvas-style-variables-render',
63
64
  component: StyleVariablesRenderer,