@knotx/react 0.2.16 → 0.3.0

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.cjs CHANGED
@@ -118,7 +118,7 @@ function usePluginConfigUpdate(engineRef, {
118
118
  continue;
119
119
  }
120
120
  pluginConfigRef.current[pluginName] = pluginConfigValue;
121
- engine.changePluginConfig(pluginName, pluginConfigValue);
121
+ engine.changePluginConfig({ pluginName, config: pluginConfigValue });
122
122
  }
123
123
  });
124
124
  }
package/dist/index.js CHANGED
@@ -116,7 +116,7 @@ function usePluginConfigUpdate(engineRef, {
116
116
  continue;
117
117
  }
118
118
  pluginConfigRef.current[pluginName] = pluginConfigValue;
119
- engine.changePluginConfig(pluginName, pluginConfigValue);
119
+ engine.changePluginConfig({ pluginName, config: pluginConfigValue });
120
120
  }
121
121
  });
122
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knotx/react",
3
- "version": "0.2.16",
3
+ "version": "0.3.0",
4
4
  "description": "React for Knotx",
5
5
  "author": "boenfu",
6
6
  "license": "MIT",
@@ -33,19 +33,19 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "rxjs": "^7.8.1",
36
- "@knotx/core": "0.2.13",
37
- "@knotx/jsx": "0.2.12",
38
- "@knotx/plugins-base-render": "0.2.15"
36
+ "@knotx/core": "0.3.0",
37
+ "@knotx/jsx": "0.3.0",
38
+ "@knotx/plugins-base-render": "0.3.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/react": "^17.0.0",
42
42
  "@types/react-dom": "^17.0.0",
43
43
  "react": "^17.0.0",
44
44
  "react-dom": "^17.0.0",
45
- "@knotx/build-config": "0.2.12",
46
- "@knotx/eslint-config": "0.2.12",
47
- "@knotx/jsx": "0.2.12",
48
- "@knotx/typescript-config": "0.2.12"
45
+ "@knotx/build-config": "0.3.0",
46
+ "@knotx/eslint-config": "0.3.0",
47
+ "@knotx/jsx": "0.3.0",
48
+ "@knotx/typescript-config": "0.3.0"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "unbuild",