@telia-ace/widget-services 1.3.59 → 1.3.60

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,8 +1,8 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-services",
3
- "version": "1.3.59",
3
+ "version": "1.3.60",
4
4
  "dependencies": {
5
- "@telia-ace/widget-utilities": "^1.3.59",
5
+ "@telia-ace/widget-utilities": "^1.3.60",
6
6
  "@webprovisions/platform": "^1.1.4"
7
7
  },
8
8
  "main": "./index.js",
@@ -1,5 +1,4 @@
1
1
  import { StorageScope } from './types';
2
-
3
2
  type LegacyOptions = {
4
3
  scope?: StorageScope;
5
4
  expiration?: Date;
@@ -1,6 +1,5 @@
1
1
  import { Container } from '@webprovisions/platform';
2
2
  import { StorageCategory, StorageMedium, StorageWriter, StorageWriterOptions } from './types';
3
-
4
3
  /**
5
4
  * Creates a writer to be used to write to cookie, local or session storage.
6
5
  * @param container Widget Container.
@@ -1,6 +1,5 @@
1
1
  import { Container } from '@webprovisions/platform';
2
2
  import { Duration, StorageCategory, StorageMedium, Store, StoredValue } from './types';
3
-
4
3
  export declare const createEmptyStore: () => Store;
5
4
  export declare const isExpired: (isoDateString?: string) => boolean;
6
5
  export declare const getValue: <Type>(store: Store, key: string) => Type | undefined;