@webex/plugin-meetings 3.8.0-next.6 → 3.8.0-next.60

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 (156) hide show
  1. package/dist/breakouts/breakout.js +1 -1
  2. package/dist/breakouts/index.js +1 -1
  3. package/dist/common/errors/webex-errors.js +12 -2
  4. package/dist/common/errors/webex-errors.js.map +1 -1
  5. package/dist/config.js +1 -0
  6. package/dist/config.js.map +1 -1
  7. package/dist/constants.js +16 -121
  8. package/dist/constants.js.map +1 -1
  9. package/dist/controls-options-manager/enums.js +2 -0
  10. package/dist/controls-options-manager/enums.js.map +1 -1
  11. package/dist/controls-options-manager/types.js.map +1 -1
  12. package/dist/controls-options-manager/util.js +52 -0
  13. package/dist/controls-options-manager/util.js.map +1 -1
  14. package/dist/interpretation/index.js +1 -1
  15. package/dist/interpretation/siLanguage.js +1 -1
  16. package/dist/locus-info/controlsUtils.js +28 -10
  17. package/dist/locus-info/controlsUtils.js.map +1 -1
  18. package/dist/locus-info/index.js +20 -1
  19. package/dist/locus-info/index.js.map +1 -1
  20. package/dist/locus-info/selfUtils.js +405 -418
  21. package/dist/locus-info/selfUtils.js.map +1 -1
  22. package/dist/media/index.js +8 -16
  23. package/dist/media/index.js.map +1 -1
  24. package/dist/meeting/in-meeting-actions.js +13 -1
  25. package/dist/meeting/in-meeting-actions.js.map +1 -1
  26. package/dist/meeting/index.js +548 -288
  27. package/dist/meeting/index.js.map +1 -1
  28. package/dist/meeting/locusMediaRequest.js +0 -17
  29. package/dist/meeting/locusMediaRequest.js.map +1 -1
  30. package/dist/meeting/muteState.js +0 -2
  31. package/dist/meeting/muteState.js.map +1 -1
  32. package/dist/meeting/request.js +30 -0
  33. package/dist/meeting/request.js.map +1 -1
  34. package/dist/meeting/request.type.js.map +1 -1
  35. package/dist/meeting/util.js +13 -2
  36. package/dist/meeting/util.js.map +1 -1
  37. package/dist/meeting-info/meeting-info-v2.js +359 -60
  38. package/dist/meeting-info/meeting-info-v2.js.map +1 -1
  39. package/dist/meetings/index.js +91 -1
  40. package/dist/meetings/index.js.map +1 -1
  41. package/dist/meetings/util.js +14 -0
  42. package/dist/meetings/util.js.map +1 -1
  43. package/dist/member/index.js +10 -0
  44. package/dist/member/index.js.map +1 -1
  45. package/dist/member/util.js +3 -0
  46. package/dist/member/util.js.map +1 -1
  47. package/dist/members/index.js +23 -0
  48. package/dist/members/index.js.map +1 -1
  49. package/dist/members/request.js +21 -0
  50. package/dist/members/request.js.map +1 -1
  51. package/dist/members/util.js +15 -0
  52. package/dist/members/util.js.map +1 -1
  53. package/dist/metrics/constants.js +9 -0
  54. package/dist/metrics/constants.js.map +1 -1
  55. package/dist/reachability/clusterReachability.js +63 -27
  56. package/dist/reachability/clusterReachability.js.map +1 -1
  57. package/dist/reachability/index.js +112 -47
  58. package/dist/reachability/index.js.map +1 -1
  59. package/dist/reachability/reachability.types.js +14 -0
  60. package/dist/reachability/reachability.types.js.map +1 -1
  61. package/dist/reachability/request.js +19 -3
  62. package/dist/reachability/request.js.map +1 -1
  63. package/dist/reconnection-manager/index.js +2 -2
  64. package/dist/reconnection-manager/index.js.map +1 -1
  65. package/dist/recording-controller/util.js +5 -5
  66. package/dist/recording-controller/util.js.map +1 -1
  67. package/dist/roap/index.js.map +1 -1
  68. package/dist/roap/turnDiscovery.js +45 -27
  69. package/dist/roap/turnDiscovery.js.map +1 -1
  70. package/dist/roap/types.js +17 -0
  71. package/dist/roap/types.js.map +1 -0
  72. package/dist/types/common/errors/webex-errors.d.ts +7 -1
  73. package/dist/types/config.d.ts +1 -0
  74. package/dist/types/constants.d.ts +11 -85
  75. package/dist/types/controls-options-manager/enums.d.ts +3 -1
  76. package/dist/types/controls-options-manager/types.d.ts +7 -1
  77. package/dist/types/locus-info/index.d.ts +1 -0
  78. package/dist/types/locus-info/selfUtils.d.ts +247 -1
  79. package/dist/types/meeting/in-meeting-actions.d.ts +12 -0
  80. package/dist/types/meeting/index.d.ts +54 -1
  81. package/dist/types/meeting/muteState.d.ts +0 -1
  82. package/dist/types/meeting/request.d.ts +12 -1
  83. package/dist/types/meeting/request.type.d.ts +6 -0
  84. package/dist/types/meeting/util.d.ts +3 -1
  85. package/dist/types/meeting-info/meeting-info-v2.d.ts +80 -0
  86. package/dist/types/meetings/index.d.ts +38 -0
  87. package/dist/types/member/index.d.ts +1 -0
  88. package/dist/types/members/index.d.ts +8 -0
  89. package/dist/types/members/request.d.ts +19 -0
  90. package/dist/types/members/util.d.ts +13 -0
  91. package/dist/types/metrics/constants.d.ts +9 -0
  92. package/dist/types/reachability/clusterReachability.d.ts +15 -7
  93. package/dist/types/reachability/index.d.ts +10 -1
  94. package/dist/types/reachability/reachability.types.d.ts +5 -0
  95. package/dist/types/roap/index.d.ts +3 -2
  96. package/dist/types/roap/turnDiscovery.d.ts +5 -17
  97. package/dist/types/roap/types.d.ts +16 -0
  98. package/dist/webinar/index.js +1 -1
  99. package/package.json +23 -23
  100. package/src/common/errors/webex-errors.ts +8 -1
  101. package/src/config.ts +1 -0
  102. package/src/constants.ts +18 -90
  103. package/src/controls-options-manager/enums.ts +2 -0
  104. package/src/controls-options-manager/types.ts +11 -1
  105. package/src/controls-options-manager/util.ts +62 -0
  106. package/src/locus-info/controlsUtils.ts +44 -14
  107. package/src/locus-info/index.ts +23 -1
  108. package/src/locus-info/selfUtils.ts +451 -447
  109. package/src/media/index.ts +11 -21
  110. package/src/meeting/in-meeting-actions.ts +24 -0
  111. package/src/meeting/index.ts +364 -92
  112. package/src/meeting/locusMediaRequest.ts +0 -18
  113. package/src/meeting/muteState.ts +0 -2
  114. package/src/meeting/request.ts +36 -1
  115. package/src/meeting/request.type.ts +7 -0
  116. package/src/meeting/util.ts +11 -2
  117. package/src/meeting-info/meeting-info-v2.ts +247 -6
  118. package/src/meetings/index.ts +107 -1
  119. package/src/meetings/util.ts +18 -0
  120. package/src/member/index.ts +11 -0
  121. package/src/member/util.ts +3 -0
  122. package/src/members/index.ts +25 -0
  123. package/src/members/request.ts +26 -0
  124. package/src/members/util.ts +16 -0
  125. package/src/metrics/constants.ts +9 -0
  126. package/src/reachability/clusterReachability.ts +73 -26
  127. package/src/reachability/index.ts +70 -1
  128. package/src/reachability/reachability.types.ts +6 -0
  129. package/src/reachability/request.ts +7 -0
  130. package/src/reconnection-manager/index.ts +2 -2
  131. package/src/recording-controller/util.ts +17 -13
  132. package/src/roap/index.ts +3 -7
  133. package/src/roap/turnDiscovery.ts +34 -39
  134. package/src/roap/types.ts +23 -0
  135. package/test/unit/spec/controls-options-manager/util.js +120 -0
  136. package/test/unit/spec/locus-info/controlsUtils.js +103 -9
  137. package/test/unit/spec/locus-info/index.js +28 -0
  138. package/test/unit/spec/media/index.ts +36 -16
  139. package/test/unit/spec/meeting/in-meeting-actions.ts +15 -4
  140. package/test/unit/spec/meeting/index.js +518 -34
  141. package/test/unit/spec/meeting/locusMediaRequest.ts +0 -30
  142. package/test/unit/spec/meeting/muteState.js +0 -2
  143. package/test/unit/spec/meeting/request.js +32 -1
  144. package/test/unit/spec/meeting/utils.js +119 -18
  145. package/test/unit/spec/meeting-info/meetinginfov2.js +443 -114
  146. package/test/unit/spec/meetings/index.js +120 -2
  147. package/test/unit/spec/member/index.js +7 -0
  148. package/test/unit/spec/member/util.js +24 -0
  149. package/test/unit/spec/members/index.js +103 -26
  150. package/test/unit/spec/members/request.js +45 -22
  151. package/test/unit/spec/members/utils.js +33 -0
  152. package/test/unit/spec/reachability/clusterReachability.ts +88 -56
  153. package/test/unit/spec/reachability/index.ts +101 -0
  154. package/test/unit/spec/reachability/request.js +47 -2
  155. package/test/unit/spec/reconnection-manager/index.js +4 -4
  156. package/test/unit/spec/roap/turnDiscovery.ts +110 -28
