@epam/ai-dial-overlay 0.47.0-dev.95 → 0.47.0-dev.98

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.
Files changed (2) hide show
  1. package/index.esm.js +3 -1
  2. package/package.json +2 -2
package/index.esm.js CHANGED
@@ -514,7 +514,9 @@ class ChatOverlay {
514
514
  */
515
515
  destroy() {
516
516
  window.removeEventListener('message', this.process);
517
- void this.iframeInteraction.ready().catch(() => { });
517
+ void this.iframeInteraction.ready().catch(() => {
518
+ console.error(`[${overlayLibName}] Iframe interaction error on destroy`);
519
+ });
518
520
  this.iframeInteraction.fail('Chat Overlay destroyed');
519
521
  this.root.removeChild(this.iframe);
520
522
  this.root.removeChild(this.loader);
package/package.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "@epam/ai-dial-overlay",
3
3
  "description": "Package for opening dial in overlay",
4
4
  "homepage": "https://dialx.ai",
5
- "version": "0.47.0-dev.95",
5
+ "version": "0.47.0-dev.98",
6
6
  "dependencies": {
7
- "@epam/ai-dial-shared": "0.47.0-dev.95"
7
+ "@epam/ai-dial-shared": "0.47.0-dev.98"
8
8
  },
9
9
  "type": "module",
10
10
  "bugs": {