@divkitframework/divkit 24.2.0-patched-3aade27a54abf383e162eb35759cfdb40c53b4e9 → 24.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@divkitframework/divkit",
3
- "version": "24.2.0-patched-3aade27a54abf383e162eb35759cfdb40c53b4e9",
3
+ "version": "24.2.0",
4
4
  "description": "DivKit for the web",
5
5
  "keywords": [
6
6
  "server-driven-ui",
@@ -112,7 +112,6 @@
112
112
  "jest": "28.1.3",
113
113
  "jest-environment-jsdom": "28.0.0",
114
114
  "jest-html-reporter": "3.6.0",
115
- "lottie-web": "5.11.0",
116
115
  "mini-css-extract-plugin": "2.6.1",
117
116
  "peggy": "2.0.1",
118
117
  "postcss": "8.4.14",
@@ -126,8 +125,5 @@
126
125
  "webpack": "5.74.0",
127
126
  "webpack-cli": "4.10.0",
128
127
  "webpack-dev-server": "4.9.3"
129
- },
130
- "peerDependencies": {
131
- "lottie-web": "5.11.0"
132
128
  }
133
129
  }
@@ -6,8 +6,7 @@ import type {
6
6
  Platform,
7
7
  CustomActionCallback,
8
8
  Theme,
9
- Customization,
10
- DivExtension
9
+ Customization
11
10
  } from './common';
12
11
  import type { GlobalVariablesController } from './variables';
13
12
 
@@ -23,7 +22,6 @@ export function render(opts: {
23
22
  platform?: Platform;
24
23
  customization?: Customization;
25
24
  builtinProtocols?: string[];
26
- extensions?: Map<string, typeof DivExtension>;
27
25
  /** EXPERIMENTAL SUPPORT */
28
26
  theme?: Theme;
29
27
  }): DivkitInstance;
@@ -1,5 +1,3 @@
1
- import type { Variable } from './variables';
2
-
3
1
  export type BooleanInt = 0 | 1 | false | true;
4
2
 
5
3
  export type TemplateContext = Record<string, unknown>;
@@ -153,16 +151,3 @@ export interface Customization {
153
151
  galleryLeftClass?: string;
154
152
  galleryRightClass?: string;
155
153
  }
156
-
157
- export interface DivExtensionContext {
158
- variables: Map<string, Variable>;
159
- logError(error: WrappedError): void;
160
- }
161
-
162
- export class DivExtension {
163
- constructor(params: object | undefined);
164
-
165
- mountView(node: HTMLElement, context: DivExtensionContext): void;
166
-
167
- unmountView(node: HTMLElement, context: DivExtensionContext): void;
168
- }