webitel-sdk 23.9.1 → 23.9.3
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/bundles/index.esm.js +5 -1
- package/bundles/index.esm.js.map +1 -1
- package/bundles/index.esm.min.js +1 -1
- package/bundles/index.esm.min.js.map +1 -1
- package/bundles/index.umd.js +7 -5
- package/bundles/index.umd.js.map +1 -1
- package/bundles/index.umd.min.js +1 -1
- package/bundles/index.umd.min.js.map +1 -1
- package/esm2015/socket/call.js +5 -1
- package/esm2015/socket/call.js.map +1 -1
- package/esm5/socket/call.js +7 -5
- package/esm5/socket/call.js.map +1 -1
- package/package.json +1 -1
- package/types/socket/call.d.ts.map +1 -1
package/bundles/index.umd.js
CHANGED
|
@@ -48348,18 +48348,20 @@
|
|
|
48348
48348
|
if (this.autoAnswered) {
|
|
48349
48349
|
return;
|
|
48350
48350
|
}
|
|
48351
|
+
if (this._autoAnswerTimerId) {
|
|
48352
|
+
clearTimeout(this._autoAnswerTimerId);
|
|
48353
|
+
}
|
|
48351
48354
|
this._autoAnswerTimerId = setTimeout(function () { return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
48352
|
-
|
|
48353
|
-
|
|
48354
|
-
switch (_b.label) {
|
|
48355
|
+
return tslib.__generator(this, function (_a) {
|
|
48356
|
+
switch (_a.label) {
|
|
48355
48357
|
case 0:
|
|
48356
48358
|
if (this.autoAnswered) {
|
|
48357
48359
|
return [2 /*return*/];
|
|
48358
48360
|
}
|
|
48359
|
-
|
|
48361
|
+
this.autoAnswered = true;
|
|
48360
48362
|
return [4 /*yield*/, this.answer(req)];
|
|
48361
48363
|
case 1:
|
|
48362
|
-
_a.
|
|
48364
|
+
_a.sent();
|
|
48363
48365
|
return [2 /*return*/];
|
|
48364
48366
|
}
|
|
48365
48367
|
});
|