plug-code 1.1.4 → 1.1.5

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": "plug-code",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "",
5
5
  "main": "src/plug-code.tsx",
6
6
  "types": "types/plug-code.d.ts",
@@ -57,7 +57,7 @@ export declare class PlcAPI<S extends ObjectType> {
57
57
  // --- Gestión de UI (Slots & Rendering) ---
58
58
 
59
59
  register(slot: string, node: () => React.ReactNode): void;
60
- register<K extends string>(slot: string, node: (data: keyof S) => React.ReactNode, dependencyKey: K): void;
60
+ register<K extends string>(slot: string, node: (data: any) => React.ReactNode, dependencyKey: K): void;
61
61
 
62
62
  /** Envuelve un slot existente (Decorador/Wrapper) */
63
63
  wrap(slot: string, fn: (next: () => React.ReactNode) => () => React.ReactNode): void;