@epam/ai-dial-visualizer-connector 0.27.0-rc.8 → 0.27.0

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 +5 -3
  2. package/package.json +4 -3
package/index.esm.js CHANGED
@@ -14,6 +14,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
14
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
15
  PERFORMANCE OF THIS SOFTWARE.
16
16
  ***************************************************************************** */
17
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
18
+
17
19
 
18
20
  function __awaiter(thisArg, _arguments, P, generator) {
19
21
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -192,9 +194,9 @@ class VisualizerConnector {
192
194
  * @param waitForReady Is this request should wait for Visualizer ready (default: true)
193
195
  * @returns {Promise<unknown>} Return promise with response payload when resolved
194
196
  */
195
- send(type, payload, waitForReady = true) {
196
- var _a;
197
- return __awaiter(this, void 0, void 0, function* () {
197
+ send(type_1, payload_1) {
198
+ return __awaiter(this, arguments, void 0, function* (type, payload, waitForReady = true) {
199
+ var _a;
198
200
  if (waitForReady) {
199
201
  yield this.iframeInteraction.ready();
200
202
  }
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://epam-rail.com",
5
- "version": "0.27.0-rc.8",
5
+ "version": "0.27.0",
6
6
  "dependencies": {
7
- "@epam/ai-dial-shared": "0.27.0-rc.8"
7
+ "@epam/ai-dial-shared": "0.27.0"
8
8
  },
9
9
  "type": "module",
10
10
  "bugs": {
@@ -17,5 +17,6 @@
17
17
  "directory": "libs/visualizer-connector"
18
18
  },
19
19
  "module": "./index.esm.js",
20
- "main": "./index.esm.js"
20
+ "main": "./index.esm.js",
21
+ "types": "./index.esm.d.ts"
21
22
  }