isdata-customer-sdk 0.2.2 → 0.2.3
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/index.common.js +2 -1
- package/dist/index.common.js.map +1 -1
- package/dist/index.umd.js +123 -122
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +4 -4
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -32686,6 +32686,7 @@ class ChatClientMgr {
|
|
|
32686
32686
|
return this.handler.onAIAgentEvent(data, event);
|
|
32687
32687
|
});
|
|
32688
32688
|
this.handler.addChatListener(this.makeKey(`sdata_alllife_event_regist`), async (data, event) => {
|
|
32689
|
+
console.log("recive chat regist event data:", data);
|
|
32689
32690
|
this.appSKID = data.appid;
|
|
32690
32691
|
this.imType = data.im_type;
|
|
32691
32692
|
await this.initChatAIs();
|
|
@@ -32694,9 +32695,9 @@ class ChatClientMgr {
|
|
|
32694
32695
|
singleChatID: this.singleChatID,
|
|
32695
32696
|
customParams: this.customParams
|
|
32696
32697
|
};
|
|
32697
|
-
// console.log("charParams", charParams);
|
|
32698
32698
|
this.handler.fireEventToChatWindow(event, this.chartOrigin, this.makeKey("sdata_alllife_initChat"), charParams, result => {
|
|
32699
32699
|
if (result) {
|
|
32700
|
+
console.log("chat init finished:", result);
|
|
32700
32701
|
this.handler.onChatInitFinished();
|
|
32701
32702
|
}
|
|
32702
32703
|
});
|