@onereach/step-voice 6.0.18 → 6.0.19-repromptstimeout.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.
- package/dst/Global Command.js +2 -1
- package/dst/step.js +1 -0
- package/dst/voice.js +3 -2
- package/package.json +1 -1
package/dst/Global Command.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/* eslint-disable @typescript-eslint/strict-boolean-expressions, @typescript-eslint/explicit-function-return-type */
|
|
3
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
/* eslint-disable @typescript-eslint/strict-boolean-expressions, @typescript-eslint/explicit-function-return-type */
|
|
5
|
+
//@ts-nocheck
|
|
5
6
|
const types_1 = require("@onereach/flow-sdk/dst/types");
|
|
6
7
|
const lodash_1 = tslib_1.__importDefault(require("lodash"));
|
|
7
8
|
const voice_1 = tslib_1.__importDefault(require("./voice"));
|
package/dst/step.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* eslint-disable @typescript-eslint/strict-boolean-expressions */
|
|
3
|
+
//@ts-nocheck
|
|
3
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
5
|
const tslib_1 = require("tslib");
|
|
5
6
|
const step_1 = tslib_1.__importDefault(require("@onereach/flow-sdk/dst/step"));
|
package/dst/voice.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* eslint-disable @typescript-eslint/strict-boolean-expressions */
|
|
3
|
+
//@ts-nocheck
|
|
3
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
5
|
exports.VoiceStepError = void 0;
|
|
5
6
|
const tslib_1 = require("tslib");
|
|
@@ -378,8 +379,8 @@ class VoiceStep extends step_1.default {
|
|
|
378
379
|
await this.sendCommands(call, [command]);
|
|
379
380
|
}
|
|
380
381
|
rptsTimeout({ noReplyDelay, repromptsList }) {
|
|
381
|
-
const
|
|
382
|
-
return Number(lodash_1.default.get(
|
|
382
|
+
const next = repromptsList[this.rptsIndex + 1];
|
|
383
|
+
return Number(lodash_1.default.get(next, 'time', noReplyDelay)) * 1000 || 60000;
|
|
383
384
|
}
|
|
384
385
|
rptsRestart() {
|
|
385
386
|
this.state.repIdx = undefined;
|