@@ -15,6 +15,8 @@ exports.default = void 0;
15
15
  var _regenerator = _interopRequireDefault(require("@babel/runtime-corejs2/regenerator"));
16
16
  var _stringify = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/json/stringify"));
17
17
  var _values = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/values"));
18
+ var _from = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/array/from"));
19
+ var _set = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/set"));
18
20
  var _entries = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/entries"));
19
21
  var _keys = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/keys"));
20
22
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/toConsumableArray"));
@@ -33,6 +35,7 @@ var _loggerProxy = _interopRequireDefault(require("../common/logs/logger-proxy")
33
35
  var _util = _interopRequireDefault(require("../meeting/util"));
34
36
  var _constants = require("../constants");
35
37
  var _request = _interopRequireDefault(require("./request"));
38
+ var _reachability = require("./reachability.types");
36
39
  var _clusterReachability = require("./clusterReachability");
37
40
  var _eventsScope = _interopRequireDefault(require("../common/events/events-scope"));
38
41
  var _constants2 = _interopRequireDefault(require("../metrics/constants"));
@@ -96,6 +99,7 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
96
99
  });
97
100
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "startTime", undefined);
98
101
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "totalDuration", undefined);
102
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "natType", _reachability.NatType.Unknown);
99
103
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "lastTrigger", void 0);
100
104
  _this.webex = webex;
