@inditextech/weave-react 0.3.0 → 0.3.1

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/react.d.cts CHANGED
@@ -334,8 +334,8 @@ declare class WeaveRegisterManager {
334
334
  getPlugins(): Record<string, WeavePlugin>;
335
335
  getNodesHandlers(): Record<string, WeaveNode>;
336
336
  getActionsHandlers(): Record<string, WeaveAction>;
337
- getPlugin<T extends WeavePlugin>(pluginName: string): T;
338
- getActionHandler<T extends WeaveAction>(actionName: string): T;
337
+ getPlugin<T>(pluginName: string): T;
338
+ getActionHandler<T>(actionName: string): T;
339
339
  getNodeHandler(nodeType: string): WeaveNode;
340
340
  registerPlugins(): void;
341
341
  registerPlugin(plugin: WeavePlugin): void;
@@ -407,11 +407,11 @@ declare class Weave extends Emittery {
407
407
  getInstanceRecursive(instance: Konva.Node, filterInstanceType?: string[]): Konva.Node;
408
408
  getRegisterManager(): WeaveRegisterManager;
409
409
  getPlugins(): Record<string, WeavePlugin>;
410
- getPlugin<T extends WeavePlugin>(pluginName: string): T;
410
+ getPlugin<T>(pluginName: string): T;
411
411
  getNodesHandlers(): Record<string, WeaveNode>;
412
- getNodeHandler<T extends WeaveNode>(nodeType: string): T;
412
+ getNodeHandler<T>(nodeType: string): T;
413
413
  getActionsHandlers(): Record<string, WeaveAction>;
414
- getActionHandler<T extends WeaveAction>(actionName: string): T;
414
+ getActionHandler<T>(actionName: string): T;
415
415
  getStore<T extends WeaveStore>(): T;
416
416
  registerPlugin(plugin: WeavePlugin): void;
417
417
  registerNodeHandler(node: WeaveNode): void;
package/dist/react.d.ts CHANGED
@@ -334,8 +334,8 @@ declare class WeaveRegisterManager {
334
334
  getPlugins(): Record<string, WeavePlugin>;
335
335
  getNodesHandlers(): Record<string, WeaveNode>;
336
336
  getActionsHandlers(): Record<string, WeaveAction>;
337
- getPlugin<T extends WeavePlugin>(pluginName: string): T;
338
- getActionHandler<T extends WeaveAction>(actionName: string): T;
337
+ getPlugin<T>(pluginName: string): T;
338
+ getActionHandler<T>(actionName: string): T;
339
339
  getNodeHandler(nodeType: string): WeaveNode;
340
340
  registerPlugins(): void;
341
341
  registerPlugin(plugin: WeavePlugin): void;
@@ -407,11 +407,11 @@ declare class Weave extends Emittery {
407
407
  getInstanceRecursive(instance: Konva.Node, filterInstanceType?: string[]): Konva.Node;
408
408
  getRegisterManager(): WeaveRegisterManager;
409
409
  getPlugins(): Record<string, WeavePlugin>;
410
- getPlugin<T extends WeavePlugin>(pluginName: string): T;
410
+ getPlugin<T>(pluginName: string): T;
411
411
  getNodesHandlers(): Record<string, WeaveNode>;
412
- getNodeHandler<T extends WeaveNode>(nodeType: string): T;
412
+ getNodeHandler<T>(nodeType: string): T;
413
413
  getActionsHandlers(): Record<string, WeaveAction>;
414
- getActionHandler<T extends WeaveAction>(actionName: string): T;
414
+ getActionHandler<T>(actionName: string): T;
415
415
  getStore<T extends WeaveStore>(): T;
416
416
  registerPlugin(plugin: WeavePlugin): void;
417
417
  registerNodeHandler(node: WeaveNode): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inditextech/weave-react",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>",
@@ -43,7 +43,7 @@
43
43
  "version:release": "npm version $RELEASE_VERSION -m \"[npm-scripts] prepare release $RELEASE_VERSION\" --tag-version-prefix \"\""
44
44
  },
45
45
  "dependencies": {
46
- "@inditextech/weave-sdk": "0.3.0",
46
+ "@inditextech/weave-sdk": "0.3.1",
47
47
  "@syncedstore/core": "0.6.0",
48
48
  "konva": "9.3.20",
49
49
  "yjs": "13.6.26"