@ada-support/embed2 1.0.56 → 1.0.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/dist/npm-entry/client/store/mutations/index.d.ts +1 -1
- package/dist/npm-entry/common/constants/events.d.ts +1 -0
- package/dist/npm-entry/common/constants/storage-keys.d.ts +2 -0
- package/dist/npm-entry/common/types/store-state.d.ts +2 -0
- package/dist/npm-entry/frames/lib/safe-storage/index.d.ts +3 -1
- package/dist/npm-entry/index.js +1957 -522
- package/dist/npm-entry/services/logger/index.d.ts +3 -0
- package/package.json +6 -4
|
@@ -21,6 +21,7 @@ export declare const BROWSER_HAS_NOTIFICATIONS_RESPONSE_EVENT = "BROWSER_HAS_NOT
|
|
|
21
21
|
export declare const REQUEST_NOTIFICATIONS_EVENT = "REQUEST_NOTIFICATIONS";
|
|
22
22
|
export declare const END_CONVERSATION_EVENT = "END_CONVERSATION";
|
|
23
23
|
export declare const PUBLISH_EVENT = "PUBLISH_EVENT";
|
|
24
|
+
export declare const ZD_MESSAGING_HANDOFF = "ZD_MESSAGING_HANDOFF";
|
|
24
25
|
/**
|
|
25
26
|
* Store Events
|
|
26
27
|
*/
|
|
@@ -4,5 +4,7 @@ export declare const IN_LIVE_CHAT_STORAGE_KEY = "inLiveChat";
|
|
|
4
4
|
export declare const ZD_SESSION_STORAGE_KEY = "ada-embed_zd-session-id";
|
|
5
5
|
export declare const ZD_PREVIOUS_TAGS_STORAGE_KEY = "ada-embed_zd-previous-tags";
|
|
6
6
|
export declare const IS_DRAWER_OPEN_STORAGE_KEY = "ada-embed_is-drawer-open";
|
|
7
|
+
export declare const ZD_MESSAGING_EXTERNAL_USER_ID_STORAGE_KEY = "ada-embed_zd-messaging-external-user-id";
|
|
8
|
+
export declare const ZD_MESSAGING_CHATTER_CREATED_STORAGE_KEY = "ada-embed_zd-messaging-chatter-created";
|
|
7
9
|
/** @deprecated - Use CHATTER_TOKEN_STORAGE_KEY */
|
|
8
10
|
export declare const CHATTER_STORAGE_KEY = "chatter";
|
|
@@ -44,6 +44,8 @@ export interface StoreState extends StartOptionsNoFunction {
|
|
|
44
44
|
isDrawerOpen: boolean;
|
|
45
45
|
zdSessionId?: string | null;
|
|
46
46
|
zdPreviousTags?: string | null;
|
|
47
|
+
zdMessagingExternalUserId?: string | null;
|
|
48
|
+
zdMessagingChatterCreated?: string | null;
|
|
47
49
|
drawerHasBeenOpened: boolean;
|
|
48
50
|
isIntroShown: boolean;
|
|
49
51
|
isButtonShown: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CHATTER_CREATED_STORAGE_KEY, CHATTER_TOKEN_STORAGE_KEY, IN_LIVE_CHAT_STORAGE_KEY, ZD_PREVIOUS_TAGS_STORAGE_KEY, ZD_SESSION_STORAGE_KEY } from "common/constants/storage-keys";
|
|
1
|
+
import { CHATTER_CREATED_STORAGE_KEY, CHATTER_TOKEN_STORAGE_KEY, IN_LIVE_CHAT_STORAGE_KEY, ZD_MESSAGING_CHATTER_CREATED_STORAGE_KEY, ZD_MESSAGING_EXTERNAL_USER_ID_STORAGE_KEY, ZD_PREVIOUS_TAGS_STORAGE_KEY, ZD_SESSION_STORAGE_KEY } from "common/constants/storage-keys";
|
|
2
2
|
export declare enum StorageTypes {
|
|
3
3
|
Local = "local",
|
|
4
4
|
Session = "session"
|
|
@@ -11,6 +11,8 @@ export interface StorageValueByKey {
|
|
|
11
11
|
[IN_LIVE_CHAT_STORAGE_KEY]: boolean;
|
|
12
12
|
[ZD_SESSION_STORAGE_KEY]: string;
|
|
13
13
|
[ZD_PREVIOUS_TAGS_STORAGE_KEY]: string;
|
|
14
|
+
[ZD_MESSAGING_EXTERNAL_USER_ID_STORAGE_KEY]: string;
|
|
15
|
+
[ZD_MESSAGING_CHATTER_CREATED_STORAGE_KEY]: string;
|
|
14
16
|
"liveChatPending": boolean;
|
|
15
17
|
"ada-embed_is-drawer-open": boolean;
|
|
16
18
|
"[handle]_marketing_campaigns_shown": string;
|