101
105
 
@@ -174,6 +178,45 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
174
178
  }
175
179
  return getClusters;
176
180
  }()
181
+ /**
182
+ * Checks if the given subnet is reachable
183
+ * @param {string} mediaServerIp - media server ip
184
+ * @returns {boolean | null} true if reachable, false if not reachable, null if mediaServerIp is not provided
185
+ * @public
186
+ * @memberof Reachability
187
+ */
188
+ )
189
+ }, {
190
+ key: "isSubnetReachable",
191
+ value: function isSubnetReachable(mediaServerIp) {
192
+ if (!mediaServerIp) {
193
+ _loggerProxy.default.logger.error("Reachability:index#isSubnetReachable --> mediaServerIp is null");
194
+ return null;
195
+ }
196
+ var subnetFirstOctet = mediaServerIp.split('.')[0];
197
+ _loggerProxy.default.logger.info("Reachability:index#isSubnetReachable --> Looking for subnet: ".concat(subnetFirstOctet, ".X.X.X"));
198
+ var matchingReachedClusters = (0, _values.default)(this.clusterReachability).reduce(function (acc, cluster) {
199
+ var reachedSubnetsArray = (0, _from.default)(cluster.reachedSubnets);
200
+ var logMessage = "Reachability:index#isSubnetReachable --> Cluster ".concat(cluster.name, " reached [");
201
+ for (var i = 0; i < reachedSubnetsArray.length; i += 1) {
202
+ var subnet = reachedSubnetsArray[i];
203
+ var reachedSubnetFirstOctet = subnet.split('.')[0];
204
+ if (subnetFirstOctet === reachedSubnetFirstOctet) {
205
+ acc.add(cluster.name);
206
+ }
207
+ logMessage += "".concat(subnet);
208
+ if (i < reachedSubnetsArray.length - 1) {
209
+ logMessage += ',';
210
+ }
211
+ }
212
+ logMessage += "]";
213
+ _loggerProxy.default.logger.info(logMessage);
214
+ return acc;
215
+ }, new _set.default());
216
+ _loggerProxy.default.logger.info("Reachability:index#isSubnetReachable --> Found ".concat(matchingReachedClusters.size, " clusters that use the subnet ").concat(subnetFirstOctet, ".X.X.X"));
217
+ return matchingReachedClusters.size > 0;
218
+ }
219
+
177
220
  /**
178
221
  * Gets a list of media clusters from the backend and performs reachability checks on all the clusters
179
222
  * @param {string} trigger - explains the reason for starting reachability
@@ -181,7 +224,6 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
181
224
  * @public
182
225
  * @memberof Reachability
183
226
  */
184
- )
185
227
  }, {
186
228
  key: "gatherReachability",
187
229
  value: (function () {
@@ -190,35 +232,41 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
190
232
  return _regenerator.default.wrap(function _callee2$(_context2) {
191
233
  while (1) switch (_context2.prev = _context2.next) {
192
234
  case 0:
193
- _context2.prev = 0;
235
+ if (this.webex.config.meetings.enableReachabilityChecks) {
236
+ _context2.next = 2;
237
+ break;
238
+ }
239
+ throw new Error('enableReachabilityChecks is disabled in config');
240
+ case 2:
241
+ _context2.prev = 2;
194
242
  this.lastTrigger = trigger;
195
243
 
196
244
  // kick off ip version detection. We don't await it, as we don't want to waste time
197
245
  // and if it fails, that's ok we can still carry on
198
246
  // @ts-ignore
199
247
  this.webex.internal.device.ipNetworkDetector.detect(true);
200
- _context2.next = 5;
248
+ _context2.next = 7;
201
249
  return this.getClusters('startup');
202
- case 5:
250
+ case 7:
203
251
  _yield$this$getCluste = _context2.sent;
204
252
  clusters = _yield$this$getCluste.clusters;
205
253
  this.reachabilityDefer = new _common.Defer();
206
254
 
207
255
  // Perform Reachability Check
208
- _context2.next = 10;
256
+ _context2.next = 12;
209
257
  return this.performReachabilityChecks(clusters);
210
- case 10:
258
+ case 12:
211
259
  return _context2.abrupt("return", this.reachabilityDefer.promise);
212
- case 13:
213
- _context2.prev = 13;
214
- _context2.t0 = _context2["catch"](0);
260
+ case 15:
261
+ _context2.prev = 15;
262
+ _context2.t0 = _context2["catch"](2);
215
263
  _loggerProxy.default.logger.error("Reachability:index#gatherReachability --> Error:", _context2.t0);
216
264
  return _context2.abrupt("return", {});
217
- case 17:
265
+ case 19:
218
266
  case "end":
219
267
  return _context2.stop();
220
268
  }
221
- }, _callee2, this, [[0, 13]]);
269
+ }, _callee2, this, [[2, 15]]);
222
270
  }));
