@aws-sdk/client-iot-wireless 3.54.1 → 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 +8 -0
- package/dist-cjs/IoTWirelessClient.js +13 -13
- package/dist-cjs/commands/AssociateAwsAccountWithPartnerAccountCommand.js +3 -3
- package/dist-cjs/commands/AssociateMulticastGroupWithFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/AssociateWirelessDeviceWithFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/AssociateWirelessDeviceWithMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/AssociateWirelessDeviceWithThingCommand.js +3 -3
- package/dist-cjs/commands/AssociateWirelessGatewayWithCertificateCommand.js +3 -3
- package/dist-cjs/commands/AssociateWirelessGatewayWithThingCommand.js +3 -3
- package/dist-cjs/commands/CancelMulticastGroupSessionCommand.js +3 -3
- package/dist-cjs/commands/CreateDestinationCommand.js +3 -3
- package/dist-cjs/commands/CreateDeviceProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/CreateMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateServiceProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateWirelessDeviceCommand.js +3 -3
- package/dist-cjs/commands/CreateWirelessGatewayCommand.js +3 -3
- package/dist-cjs/commands/CreateWirelessGatewayTaskCommand.js +3 -3
- package/dist-cjs/commands/CreateWirelessGatewayTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DeleteDestinationCommand.js +3 -3
- package/dist-cjs/commands/DeleteDeviceProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/DeleteMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteQueuedMessagesCommand.js +3 -3
- package/dist-cjs/commands/DeleteServiceProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteWirelessDeviceCommand.js +3 -3
- package/dist-cjs/commands/DeleteWirelessGatewayCommand.js +3 -3
- package/dist-cjs/commands/DeleteWirelessGatewayTaskCommand.js +3 -3
- package/dist-cjs/commands/DeleteWirelessGatewayTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DisassociateAwsAccountFromPartnerAccountCommand.js +3 -3
- package/dist-cjs/commands/DisassociateMulticastGroupFromFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/DisassociateWirelessDeviceFromThingCommand.js +3 -3
- package/dist-cjs/commands/DisassociateWirelessGatewayFromCertificateCommand.js +3 -3
- package/dist-cjs/commands/DisassociateWirelessGatewayFromThingCommand.js +3 -3
- package/dist-cjs/commands/GetDestinationCommand.js +3 -3
- package/dist-cjs/commands/GetDeviceProfileCommand.js +3 -3
- package/dist-cjs/commands/GetFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/GetLogLevelsByResourceTypesCommand.js +3 -3
- package/dist-cjs/commands/GetMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/GetMulticastGroupSessionCommand.js +3 -3
- package/dist-cjs/commands/GetNetworkAnalyzerConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetPartnerAccountCommand.js +3 -3
- package/dist-cjs/commands/GetResourceEventConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetResourceLogLevelCommand.js +3 -3
- package/dist-cjs/commands/GetServiceEndpointCommand.js +3 -3
- package/dist-cjs/commands/GetServiceProfileCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessDeviceCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessDeviceStatisticsCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessGatewayCertificateCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessGatewayCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessGatewayFirmwareInformationCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessGatewayStatisticsCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessGatewayTaskCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessGatewayTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/ListDestinationsCommand.js +3 -3
- package/dist-cjs/commands/ListDeviceProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListFuotaTasksCommand.js +3 -3
- package/dist-cjs/commands/ListMulticastGroupsByFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/ListMulticastGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListPartnerAccountsCommand.js +3 -3
- package/dist-cjs/commands/ListQueuedMessagesCommand.js +3 -3
- package/dist-cjs/commands/ListServiceProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListWirelessDevicesCommand.js +3 -3
- package/dist-cjs/commands/ListWirelessGatewayTaskDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ListWirelessGatewaysCommand.js +3 -3
- package/dist-cjs/commands/PutResourceLogLevelCommand.js +3 -3
- package/dist-cjs/commands/ResetAllResourceLogLevelsCommand.js +3 -3
- package/dist-cjs/commands/ResetResourceLogLevelCommand.js +3 -3
- package/dist-cjs/commands/SendDataToMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/SendDataToWirelessDeviceCommand.js +3 -3
- package/dist-cjs/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/StartFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/StartMulticastGroupSessionCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TestWirelessDeviceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDestinationCommand.js +3 -3
- package/dist-cjs/commands/UpdateFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/UpdateLogLevelsByResourceTypesCommand.js +3 -3
- package/dist-cjs/commands/UpdateMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateNetworkAnalyzerConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdatePartnerAccountCommand.js +3 -3
- package/dist-cjs/commands/UpdateResourceEventConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateWirelessDeviceCommand.js +3 -3
- package/dist-cjs/commands/UpdateWirelessGatewayCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +481 -481
- 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/IoTWireless.js +87 -87
- package/dist-es/pagination/ListDestinationsPaginator.js +4 -4
- package/dist-es/pagination/ListDeviceProfilesPaginator.js +4 -4
- package/dist-es/pagination/ListFuotaTasksPaginator.js +4 -4
- package/dist-es/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +4 -4
- package/dist-es/pagination/ListMulticastGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListQueuedMessagesPaginator.js +4 -4
- package/dist-es/pagination/ListServiceProfilesPaginator.js +4 -4
- package/dist-es/pagination/ListWirelessDevicesPaginator.js +4 -4
- package/dist-es/pagination/ListWirelessGatewaysPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +87 -87
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
package/dist-es/IoTWireless.js
CHANGED
|
@@ -99,7 +99,7 @@ var IoTWireless = (function (_super) {
|
|
|
99
99
|
}
|
|
100
100
|
else if (typeof cb === "function") {
|
|
101
101
|
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error("Expect http options but get "
|
|
102
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
103
103
|
this.send(command, optionsOrCb || {}, cb);
|
|
104
104
|
}
|
|
105
105
|
else {
|
|
@@ -113,7 +113,7 @@ var IoTWireless = (function (_super) {
|
|
|
113
113
|
}
|
|
114
114
|
else if (typeof cb === "function") {
|
|
115
115
|
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error("Expect http options but get "
|
|
116
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
117
117
|
this.send(command, optionsOrCb || {}, cb);
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
@@ -127,7 +127,7 @@ var IoTWireless = (function (_super) {
|
|
|
127
127
|
}
|
|
128
128
|
else if (typeof cb === "function") {
|
|
129
129
|
if (typeof optionsOrCb !== "object")
|
|
130
|
-
throw new Error("Expect http options but get "
|
|
130
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
131
131
|
this.send(command, optionsOrCb || {}, cb);
|
|
132
132
|
}
|
|
133
133
|
else {
|
|
@@ -141,7 +141,7 @@ var IoTWireless = (function (_super) {
|
|
|
141
141
|
}
|
|
142
142
|
else if (typeof cb === "function") {
|
|
143
143
|
if (typeof optionsOrCb !== "object")
|
|
144
|
-
throw new Error("Expect http options but get "
|
|
144
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
145
145
|
this.send(command, optionsOrCb || {}, cb);
|
|
146
146
|
}
|
|
147
147
|
else {
|
|
@@ -155,7 +155,7 @@ var IoTWireless = (function (_super) {
|
|
|
155
155
|
}
|
|
156
156
|
else if (typeof cb === "function") {
|
|
157
157
|
if (typeof optionsOrCb !== "object")
|
|
158
|
-
throw new Error("Expect http options but get "
|
|
158
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
159
159
|
this.send(command, optionsOrCb || {}, cb);
|
|
160
160
|
}
|
|
161
161
|
else {
|
|
@@ -169,7 +169,7 @@ var IoTWireless = (function (_super) {
|
|
|
169
169
|
}
|
|
170
170
|
else if (typeof cb === "function") {
|
|
171
171
|
if (typeof optionsOrCb !== "object")
|
|
172
|
-
throw new Error("Expect http options but get "
|
|
172
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
173
173
|
this.send(command, optionsOrCb || {}, cb);
|
|
174
174
|
}
|
|
175
175
|
else {
|
|
@@ -183,7 +183,7 @@ var IoTWireless = (function (_super) {
|
|
|
183
183
|
}
|
|
184
184
|
else if (typeof cb === "function") {
|
|
185
185
|
if (typeof optionsOrCb !== "object")
|
|
186
|
-
throw new Error("Expect http options but get "
|
|
186
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
187
187
|
this.send(command, optionsOrCb || {}, cb);
|
|
188
188
|
}
|
|
189
189
|
else {
|
|
@@ -197,7 +197,7 @@ var IoTWireless = (function (_super) {
|
|
|
197
197
|
}
|
|
198
198
|
else if (typeof cb === "function") {
|
|
199
199
|
if (typeof optionsOrCb !== "object")
|
|
200
|
-
throw new Error("Expect http options but get "
|
|
200
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
201
201
|
this.send(command, optionsOrCb || {}, cb);
|
|
202
202
|
}
|
|
203
203
|
else {
|
|
@@ -211,7 +211,7 @@ var IoTWireless = (function (_super) {
|
|
|
211
211
|
}
|
|
212
212
|
else if (typeof cb === "function") {
|
|
213
213
|
if (typeof optionsOrCb !== "object")
|
|
214
|
-
throw new Error("Expect http options but get "
|
|
214
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
215
215
|
this.send(command, optionsOrCb || {}, cb);
|
|
216
216
|
}
|
|
217
217
|
else {
|
|
@@ -225,7 +225,7 @@ var IoTWireless = (function (_super) {
|
|
|
225
225
|
}
|
|
226
226
|
else if (typeof cb === "function") {
|
|
227
227
|
if (typeof optionsOrCb !== "object")
|
|
228
|
-
throw new Error("Expect http options but get "
|
|
228
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
229
229
|
this.send(command, optionsOrCb || {}, cb);
|
|
230
230
|
}
|
|
231
231
|
else {
|
|
@@ -239,7 +239,7 @@ var IoTWireless = (function (_super) {
|
|
|
239
239
|
}
|
|
240
240
|
else if (typeof cb === "function") {
|
|
241
241
|
if (typeof optionsOrCb !== "object")
|
|
242
|
-
throw new Error("Expect http options but get "
|
|
242
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
243
243
|
this.send(command, optionsOrCb || {}, cb);
|
|
244
244
|
}
|
|
245
245
|
else {
|
|
@@ -253,7 +253,7 @@ var IoTWireless = (function (_super) {
|
|
|
253
253
|
}
|
|
254
254
|
else if (typeof cb === "function") {
|
|
255
255
|
if (typeof optionsOrCb !== "object")
|
|
256
|
-
throw new Error("Expect http options but get "
|
|
256
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
257
257
|
this.send(command, optionsOrCb || {}, cb);
|
|
258
258
|
}
|
|
259
259
|
else {
|
|
@@ -267,7 +267,7 @@ var IoTWireless = (function (_super) {
|
|
|
267
267
|
}
|
|
268
268
|
else if (typeof cb === "function") {
|
|
269
269
|
if (typeof optionsOrCb !== "object")
|
|
270
|
-
throw new Error("Expect http options but get "
|
|
270
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
271
271
|
this.send(command, optionsOrCb || {}, cb);
|
|
272
272
|
}
|
|
273
273
|
else {
|
|
@@ -281,7 +281,7 @@ var IoTWireless = (function (_super) {
|
|
|
281
281
|
}
|
|
282
282
|
else if (typeof cb === "function") {
|
|
283
283
|
if (typeof optionsOrCb !== "object")
|
|
284
|
-
throw new Error("Expect http options but get "
|
|
284
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
285
285
|
this.send(command, optionsOrCb || {}, cb);
|
|
286
286
|
}
|
|
287
287
|
else {
|
|
@@ -295,7 +295,7 @@ var IoTWireless = (function (_super) {
|
|
|
295
295
|
}
|
|
296
296
|
else if (typeof cb === "function") {
|
|
297
297
|
if (typeof optionsOrCb !== "object")
|
|
298
|
-
throw new Error("Expect http options but get "
|
|
298
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
299
299
|
this.send(command, optionsOrCb || {}, cb);
|
|
300
300
|
}
|
|
301
301
|
else {
|
|
@@ -309,7 +309,7 @@ var IoTWireless = (function (_super) {
|
|
|
309
309
|
}
|
|
310
310
|
else if (typeof cb === "function") {
|
|
311
311
|
if (typeof optionsOrCb !== "object")
|
|
312
|
-
throw new Error("Expect http options but get "
|
|
312
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
313
313
|
this.send(command, optionsOrCb || {}, cb);
|
|
314
314
|
}
|
|
315
315
|
else {
|
|
@@ -323,7 +323,7 @@ var IoTWireless = (function (_super) {
|
|
|
323
323
|
}
|
|
324
324
|
else if (typeof cb === "function") {
|
|
325
325
|
if (typeof optionsOrCb !== "object")
|
|
326
|
-
throw new Error("Expect http options but get "
|
|
326
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
327
327
|
this.send(command, optionsOrCb || {}, cb);
|
|
328
328
|
}
|
|
329
329
|
else {
|
|
@@ -337,7 +337,7 @@ var IoTWireless = (function (_super) {
|
|
|
337
337
|
}
|
|
338
338
|
else if (typeof cb === "function") {
|
|
339
339
|
if (typeof optionsOrCb !== "object")
|
|
340
|
-
throw new Error("Expect http options but get "
|
|
340
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
341
341
|
this.send(command, optionsOrCb || {}, cb);
|
|
342
342
|
}
|
|
343
343
|
else {
|
|
@@ -351,7 +351,7 @@ var IoTWireless = (function (_super) {
|
|
|
351
351
|
}
|
|
352
352
|
else if (typeof cb === "function") {
|
|
353
353
|
if (typeof optionsOrCb !== "object")
|
|
354
|
-
throw new Error("Expect http options but get "
|
|
354
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
355
355
|
this.send(command, optionsOrCb || {}, cb);
|
|
356
356
|
}
|
|
357
357
|
else {
|
|
@@ -365,7 +365,7 @@ var IoTWireless = (function (_super) {
|
|
|
365
365
|
}
|
|
366
366
|
else if (typeof cb === "function") {
|
|
367
367
|
if (typeof optionsOrCb !== "object")
|
|
368
|
-
throw new Error("Expect http options but get "
|
|
368
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
369
369
|
this.send(command, optionsOrCb || {}, cb);
|
|
370
370
|
}
|
|
371
371
|
else {
|
|
@@ -379,7 +379,7 @@ var IoTWireless = (function (_super) {
|
|
|
379
379
|
}
|
|
380
380
|
else if (typeof cb === "function") {
|
|
381
381
|
if (typeof optionsOrCb !== "object")
|
|
382
|
-
throw new Error("Expect http options but get "
|
|
382
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
383
383
|
this.send(command, optionsOrCb || {}, cb);
|
|
384
384
|
}
|
|
385
385
|
else {
|
|
@@ -393,7 +393,7 @@ var IoTWireless = (function (_super) {
|
|
|
393
393
|
}
|
|
394
394
|
else if (typeof cb === "function") {
|
|
395
395
|
if (typeof optionsOrCb !== "object")
|
|
396
|
-
throw new Error("Expect http options but get "
|
|
396
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
397
397
|
this.send(command, optionsOrCb || {}, cb);
|
|
398
398
|
}
|
|
399
399
|
else {
|
|
@@ -407,7 +407,7 @@ var IoTWireless = (function (_super) {
|
|
|
407
407
|
}
|
|
408
408
|
else if (typeof cb === "function") {
|
|
409
409
|
if (typeof optionsOrCb !== "object")
|
|
410
|
-
throw new Error("Expect http options but get "
|
|
410
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
411
411
|
this.send(command, optionsOrCb || {}, cb);
|
|
412
412
|
}
|
|
413
413
|
else {
|
|
@@ -421,7 +421,7 @@ var IoTWireless = (function (_super) {
|
|
|
421
421
|
}
|
|
422
422
|
else if (typeof cb === "function") {
|
|
423
423
|
if (typeof optionsOrCb !== "object")
|
|
424
|
-
throw new Error("Expect http options but get "
|
|
424
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
425
425
|
this.send(command, optionsOrCb || {}, cb);
|
|
426
426
|
}
|
|
427
427
|
else {
|
|
@@ -435,7 +435,7 @@ var IoTWireless = (function (_super) {
|
|
|
435
435
|
}
|
|
436
436
|
else if (typeof cb === "function") {
|
|
437
437
|
if (typeof optionsOrCb !== "object")
|
|
438
|
-
throw new Error("Expect http options but get "
|
|
438
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
439
439
|
this.send(command, optionsOrCb || {}, cb);
|
|
440
440
|
}
|
|
441
441
|
else {
|
|
@@ -449,7 +449,7 @@ var IoTWireless = (function (_super) {
|
|
|
449
449
|
}
|
|
450
450
|
else if (typeof cb === "function") {
|
|
451
451
|
if (typeof optionsOrCb !== "object")
|
|
452
|
-
throw new Error("Expect http options but get "
|
|
452
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
453
453
|
this.send(command, optionsOrCb || {}, cb);
|
|
454
454
|
}
|
|
455
455
|
else {
|
|
@@ -463,7 +463,7 @@ var IoTWireless = (function (_super) {
|
|
|
463
463
|
}
|
|
464
464
|
else if (typeof cb === "function") {
|
|
465
465
|
if (typeof optionsOrCb !== "object")
|
|
466
|
-
throw new Error("Expect http options but get "
|
|
466
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
467
467
|
this.send(command, optionsOrCb || {}, cb);
|
|
468
468
|
}
|
|
469
469
|
else {
|
|
@@ -477,7 +477,7 @@ var IoTWireless = (function (_super) {
|
|
|
477
477
|
}
|
|
478
478
|
else if (typeof cb === "function") {
|
|
479
479
|
if (typeof optionsOrCb !== "object")
|
|
480
|
-
throw new Error("Expect http options but get "
|
|
480
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
481
481
|
this.send(command, optionsOrCb || {}, cb);
|
|
482
482
|
}
|
|
483
483
|
else {
|
|
@@ -491,7 +491,7 @@ var IoTWireless = (function (_super) {
|
|
|
491
491
|
}
|
|
492
492
|
else if (typeof cb === "function") {
|
|
493
493
|
if (typeof optionsOrCb !== "object")
|
|
494
|
-
throw new Error("Expect http options but get "
|
|
494
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
495
495
|
this.send(command, optionsOrCb || {}, cb);
|
|
496
496
|
}
|
|
497
497
|
else {
|
|
@@ -505,7 +505,7 @@ var IoTWireless = (function (_super) {
|
|
|
505
505
|
}
|
|
506
506
|
else if (typeof cb === "function") {
|
|
507
507
|
if (typeof optionsOrCb !== "object")
|
|
508
|
-
throw new Error("Expect http options but get "
|
|
508
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
509
509
|
this.send(command, optionsOrCb || {}, cb);
|
|
510
510
|
}
|
|
511
511
|
else {
|
|
@@ -519,7 +519,7 @@ var IoTWireless = (function (_super) {
|
|
|
519
519
|
}
|
|
520
520
|
else if (typeof cb === "function") {
|
|
521
521
|
if (typeof optionsOrCb !== "object")
|
|
522
|
-
throw new Error("Expect http options but get "
|
|
522
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
523
523
|
this.send(command, optionsOrCb || {}, cb);
|
|
524
524
|
}
|
|
525
525
|
else {
|
|
@@ -533,7 +533,7 @@ var IoTWireless = (function (_super) {
|
|
|
533
533
|
}
|
|
534
534
|
else if (typeof cb === "function") {
|
|
535
535
|
if (typeof optionsOrCb !== "object")
|
|
536
|
-
throw new Error("Expect http options but get "
|
|
536
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
537
537
|
this.send(command, optionsOrCb || {}, cb);
|
|
538
538
|
}
|
|
539
539
|
else {
|
|
@@ -547,7 +547,7 @@ var IoTWireless = (function (_super) {
|
|
|
547
547
|
}
|
|
548
548
|
else if (typeof cb === "function") {
|
|
549
549
|
if (typeof optionsOrCb !== "object")
|
|
550
|
-
throw new Error("Expect http options but get "
|
|
550
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
551
551
|
this.send(command, optionsOrCb || {}, cb);
|
|
552
552
|
}
|
|
553
553
|
else {
|
|
@@ -561,7 +561,7 @@ var IoTWireless = (function (_super) {
|
|
|
561
561
|
}
|
|
562
562
|
else if (typeof cb === "function") {
|
|
563
563
|
if (typeof optionsOrCb !== "object")
|
|
564
|
-
throw new Error("Expect http options but get "
|
|
564
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
565
565
|
this.send(command, optionsOrCb || {}, cb);
|
|
566
566
|
}
|
|
567
567
|
else {
|
|
@@ -575,7 +575,7 @@ var IoTWireless = (function (_super) {
|
|
|
575
575
|
}
|
|
576
576
|
else if (typeof cb === "function") {
|
|
577
577
|
if (typeof optionsOrCb !== "object")
|
|
578
|
-
throw new Error("Expect http options but get "
|
|
578
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
579
579
|
this.send(command, optionsOrCb || {}, cb);
|
|
580
580
|
}
|
|
581
581
|
else {
|
|
@@ -589,7 +589,7 @@ var IoTWireless = (function (_super) {
|
|
|
589
589
|
}
|
|
590
590
|
else if (typeof cb === "function") {
|
|
591
591
|
if (typeof optionsOrCb !== "object")
|
|
592
|
-
throw new Error("Expect http options but get "
|
|
592
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
593
593
|
this.send(command, optionsOrCb || {}, cb);
|
|
594
594
|
}
|
|
595
595
|
else {
|
|
@@ -603,7 +603,7 @@ var IoTWireless = (function (_super) {
|
|
|
603
603
|
}
|
|
604
604
|
else if (typeof cb === "function") {
|
|
605
605
|
if (typeof optionsOrCb !== "object")
|
|
606
|
-
throw new Error("Expect http options but get "
|
|
606
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
607
607
|
this.send(command, optionsOrCb || {}, cb);
|
|
608
608
|
}
|
|
609
609
|
else {
|
|
@@ -617,7 +617,7 @@ var IoTWireless = (function (_super) {
|
|
|
617
617
|
}
|
|
618
618
|
else if (typeof cb === "function") {
|
|
619
619
|
if (typeof optionsOrCb !== "object")
|
|
620
|
-
throw new Error("Expect http options but get "
|
|
620
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
621
621
|
this.send(command, optionsOrCb || {}, cb);
|
|
622
622
|
}
|
|
623
623
|
else {
|
|
@@ -631,7 +631,7 @@ var IoTWireless = (function (_super) {
|
|
|
631
631
|
}
|
|
632
632
|
else if (typeof cb === "function") {
|
|
633
633
|
if (typeof optionsOrCb !== "object")
|
|
634
|
-
throw new Error("Expect http options but get "
|
|
634
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
635
635
|
this.send(command, optionsOrCb || {}, cb);
|
|
636
636
|
}
|
|
637
637
|
else {
|
|
@@ -645,7 +645,7 @@ var IoTWireless = (function (_super) {
|
|
|
645
645
|
}
|
|
646
646
|
else if (typeof cb === "function") {
|
|
647
647
|
if (typeof optionsOrCb !== "object")
|
|
648
|
-
throw new Error("Expect http options but get "
|
|
648
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
649
649
|
this.send(command, optionsOrCb || {}, cb);
|
|
650
650
|
}
|
|
651
651
|
else {
|
|
@@ -659,7 +659,7 @@ var IoTWireless = (function (_super) {
|
|
|
659
659
|
}
|
|
660
660
|
else if (typeof cb === "function") {
|
|
661
661
|
if (typeof optionsOrCb !== "object")
|
|
662
|
-
throw new Error("Expect http options but get "
|
|
662
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
663
663
|
this.send(command, optionsOrCb || {}, cb);
|
|
664
664
|
}
|
|
665
665
|
else {
|
|
@@ -673,7 +673,7 @@ var IoTWireless = (function (_super) {
|
|
|
673
673
|
}
|
|
674
674
|
else if (typeof cb === "function") {
|
|
675
675
|
if (typeof optionsOrCb !== "object")
|
|
676
|
-
throw new Error("Expect http options but get "
|
|
676
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
677
677
|
this.send(command, optionsOrCb || {}, cb);
|
|
678
678
|
}
|
|
679
679
|
else {
|
|
@@ -687,7 +687,7 @@ var IoTWireless = (function (_super) {
|
|
|
687
687
|
}
|
|
688
688
|
else if (typeof cb === "function") {
|
|
689
689
|
if (typeof optionsOrCb !== "object")
|
|
690
|
-
throw new Error("Expect http options but get "
|
|
690
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
691
691
|
this.send(command, optionsOrCb || {}, cb);
|
|
692
692
|
}
|
|
693
693
|
else {
|
|
@@ -701,7 +701,7 @@ var IoTWireless = (function (_super) {
|
|
|
701
701
|
}
|
|
702
702
|
else if (typeof cb === "function") {
|
|
703
703
|
if (typeof optionsOrCb !== "object")
|
|
704
|
-
throw new Error("Expect http options but get "
|
|
704
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
705
705
|
this.send(command, optionsOrCb || {}, cb);
|
|
706
706
|
}
|
|
707
707
|
else {
|
|
@@ -715,7 +715,7 @@ var IoTWireless = (function (_super) {
|
|
|
715
715
|
}
|
|
716
716
|
else if (typeof cb === "function") {
|
|
717
717
|
if (typeof optionsOrCb !== "object")
|
|
718
|
-
throw new Error("Expect http options but get "
|
|
718
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
719
719
|
this.send(command, optionsOrCb || {}, cb);
|
|
720
720
|
}
|
|
721
721
|
else {
|
|
@@ -729,7 +729,7 @@ var IoTWireless = (function (_super) {
|
|
|
729
729
|
}
|
|
730
730
|
else if (typeof cb === "function") {
|
|
731
731
|
if (typeof optionsOrCb !== "object")
|
|
732
|
-
throw new Error("Expect http options but get "
|
|
732
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
733
733
|
this.send(command, optionsOrCb || {}, cb);
|
|
734
734
|
}
|
|
735
735
|
else {
|
|
@@ -743,7 +743,7 @@ var IoTWireless = (function (_super) {
|
|
|
743
743
|
}
|
|
744
744
|
else if (typeof cb === "function") {
|
|
745
745
|
if (typeof optionsOrCb !== "object")
|
|
746
|
-
throw new Error("Expect http options but get "
|
|
746
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
747
747
|
this.send(command, optionsOrCb || {}, cb);
|
|
748
748
|
}
|
|
749
749
|
else {
|
|
@@ -757,7 +757,7 @@ var IoTWireless = (function (_super) {
|
|
|
757
757
|
}
|
|
758
758
|
else if (typeof cb === "function") {
|
|
759
759
|
if (typeof optionsOrCb !== "object")
|
|
760
|
-
throw new Error("Expect http options but get "
|
|
760
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
761
761
|
this.send(command, optionsOrCb || {}, cb);
|
|
762
762
|
}
|
|
763
763
|
else {
|
|
@@ -771,7 +771,7 @@ var IoTWireless = (function (_super) {
|
|
|
771
771
|
}
|
|
772
772
|
else if (typeof cb === "function") {
|
|
773
773
|
if (typeof optionsOrCb !== "object")
|
|
774
|
-
throw new Error("Expect http options but get "
|
|
774
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
775
775
|
this.send(command, optionsOrCb || {}, cb);
|
|
776
776
|
}
|
|
777
777
|
else {
|
|
@@ -785,7 +785,7 @@ var IoTWireless = (function (_super) {
|
|
|
785
785
|
}
|
|
786
786
|
else if (typeof cb === "function") {
|
|
787
787
|
if (typeof optionsOrCb !== "object")
|
|
788
|
-
throw new Error("Expect http options but get "
|
|
788
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
789
789
|
this.send(command, optionsOrCb || {}, cb);
|
|
790
790
|
}
|
|
791
791
|
else {
|
|
@@ -799,7 +799,7 @@ var IoTWireless = (function (_super) {
|
|
|
799
799
|
}
|
|
800
800
|
else if (typeof cb === "function") {
|
|
801
801
|
if (typeof optionsOrCb !== "object")
|
|
802
|
-
throw new Error("Expect http options but get "
|
|
802
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
803
803
|
this.send(command, optionsOrCb || {}, cb);
|
|
804
804
|
}
|
|
805
805
|
else {
|
|
@@ -813,7 +813,7 @@ var IoTWireless = (function (_super) {
|
|
|
813
813
|
}
|
|
814
814
|
else if (typeof cb === "function") {
|
|
815
815
|
if (typeof optionsOrCb !== "object")
|
|
816
|
-
throw new Error("Expect http options but get "
|
|
816
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
817
817
|
this.send(command, optionsOrCb || {}, cb);
|
|
818
818
|
}
|
|
819
819
|
else {
|
|
@@ -827,7 +827,7 @@ var IoTWireless = (function (_super) {
|
|
|
827
827
|
}
|
|
828
828
|
else if (typeof cb === "function") {
|
|
829
829
|
if (typeof optionsOrCb !== "object")
|
|
830
|
-
throw new Error("Expect http options but get "
|
|
830
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
831
831
|
this.send(command, optionsOrCb || {}, cb);
|
|
832
832
|
}
|
|
833
833
|
else {
|
|
@@ -841,7 +841,7 @@ var IoTWireless = (function (_super) {
|
|
|
841
841
|
}
|
|
842
842
|
else if (typeof cb === "function") {
|
|
843
843
|
if (typeof optionsOrCb !== "object")
|
|
844
|
-
throw new Error("Expect http options but get "
|
|
844
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
845
845
|
this.send(command, optionsOrCb || {}, cb);
|
|
846
846
|
}
|
|
847
847
|
else {
|
|
@@ -855,7 +855,7 @@ var IoTWireless = (function (_super) {
|
|
|
855
855
|
}
|
|
856
856
|
else if (typeof cb === "function") {
|
|
857
857
|
if (typeof optionsOrCb !== "object")
|
|
858
|
-
throw new Error("Expect http options but get "
|
|
858
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
859
859
|
this.send(command, optionsOrCb || {}, cb);
|
|
860
860
|
}
|
|
861
861
|
else {
|
|
@@ -869,7 +869,7 @@ var IoTWireless = (function (_super) {
|
|
|
869
869
|
}
|
|
870
870
|
else if (typeof cb === "function") {
|
|
871
871
|
if (typeof optionsOrCb !== "object")
|
|
872
|
-
throw new Error("Expect http options but get "
|
|
872
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
873
873
|
this.send(command, optionsOrCb || {}, cb);
|
|
874
874
|
}
|
|
875
875
|
else {
|
|
@@ -883,7 +883,7 @@ var IoTWireless = (function (_super) {
|
|
|
883
883
|
}
|
|
884
884
|
else if (typeof cb === "function") {
|
|
885
885
|
if (typeof optionsOrCb !== "object")
|
|
886
|
-
throw new Error("Expect http options but get "
|
|
886
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
887
887
|
this.send(command, optionsOrCb || {}, cb);
|
|
888
888
|
}
|
|
889
889
|
else {
|
|
@@ -897,7 +897,7 @@ var IoTWireless = (function (_super) {
|
|
|
897
897
|
}
|
|
898
898
|
else if (typeof cb === "function") {
|
|
899
899
|
if (typeof optionsOrCb !== "object")
|
|
900
|
-
throw new Error("Expect http options but get "
|
|
900
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
901
901
|
this.send(command, optionsOrCb || {}, cb);
|
|
902
902
|
}
|
|
903
903
|
else {
|
|
@@ -911,7 +911,7 @@ var IoTWireless = (function (_super) {
|
|
|
911
911
|
}
|
|
912
912
|
else if (typeof cb === "function") {
|
|
913
913
|
if (typeof optionsOrCb !== "object")
|
|
914
|
-
throw new Error("Expect http options but get "
|
|
914
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
915
915
|
this.send(command, optionsOrCb || {}, cb);
|
|
916
916
|
}
|
|
917
917
|
else {
|
|
@@ -925,7 +925,7 @@ var IoTWireless = (function (_super) {
|
|
|
925
925
|
}
|
|
926
926
|
else if (typeof cb === "function") {
|
|
927
927
|
if (typeof optionsOrCb !== "object")
|
|
928
|
-
throw new Error("Expect http options but get "
|
|
928
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
929
929
|
this.send(command, optionsOrCb || {}, cb);
|
|
930
930
|
}
|
|
931
931
|
else {
|
|
@@ -939,7 +939,7 @@ var IoTWireless = (function (_super) {
|
|
|
939
939
|
}
|
|
940
940
|
else if (typeof cb === "function") {
|
|
941
941
|
if (typeof optionsOrCb !== "object")
|
|
942
|
-
throw new Error("Expect http options but get "
|
|
942
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
943
943
|
this.send(command, optionsOrCb || {}, cb);
|
|
944
944
|
}
|
|
945
945
|
else {
|
|
@@ -953,7 +953,7 @@ var IoTWireless = (function (_super) {
|
|
|
953
953
|
}
|
|
954
954
|
else if (typeof cb === "function") {
|
|
955
955
|
if (typeof optionsOrCb !== "object")
|
|
956
|
-
throw new Error("Expect http options but get "
|
|
956
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
957
957
|
this.send(command, optionsOrCb || {}, cb);
|
|
958
958
|
}
|
|
959
959
|
else {
|
|
@@ -967,7 +967,7 @@ var IoTWireless = (function (_super) {
|
|
|
967
967
|
}
|
|
968
968
|
else if (typeof cb === "function") {
|
|
969
969
|
if (typeof optionsOrCb !== "object")
|
|
970
|
-
throw new Error("Expect http options but get "
|
|
970
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
971
971
|
this.send(command, optionsOrCb || {}, cb);
|
|
972
972
|
}
|
|
973
973
|
else {
|
|
@@ -981,7 +981,7 @@ var IoTWireless = (function (_super) {
|
|
|
981
981
|
}
|
|
982
982
|
else if (typeof cb === "function") {
|
|
983
983
|
if (typeof optionsOrCb !== "object")
|
|
984
|
-
throw new Error("Expect http options but get "
|
|
984
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
985
985
|
this.send(command, optionsOrCb || {}, cb);
|
|
986
986
|
}
|
|
987
987
|
else {
|
|
@@ -995,7 +995,7 @@ var IoTWireless = (function (_super) {
|
|
|
995
995
|
}
|
|
996
996
|
else if (typeof cb === "function") {
|
|
997
997
|
if (typeof optionsOrCb !== "object")
|
|
998
|
-
throw new Error("Expect http options but get "
|
|
998
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
999
999
|
this.send(command, optionsOrCb || {}, cb);
|
|
1000
1000
|
}
|
|
1001
1001
|
else {
|
|
@@ -1009,7 +1009,7 @@ var IoTWireless = (function (_super) {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
else if (typeof cb === "function") {
|
|
1011
1011
|
if (typeof optionsOrCb !== "object")
|
|
1012
|
-
throw new Error("Expect http options but get "
|
|
1012
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1013
1013
|
this.send(command, optionsOrCb || {}, cb);
|
|
1014
1014
|
}
|
|
1015
1015
|
else {
|
|
@@ -1023,7 +1023,7 @@ var IoTWireless = (function (_super) {
|
|
|
1023
1023
|
}
|
|
1024
1024
|
else if (typeof cb === "function") {
|
|
1025
1025
|
if (typeof optionsOrCb !== "object")
|
|
1026
|
-
throw new Error("Expect http options but get "
|
|
1026
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1027
1027
|
this.send(command, optionsOrCb || {}, cb);
|
|
1028
1028
|
}
|
|
1029
1029
|
else {
|
|
@@ -1037,7 +1037,7 @@ var IoTWireless = (function (_super) {
|
|
|
1037
1037
|
}
|
|
1038
1038
|
else if (typeof cb === "function") {
|
|
1039
1039
|
if (typeof optionsOrCb !== "object")
|
|
1040
|
-
throw new Error("Expect http options but get "
|
|
1040
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1041
1041
|
this.send(command, optionsOrCb || {}, cb);
|
|
1042
1042
|
}
|
|
1043
1043
|
else {
|
|
@@ -1051,7 +1051,7 @@ var IoTWireless = (function (_super) {
|
|
|
1051
1051
|
}
|
|
1052
1052
|
else if (typeof cb === "function") {
|
|
1053
1053
|
if (typeof optionsOrCb !== "object")
|
|
1054
|
-
throw new Error("Expect http options but get "
|
|
1054
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1055
1055
|
this.send(command, optionsOrCb || {}, cb);
|
|
1056
1056
|
}
|
|
1057
1057
|
else {
|
|
@@ -1065,7 +1065,7 @@ var IoTWireless = (function (_super) {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
else if (typeof cb === "function") {
|
|
1067
1067
|
if (typeof optionsOrCb !== "object")
|
|
1068
|
-
throw new Error("Expect http options but get "
|
|
1068
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1069
1069
|
this.send(command, optionsOrCb || {}, cb);
|
|
1070
1070
|
}
|
|
1071
1071
|
else {
|
|
@@ -1079,7 +1079,7 @@ var IoTWireless = (function (_super) {
|
|
|
1079
1079
|
}
|
|
1080
1080
|
else if (typeof cb === "function") {
|
|
1081
1081
|
if (typeof optionsOrCb !== "object")
|
|
1082
|
-
throw new Error("Expect http options but get "
|
|
1082
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1083
1083
|
this.send(command, optionsOrCb || {}, cb);
|
|
1084
1084
|
}
|
|
1085
1085
|
else {
|
|
@@ -1093,7 +1093,7 @@ var IoTWireless = (function (_super) {
|
|
|
1093
1093
|
}
|
|
1094
1094
|
else if (typeof cb === "function") {
|
|
1095
1095
|
if (typeof optionsOrCb !== "object")
|
|
1096
|
-
throw new Error("Expect http options but get "
|
|
1096
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1097
1097
|
this.send(command, optionsOrCb || {}, cb);
|
|
1098
1098
|
}
|
|
1099
1099
|
else {
|
|
@@ -1107,7 +1107,7 @@ var IoTWireless = (function (_super) {
|
|
|
1107
1107
|
}
|
|
1108
1108
|
else if (typeof cb === "function") {
|
|
1109
1109
|
if (typeof optionsOrCb !== "object")
|
|
1110
|
-
throw new Error("Expect http options but get "
|
|
1110
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1111
1111
|
this.send(command, optionsOrCb || {}, cb);
|
|
1112
1112
|
}
|
|
1113
1113
|
else {
|
|
@@ -1121,7 +1121,7 @@ var IoTWireless = (function (_super) {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
else if (typeof cb === "function") {
|
|
1123
1123
|
if (typeof optionsOrCb !== "object")
|
|
1124
|
-
throw new Error("Expect http options but get "
|
|
1124
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1125
1125
|
this.send(command, optionsOrCb || {}, cb);
|
|
1126
1126
|
}
|
|
1127
1127
|
else {
|
|
@@ -1135,7 +1135,7 @@ var IoTWireless = (function (_super) {
|
|
|
1135
1135
|
}
|
|
1136
1136
|
else if (typeof cb === "function") {
|
|
1137
1137
|
if (typeof optionsOrCb !== "object")
|
|
1138
|
-
throw new Error("Expect http options but get "
|
|
1138
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1139
1139
|
this.send(command, optionsOrCb || {}, cb);
|
|
1140
1140
|
}
|
|
1141
1141
|
else {
|
|
@@ -1149,7 +1149,7 @@ var IoTWireless = (function (_super) {
|
|
|
1149
1149
|
}
|
|
1150
1150
|
else if (typeof cb === "function") {
|
|
1151
1151
|
if (typeof optionsOrCb !== "object")
|
|
1152
|
-
throw new Error("Expect http options but get "
|
|
1152
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1153
1153
|
this.send(command, optionsOrCb || {}, cb);
|
|
1154
1154
|
}
|
|
1155
1155
|
else {
|
|
@@ -1163,7 +1163,7 @@ var IoTWireless = (function (_super) {
|
|
|
1163
1163
|
}
|
|
1164
1164
|
else if (typeof cb === "function") {
|
|
1165
1165
|
if (typeof optionsOrCb !== "object")
|
|
1166
|
-
throw new Error("Expect http options but get "
|
|
1166
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1167
1167
|
this.send(command, optionsOrCb || {}, cb);
|
|
1168
1168
|
}
|
|
1169
1169
|
else {
|
|
@@ -1177,7 +1177,7 @@ var IoTWireless = (function (_super) {
|
|
|
1177
1177
|
}
|
|
1178
1178
|
else if (typeof cb === "function") {
|
|
1179
1179
|
if (typeof optionsOrCb !== "object")
|
|
1180
|
-
throw new Error("Expect http options but get "
|
|
1180
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1181
1181
|
this.send(command, optionsOrCb || {}, cb);
|
|
1182
1182
|
}
|
|
1183
1183
|
else {
|
|
@@ -1191,7 +1191,7 @@ var IoTWireless = (function (_super) {
|
|
|
1191
1191
|
}
|
|
1192
1192
|
else if (typeof cb === "function") {
|
|
1193
1193
|
if (typeof optionsOrCb !== "object")
|
|
1194
|
-
throw new Error("Expect http options but get "
|
|
1194
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1195
1195
|
this.send(command, optionsOrCb || {}, cb);
|
|
1196
1196
|
}
|
|
1197
1197
|
else {
|
|
@@ -1205,7 +1205,7 @@ var IoTWireless = (function (_super) {
|
|
|
1205
1205
|
}
|
|
1206
1206
|
else if (typeof cb === "function") {
|
|
1207
1207
|
if (typeof optionsOrCb !== "object")
|
|
1208
|
-
throw new Error("Expect http options but get "
|
|
1208
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1209
1209
|
this.send(command, optionsOrCb || {}, cb);
|
|
1210
1210
|
}
|
|
1211
1211
|
else {
|
|
@@ -1219,7 +1219,7 @@ var IoTWireless = (function (_super) {
|
|
|
1219
1219
|
}
|
|
1220
1220
|
else if (typeof cb === "function") {
|
|
1221
1221
|
if (typeof optionsOrCb !== "object")
|
|
1222
|
-
throw new Error("Expect http options but get "
|
|
1222
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1223
1223
|
this.send(command, optionsOrCb || {}, cb);
|
|
1224
1224
|
}
|
|
1225
1225
|
else {
|
|
@@ -1233,7 +1233,7 @@ var IoTWireless = (function (_super) {
|
|
|
1233
1233
|
}
|
|
1234
1234
|
else if (typeof cb === "function") {
|
|
1235
1235
|
if (typeof optionsOrCb !== "object")
|
|
1236
|
-
throw new Error("Expect http options but get "
|
|
1236
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1237
1237
|
this.send(command, optionsOrCb || {}, cb);
|
|
1238
1238
|
}
|
|
1239
1239
|
else {
|
|
@@ -1247,7 +1247,7 @@ var IoTWireless = (function (_super) {
|
|
|
1247
1247
|
}
|
|
1248
1248
|
else if (typeof cb === "function") {
|
|
1249
1249
|
if (typeof optionsOrCb !== "object")
|
|
1250
|
-
throw new Error("Expect http options but get "
|
|
1250
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1251
1251
|
this.send(command, optionsOrCb || {}, cb);
|
|
1252
1252
|
}
|
|
1253
1253
|
else {
|
|
@@ -1261,7 +1261,7 @@ var IoTWireless = (function (_super) {
|
|
|
1261
1261
|
}
|
|
1262
1262
|
else if (typeof cb === "function") {
|
|
1263
1263
|
if (typeof optionsOrCb !== "object")
|
|
1264
|
-
throw new Error("Expect http options but get "
|
|
1264
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1265
1265
|
this.send(command, optionsOrCb || {}, cb);
|
|
1266
1266
|
}
|
|
1267
1267
|
else {
|
|
@@ -1275,7 +1275,7 @@ var IoTWireless = (function (_super) {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
else if (typeof cb === "function") {
|
|
1277
1277
|
if (typeof optionsOrCb !== "object")
|
|
1278
|
-
throw new Error("Expect http options but get "
|
|
1278
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1279
1279
|
this.send(command, optionsOrCb || {}, cb);
|
|
1280
1280
|
}
|
|
1281
1281
|
else {
|
|
@@ -1289,7 +1289,7 @@ var IoTWireless = (function (_super) {
|
|
|
1289
1289
|
}
|
|
1290
1290
|
else if (typeof cb === "function") {
|
|
1291
1291
|
if (typeof optionsOrCb !== "object")
|
|
1292
|
-
throw new Error("Expect http options but get "
|
|
1292
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1293
1293
|
this.send(command, optionsOrCb || {}, cb);
|
|
1294
1294
|
}
|
|
1295
1295
|
else {
|
|
@@ -1303,7 +1303,7 @@ var IoTWireless = (function (_super) {
|
|
|
1303
1303
|
}
|
|
1304
1304
|
else if (typeof cb === "function") {
|
|
1305
1305
|
if (typeof optionsOrCb !== "object")
|
|
1306
|
-
throw new Error("Expect http options but get "
|
|
1306
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1307
1307
|
this.send(command, optionsOrCb || {}, cb);
|
|
1308
1308
|
}
|
|
1309
1309
|
else {
|