@onereach/step-voice 7.0.14 → 7.0.16

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.
@@ -205,9 +205,7 @@ class InitiateCall extends voice_1.default {
205
205
  };
206
206
  break;
207
207
  case "profile" /* GATEWAY_SETTINGS_MODE.PROFILE */:
208
- gateway = {
209
- profile
210
- };
208
+ gateway = gateway = profile != null ? { profile } : undefined;
211
209
  break;
212
210
  }
213
211
  const params = {
package/dst/Transfer.js CHANGED
@@ -73,9 +73,7 @@ class Transfer extends voice_1.default {
73
73
  };
74
74
  break;
75
75
  case "profile" /* GATEWAY_SETTINGS_MODE.PROFILE */:
76
- gateway = {
77
- profile
78
- };
76
+ gateway = gateway = profile != null ? { profile } : undefined;
79
77
  break;
80
78
  }
81
79
  const command = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/step-voice",
3
- "version": "7.0.14",
3
+ "version": "7.0.16",
4
4
  "author": "Roman Zolotarov <roman.zolotarov@onereach.com>",
5
5
  "contributors": [
6
6
  "Roman Zolotarov",