isometrik-plugin-chat-sdk 1.3.16 → 1.3.17
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/cjs/login-page_3.cjs.entry.js +8 -8
- package/dist/cjs/login-page_3.cjs.entry.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/bootstrap.js +8 -8
- package/dist/collection/components/my-component/web-chat/bootstrap.js.map +1 -1
- package/dist/components/WebChat.js +8 -8
- package/dist/components/WebChat.js.map +1 -1
- package/dist/esm/login-page_3.entry.js +8 -8
- package/dist/esm/login-page_3.entry.js.map +1 -1
- package/dist/isometrik-webchat/isometrik-webchat.esm.js +1 -1
- package/dist/isometrik-webchat/p-3cbabed7.entry.js +2 -0
- package/dist/isometrik-webchat/p-3cbabed7.entry.js.map +1 -0
- package/package.json +1 -1
- package/dist/isometrik-webchat/p-4fd74f21.entry.js +0 -2
- package/dist/isometrik-webchat/p-4fd74f21.entry.js.map +0 -1
|
@@ -20,7 +20,7 @@ import { getGroupcastMessage } from "../../../api/groupcast.js";
|
|
|
20
20
|
export async function bootstrapWebChat(host, generation) {
|
|
21
21
|
try {
|
|
22
22
|
try {
|
|
23
|
-
host.updateLoading(10, '
|
|
23
|
+
host.updateLoading(10, 'Preparing secure session…');
|
|
24
24
|
const deviceId = await getDeviceID();
|
|
25
25
|
if (generation !== host.initGeneration)
|
|
26
26
|
return;
|
|
@@ -30,7 +30,7 @@ export async function bootstrapWebChat(host, generation) {
|
|
|
30
30
|
console.error('Error getting device ID:', error);
|
|
31
31
|
}
|
|
32
32
|
try {
|
|
33
|
-
host.updateLoading(25, '
|
|
33
|
+
host.updateLoading(25, 'Loading chat engine…');
|
|
34
34
|
initializeChatSdk({
|
|
35
35
|
baseUrl: host.baseUrl,
|
|
36
36
|
licenseKey: host.licenseKey,
|
|
@@ -46,7 +46,7 @@ export async function bootstrapWebChat(host, generation) {
|
|
|
46
46
|
throw new Error('Failed to initialize chat SDK');
|
|
47
47
|
}
|
|
48
48
|
try {
|
|
49
|
-
host.updateLoading(40, '
|
|
49
|
+
host.updateLoading(40, 'Connecting realtime…');
|
|
50
50
|
await host.setupMqttClient();
|
|
51
51
|
}
|
|
52
52
|
catch (mqttError) {
|
|
@@ -55,7 +55,7 @@ export async function bootstrapWebChat(host, generation) {
|
|
|
55
55
|
if (generation !== host.initGeneration)
|
|
56
56
|
return;
|
|
57
57
|
try {
|
|
58
|
-
host.updateLoading(55, '
|
|
58
|
+
host.updateLoading(55, 'Fetching users…');
|
|
59
59
|
await host.getUserDetails();
|
|
60
60
|
}
|
|
61
61
|
catch (userError) {
|
|
@@ -63,7 +63,7 @@ export async function bootstrapWebChat(host, generation) {
|
|
|
63
63
|
}
|
|
64
64
|
if (host.initialConversationIdFromURL) {
|
|
65
65
|
try {
|
|
66
|
-
host.updateLoading(70, '
|
|
66
|
+
host.updateLoading(70, 'Opening conversation…');
|
|
67
67
|
host.selectedConversationId = host.initialConversationIdFromURL;
|
|
68
68
|
const isGroupCast = new URLSearchParams(window.location.search).has('groupcast');
|
|
69
69
|
if (isGroupCast) {
|
|
@@ -86,7 +86,7 @@ export async function bootstrapWebChat(host, generation) {
|
|
|
86
86
|
if (generation !== host.initGeneration)
|
|
87
87
|
return;
|
|
88
88
|
try {
|
|
89
|
-
host.updateLoading(85, 'Checking unread
|
|
89
|
+
host.updateLoading(85, 'Checking unread…');
|
|
90
90
|
const unreadCount = await getTotalUnreadConversationsCount();
|
|
91
91
|
unreadCountStore.updateTotalUnreadCount(unreadCount);
|
|
92
92
|
host.unreadConversationsCount = unreadCount;
|
|
@@ -102,7 +102,7 @@ export async function bootstrapWebChat(host, generation) {
|
|
|
102
102
|
console.error('Error fetching unread conversations:', unreadError);
|
|
103
103
|
}
|
|
104
104
|
try {
|
|
105
|
-
host.updateLoading(95, '
|
|
105
|
+
host.updateLoading(95, 'Syncing conversations…');
|
|
106
106
|
await host.getConversations();
|
|
107
107
|
}
|
|
108
108
|
catch (conversationsError) {
|
|
@@ -110,7 +110,7 @@ export async function bootstrapWebChat(host, generation) {
|
|
|
110
110
|
}
|
|
111
111
|
host.checkMobileView();
|
|
112
112
|
window.addEventListener('resize', host.boundCheckMobileView);
|
|
113
|
-
host.updateLoading(100, '
|
|
113
|
+
host.updateLoading(100, 'Almost ready…');
|
|
114
114
|
}
|
|
115
115
|
catch (error) {
|
|
116
116
|
console.error('Critical initialization error:', error);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../../../../src/components/my-component/web-chat/bootstrap.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AA6BhE;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,IAA0B,EAAE,UAAkB;IACnF,IAAI,CAAC;QACH,IAAI,CAAC;YACH,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../../../../src/components/my-component/web-chat/bootstrap.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AA6BhE;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK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AI,CAAC,aAAa,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;IAC3C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,gCAAgC,EAAE,KAAK,CAAC,CAAC;IACzD,CAAC;YAAS,CAAC;QACT,UAAU,CAAC,GAAG,EAAE;YACd,IAAI,UAAU,KAAK,IAAI,CAAC,cAAc,EAAE,CAAC;gBACvC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;YACzB,CAAC;QACH,CAAC,EAAE,GAAG,CAAC,CAAC;IACV,CAAC;AACH,CAAC","sourcesContent":["/**\n * Ordered startup for <web-chat>.\n * One place to read “what happens on load”.\n */\nimport { getDeviceID } from '../../../lib/helpers';\nimport { initializeChatSdk } from '../../../lib/chat';\nimport { getTotalUnreadConversationsCount } from '../../../api/conversations.js';\nimport { unreadCountStore } from '../../../store/unread-count';\nimport { getGroupcastMessage } from '../../../api/groupcast.js';\n\nexport type WebChatBootstrapHost = {\n initGeneration: number;\n updateLoading: (progress: number, status: string) => void;\n deviceId: string;\n baseUrl: string;\n licenseKey: string;\n appSecret: string;\n userSecret: string;\n userToken: string;\n userTokenFromCookie: string;\n isInitialized: boolean;\n setupMqttClient: () => Promise<void>;\n getUserDetails: () => Promise<void>;\n initialConversationIdFromURL: string;\n selectedConversationId: string | null;\n getGroupCastConversationDetails: (id: string) => Promise<void>;\n getUserConversationDetails: () => Promise<any>;\n getMessages: (skip: number) => Promise<void>;\n getAllAttachments: (id: string) => Promise<void>;\n allMessages: any[];\n unreadConversationsCount: number;\n getConversations: () => Promise<void>;\n checkMobileView: () => void;\n boundCheckMobileView: () => void;\n isLoading: boolean;\n};\n\n/**\n * Steps:\n * 1. device id\n * 2. ChatSDK init\n * 3. MQTT connect\n * 4. user details\n * 5. deep-link conversation (if URL)\n * 6. unread count\n * 7. conversation list\n */\nexport async function bootstrapWebChat(host: WebChatBootstrapHost, generation: number) {\n try {\n try {\n host.updateLoading(10, 'Preparing secure session…');\n const deviceId = await getDeviceID();\n if (generation !== host.initGeneration) return;\n host.deviceId = deviceId;\n } catch (error) {\n console.error('Error getting device ID:', error);\n }\n\n try {\n host.updateLoading(25, 'Loading chat engine…');\n initializeChatSdk({\n baseUrl: host.baseUrl,\n licenseKey: host.licenseKey,\n appSecret: host.appSecret,\n userSecret: host.userSecret,\n userToken: host.userToken || host.userTokenFromCookie,\n });\n host.isInitialized = true;\n } catch (sdkError) {\n console.error('ChatSDK failed to initialize', sdkError);\n host.isInitialized = false;\n throw new Error('Failed to initialize chat SDK');\n }\n\n try {\n host.updateLoading(40, 'Connecting realtime…');\n await host.setupMqttClient();\n } catch (mqttError) {\n console.error('MQTT client setup failed:', mqttError);\n }\n\n if (generation !== host.initGeneration) return;\n\n try {\n host.updateLoading(55, 'Fetching users…');\n await host.getUserDetails();\n } catch (userError) {\n console.error('Failed to get user details:', userError);\n }\n\n if (host.initialConversationIdFromURL) {\n try {\n host.updateLoading(70, 'Opening conversation…');\n host.selectedConversationId = host.initialConversationIdFromURL;\n const isGroupCast = new URLSearchParams(window.location.search).has('groupcast');\n\n if (isGroupCast) {\n await host.getGroupCastConversationDetails(host.initialConversationIdFromURL);\n const messages = await getGroupcastMessage(host.initialConversationIdFromURL);\n if (messages?.messages) {\n host.allMessages = messages.messages.reverse();\n }\n } else {\n await host.getUserConversationDetails();\n await host.getMessages(0);\n await host.getAllAttachments(host.initialConversationIdFromURL);\n }\n } catch (conversationError) {\n console.error('Failed to load conversation details:', conversationError);\n }\n }\n\n if (generation !== host.initGeneration) return;\n\n try {\n host.updateLoading(85, 'Checking unread…');\n const unreadCount = await getTotalUnreadConversationsCount();\n unreadCountStore.updateTotalUnreadCount(unreadCount);\n host.unreadConversationsCount = unreadCount;\n unreadCountStore.onChange('totalUnreadCount', value => {\n host.unreadConversationsCount = value;\n });\n } catch (unreadError) {\n host.unreadConversationsCount = 0;\n unreadCountStore.updateTotalUnreadCount(0);\n const missing = /not found/i.test(String((unreadError as any)?.message || unreadError));\n if (!missing) console.error('Error fetching unread conversations:', unreadError);\n }\n\n try {\n host.updateLoading(95, 'Syncing conversations…');\n await host.getConversations();\n } catch (conversationsError) {\n console.error('Failed to load conversations:', conversationsError);\n }\n\n host.checkMobileView();\n window.addEventListener('resize', host.boundCheckMobileView);\n host.updateLoading(100, 'Almost ready…');\n } catch (error) {\n console.error('Critical initialization error:', error);\n } finally {\n setTimeout(() => {\n if (generation === host.initGeneration) {\n host.isLoading = false;\n }\n }, 500);\n }\n}\n"]}
|
|
@@ -961,7 +961,7 @@ const getTotalUnreadConversationsCount = async () => {
|
|
|
961
961
|
async function bootstrapWebChat(host, generation) {
|
|
962
962
|
try {
|
|
963
963
|
try {
|
|
964
|
-
host.updateLoading(10, '
|
|
964
|
+
host.updateLoading(10, 'Preparing secure session…');
|
|
965
965
|
const deviceId = await getDeviceID();
|
|
966
966
|
if (generation !== host.initGeneration)
|
|
967
967
|
return;
|
|
@@ -971,7 +971,7 @@ async function bootstrapWebChat(host, generation) {
|
|
|
971
971
|
console.error('Error getting device ID:', error);
|
|
972
972
|
}
|
|
973
973
|
try {
|
|
974
|
-
host.updateLoading(25, '
|
|
974
|
+
host.updateLoading(25, 'Loading chat engine…');
|
|
975
975
|
initializeChatSdk({
|
|
976
976
|
baseUrl: host.baseUrl,
|
|
977
977
|
licenseKey: host.licenseKey,
|
|
@@ -987,7 +987,7 @@ async function bootstrapWebChat(host, generation) {
|
|
|
987
987
|
throw new Error('Failed to initialize chat SDK');
|
|
988
988
|
}
|
|
989
989
|
try {
|
|
990
|
-
host.updateLoading(40, '
|
|
990
|
+
host.updateLoading(40, 'Connecting realtime…');
|
|
991
991
|
await host.setupMqttClient();
|
|
992
992
|
}
|
|
993
993
|
catch (mqttError) {
|
|
@@ -996,7 +996,7 @@ async function bootstrapWebChat(host, generation) {
|
|
|
996
996
|
if (generation !== host.initGeneration)
|
|
997
997
|
return;
|
|
998
998
|
try {
|
|
999
|
-
host.updateLoading(55, '
|
|
999
|
+
host.updateLoading(55, 'Fetching users…');
|
|
1000
1000
|
await host.getUserDetails();
|
|
1001
1001
|
}
|
|
1002
1002
|
catch (userError) {
|
|
@@ -1004,7 +1004,7 @@ async function bootstrapWebChat(host, generation) {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
if (host.initialConversationIdFromURL) {
|
|
1006
1006
|
try {
|
|
1007
|
-
host.updateLoading(70, '
|
|
1007
|
+
host.updateLoading(70, 'Opening conversation…');
|
|
1008
1008
|
host.selectedConversationId = host.initialConversationIdFromURL;
|
|
1009
1009
|
const isGroupCast = new URLSearchParams(window.location.search).has('groupcast');
|
|
1010
1010
|
if (isGroupCast) {
|
|
@@ -1027,7 +1027,7 @@ async function bootstrapWebChat(host, generation) {
|
|
|
1027
1027
|
if (generation !== host.initGeneration)
|
|
1028
1028
|
return;
|
|
1029
1029
|
try {
|
|
1030
|
-
host.updateLoading(85, 'Checking unread
|
|
1030
|
+
host.updateLoading(85, 'Checking unread…');
|
|
1031
1031
|
const unreadCount = await getTotalUnreadConversationsCount();
|
|
1032
1032
|
unreadCountStore.updateTotalUnreadCount(unreadCount);
|
|
1033
1033
|
host.unreadConversationsCount = unreadCount;
|
|
@@ -1043,7 +1043,7 @@ async function bootstrapWebChat(host, generation) {
|
|
|
1043
1043
|
console.error('Error fetching unread conversations:', unreadError);
|
|
1044
1044
|
}
|
|
1045
1045
|
try {
|
|
1046
|
-
host.updateLoading(95, '
|
|
1046
|
+
host.updateLoading(95, 'Syncing conversations…');
|
|
1047
1047
|
await host.getConversations();
|
|
1048
1048
|
}
|
|
1049
1049
|
catch (conversationsError) {
|
|
@@ -1051,7 +1051,7 @@ async function bootstrapWebChat(host, generation) {
|
|
|
1051
1051
|
}
|
|
1052
1052
|
host.checkMobileView();
|
|
1053
1053
|
window.addEventListener('resize', host.boundCheckMobileView);
|
|
1054
|
-
host.updateLoading(100, '
|
|
1054
|
+
host.updateLoading(100, 'Almost ready…');
|
|
1055
1055
|
}
|
|
1056
1056
|
catch (error) {
|
|
1057
1057
|
console.error('Critical initialization error:', error);
|