@chat21/chat21-web-widget 5.0.94-rc2 → 5.0.94-rc3
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/CHANGELOG.md +3 -0
- package/deploy_beta.sh +0 -2
- package/package.json +1 -1
- package/src/app/app.component.ts +0 -1
- package/src/assets/twp/chatbot-panel.html +2 -2
package/CHANGELOG.md
CHANGED
package/deploy_beta.sh
CHANGED
package/package.json
CHANGED
package/src/app/app.component.ts
CHANGED
|
@@ -729,7 +729,6 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
729
729
|
this.logger.debug('[APP-COMP] AppComponent::startNewConversation hiddenMessage',this.g.hiddenMessage );
|
|
730
730
|
if(this.g.hiddenMessage){
|
|
731
731
|
this.onNewConversationWithMessage(this.g.hiddenMessage)
|
|
732
|
-
return;
|
|
733
732
|
}
|
|
734
733
|
|
|
735
734
|
this.triggerNewConversationEvent(newConvId);
|
|
@@ -556,8 +556,8 @@
|
|
|
556
556
|
});
|
|
557
557
|
|
|
558
558
|
window.Tiledesk('onNewConversation', function(event_data) {
|
|
559
|
-
// console.log("
|
|
560
|
-
window.parent.postMessage({ source: 'widget', event: 'onNewConversation', data: event_data.detail}, '*')
|
|
559
|
+
// console.log("onNewConversation!", event_data);
|
|
560
|
+
window.parent.postMessage({ source: 'widget', event: 'onNewConversation', data: { conversation_id: event_data.detail.newConvId } }, '*')
|
|
561
561
|
});
|
|
562
562
|
|
|
563
563
|
window.addEventListener('message', (event_data)=> {
|