@telia-ace/widget-services 1.0.19 → 1.0.20-next.3

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.
@@ -1,5 +1,5 @@
1
1
  import { StorageScope } from './types';
2
- declare type LegacyOptions = {
2
+ type LegacyOptions = {
3
3
  scope?: StorageScope;
4
4
  expiration?: Date;
5
5
  };
@@ -8,15 +8,15 @@ export declare enum StorageScope {
8
8
  Implementation = "implementation",
9
9
  Widget = "widget"
10
10
  }
11
- export declare type Store = {
11
+ export type Store = {
12
12
  tenant: StorageContainer;
13
13
  implementation: StorageContainer;
14
14
  widget: StorageContainer;
15
15
  };
16
- export declare type StorageContainer = {
16
+ export type StorageContainer = {
17
17
  [key: string]: StoredValue;
18
18
  };
19
- export declare type StoredValue = {
19
+ export type StoredValue = {
20
20
  value: any;
21
21
  expiration?: string;
22
22
  category: StorageCategory;
@@ -27,18 +27,18 @@ export declare enum StorageCategory {
27
27
  Analytical = "analytical",
28
28
  Marketing = "marketing"
29
29
  }
30
- export declare type StorageWriter = (value?: any) => Promise<void>;
31
- export declare type StorageConfigurationOptions = {
30
+ export type StorageWriter = (value?: any) => Promise<void>;
31
+ export type StorageConfigurationOptions = {
32
32
  consent?: StorageConsent;
33
33
  };
34
- export declare type StorageConsent = number | number[] | StorageCategory | StorageCategory[];
35
- export declare type Duration = {
34
+ export type StorageConsent = number | number[] | StorageCategory | StorageCategory[];
35
+ export type Duration = {
36
36
  days?: number;
37
37
  hours?: number;
38
38
  minutes?: number;
39
39
  seconds?: number;
40
40
  };
41
- export declare type StorageWriterOptions = {
41
+ export type StorageWriterOptions = {
42
42
  scope?: StorageScope;
43
43
  duration?: Duration;
44
44
  medium?: StorageMedium;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-services",
3
- "version": "1.0.19",
3
+ "version": "1.0.20-next.3",
4
4
  "description": "Services for ACE Widgets.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Telia Company AB",
@@ -21,10 +21,10 @@
21
21
  },
22
22
  "sideEffects": false,
23
23
  "dependencies": {
24
- "@telia-ace/widget-utilities": "^1.0.8"
24
+ "@telia-ace/widget-utilities": "1.0.9-next.3"
25
25
  },
26
26
  "devDependencies": {
27
- "@telia-ace/widget-developer-tools": "^1.0.14",
27
+ "@telia-ace/widget-developer-tools": "1.0.15-next.3",
28
28
  "@webprovisions/platform": "^1.1.2"
29
29
  },
30
30
  "scripts": {