@ada-support/web-storage 0.8.3 → 0.10.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.
|
@@ -59,7 +59,7 @@ border: 1px solid;
|
|
|
59
59
|
<td>Persistent</td>
|
|
60
60
|
</tr>
|
|
61
61
|
<tr>
|
|
62
|
-
<td>ada-
|
|
62
|
+
<td>ada-embed_session-token</td>
|
|
63
63
|
<td>Used for chatter authentication.</td>
|
|
64
64
|
<td>Web Storage (functional)</td>
|
|
65
65
|
<td>Persistent</td>
|
|
@@ -107,6 +107,12 @@ border: 1px solid;
|
|
|
107
107
|
<td>Persistent</td>
|
|
108
108
|
</tr>
|
|
109
109
|
<tr>
|
|
110
|
+
<td>backoffTimeout</td>
|
|
111
|
+
<td>Used to implement Chat reconnection after an interruption.</td>
|
|
112
|
+
<td>Web Storage (functional)</td>
|
|
113
|
+
<td>Persistent</td>
|
|
114
|
+
</tr>
|
|
115
|
+
<tr>
|
|
110
116
|
<td>chatter</td>
|
|
111
117
|
<td>Used to identify the user within Ada.</td>
|
|
112
118
|
<td>Web Storage (functional)</td>
|
package/dist/storage-keys.d.ts
CHANGED
|
@@ -47,7 +47,11 @@ export interface StorageValueByKey {
|
|
|
47
47
|
/** Used for Zendesk authentication functionality. */
|
|
48
48
|
"previouslyAuthenticated": boolean;
|
|
49
49
|
/** Used for chatter authentication. */
|
|
50
|
-
"ada-
|
|
50
|
+
"ada-embed_session-token": string;
|
|
51
|
+
/** Used to implement Chat reconnection after an interruption. */
|
|
52
|
+
"backoffTimeout": number;
|
|
53
|
+
/** Used during Oracle handoffs to indicate whether the agent has sent a request for a secret message. Allows the state to persist between page changes. */
|
|
54
|
+
"secretButton": string;
|
|
51
55
|
/** Used for chatter authentication. This is stored on Ada domain. */
|
|
52
56
|
"sessionToken": string;
|
|
53
57
|
/** Used for Zendesk authentication functionality. */
|
|
@@ -6,13 +6,6 @@ exports.THIRD_PARTY_ITEMS = void 0;
|
|
|
6
6
|
* but must include in the list: https://static.ada.support/ada-web-storage-list.html
|
|
7
7
|
*/
|
|
8
8
|
exports.THIRD_PARTY_ITEMS = [
|
|
9
|
-
{
|
|
10
|
-
keyName: "secretButton",
|
|
11
|
-
description: "Used during Oracle handoffs to indicate whether the agent has sent a request for a secret message. Allows the state to persist between page changes.",
|
|
12
|
-
type: "Web Storage",
|
|
13
|
-
duration: "Persistent",
|
|
14
|
-
purpose: ["Functional"]
|
|
15
|
-
},
|
|
16
9
|
{
|
|
17
10
|
keyName: "vuid",
|
|
18
11
|
description: "Used by Vimeo to store the user’s usage history (loaded only if a video has been included).",
|
package/package.json
CHANGED
package/src/storage-keys.ts
CHANGED
|
@@ -68,7 +68,13 @@ export interface StorageValueByKey {
|
|
|
68
68
|
"previouslyAuthenticated": boolean;
|
|
69
69
|
|
|
70
70
|
/** Used for chatter authentication. */
|
|
71
|
-
"ada-
|
|
71
|
+
"ada-embed_session-token": string;
|
|
72
|
+
|
|
73
|
+
/** Used to implement Chat reconnection after an interruption. */
|
|
74
|
+
"backoffTimeout": number;
|
|
75
|
+
|
|
76
|
+
/** Used during Oracle handoffs to indicate whether the agent has sent a request for a secret message. Allows the state to persist between page changes. */
|
|
77
|
+
"secretButton": string;
|
|
72
78
|
|
|
73
79
|
/** Used for chatter authentication. This is stored on Ada domain. */
|
|
74
80
|
"sessionToken": string;
|
package/src/third-party-items.ts
CHANGED
|
@@ -11,13 +11,6 @@ interface WebStorageItem {
|
|
|
11
11
|
* but must include in the list: https://static.ada.support/ada-web-storage-list.html
|
|
12
12
|
*/
|
|
13
13
|
export const THIRD_PARTY_ITEMS: WebStorageItem[] = [
|
|
14
|
-
{
|
|
15
|
-
keyName: "secretButton",
|
|
16
|
-
description: "Used during Oracle handoffs to indicate whether the agent has sent a request for a secret message. Allows the state to persist between page changes.",
|
|
17
|
-
type: "Web Storage",
|
|
18
|
-
duration: "Persistent",
|
|
19
|
-
purpose: ["Functional"],
|
|
20
|
-
},
|
|
21
14
|
{
|
|
22
15
|
keyName: "vuid",
|
|
23
16
|
description: "Used by Vimeo to store the user’s usage history (loaded only if a video has been included).",
|