@scbt-ecom/ui 0.127.0 → 0.127.1

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.
@@ -19,6 +19,11 @@ export interface IVariableContextHolder<Key, Value> {
19
19
  observe: (listener: (variables: Variable<Key, Value>[]) => void) => () => void;
20
20
  get: (key: Key) => Variable<Key, Value> | undefined;
21
21
  }
22
+ export interface VariableStore {
23
+ setItem: <T>(key: string, value: T) => void;
24
+ getItem: <T>(key: string) => T | null;
25
+ clearItems: (...keys: string[]) => void;
26
+ }
22
27
  /**
23
28
  * Класс для управления переменными
24
29
  */
@@ -27,6 +32,7 @@ export declare class VariableContextHolder<Key extends string = string, Value =
27
32
  private _variables;
28
33
  private _listeners;
29
34
  private _nextListenerId;
35
+ private _storeContext;
30
36
  private static _VARIABLE_REGEX;
31
37
  private static _VARIABLE_PATTERN;
32
38
  private static _instance;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scbt-ecom/ui",
3
- "version": "0.127.0",
3
+ "version": "0.127.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {