@onereach/step-voice 4.0.41 → 4.0.42
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 -2
- package/dst/Hangup.js +2 -0
- package/package.json +1 -1
package/dst/Global Command.js
CHANGED
|
@@ -127,12 +127,12 @@ class GlobalCommand extends voice_1.default {
|
|
|
127
127
|
switch (this.data.processHangUp) {
|
|
128
128
|
case 'user':
|
|
129
129
|
return isHangedUpByBot
|
|
130
|
-
? this.
|
|
130
|
+
? this.end()
|
|
131
131
|
: await this.exitThread(this.event, hangUpType, 'hang up');
|
|
132
132
|
case 'bot':
|
|
133
133
|
return isHangedUpByBot
|
|
134
134
|
? await this.exitThread(this.event, hangUpType, 'hang up')
|
|
135
|
-
: this.
|
|
135
|
+
: this.end();
|
|
136
136
|
case 'both':
|
|
137
137
|
return await this.exitThread(this.event, hangUpType, 'hang up');
|
|
138
138
|
case 'none':
|
package/dst/Hangup.js
CHANGED