@divkitframework/divkit 25.7.0 → 26.1.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": "25.7.0",
3
+ "version": "26.1.0",
4
4
  "description": "DivKit for the web",
5
5
  "keywords": [
6
6
  "server-driven-ui",
@@ -18,11 +18,12 @@ export interface IntegerVariable extends Variable<number> {}
18
18
  export interface BooleanVariable extends Variable<number> {}
19
19
  export interface ColorVariable extends Variable<string> {}
20
20
  export interface UrlVariable extends Variable<string> {}
21
+ export interface DictVariable extends Variable<object> {}
21
22
 
22
23
  export type AnyVariable = StringVariable | NumberVariable | IntegerVariable |
23
- BooleanVariable | ColorVariable | UrlVariable;
24
+ BooleanVariable | ColorVariable | UrlVariable | DictVariable;
24
25
 
25
- export type VariableType = 'string' | 'number' | 'integer' | 'boolean' | 'color' | 'url';
26
+ export type VariableType = 'string' | 'number' | 'integer' | 'boolean' | 'color' | 'url' | 'dict';
26
27
 
27
28
  export interface GlobalVariablesController {
28
29
  setVariable(variable: AnyVariable): void;