@onereach/step-voice 4.0.42 → 4.0.43

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/dst/voice.js +3 -1
  2. package/package.json +1 -1
package/dst/voice.js CHANGED
@@ -188,6 +188,7 @@ class VoiceStep extends step_1.default {
188
188
  const index = this.rptsIndex;
189
189
  const current = repromptsList[index];
190
190
  const params = command.params;
191
+ const rptsTimeout = this.rptsTimeout({ noReplyDelay, repromptsList });
191
192
  const repromptSection = {
192
193
  textType,
193
194
  url: current.fileName,
@@ -203,7 +204,8 @@ class VoiceStep extends step_1.default {
203
204
  params.sections.push(...speechSections);
204
205
  }
205
206
  this.state.repIdx = index + 1;
206
- params.timeout = this.rptsTimeout({ noReplyDelay, repromptsList });
207
+ params.timeout = rptsTimeout;
208
+ params.firstDigitTimeout = rptsTimeout; // needed for request_digits command
207
209
  const reportingObject = {
208
210
  sections: command.params.sections,
209
211
  reprompt: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/step-voice",
3
- "version": "4.0.42",
3
+ "version": "4.0.43",
4
4
  "author": "Roman Zolotarov <roman.zolotarov@onereach.com>",
5
5
  "contributors": [
6
6
  "Roman Zolotarov",