@onereach/step-voice 4.0.30 → 4.0.31
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/step.js +1 -2
- package/package.json +2 -2
package/dst/step.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const step_1 = tslib_1.__importDefault(require("@onereach/flow-sdk/dst/step"));
|
|
6
|
-
const event_1 = tslib_1.__importDefault(require("@onereach/flow-sdk/dst/event"));
|
|
7
6
|
class ConvStep extends step_1.default {
|
|
8
7
|
get conversation() {
|
|
9
8
|
if (this.data.conversation == null)
|
|
@@ -85,7 +84,7 @@ class ConvStep extends step_1.default {
|
|
|
85
84
|
// await this.sendEventToStep({ toGlobal: this.isGlobal, action: 'onAwake' })
|
|
86
85
|
// }
|
|
87
86
|
}
|
|
88
|
-
if (this.isGlobal && !
|
|
87
|
+
if (this.isGlobal && !this.event.processed) {
|
|
89
88
|
await this.sendEventToStep({ toGlobal: false, event: { ...this.event, processed: undefined, action: 'local' } });
|
|
90
89
|
}
|
|
91
90
|
await super.runAfter();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/step-voice",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.31",
|
|
4
4
|
"author": "Roman Zolotarov <roman.zolotarov@onereach.com>",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Roman Zolotarov",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"uuid": "^8.3.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@onereach/flow-sdk": "^3.1.
|
|
21
|
+
"@onereach/flow-sdk": "^3.1.54",
|
|
22
22
|
"@swc/cli": "^0.1.57",
|
|
23
23
|
"@swc/core": "^1.2.210",
|
|
24
24
|
"@swc/jest": "^0.2.21",
|