@ada-support/web-storage 0.5.0 → 0.6.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.
@@ -20,11 +20,17 @@ export interface StorageValueByKey {
20
20
  "ada-functional-storage": Partial<AdaFunctionalStorageValue>;
21
21
  /** Used to identify the user within Ada. */
22
22
  "chatter": string;
23
+ /** Used to determine whether chatter session is expired. This is stored on Ada domain. */
24
+ "created": string;
23
25
  /** Indicates whether user is connected to a live agent. */
24
26
  "inLiveChat": boolean;
25
27
  /** Indicates whether user is waiting to connect to a live agent. */
26
28
  "liveChatPending": boolean;
29
+ /** Stores Chat iFrame parent window origin. */
30
+ "parentOrigin": string;
27
31
  /** Used for chatter authentication. */
28
32
  "session_token": string;
33
+ /** Used for chatter authentication. This is stored on Ada domain. */
34
+ "sessionToken": string;
29
35
  }
30
36
  export declare type StorageKey = keyof StorageValueByKey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-support/web-storage",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "A package to provide access to Web Storage API",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {
@@ -31,14 +31,23 @@ export interface StorageValueByKey {
31
31
  /** Used to identify the user within Ada. */
32
32
  "chatter": string;
33
33
 
34
+ /** Used to determine whether chatter session is expired. This is stored on Ada domain. */
35
+ "created": string;
36
+
34
37
  /** Indicates whether user is connected to a live agent. */
35
38
  "inLiveChat": boolean;
36
39
 
37
40
  /** Indicates whether user is waiting to connect to a live agent. */
38
41
  "liveChatPending": boolean;
39
42
 
43
+ /** Stores Chat iFrame parent window origin. */
44
+ "parentOrigin": string;
45
+
40
46
  /** Used for chatter authentication. */
41
47
  "session_token": string;
48
+
49
+ /** Used for chatter authentication. This is stored on Ada domain. */
50
+ "sessionToken": string;
42
51
  }
43
52
 
44
53
  export type StorageKey = keyof StorageValueByKey;