@infomaximum/widget-sdk 3.17.0 → 3.18.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1294,7 +1294,12 @@ declare const getLocalizedText: <L extends TLocalizationDescription, P extends I
1294
1294
 
1295
1295
  declare global {
1296
1296
  interface Infomaximum {
1297
+ /** @deprecated 2402 - необходимо использовать window.im.widget.defineWidget */
1297
1298
  defineWidget: <WidgetSettings extends IBaseWidgetSettings, GroupSettings extends IGroupSettings>(uuid: string, Widget: IWidgetEntity<WidgetSettings, GroupSettings>) => void;
1299
+ widget: {
1300
+ currentSdkVersion: number;
1301
+ defineWidget: <WidgetSettings extends IBaseWidgetSettings, GroupSettings extends IGroupSettings>(uuid: string, Widget: IWidgetEntity<WidgetSettings, GroupSettings>) => void;
1302
+ };
1298
1303
  }
1299
1304
  }
1300
1305
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "3.17.0",
3
+ "version": "3.18.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",