@telia-ace/widget-core-flamingo 1.1.72-rc.1 → 1.1.72-rc.11
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +52 -31
- package/index.mjs +485 -433
- package/models/application.d.ts +1 -0
- package/package.json +1 -1
- package/services/storage.service.d.ts +3 -2
- package/services/widget-api.d.ts +1 -0
package/models/application.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare enum StorageCategory {
|
2
|
-
|
3
|
-
|
2
|
+
Necessary = "necessary",
|
3
|
+
Functional = "functional",
|
4
4
|
Analytics = "analytics"
|
5
5
|
}
|
6
6
|
export declare class StorageService {
|
@@ -12,6 +12,7 @@ export declare class StorageService {
|
|
12
12
|
set<T>(key: string, value: T, category: StorageCategory): void;
|
13
13
|
get<T>(key: string): T | null;
|
14
14
|
removeItem(key: string): void;
|
15
|
+
enforcePolicy(): void;
|
15
16
|
updatePolicy(newPolicy: Record<StorageCategory, boolean>): void;
|
16
17
|
disallowKey(key: string): void;
|
17
18
|
private _prefixKey;
|