@aws-sdk/client-device-farm 3.53.0 → 3.55.0
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/CHANGELOG.md +24 -0
- package/dist-cjs/DeviceFarmClient.js +13 -13
- package/dist-cjs/commands/CreateDevicePoolCommand.js +3 -3
- package/dist-cjs/commands/CreateInstanceProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateNetworkProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateProjectCommand.js +3 -3
- package/dist-cjs/commands/CreateRemoteAccessSessionCommand.js +3 -3
- package/dist-cjs/commands/CreateTestGridProjectCommand.js +3 -3
- package/dist-cjs/commands/CreateTestGridUrlCommand.js +3 -3
- package/dist-cjs/commands/CreateUploadCommand.js +3 -3
- package/dist-cjs/commands/CreateVPCEConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteDevicePoolCommand.js +3 -3
- package/dist-cjs/commands/DeleteInstanceProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteNetworkProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteProjectCommand.js +3 -3
- package/dist-cjs/commands/DeleteRemoteAccessSessionCommand.js +3 -3
- package/dist-cjs/commands/DeleteRunCommand.js +3 -3
- package/dist-cjs/commands/DeleteTestGridProjectCommand.js +3 -3
- package/dist-cjs/commands/DeleteUploadCommand.js +3 -3
- package/dist-cjs/commands/DeleteVPCEConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetAccountSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetDeviceCommand.js +3 -3
- package/dist-cjs/commands/GetDeviceInstanceCommand.js +3 -3
- package/dist-cjs/commands/GetDevicePoolCommand.js +3 -3
- package/dist-cjs/commands/GetDevicePoolCompatibilityCommand.js +3 -3
- package/dist-cjs/commands/GetInstanceProfileCommand.js +3 -3
- package/dist-cjs/commands/GetJobCommand.js +3 -3
- package/dist-cjs/commands/GetNetworkProfileCommand.js +3 -3
- package/dist-cjs/commands/GetOfferingStatusCommand.js +3 -3
- package/dist-cjs/commands/GetProjectCommand.js +3 -3
- package/dist-cjs/commands/GetRemoteAccessSessionCommand.js +3 -3
- package/dist-cjs/commands/GetRunCommand.js +3 -3
- package/dist-cjs/commands/GetSuiteCommand.js +3 -3
- package/dist-cjs/commands/GetTestCommand.js +3 -3
- package/dist-cjs/commands/GetTestGridProjectCommand.js +3 -3
- package/dist-cjs/commands/GetTestGridSessionCommand.js +3 -3
- package/dist-cjs/commands/GetUploadCommand.js +3 -3
- package/dist-cjs/commands/GetVPCEConfigurationCommand.js +3 -3
- package/dist-cjs/commands/InstallToRemoteAccessSessionCommand.js +3 -3
- package/dist-cjs/commands/ListArtifactsCommand.js +3 -3
- package/dist-cjs/commands/ListDeviceInstancesCommand.js +3 -3
- package/dist-cjs/commands/ListDevicePoolsCommand.js +3 -3
- package/dist-cjs/commands/ListDevicesCommand.js +3 -3
- package/dist-cjs/commands/ListInstanceProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListJobsCommand.js +3 -3
- package/dist-cjs/commands/ListNetworkProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListOfferingPromotionsCommand.js +3 -3
- package/dist-cjs/commands/ListOfferingTransactionsCommand.js +3 -3
- package/dist-cjs/commands/ListOfferingsCommand.js +3 -3
- package/dist-cjs/commands/ListProjectsCommand.js +3 -3
- package/dist-cjs/commands/ListRemoteAccessSessionsCommand.js +3 -3
- package/dist-cjs/commands/ListRunsCommand.js +3 -3
- package/dist-cjs/commands/ListSamplesCommand.js +3 -3
- package/dist-cjs/commands/ListSuitesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTestGridProjectsCommand.js +3 -3
- package/dist-cjs/commands/ListTestGridSessionActionsCommand.js +3 -3
- package/dist-cjs/commands/ListTestGridSessionArtifactsCommand.js +3 -3
- package/dist-cjs/commands/ListTestGridSessionsCommand.js +3 -3
- package/dist-cjs/commands/ListTestsCommand.js +3 -3
- package/dist-cjs/commands/ListUniqueProblemsCommand.js +3 -3
- package/dist-cjs/commands/ListUploadsCommand.js +3 -3
- package/dist-cjs/commands/ListVPCEConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/PurchaseOfferingCommand.js +3 -3
- package/dist-cjs/commands/RenewOfferingCommand.js +3 -3
- package/dist-cjs/commands/ScheduleRunCommand.js +3 -3
- package/dist-cjs/commands/StopJobCommand.js +3 -3
- package/dist-cjs/commands/StopRemoteAccessSessionCommand.js +3 -3
- package/dist-cjs/commands/StopRunCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDeviceInstanceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDevicePoolCommand.js +3 -3
- package/dist-cjs/commands/UpdateInstanceProfileCommand.js +3 -3
- package/dist-cjs/commands/UpdateNetworkProfileCommand.js +3 -3
- package/dist-cjs/commands/UpdateProjectCommand.js +3 -3
- package/dist-cjs/commands/UpdateTestGridProjectCommand.js +3 -3
- package/dist-cjs/commands/UpdateUploadCommand.js +3 -3
- package/dist-cjs/commands/UpdateVPCEConfigurationCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +364 -364
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/DeviceFarm.js +77 -77
- package/dist-es/pagination/GetOfferingStatusPaginator.js +4 -4
- package/dist-es/pagination/ListArtifactsPaginator.js +4 -4
- package/dist-es/pagination/ListDevicePoolsPaginator.js +4 -4
- package/dist-es/pagination/ListDevicesPaginator.js +4 -4
- package/dist-es/pagination/ListJobsPaginator.js +4 -4
- package/dist-es/pagination/ListOfferingTransactionsPaginator.js +4 -4
- package/dist-es/pagination/ListOfferingsPaginator.js +4 -4
- package/dist-es/pagination/ListProjectsPaginator.js +4 -4
- package/dist-es/pagination/ListRunsPaginator.js +4 -4
- package/dist-es/pagination/ListSamplesPaginator.js +4 -4
- package/dist-es/pagination/ListSuitesPaginator.js +4 -4
- package/dist-es/pagination/ListTestGridProjectsPaginator.js +4 -4
- package/dist-es/pagination/ListTestGridSessionActionsPaginator.js +4 -4
- package/dist-es/pagination/ListTestGridSessionArtifactsPaginator.js +4 -4
- package/dist-es/pagination/ListTestGridSessionsPaginator.js +4 -4
- package/dist-es/pagination/ListTestsPaginator.js +4 -4
- package/dist-es/pagination/ListUniqueProblemsPaginator.js +4 -4
- package/dist-es/pagination/ListUploadsPaginator.js +4 -4
- package/dist-types/DeviceFarmClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/DeviceFarmClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
package/dist-es/DeviceFarm.js
CHANGED
|
@@ -89,7 +89,7 @@ var DeviceFarm = (function (_super) {
|
|
|
89
89
|
}
|
|
90
90
|
else if (typeof cb === "function") {
|
|
91
91
|
if (typeof optionsOrCb !== "object")
|
|
92
|
-
throw new Error("Expect http options but get "
|
|
92
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
93
93
|
this.send(command, optionsOrCb || {}, cb);
|
|
94
94
|
}
|
|
95
95
|
else {
|
|
@@ -103,7 +103,7 @@ var DeviceFarm = (function (_super) {
|
|
|
103
103
|
}
|
|
104
104
|
else if (typeof cb === "function") {
|
|
105
105
|
if (typeof optionsOrCb !== "object")
|
|
106
|
-
throw new Error("Expect http options but get "
|
|
106
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
107
107
|
this.send(command, optionsOrCb || {}, cb);
|
|
108
108
|
}
|
|
109
109
|
else {
|
|
@@ -117,7 +117,7 @@ var DeviceFarm = (function (_super) {
|
|
|
117
117
|
}
|
|
118
118
|
else if (typeof cb === "function") {
|
|
119
119
|
if (typeof optionsOrCb !== "object")
|
|
120
|
-
throw new Error("Expect http options but get "
|
|
120
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
121
121
|
this.send(command, optionsOrCb || {}, cb);
|
|
122
122
|
}
|
|
123
123
|
else {
|
|
@@ -131,7 +131,7 @@ var DeviceFarm = (function (_super) {
|
|
|
131
131
|
}
|
|
132
132
|
else if (typeof cb === "function") {
|
|
133
133
|
if (typeof optionsOrCb !== "object")
|
|
134
|
-
throw new Error("Expect http options but get "
|
|
134
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
135
135
|
this.send(command, optionsOrCb || {}, cb);
|
|
136
136
|
}
|
|
137
137
|
else {
|
|
@@ -145,7 +145,7 @@ var DeviceFarm = (function (_super) {
|
|
|
145
145
|
}
|
|
146
146
|
else if (typeof cb === "function") {
|
|
147
147
|
if (typeof optionsOrCb !== "object")
|
|
148
|
-
throw new Error("Expect http options but get "
|
|
148
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
149
149
|
this.send(command, optionsOrCb || {}, cb);
|
|
150
150
|
}
|
|
151
151
|
else {
|
|
@@ -159,7 +159,7 @@ var DeviceFarm = (function (_super) {
|
|
|
159
159
|
}
|
|
160
160
|
else if (typeof cb === "function") {
|
|
161
161
|
if (typeof optionsOrCb !== "object")
|
|
162
|
-
throw new Error("Expect http options but get "
|
|
162
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
163
163
|
this.send(command, optionsOrCb || {}, cb);
|
|
164
164
|
}
|
|
165
165
|
else {
|
|
@@ -173,7 +173,7 @@ var DeviceFarm = (function (_super) {
|
|
|
173
173
|
}
|
|
174
174
|
else if (typeof cb === "function") {
|
|
175
175
|
if (typeof optionsOrCb !== "object")
|
|
176
|
-
throw new Error("Expect http options but get "
|
|
176
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
177
177
|
this.send(command, optionsOrCb || {}, cb);
|
|
178
178
|
}
|
|
179
179
|
else {
|
|
@@ -187,7 +187,7 @@ var DeviceFarm = (function (_super) {
|
|
|
187
187
|
}
|
|
188
188
|
else if (typeof cb === "function") {
|
|
189
189
|
if (typeof optionsOrCb !== "object")
|
|
190
|
-
throw new Error("Expect http options but get "
|
|
190
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
191
191
|
this.send(command, optionsOrCb || {}, cb);
|
|
192
192
|
}
|
|
193
193
|
else {
|
|
@@ -201,7 +201,7 @@ var DeviceFarm = (function (_super) {
|
|
|
201
201
|
}
|
|
202
202
|
else if (typeof cb === "function") {
|
|
203
203
|
if (typeof optionsOrCb !== "object")
|
|
204
|
-
throw new Error("Expect http options but get "
|
|
204
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
205
205
|
this.send(command, optionsOrCb || {}, cb);
|
|
206
206
|
}
|
|
207
207
|
else {
|
|
@@ -215,7 +215,7 @@ var DeviceFarm = (function (_super) {
|
|
|
215
215
|
}
|
|
216
216
|
else if (typeof cb === "function") {
|
|
217
217
|
if (typeof optionsOrCb !== "object")
|
|
218
|
-
throw new Error("Expect http options but get "
|
|
218
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
219
219
|
this.send(command, optionsOrCb || {}, cb);
|
|
220
220
|
}
|
|
221
221
|
else {
|
|
@@ -229,7 +229,7 @@ var DeviceFarm = (function (_super) {
|
|
|
229
229
|
}
|
|
230
230
|
else if (typeof cb === "function") {
|
|
231
231
|
if (typeof optionsOrCb !== "object")
|
|
232
|
-
throw new Error("Expect http options but get "
|
|
232
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
233
233
|
this.send(command, optionsOrCb || {}, cb);
|
|
234
234
|
}
|
|
235
235
|
else {
|
|
@@ -243,7 +243,7 @@ var DeviceFarm = (function (_super) {
|
|
|
243
243
|
}
|
|
244
244
|
else if (typeof cb === "function") {
|
|
245
245
|
if (typeof optionsOrCb !== "object")
|
|
246
|
-
throw new Error("Expect http options but get "
|
|
246
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
247
247
|
this.send(command, optionsOrCb || {}, cb);
|
|
248
248
|
}
|
|
249
249
|
else {
|
|
@@ -257,7 +257,7 @@ var DeviceFarm = (function (_super) {
|
|
|
257
257
|
}
|
|
258
258
|
else if (typeof cb === "function") {
|
|
259
259
|
if (typeof optionsOrCb !== "object")
|
|
260
|
-
throw new Error("Expect http options but get "
|
|
260
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
261
261
|
this.send(command, optionsOrCb || {}, cb);
|
|
262
262
|
}
|
|
263
263
|
else {
|
|
@@ -271,7 +271,7 @@ var DeviceFarm = (function (_super) {
|
|
|
271
271
|
}
|
|
272
272
|
else if (typeof cb === "function") {
|
|
273
273
|
if (typeof optionsOrCb !== "object")
|
|
274
|
-
throw new Error("Expect http options but get "
|
|
274
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
275
275
|
this.send(command, optionsOrCb || {}, cb);
|
|
276
276
|
}
|
|
277
277
|
else {
|
|
@@ -285,7 +285,7 @@ var DeviceFarm = (function (_super) {
|
|
|
285
285
|
}
|
|
286
286
|
else if (typeof cb === "function") {
|
|
287
287
|
if (typeof optionsOrCb !== "object")
|
|
288
|
-
throw new Error("Expect http options but get "
|
|
288
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
289
289
|
this.send(command, optionsOrCb || {}, cb);
|
|
290
290
|
}
|
|
291
291
|
else {
|
|
@@ -299,7 +299,7 @@ var DeviceFarm = (function (_super) {
|
|
|
299
299
|
}
|
|
300
300
|
else if (typeof cb === "function") {
|
|
301
301
|
if (typeof optionsOrCb !== "object")
|
|
302
|
-
throw new Error("Expect http options but get "
|
|
302
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
303
303
|
this.send(command, optionsOrCb || {}, cb);
|
|
304
304
|
}
|
|
305
305
|
else {
|
|
@@ -313,7 +313,7 @@ var DeviceFarm = (function (_super) {
|
|
|
313
313
|
}
|
|
314
314
|
else if (typeof cb === "function") {
|
|
315
315
|
if (typeof optionsOrCb !== "object")
|
|
316
|
-
throw new Error("Expect http options but get "
|
|
316
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
317
317
|
this.send(command, optionsOrCb || {}, cb);
|
|
318
318
|
}
|
|
319
319
|
else {
|
|
@@ -327,7 +327,7 @@ var DeviceFarm = (function (_super) {
|
|
|
327
327
|
}
|
|
328
328
|
else if (typeof cb === "function") {
|
|
329
329
|
if (typeof optionsOrCb !== "object")
|
|
330
|
-
throw new Error("Expect http options but get "
|
|
330
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
331
331
|
this.send(command, optionsOrCb || {}, cb);
|
|
332
332
|
}
|
|
333
333
|
else {
|
|
@@ -341,7 +341,7 @@ var DeviceFarm = (function (_super) {
|
|
|
341
341
|
}
|
|
342
342
|
else if (typeof cb === "function") {
|
|
343
343
|
if (typeof optionsOrCb !== "object")
|
|
344
|
-
throw new Error("Expect http options but get "
|
|
344
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
345
345
|
this.send(command, optionsOrCb || {}, cb);
|
|
346
346
|
}
|
|
347
347
|
else {
|
|
@@ -355,7 +355,7 @@ var DeviceFarm = (function (_super) {
|
|
|
355
355
|
}
|
|
356
356
|
else if (typeof cb === "function") {
|
|
357
357
|
if (typeof optionsOrCb !== "object")
|
|
358
|
-
throw new Error("Expect http options but get "
|
|
358
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
359
359
|
this.send(command, optionsOrCb || {}, cb);
|
|
360
360
|
}
|
|
361
361
|
else {
|
|
@@ -369,7 +369,7 @@ var DeviceFarm = (function (_super) {
|
|
|
369
369
|
}
|
|
370
370
|
else if (typeof cb === "function") {
|
|
371
371
|
if (typeof optionsOrCb !== "object")
|
|
372
|
-
throw new Error("Expect http options but get "
|
|
372
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
373
373
|
this.send(command, optionsOrCb || {}, cb);
|
|
374
374
|
}
|
|
375
375
|
else {
|
|
@@ -383,7 +383,7 @@ var DeviceFarm = (function (_super) {
|
|
|
383
383
|
}
|
|
384
384
|
else if (typeof cb === "function") {
|
|
385
385
|
if (typeof optionsOrCb !== "object")
|
|
386
|
-
throw new Error("Expect http options but get "
|
|
386
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
387
387
|
this.send(command, optionsOrCb || {}, cb);
|
|
388
388
|
}
|
|
389
389
|
else {
|
|
@@ -397,7 +397,7 @@ var DeviceFarm = (function (_super) {
|
|
|
397
397
|
}
|
|
398
398
|
else if (typeof cb === "function") {
|
|
399
399
|
if (typeof optionsOrCb !== "object")
|
|
400
|
-
throw new Error("Expect http options but get "
|
|
400
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
401
401
|
this.send(command, optionsOrCb || {}, cb);
|
|
402
402
|
}
|
|
403
403
|
else {
|
|
@@ -411,7 +411,7 @@ var DeviceFarm = (function (_super) {
|
|
|
411
411
|
}
|
|
412
412
|
else if (typeof cb === "function") {
|
|
413
413
|
if (typeof optionsOrCb !== "object")
|
|
414
|
-
throw new Error("Expect http options but get "
|
|
414
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
415
415
|
this.send(command, optionsOrCb || {}, cb);
|
|
416
416
|
}
|
|
417
417
|
else {
|
|
@@ -425,7 +425,7 @@ var DeviceFarm = (function (_super) {
|
|
|
425
425
|
}
|
|
426
426
|
else if (typeof cb === "function") {
|
|
427
427
|
if (typeof optionsOrCb !== "object")
|
|
428
|
-
throw new Error("Expect http options but get "
|
|
428
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
429
429
|
this.send(command, optionsOrCb || {}, cb);
|
|
430
430
|
}
|
|
431
431
|
else {
|
|
@@ -439,7 +439,7 @@ var DeviceFarm = (function (_super) {
|
|
|
439
439
|
}
|
|
440
440
|
else if (typeof cb === "function") {
|
|
441
441
|
if (typeof optionsOrCb !== "object")
|
|
442
|
-
throw new Error("Expect http options but get "
|
|
442
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
443
443
|
this.send(command, optionsOrCb || {}, cb);
|
|
444
444
|
}
|
|
445
445
|
else {
|
|
@@ -453,7 +453,7 @@ var DeviceFarm = (function (_super) {
|
|
|
453
453
|
}
|
|
454
454
|
else if (typeof cb === "function") {
|
|
455
455
|
if (typeof optionsOrCb !== "object")
|
|
456
|
-
throw new Error("Expect http options but get "
|
|
456
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
457
457
|
this.send(command, optionsOrCb || {}, cb);
|
|
458
458
|
}
|
|
459
459
|
else {
|
|
@@ -467,7 +467,7 @@ var DeviceFarm = (function (_super) {
|
|
|
467
467
|
}
|
|
468
468
|
else if (typeof cb === "function") {
|
|
469
469
|
if (typeof optionsOrCb !== "object")
|
|
470
|
-
throw new Error("Expect http options but get "
|
|
470
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
471
471
|
this.send(command, optionsOrCb || {}, cb);
|
|
472
472
|
}
|
|
473
473
|
else {
|
|
@@ -481,7 +481,7 @@ var DeviceFarm = (function (_super) {
|
|
|
481
481
|
}
|
|
482
482
|
else if (typeof cb === "function") {
|
|
483
483
|
if (typeof optionsOrCb !== "object")
|
|
484
|
-
throw new Error("Expect http options but get "
|
|
484
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
485
485
|
this.send(command, optionsOrCb || {}, cb);
|
|
486
486
|
}
|
|
487
487
|
else {
|
|
@@ -495,7 +495,7 @@ var DeviceFarm = (function (_super) {
|
|
|
495
495
|
}
|
|
496
496
|
else if (typeof cb === "function") {
|
|
497
497
|
if (typeof optionsOrCb !== "object")
|
|
498
|
-
throw new Error("Expect http options but get "
|
|
498
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
499
499
|
this.send(command, optionsOrCb || {}, cb);
|
|
500
500
|
}
|
|
501
501
|
else {
|
|
@@ -509,7 +509,7 @@ var DeviceFarm = (function (_super) {
|
|
|
509
509
|
}
|
|
510
510
|
else if (typeof cb === "function") {
|
|
511
511
|
if (typeof optionsOrCb !== "object")
|
|
512
|
-
throw new Error("Expect http options but get "
|
|
512
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
513
513
|
this.send(command, optionsOrCb || {}, cb);
|
|
514
514
|
}
|
|
515
515
|
else {
|
|
@@ -523,7 +523,7 @@ var DeviceFarm = (function (_super) {
|
|
|
523
523
|
}
|
|
524
524
|
else if (typeof cb === "function") {
|
|
525
525
|
if (typeof optionsOrCb !== "object")
|
|
526
|
-
throw new Error("Expect http options but get "
|
|
526
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
527
527
|
this.send(command, optionsOrCb || {}, cb);
|
|
528
528
|
}
|
|
529
529
|
else {
|
|
@@ -537,7 +537,7 @@ var DeviceFarm = (function (_super) {
|
|
|
537
537
|
}
|
|
538
538
|
else if (typeof cb === "function") {
|
|
539
539
|
if (typeof optionsOrCb !== "object")
|
|
540
|
-
throw new Error("Expect http options but get "
|
|
540
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
541
541
|
this.send(command, optionsOrCb || {}, cb);
|
|
542
542
|
}
|
|
543
543
|
else {
|
|
@@ -551,7 +551,7 @@ var DeviceFarm = (function (_super) {
|
|
|
551
551
|
}
|
|
552
552
|
else if (typeof cb === "function") {
|
|
553
553
|
if (typeof optionsOrCb !== "object")
|
|
554
|
-
throw new Error("Expect http options but get "
|
|
554
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
555
555
|
this.send(command, optionsOrCb || {}, cb);
|
|
556
556
|
}
|
|
557
557
|
else {
|
|
@@ -565,7 +565,7 @@ var DeviceFarm = (function (_super) {
|
|
|
565
565
|
}
|
|
566
566
|
else if (typeof cb === "function") {
|
|
567
567
|
if (typeof optionsOrCb !== "object")
|
|
568
|
-
throw new Error("Expect http options but get "
|
|
568
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
569
569
|
this.send(command, optionsOrCb || {}, cb);
|
|
570
570
|
}
|
|
571
571
|
else {
|
|
@@ -579,7 +579,7 @@ var DeviceFarm = (function (_super) {
|
|
|
579
579
|
}
|
|
580
580
|
else if (typeof cb === "function") {
|
|
581
581
|
if (typeof optionsOrCb !== "object")
|
|
582
|
-
throw new Error("Expect http options but get "
|
|
582
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
583
583
|
this.send(command, optionsOrCb || {}, cb);
|
|
584
584
|
}
|
|
585
585
|
else {
|
|
@@ -593,7 +593,7 @@ var DeviceFarm = (function (_super) {
|
|
|
593
593
|
}
|
|
594
594
|
else if (typeof cb === "function") {
|
|
595
595
|
if (typeof optionsOrCb !== "object")
|
|
596
|
-
throw new Error("Expect http options but get "
|
|
596
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
597
597
|
this.send(command, optionsOrCb || {}, cb);
|
|
598
598
|
}
|
|
599
599
|
else {
|
|
@@ -607,7 +607,7 @@ var DeviceFarm = (function (_super) {
|
|
|
607
607
|
}
|
|
608
608
|
else if (typeof cb === "function") {
|
|
609
609
|
if (typeof optionsOrCb !== "object")
|
|
610
|
-
throw new Error("Expect http options but get "
|
|
610
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
611
611
|
this.send(command, optionsOrCb || {}, cb);
|
|
612
612
|
}
|
|
613
613
|
else {
|
|
@@ -621,7 +621,7 @@ var DeviceFarm = (function (_super) {
|
|
|
621
621
|
}
|
|
622
622
|
else if (typeof cb === "function") {
|
|
623
623
|
if (typeof optionsOrCb !== "object")
|
|
624
|
-
throw new Error("Expect http options but get "
|
|
624
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
625
625
|
this.send(command, optionsOrCb || {}, cb);
|
|
626
626
|
}
|
|
627
627
|
else {
|
|
@@ -635,7 +635,7 @@ var DeviceFarm = (function (_super) {
|
|
|
635
635
|
}
|
|
636
636
|
else if (typeof cb === "function") {
|
|
637
637
|
if (typeof optionsOrCb !== "object")
|
|
638
|
-
throw new Error("Expect http options but get "
|
|
638
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
639
639
|
this.send(command, optionsOrCb || {}, cb);
|
|
640
640
|
}
|
|
641
641
|
else {
|
|
@@ -649,7 +649,7 @@ var DeviceFarm = (function (_super) {
|
|
|
649
649
|
}
|
|
650
650
|
else if (typeof cb === "function") {
|
|
651
651
|
if (typeof optionsOrCb !== "object")
|
|
652
|
-
throw new Error("Expect http options but get "
|
|
652
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
653
653
|
this.send(command, optionsOrCb || {}, cb);
|
|
654
654
|
}
|
|
655
655
|
else {
|
|
@@ -663,7 +663,7 @@ var DeviceFarm = (function (_super) {
|
|
|
663
663
|
}
|
|
664
664
|
else if (typeof cb === "function") {
|
|
665
665
|
if (typeof optionsOrCb !== "object")
|
|
666
|
-
throw new Error("Expect http options but get "
|
|
666
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
667
667
|
this.send(command, optionsOrCb || {}, cb);
|
|
668
668
|
}
|
|
669
669
|
else {
|
|
@@ -677,7 +677,7 @@ var DeviceFarm = (function (_super) {
|
|
|
677
677
|
}
|
|
678
678
|
else if (typeof cb === "function") {
|
|
679
679
|
if (typeof optionsOrCb !== "object")
|
|
680
|
-
throw new Error("Expect http options but get "
|
|
680
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
681
681
|
this.send(command, optionsOrCb || {}, cb);
|
|
682
682
|
}
|
|
683
683
|
else {
|
|
@@ -691,7 +691,7 @@ var DeviceFarm = (function (_super) {
|
|
|
691
691
|
}
|
|
692
692
|
else if (typeof cb === "function") {
|
|
693
693
|
if (typeof optionsOrCb !== "object")
|
|
694
|
-
throw new Error("Expect http options but get "
|
|
694
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
695
695
|
this.send(command, optionsOrCb || {}, cb);
|
|
696
696
|
}
|
|
697
697
|
else {
|
|
@@ -705,7 +705,7 @@ var DeviceFarm = (function (_super) {
|
|
|
705
705
|
}
|
|
706
706
|
else if (typeof cb === "function") {
|
|
707
707
|
if (typeof optionsOrCb !== "object")
|
|
708
|
-
throw new Error("Expect http options but get "
|
|
708
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
709
709
|
this.send(command, optionsOrCb || {}, cb);
|
|
710
710
|
}
|
|
711
711
|
else {
|
|
@@ -719,7 +719,7 @@ var DeviceFarm = (function (_super) {
|
|
|
719
719
|
}
|
|
720
720
|
else if (typeof cb === "function") {
|
|
721
721
|
if (typeof optionsOrCb !== "object")
|
|
722
|
-
throw new Error("Expect http options but get "
|
|
722
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
723
723
|
this.send(command, optionsOrCb || {}, cb);
|
|
724
724
|
}
|
|
725
725
|
else {
|
|
@@ -733,7 +733,7 @@ var DeviceFarm = (function (_super) {
|
|
|
733
733
|
}
|
|
734
734
|
else if (typeof cb === "function") {
|
|
735
735
|
if (typeof optionsOrCb !== "object")
|
|
736
|
-
throw new Error("Expect http options but get "
|
|
736
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
737
737
|
this.send(command, optionsOrCb || {}, cb);
|
|
738
738
|
}
|
|
739
739
|
else {
|
|
@@ -747,7 +747,7 @@ var DeviceFarm = (function (_super) {
|
|
|
747
747
|
}
|
|
748
748
|
else if (typeof cb === "function") {
|
|
749
749
|
if (typeof optionsOrCb !== "object")
|
|
750
|
-
throw new Error("Expect http options but get "
|
|
750
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
751
751
|
this.send(command, optionsOrCb || {}, cb);
|
|
752
752
|
}
|
|
753
753
|
else {
|
|
@@ -761,7 +761,7 @@ var DeviceFarm = (function (_super) {
|
|
|
761
761
|
}
|
|
762
762
|
else if (typeof cb === "function") {
|
|
763
763
|
if (typeof optionsOrCb !== "object")
|
|
764
|
-
throw new Error("Expect http options but get "
|
|
764
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
765
765
|
this.send(command, optionsOrCb || {}, cb);
|
|
766
766
|
}
|
|
767
767
|
else {
|
|
@@ -775,7 +775,7 @@ var DeviceFarm = (function (_super) {
|
|
|
775
775
|
}
|
|
776
776
|
else if (typeof cb === "function") {
|
|
777
777
|
if (typeof optionsOrCb !== "object")
|
|
778
|
-
throw new Error("Expect http options but get "
|
|
778
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
779
779
|
this.send(command, optionsOrCb || {}, cb);
|
|
780
780
|
}
|
|
781
781
|
else {
|
|
@@ -789,7 +789,7 @@ var DeviceFarm = (function (_super) {
|
|
|
789
789
|
}
|
|
790
790
|
else if (typeof cb === "function") {
|
|
791
791
|
if (typeof optionsOrCb !== "object")
|
|
792
|
-
throw new Error("Expect http options but get "
|
|
792
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
793
793
|
this.send(command, optionsOrCb || {}, cb);
|
|
794
794
|
}
|
|
795
795
|
else {
|
|
@@ -803,7 +803,7 @@ var DeviceFarm = (function (_super) {
|
|
|
803
803
|
}
|
|
804
804
|
else if (typeof cb === "function") {
|
|
805
805
|
if (typeof optionsOrCb !== "object")
|
|
806
|
-
throw new Error("Expect http options but get "
|
|
806
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
807
807
|
this.send(command, optionsOrCb || {}, cb);
|
|
808
808
|
}
|
|
809
809
|
else {
|
|
@@ -817,7 +817,7 @@ var DeviceFarm = (function (_super) {
|
|
|
817
817
|
}
|
|
818
818
|
else if (typeof cb === "function") {
|
|
819
819
|
if (typeof optionsOrCb !== "object")
|
|
820
|
-
throw new Error("Expect http options but get "
|
|
820
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
821
821
|
this.send(command, optionsOrCb || {}, cb);
|
|
822
822
|
}
|
|
823
823
|
else {
|
|
@@ -831,7 +831,7 @@ var DeviceFarm = (function (_super) {
|
|
|
831
831
|
}
|
|
832
832
|
else if (typeof cb === "function") {
|
|
833
833
|
if (typeof optionsOrCb !== "object")
|
|
834
|
-
throw new Error("Expect http options but get "
|
|
834
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
835
835
|
this.send(command, optionsOrCb || {}, cb);
|
|
836
836
|
}
|
|
837
837
|
else {
|
|
@@ -845,7 +845,7 @@ var DeviceFarm = (function (_super) {
|
|
|
845
845
|
}
|
|
846
846
|
else if (typeof cb === "function") {
|
|
847
847
|
if (typeof optionsOrCb !== "object")
|
|
848
|
-
throw new Error("Expect http options but get "
|
|
848
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
849
849
|
this.send(command, optionsOrCb || {}, cb);
|
|
850
850
|
}
|
|
851
851
|
else {
|
|
@@ -859,7 +859,7 @@ var DeviceFarm = (function (_super) {
|
|
|
859
859
|
}
|
|
860
860
|
else if (typeof cb === "function") {
|
|
861
861
|
if (typeof optionsOrCb !== "object")
|
|
862
|
-
throw new Error("Expect http options but get "
|
|
862
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
863
863
|
this.send(command, optionsOrCb || {}, cb);
|
|
864
864
|
}
|
|
865
865
|
else {
|
|
@@ -873,7 +873,7 @@ var DeviceFarm = (function (_super) {
|
|
|
873
873
|
}
|
|
874
874
|
else if (typeof cb === "function") {
|
|
875
875
|
if (typeof optionsOrCb !== "object")
|
|
876
|
-
throw new Error("Expect http options but get "
|
|
876
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
877
877
|
this.send(command, optionsOrCb || {}, cb);
|
|
878
878
|
}
|
|
879
879
|
else {
|
|
@@ -887,7 +887,7 @@ var DeviceFarm = (function (_super) {
|
|
|
887
887
|
}
|
|
888
888
|
else if (typeof cb === "function") {
|
|
889
889
|
if (typeof optionsOrCb !== "object")
|
|
890
|
-
throw new Error("Expect http options but get "
|
|
890
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
891
891
|
this.send(command, optionsOrCb || {}, cb);
|
|
892
892
|
}
|
|
893
893
|
else {
|
|
@@ -901,7 +901,7 @@ var DeviceFarm = (function (_super) {
|
|
|
901
901
|
}
|
|
902
902
|
else if (typeof cb === "function") {
|
|
903
903
|
if (typeof optionsOrCb !== "object")
|
|
904
|
-
throw new Error("Expect http options but get "
|
|
904
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
905
905
|
this.send(command, optionsOrCb || {}, cb);
|
|
906
906
|
}
|
|
907
907
|
else {
|
|
@@ -915,7 +915,7 @@ var DeviceFarm = (function (_super) {
|
|
|
915
915
|
}
|
|
916
916
|
else if (typeof cb === "function") {
|
|
917
917
|
if (typeof optionsOrCb !== "object")
|
|
918
|
-
throw new Error("Expect http options but get "
|
|
918
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
919
919
|
this.send(command, optionsOrCb || {}, cb);
|
|
920
920
|
}
|
|
921
921
|
else {
|
|
@@ -929,7 +929,7 @@ var DeviceFarm = (function (_super) {
|
|
|
929
929
|
}
|
|
930
930
|
else if (typeof cb === "function") {
|
|
931
931
|
if (typeof optionsOrCb !== "object")
|
|
932
|
-
throw new Error("Expect http options but get "
|
|
932
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
933
933
|
this.send(command, optionsOrCb || {}, cb);
|
|
934
934
|
}
|
|
935
935
|
else {
|
|
@@ -943,7 +943,7 @@ var DeviceFarm = (function (_super) {
|
|
|
943
943
|
}
|
|
944
944
|
else if (typeof cb === "function") {
|
|
945
945
|
if (typeof optionsOrCb !== "object")
|
|
946
|
-
throw new Error("Expect http options but get "
|
|
946
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
947
947
|
this.send(command, optionsOrCb || {}, cb);
|
|
948
948
|
}
|
|
949
949
|
else {
|
|
@@ -957,7 +957,7 @@ var DeviceFarm = (function (_super) {
|
|
|
957
957
|
}
|
|
958
958
|
else if (typeof cb === "function") {
|
|
959
959
|
if (typeof optionsOrCb !== "object")
|
|
960
|
-
throw new Error("Expect http options but get "
|
|
960
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
961
961
|
this.send(command, optionsOrCb || {}, cb);
|
|
962
962
|
}
|
|
963
963
|
else {
|
|
@@ -971,7 +971,7 @@ var DeviceFarm = (function (_super) {
|
|
|
971
971
|
}
|
|
972
972
|
else if (typeof cb === "function") {
|
|
973
973
|
if (typeof optionsOrCb !== "object")
|
|
974
|
-
throw new Error("Expect http options but get "
|
|
974
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
975
975
|
this.send(command, optionsOrCb || {}, cb);
|
|
976
976
|
}
|
|
977
977
|
else {
|
|
@@ -985,7 +985,7 @@ var DeviceFarm = (function (_super) {
|
|
|
985
985
|
}
|
|
986
986
|
else if (typeof cb === "function") {
|
|
987
987
|
if (typeof optionsOrCb !== "object")
|
|
988
|
-
throw new Error("Expect http options but get "
|
|
988
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
989
989
|
this.send(command, optionsOrCb || {}, cb);
|
|
990
990
|
}
|
|
991
991
|
else {
|
|
@@ -999,7 +999,7 @@ var DeviceFarm = (function (_super) {
|
|
|
999
999
|
}
|
|
1000
1000
|
else if (typeof cb === "function") {
|
|
1001
1001
|
if (typeof optionsOrCb !== "object")
|
|
1002
|
-
throw new Error("Expect http options but get "
|
|
1002
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1003
1003
|
this.send(command, optionsOrCb || {}, cb);
|
|
1004
1004
|
}
|
|
1005
1005
|
else {
|
|
@@ -1013,7 +1013,7 @@ var DeviceFarm = (function (_super) {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
else if (typeof cb === "function") {
|
|
1015
1015
|
if (typeof optionsOrCb !== "object")
|
|
1016
|
-
throw new Error("Expect http options but get "
|
|
1016
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1017
1017
|
this.send(command, optionsOrCb || {}, cb);
|
|
1018
1018
|
}
|
|
1019
1019
|
else {
|
|
@@ -1027,7 +1027,7 @@ var DeviceFarm = (function (_super) {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
else if (typeof cb === "function") {
|
|
1029
1029
|
if (typeof optionsOrCb !== "object")
|
|
1030
|
-
throw new Error("Expect http options but get "
|
|
1030
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1031
1031
|
this.send(command, optionsOrCb || {}, cb);
|
|
1032
1032
|
}
|
|
1033
1033
|
else {
|
|
@@ -1041,7 +1041,7 @@ var DeviceFarm = (function (_super) {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
else if (typeof cb === "function") {
|
|
1043
1043
|
if (typeof optionsOrCb !== "object")
|
|
1044
|
-
throw new Error("Expect http options but get "
|
|
1044
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1045
1045
|
this.send(command, optionsOrCb || {}, cb);
|
|
1046
1046
|
}
|
|
1047
1047
|
else {
|
|
@@ -1055,7 +1055,7 @@ var DeviceFarm = (function (_super) {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
else if (typeof cb === "function") {
|
|
1057
1057
|
if (typeof optionsOrCb !== "object")
|
|
1058
|
-
throw new Error("Expect http options but get "
|
|
1058
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1059
1059
|
this.send(command, optionsOrCb || {}, cb);
|
|
1060
1060
|
}
|
|
1061
1061
|
else {
|
|
@@ -1069,7 +1069,7 @@ var DeviceFarm = (function (_super) {
|
|
|
1069
1069
|
}
|
|
1070
1070
|
else if (typeof cb === "function") {
|
|
1071
1071
|
if (typeof optionsOrCb !== "object")
|
|
1072
|
-
throw new Error("Expect http options but get "
|
|
1072
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1073
1073
|
this.send(command, optionsOrCb || {}, cb);
|
|
1074
1074
|
}
|
|
1075
1075
|
else {
|
|
@@ -1083,7 +1083,7 @@ var DeviceFarm = (function (_super) {
|
|
|
1083
1083
|
}
|
|
1084
1084
|
else if (typeof cb === "function") {
|
|
1085
1085
|
if (typeof optionsOrCb !== "object")
|
|
1086
|
-
throw new Error("Expect http options but get "
|
|
1086
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1087
1087
|
this.send(command, optionsOrCb || {}, cb);
|
|
1088
1088
|
}
|
|
1089
1089
|
else {
|
|
@@ -1097,7 +1097,7 @@ var DeviceFarm = (function (_super) {
|
|
|
1097
1097
|
}
|
|
1098
1098
|
else if (typeof cb === "function") {
|
|
1099
1099
|
if (typeof optionsOrCb !== "object")
|
|
1100
|
-
throw new Error("Expect http options but get "
|
|
1100
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1101
1101
|
this.send(command, optionsOrCb || {}, cb);
|
|
1102
1102
|
}
|
|
1103
1103
|
else {
|
|
@@ -1111,7 +1111,7 @@ var DeviceFarm = (function (_super) {
|
|
|
1111
1111
|
}
|
|
1112
1112
|
else if (typeof cb === "function") {
|
|
1113
1113
|
if (typeof optionsOrCb !== "object")
|
|
1114
|
-
throw new Error("Expect http options but get "
|
|
1114
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1115
1115
|
this.send(command, optionsOrCb || {}, cb);
|
|
1116
1116
|
}
|
|
1117
1117
|
else {
|
|
@@ -1125,7 +1125,7 @@ var DeviceFarm = (function (_super) {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
else if (typeof cb === "function") {
|
|
1127
1127
|
if (typeof optionsOrCb !== "object")
|
|
1128
|
-
throw new Error("Expect http options but get "
|
|
1128
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1129
1129
|
this.send(command, optionsOrCb || {}, cb);
|
|
1130
1130
|
}
|
|
1131
1131
|
else {
|
|
@@ -1139,7 +1139,7 @@ var DeviceFarm = (function (_super) {
|
|
|
1139
1139
|
}
|
|
1140
1140
|
else if (typeof cb === "function") {
|
|
1141
1141
|
if (typeof optionsOrCb !== "object")
|
|
1142
|
-
throw new Error("Expect http options but get "
|
|
1142
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1143
1143
|
this.send(command, optionsOrCb || {}, cb);
|
|
1144
1144
|
}
|
|
1145
1145
|
else {
|
|
@@ -1153,7 +1153,7 @@ var DeviceFarm = (function (_super) {
|
|
|
1153
1153
|
}
|
|
1154
1154
|
else if (typeof cb === "function") {
|
|
1155
1155
|
if (typeof optionsOrCb !== "object")
|
|
1156
|
-
throw new Error("Expect http options but get "
|
|
1156
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1157
1157
|
this.send(command, optionsOrCb || {}, cb);
|
|
1158
1158
|
}
|
|
1159
1159
|
else {
|