@rws-framework/client 2.10.13 → 2.10.14
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
package/src/client.ts
CHANGED
|
@@ -39,7 +39,6 @@ export function defineComponent<T extends RWSViewComponent>(element: IWithCompos
|
|
|
39
39
|
styles: element.definition.styles
|
|
40
40
|
}) as RWSWindowComponentInterface;
|
|
41
41
|
|
|
42
|
-
console.log({eld: element.definition})
|
|
43
42
|
|
|
44
43
|
if (!richWindow.RWS) {
|
|
45
44
|
throw new Error('RWS client not initialized');
|
package/src/types/IRWSPlugin.ts
CHANGED
|
@@ -12,8 +12,10 @@ export interface IRWSPlugin {
|
|
|
12
12
|
onSetUser(user: IRWSUser): Promise<void>
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
type IStaticRWSPluginEntry<PluginOptions extends DefaultRWSPluginOptionsType = DefaultRWSPluginOptionsType> = {
|
|
16
16
|
new (...args: any[]): IRWSPlugin;
|
|
17
17
|
container: Container;
|
|
18
18
|
window: RWSWindow;
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type IStaticRWSPlugin<PluginOptions extends DefaultRWSPluginOptionsType> = IStaticRWSPluginEntry<PluginOptions> | [IStaticRWSPluginEntry<PluginOptions>, PluginOptions]
|