223
271
  function gatherReachability(_x3) {
224
272
  return _gatherReachability.apply(this, arguments);
@@ -388,7 +436,7 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
388
436
  function: 'stopReachability'
389
437
  }, 'reachability:stopped', {});
390
438
  this.sendMetric(true);
391
- this.resolveReachabilityPromise();
439
+ this.resolveReachabilityPromise(false);
392
440
  }
393
441
  }
394
442
 
@@ -418,7 +466,8 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
418
466
  reachability_vmn_tcp_success: 0,
419
467
  reachability_vmn_tcp_failed: 0,
420
468
  reachability_vmn_xtls_success: 0,
421
- reachability_vmn_xtls_failed: 0
469
+ reachability_vmn_xtls_failed: 0,
470
+ natType: this.natType
422
471
  };
423
472
  updateStats = function updateStats(clusterType, result) {
424
473
  if (result.udp && result.udp.result !== 'untested') {
@@ -1020,11 +1069,11 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
1020
1069
  }, {
1021
1070
  key: "performReachabilityChecks",
1022
1071
  value: (function () {
1023
- var _performReachabilityChecks = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14(clusterList) {
1072
+ var _performReachabilityChecks = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15(clusterList) {
1024
1073
  var _this4 = this;
1025
1074
  var results, isFirstResult;
1026
- return _regenerator.default.wrap(function _callee14$(_context14) {
1027
- while (1) switch (_context14.prev = _context14.next) {
1075
+ return _regenerator.default.wrap(function _callee15$(_context15) {
1076
+ while (1) switch (_context15.prev = _context15.next) {
1028
1077
  case 0:
1029
1078
  results = {};
1030
1079
  this.clusterReachability = {};
@@ -1082,11 +1131,11 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
1082
1131
  tcp: true,
1083
1132
  xtls: true
1084
1133
  }; // save the initialized results (in case we don't get any "resultReady" events at all)
1085
- _context14.next = 9;
1134
+ _context15.next = 9;
1086
1135
  return this.storeResults(results);
1087
1136
  case 9:
1088
1137
  if (!(!clusterList || !(0, _keys.default)(clusterList).length)) {
1089
- _context14.next = 13;
1138
+ _context15.next = 13;
1090
1139
  break;
1091
1140
  }
1092
1141
  // nothing to do, finish immediately
@@ -1095,7 +1144,7 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
1095
1144
  file: 'reachability',
1096
1145
  function: 'performReachabilityChecks'
1097
1146
  }, 'reachability:done', {});
1098
- return _context14.abrupt("return");
1147
+ return _context15.abrupt("return");
1099
1148
  case 13:
1100
1149
  this.startTimers();
1101
1150
 
@@ -1167,13 +1216,29 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
1167
1216
  return _ref7.apply(this, arguments);
1168
1217
  };
1169
1218
  }());
1219
+ _this4.clusterReachability[key].on(_clusterReachability.Events.natTypeUpdated, /*#__PURE__*/function () {
1220
+ var _ref8 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14(data) {
1221
+ return _regenerator.default.wrap(function _callee14$(_context14) {
1222
+ while (1) switch (_context14.prev = _context14.next) {
1223
+ case 0:
1224
+ _this4.natType = data.natType;
1225
+ case 1:
1226
+ case "end":
1227
+ return _context14.stop();
1228
+ }
1229
+ }, _callee14);
1230
+ }));
1231
+ return function (_x8) {
1232
+ return _ref8.apply(this, arguments);
1233
+ };
1234
+ }());
1170
1235
  _this4.clusterReachability[key].start(); // not awaiting on purpose
1171
1236
  });
1172
1237
  case 15:
1173
1238
  case "end":
1174
- return _context14.stop();
1239
+ return _context15.stop();
1175
1240
  }
1176
- }, _callee14, this);
1241
+ }, _callee15, this);
1177
1242
  }));
