@onereach/step-voice 6.0.1 → 6.0.2

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/step.js +2 -2
  2. package/package.json +1 -1
package/dst/step.js CHANGED
@@ -133,8 +133,8 @@ class ConvStep extends step_1.default {
133
133
  }
134
134
  async waitConvEnd() {
135
135
  const workerThread = this.process.getThread(this.workerThreadId);
136
- const workerData = await workerThread?.currentStep.resolveDataIn();
137
- if (!this.isGlobal && this.thread.id !== 'main' && this.thread.id === workerData?.conversationThread) {
136
+ const workerState = await workerThread?.state;
137
+ if (!this.isGlobal && this.thread.id !== 'main' && this.thread.id === workerState?.thread) {
138
138
  this.log.debug('conv.wait for end', this.conversation);
139
139
  this.gotoState({ ...this.state, name: 'waitGlobEnd', direct: true });
140
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/step-voice",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "author": "Roman Zolotarov <roman.zolotarov@onereach.com>",
5
5
  "contributors": [
6
6
  "Roman Zolotarov",