@epam/ai-dial-visualizer-connector 0.47.0-dev.96 → 0.47.0-dev.99
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/index.esm.js +3 -1
- package/package.json +2 -2
package/index.esm.js
CHANGED
|
@@ -251,7 +251,9 @@ class VisualizerConnector {
|
|
|
251
251
|
destroy() {
|
|
252
252
|
window.removeEventListener('message', this.process);
|
|
253
253
|
// So Task.fail() never surfaces as "unhandled" if nothing awaited ready() yet (e.g. Strict Mode).
|
|
254
|
-
void this.iframeInteraction.ready().catch(() => {
|
|
254
|
+
void this.iframeInteraction.ready().catch(() => {
|
|
255
|
+
console.error(`[${visualizerConnectorLibName}] Iframe interaction error on destroy`);
|
|
256
|
+
});
|
|
255
257
|
this.iframeInteraction.fail('Chat Visualizer destroyed');
|
|
256
258
|
this.root.removeChild(this.iframe);
|
|
257
259
|
this.root.removeChild(this.loader);
|
package/package.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"name": "@epam/ai-dial-visualizer-connector",
|
|
3
3
|
"description": "Package for connecting custom visualizer into DIAL Chat",
|
|
4
4
|
"homepage": "https://dialx.ai",
|
|
5
|
-
"version": "0.47.0-dev.
|
|
5
|
+
"version": "0.47.0-dev.99",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@epam/ai-dial-shared": "0.47.0-dev.
|
|
7
|
+
"@epam/ai-dial-shared": "0.47.0-dev.99"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"bugs": {
|