1178
1243
  function performReachabilityChecks(_x5) {
1179
1244
  return _performReachabilityChecks.apply(this, arguments);
@@ -1192,42 +1257,42 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
1192
1257
  }, {
1193
1258
  key: "getClientMediaPreferences",
1194
1259
  value: (function () {
1195
- var _getClientMediaPreferences = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15(isMultistream, ipver) {
1260
+ var _getClientMediaPreferences = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16(isMultistream, ipver) {
1196
1261
  var reachabilityReport;
1197
- return _regenerator.default.wrap(function _callee15$(_context15) {
1198
- while (1) switch (_context15.prev = _context15.next) {
1262
+ return _regenerator.default.wrap(function _callee16$(_context16) {
1263
+ while (1) switch (_context16.prev = _context16.next) {
1199
1264
  case 0:
1200
1265
  if (this.orpheusApiVersion) {
1201
- _context15.next = 7;
1266
+ _context16.next = 7;
1202
1267
  break;
1203
1268
  }
1204
- _context15.t0 = ipver;
1205
- _context15.next = 4;
1269
+ _context16.t0 = ipver;
1270
+ _context16.next = 4;
1206
1271
  return this.getJoinCookie();
1207
1272
  case 4:
1208
- _context15.t1 = _context15.sent;
1209
- _context15.t2 = !isMultistream;
1210
- return _context15.abrupt("return", {
1211
- ipver: _context15.t0,
1212
- joinCookie: _context15.t1,
1213
- preferTranscoding: _context15.t2
1273
+ _context16.t1 = _context16.sent;
1274
+ _context16.t2 = !isMultistream;
1275
+ return _context16.abrupt("return", {
1276
+ ipver: _context16.t0,
1277
+ joinCookie: _context16.t1,
1278
+ preferTranscoding: _context16.t2
1214
1279
  });
1215
1280
  case 7:
1216
- _context15.next = 9;
1281
+ _context16.next = 9;
1217
1282
  return this.getReachabilityReport();
1218
1283
  case 9:
1219
- reachabilityReport = _context15.sent;
1220
- return _context15.abrupt("return", _objectSpread({
1284
+ reachabilityReport = _context16.sent;
1285
+ return _context16.abrupt("return", _objectSpread({
1221
1286
  ipver: ipver,
1222
1287
  preferTranscoding: !isMultistream
1223
1288
  }, reachabilityReport));
1224
1289
  case 11:
1225
1290
  case "end":
1226
- return _context15.stop();
1291
+ return _context16.stop();
1227
1292
  }
1228
- }, _callee15, this);
1293
+ }, _callee16, this);
1229
1294
  }));
1230
- function getClientMediaPreferences(_x8, _x9) {
1295
+ function getClientMediaPreferences(_x9, _x10) {
1231
1296
  return _getClientMediaPreferences.apply(this, arguments);
1232
1297
  }
1233
1298
  return getClientMediaPreferences;
@@ -1243,22 +1308,22 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
1243
1308
  }, {
1244
1309
  key: "getReachabilityReportToAttachToRoap",
1245
1310
  value: (function () {
1246
- var _getReachabilityReportToAttachToRoap = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16() {
1247
- return _regenerator.default.wrap(function _callee16$(_context16) {
1248
- while (1) switch (_context16.prev = _context16.next) {
1311
+ var _getReachabilityReportToAttachToRoap = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17() {
1312
+ return _regenerator.default.wrap(function _callee17$(_context17) {
1313
+ while (1) switch (_context17.prev = _context17.next) {
1249
1314
  case 0:
1250
1315
  if (this.orpheusApiVersion) {
1251
- _context16.next = 2;
1316
+ _context17.next = 2;
1252
1317
  break;
1253
1318
  }
1254
- return _context16.abrupt("return", this.getReachabilityResults());
1319
+ return _context17.abrupt("return", this.getReachabilityResults());
1255
1320
  case 2:
1256
- return _context16.abrupt("return", undefined);
1321
+ return _context17.abrupt("return", undefined);
1257
1322
  case 3:
1258
1323
  case "end":
1259
- return _context16.stop();
1324
+ return _context17.stop();
1260
1325
  }
1261
- }, _callee16, this);
1326
+ }, _callee17, this);
1262
1327
  }));
1263
1328
  function getReachabilityReportToAttachToRoap() {
1264
1329
  return _getReachabilityReportToAttachToRoap.apply(this, arguments);