@telia-ace/knowledge-widget-bot-provider 0.0.1-alpha.5 → 0.0.1-alpha.6
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/lib/plugin.js +1 -2
- package/lib-esm/plugin.js +1 -2
- package/package.json +1 -1
package/lib/plugin.js
CHANGED
|
@@ -78,7 +78,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
var knowledge_widget_adapters_1 = require("@telia-ace/knowledge-widget-adapters");
|
|
82
81
|
var knowledge_widget_core_1 = require("@telia-ace/knowledge-widget-core");
|
|
83
82
|
var knowledge_widget_types_grid_1 = require("@telia-ace/knowledge-widget-types-grid");
|
|
84
83
|
var widget_conversation_1 = require("@telia-ace/widget-conversation");
|
|
@@ -93,7 +92,7 @@ var ConversationPlugin = function (container) { return __awaiter(void 0, void 0,
|
|
|
93
92
|
case 0: return [4 /*yield*/, widget_conversation_1.ConversationPlatform.getInstance(container)];
|
|
94
93
|
case 1:
|
|
95
94
|
platform = _b.sent();
|
|
96
|
-
return [4 /*yield*/,
|
|
95
|
+
return [4 /*yield*/, container.getAsync('contactMethods')];
|
|
97
96
|
case 2:
|
|
98
97
|
contactMethodPlatform = _b.sent();
|
|
99
98
|
return [4 /*yield*/, knowledge_widget_types_grid_1.DataClient.getInstance(container)];
|
package/lib-esm/plugin.js
CHANGED
|
@@ -50,7 +50,6 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
50
50
|
}
|
|
51
51
|
return ar;
|
|
52
52
|
};
|
|
53
|
-
import { ContactMethodPlatform } from '@telia-ace/knowledge-widget-adapters';
|
|
54
53
|
import { ComponentPlatform } from '@telia-ace/knowledge-widget-core';
|
|
55
54
|
import { DataClient } from '@telia-ace/knowledge-widget-types-grid';
|
|
56
55
|
import { ConversationPlatform, registerCustomMessageComponent, } from '@telia-ace/widget-conversation';
|
|
@@ -65,7 +64,7 @@ var ConversationPlugin = function (container) { return __awaiter(void 0, void 0,
|
|
|
65
64
|
case 0: return [4 /*yield*/, ConversationPlatform.getInstance(container)];
|
|
66
65
|
case 1:
|
|
67
66
|
platform = _b.sent();
|
|
68
|
-
return [4 /*yield*/,
|
|
67
|
+
return [4 /*yield*/, container.getAsync('contactMethods')];
|
|
69
68
|
case 2:
|
|
70
69
|
contactMethodPlatform = _b.sent();
|
|
71
70
|
return [4 /*yield*/, DataClient.getInstance(container)];
|
package/package.json
CHANGED