@aws-sdk/client-networkmanager 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/NetworkManagerClient.js +13 -13
- package/dist-cjs/commands/AcceptAttachmentCommand.js +3 -3
- package/dist-cjs/commands/AssociateConnectPeerCommand.js +3 -3
- package/dist-cjs/commands/AssociateCustomerGatewayCommand.js +3 -3
- package/dist-cjs/commands/AssociateLinkCommand.js +3 -3
- package/dist-cjs/commands/AssociateTransitGatewayConnectPeerCommand.js +3 -3
- package/dist-cjs/commands/CreateConnectAttachmentCommand.js +3 -3
- package/dist-cjs/commands/CreateConnectPeerCommand.js +3 -3
- package/dist-cjs/commands/CreateConnectionCommand.js +3 -3
- package/dist-cjs/commands/CreateCoreNetworkCommand.js +3 -3
- package/dist-cjs/commands/CreateDeviceCommand.js +3 -3
- package/dist-cjs/commands/CreateGlobalNetworkCommand.js +3 -3
- package/dist-cjs/commands/CreateLinkCommand.js +3 -3
- package/dist-cjs/commands/CreateSiteCommand.js +3 -3
- package/dist-cjs/commands/CreateSiteToSiteVpnAttachmentCommand.js +3 -3
- package/dist-cjs/commands/CreateVpcAttachmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteAttachmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteConnectPeerCommand.js +3 -3
- package/dist-cjs/commands/DeleteConnectionCommand.js +3 -3
- package/dist-cjs/commands/DeleteCoreNetworkCommand.js +3 -3
- package/dist-cjs/commands/DeleteCoreNetworkPolicyVersionCommand.js +3 -3
- package/dist-cjs/commands/DeleteDeviceCommand.js +3 -3
- package/dist-cjs/commands/DeleteGlobalNetworkCommand.js +3 -3
- package/dist-cjs/commands/DeleteLinkCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteSiteCommand.js +3 -3
- package/dist-cjs/commands/DeregisterTransitGatewayCommand.js +3 -3
- package/dist-cjs/commands/DescribeGlobalNetworksCommand.js +3 -3
- package/dist-cjs/commands/DisassociateConnectPeerCommand.js +3 -3
- package/dist-cjs/commands/DisassociateCustomerGatewayCommand.js +3 -3
- package/dist-cjs/commands/DisassociateLinkCommand.js +3 -3
- package/dist-cjs/commands/DisassociateTransitGatewayConnectPeerCommand.js +3 -3
- package/dist-cjs/commands/ExecuteCoreNetworkChangeSetCommand.js +3 -3
- package/dist-cjs/commands/GetConnectAttachmentCommand.js +3 -3
- package/dist-cjs/commands/GetConnectPeerAssociationsCommand.js +3 -3
- package/dist-cjs/commands/GetConnectPeerCommand.js +3 -3
- package/dist-cjs/commands/GetConnectionsCommand.js +3 -3
- package/dist-cjs/commands/GetCoreNetworkChangeSetCommand.js +3 -3
- package/dist-cjs/commands/GetCoreNetworkCommand.js +3 -3
- package/dist-cjs/commands/GetCoreNetworkPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetCustomerGatewayAssociationsCommand.js +3 -3
- package/dist-cjs/commands/GetDevicesCommand.js +3 -3
- package/dist-cjs/commands/GetLinkAssociationsCommand.js +3 -3
- package/dist-cjs/commands/GetLinksCommand.js +3 -3
- package/dist-cjs/commands/GetNetworkResourceCountsCommand.js +3 -3
- package/dist-cjs/commands/GetNetworkResourceRelationshipsCommand.js +3 -3
- package/dist-cjs/commands/GetNetworkResourcesCommand.js +3 -3
- package/dist-cjs/commands/GetNetworkRoutesCommand.js +3 -3
- package/dist-cjs/commands/GetNetworkTelemetryCommand.js +3 -3
- package/dist-cjs/commands/GetResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/GetRouteAnalysisCommand.js +3 -3
- package/dist-cjs/commands/GetSiteToSiteVpnAttachmentCommand.js +3 -3
- package/dist-cjs/commands/GetSitesCommand.js +3 -3
- package/dist-cjs/commands/GetTransitGatewayConnectPeerAssociationsCommand.js +3 -3
- package/dist-cjs/commands/GetTransitGatewayRegistrationsCommand.js +3 -3
- package/dist-cjs/commands/GetVpcAttachmentCommand.js +3 -3
- package/dist-cjs/commands/ListAttachmentsCommand.js +3 -3
- package/dist-cjs/commands/ListConnectPeersCommand.js +3 -3
- package/dist-cjs/commands/ListCoreNetworkPolicyVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListCoreNetworksCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutCoreNetworkPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/RegisterTransitGatewayCommand.js +3 -3
- package/dist-cjs/commands/RejectAttachmentCommand.js +3 -3
- package/dist-cjs/commands/RestoreCoreNetworkPolicyVersionCommand.js +3 -3
- package/dist-cjs/commands/StartRouteAnalysisCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateConnectionCommand.js +3 -3
- package/dist-cjs/commands/UpdateCoreNetworkCommand.js +3 -3
- package/dist-cjs/commands/UpdateDeviceCommand.js +3 -3
- package/dist-cjs/commands/UpdateGlobalNetworkCommand.js +3 -3
- package/dist-cjs/commands/UpdateLinkCommand.js +3 -3
- package/dist-cjs/commands/UpdateNetworkResourceMetadataCommand.js +3 -3
- package/dist-cjs/commands/UpdateSiteCommand.js +3 -3
- package/dist-cjs/commands/UpdateVpcAttachmentCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +499 -499
- 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/NetworkManager.js +76 -76
- package/dist-es/pagination/DescribeGlobalNetworksPaginator.js +4 -4
- package/dist-es/pagination/GetConnectPeerAssociationsPaginator.js +4 -4
- package/dist-es/pagination/GetConnectionsPaginator.js +4 -4
- package/dist-es/pagination/GetCoreNetworkChangeSetPaginator.js +4 -4
- package/dist-es/pagination/GetCustomerGatewayAssociationsPaginator.js +4 -4
- package/dist-es/pagination/GetDevicesPaginator.js +4 -4
- package/dist-es/pagination/GetLinkAssociationsPaginator.js +4 -4
- package/dist-es/pagination/GetLinksPaginator.js +4 -4
- package/dist-es/pagination/GetNetworkResourceCountsPaginator.js +4 -4
- package/dist-es/pagination/GetNetworkResourceRelationshipsPaginator.js +4 -4
- package/dist-es/pagination/GetNetworkResourcesPaginator.js +4 -4
- package/dist-es/pagination/GetNetworkTelemetryPaginator.js +4 -4
- package/dist-es/pagination/GetSitesPaginator.js +4 -4
- package/dist-es/pagination/GetTransitGatewayConnectPeerAssociationsPaginator.js +4 -4
- package/dist-es/pagination/GetTransitGatewayRegistrationsPaginator.js +4 -4
- package/dist-es/pagination/ListAttachmentsPaginator.js +4 -4
- package/dist-es/pagination/ListConnectPeersPaginator.js +4 -4
- package/dist-es/pagination/ListCoreNetworkPolicyVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListCoreNetworksPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +76 -76
- 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
|
@@ -88,7 +88,7 @@ var NetworkManager = (function (_super) {
|
|
|
88
88
|
}
|
|
89
89
|
else if (typeof cb === "function") {
|
|
90
90
|
if (typeof optionsOrCb !== "object")
|
|
91
|
-
throw new Error("Expect http options but get "
|
|
91
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
92
92
|
this.send(command, optionsOrCb || {}, cb);
|
|
93
93
|
}
|
|
94
94
|
else {
|
|
@@ -102,7 +102,7 @@ var NetworkManager = (function (_super) {
|
|
|
102
102
|
}
|
|
103
103
|
else if (typeof cb === "function") {
|
|
104
104
|
if (typeof optionsOrCb !== "object")
|
|
105
|
-
throw new Error("Expect http options but get "
|
|
105
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
106
106
|
this.send(command, optionsOrCb || {}, cb);
|
|
107
107
|
}
|
|
108
108
|
else {
|
|
@@ -116,7 +116,7 @@ var NetworkManager = (function (_super) {
|
|
|
116
116
|
}
|
|
117
117
|
else if (typeof cb === "function") {
|
|
118
118
|
if (typeof optionsOrCb !== "object")
|
|
119
|
-
throw new Error("Expect http options but get "
|
|
119
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
120
120
|
this.send(command, optionsOrCb || {}, cb);
|
|
121
121
|
}
|
|
122
122
|
else {
|
|
@@ -130,7 +130,7 @@ var NetworkManager = (function (_super) {
|
|
|
130
130
|
}
|
|
131
131
|
else if (typeof cb === "function") {
|
|
132
132
|
if (typeof optionsOrCb !== "object")
|
|
133
|
-
throw new Error("Expect http options but get "
|
|
133
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
134
134
|
this.send(command, optionsOrCb || {}, cb);
|
|
135
135
|
}
|
|
136
136
|
else {
|
|
@@ -144,7 +144,7 @@ var NetworkManager = (function (_super) {
|
|
|
144
144
|
}
|
|
145
145
|
else if (typeof cb === "function") {
|
|
146
146
|
if (typeof optionsOrCb !== "object")
|
|
147
|
-
throw new Error("Expect http options but get "
|
|
147
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
148
148
|
this.send(command, optionsOrCb || {}, cb);
|
|
149
149
|
}
|
|
150
150
|
else {
|
|
@@ -158,7 +158,7 @@ var NetworkManager = (function (_super) {
|
|
|
158
158
|
}
|
|
159
159
|
else if (typeof cb === "function") {
|
|
160
160
|
if (typeof optionsOrCb !== "object")
|
|
161
|
-
throw new Error("Expect http options but get "
|
|
161
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
162
162
|
this.send(command, optionsOrCb || {}, cb);
|
|
163
163
|
}
|
|
164
164
|
else {
|
|
@@ -172,7 +172,7 @@ var NetworkManager = (function (_super) {
|
|
|
172
172
|
}
|
|
173
173
|
else if (typeof cb === "function") {
|
|
174
174
|
if (typeof optionsOrCb !== "object")
|
|
175
|
-
throw new Error("Expect http options but get "
|
|
175
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
176
176
|
this.send(command, optionsOrCb || {}, cb);
|
|
177
177
|
}
|
|
178
178
|
else {
|
|
@@ -186,7 +186,7 @@ var NetworkManager = (function (_super) {
|
|
|
186
186
|
}
|
|
187
187
|
else if (typeof cb === "function") {
|
|
188
188
|
if (typeof optionsOrCb !== "object")
|
|
189
|
-
throw new Error("Expect http options but get "
|
|
189
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
190
190
|
this.send(command, optionsOrCb || {}, cb);
|
|
191
191
|
}
|
|
192
192
|
else {
|
|
@@ -200,7 +200,7 @@ var NetworkManager = (function (_super) {
|
|
|
200
200
|
}
|
|
201
201
|
else if (typeof cb === "function") {
|
|
202
202
|
if (typeof optionsOrCb !== "object")
|
|
203
|
-
throw new Error("Expect http options but get "
|
|
203
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
204
204
|
this.send(command, optionsOrCb || {}, cb);
|
|
205
205
|
}
|
|
206
206
|
else {
|
|
@@ -214,7 +214,7 @@ var NetworkManager = (function (_super) {
|
|
|
214
214
|
}
|
|
215
215
|
else if (typeof cb === "function") {
|
|
216
216
|
if (typeof optionsOrCb !== "object")
|
|
217
|
-
throw new Error("Expect http options but get "
|
|
217
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
218
218
|
this.send(command, optionsOrCb || {}, cb);
|
|
219
219
|
}
|
|
220
220
|
else {
|
|
@@ -228,7 +228,7 @@ var NetworkManager = (function (_super) {
|
|
|
228
228
|
}
|
|
229
229
|
else if (typeof cb === "function") {
|
|
230
230
|
if (typeof optionsOrCb !== "object")
|
|
231
|
-
throw new Error("Expect http options but get "
|
|
231
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
232
232
|
this.send(command, optionsOrCb || {}, cb);
|
|
233
233
|
}
|
|
234
234
|
else {
|
|
@@ -242,7 +242,7 @@ var NetworkManager = (function (_super) {
|
|
|
242
242
|
}
|
|
243
243
|
else if (typeof cb === "function") {
|
|
244
244
|
if (typeof optionsOrCb !== "object")
|
|
245
|
-
throw new Error("Expect http options but get "
|
|
245
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
246
246
|
this.send(command, optionsOrCb || {}, cb);
|
|
247
247
|
}
|
|
248
248
|
else {
|
|
@@ -256,7 +256,7 @@ var NetworkManager = (function (_super) {
|
|
|
256
256
|
}
|
|
257
257
|
else if (typeof cb === "function") {
|
|
258
258
|
if (typeof optionsOrCb !== "object")
|
|
259
|
-
throw new Error("Expect http options but get "
|
|
259
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
260
260
|
this.send(command, optionsOrCb || {}, cb);
|
|
261
261
|
}
|
|
262
262
|
else {
|
|
@@ -270,7 +270,7 @@ var NetworkManager = (function (_super) {
|
|
|
270
270
|
}
|
|
271
271
|
else if (typeof cb === "function") {
|
|
272
272
|
if (typeof optionsOrCb !== "object")
|
|
273
|
-
throw new Error("Expect http options but get "
|
|
273
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
274
274
|
this.send(command, optionsOrCb || {}, cb);
|
|
275
275
|
}
|
|
276
276
|
else {
|
|
@@ -284,7 +284,7 @@ var NetworkManager = (function (_super) {
|
|
|
284
284
|
}
|
|
285
285
|
else if (typeof cb === "function") {
|
|
286
286
|
if (typeof optionsOrCb !== "object")
|
|
287
|
-
throw new Error("Expect http options but get "
|
|
287
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
288
288
|
this.send(command, optionsOrCb || {}, cb);
|
|
289
289
|
}
|
|
290
290
|
else {
|
|
@@ -298,7 +298,7 @@ var NetworkManager = (function (_super) {
|
|
|
298
298
|
}
|
|
299
299
|
else if (typeof cb === "function") {
|
|
300
300
|
if (typeof optionsOrCb !== "object")
|
|
301
|
-
throw new Error("Expect http options but get "
|
|
301
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
302
302
|
this.send(command, optionsOrCb || {}, cb);
|
|
303
303
|
}
|
|
304
304
|
else {
|
|
@@ -312,7 +312,7 @@ var NetworkManager = (function (_super) {
|
|
|
312
312
|
}
|
|
313
313
|
else if (typeof cb === "function") {
|
|
314
314
|
if (typeof optionsOrCb !== "object")
|
|
315
|
-
throw new Error("Expect http options but get "
|
|
315
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
316
316
|
this.send(command, optionsOrCb || {}, cb);
|
|
317
317
|
}
|
|
318
318
|
else {
|
|
@@ -326,7 +326,7 @@ var NetworkManager = (function (_super) {
|
|
|
326
326
|
}
|
|
327
327
|
else if (typeof cb === "function") {
|
|
328
328
|
if (typeof optionsOrCb !== "object")
|
|
329
|
-
throw new Error("Expect http options but get "
|
|
329
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
330
330
|
this.send(command, optionsOrCb || {}, cb);
|
|
331
331
|
}
|
|
332
332
|
else {
|
|
@@ -340,7 +340,7 @@ var NetworkManager = (function (_super) {
|
|
|
340
340
|
}
|
|
341
341
|
else if (typeof cb === "function") {
|
|
342
342
|
if (typeof optionsOrCb !== "object")
|
|
343
|
-
throw new Error("Expect http options but get "
|
|
343
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
344
344
|
this.send(command, optionsOrCb || {}, cb);
|
|
345
345
|
}
|
|
346
346
|
else {
|
|
@@ -354,7 +354,7 @@ var NetworkManager = (function (_super) {
|
|
|
354
354
|
}
|
|
355
355
|
else if (typeof cb === "function") {
|
|
356
356
|
if (typeof optionsOrCb !== "object")
|
|
357
|
-
throw new Error("Expect http options but get "
|
|
357
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
358
358
|
this.send(command, optionsOrCb || {}, cb);
|
|
359
359
|
}
|
|
360
360
|
else {
|
|
@@ -368,7 +368,7 @@ var NetworkManager = (function (_super) {
|
|
|
368
368
|
}
|
|
369
369
|
else if (typeof cb === "function") {
|
|
370
370
|
if (typeof optionsOrCb !== "object")
|
|
371
|
-
throw new Error("Expect http options but get "
|
|
371
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
372
372
|
this.send(command, optionsOrCb || {}, cb);
|
|
373
373
|
}
|
|
374
374
|
else {
|
|
@@ -382,7 +382,7 @@ var NetworkManager = (function (_super) {
|
|
|
382
382
|
}
|
|
383
383
|
else if (typeof cb === "function") {
|
|
384
384
|
if (typeof optionsOrCb !== "object")
|
|
385
|
-
throw new Error("Expect http options but get "
|
|
385
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
386
386
|
this.send(command, optionsOrCb || {}, cb);
|
|
387
387
|
}
|
|
388
388
|
else {
|
|
@@ -396,7 +396,7 @@ var NetworkManager = (function (_super) {
|
|
|
396
396
|
}
|
|
397
397
|
else if (typeof cb === "function") {
|
|
398
398
|
if (typeof optionsOrCb !== "object")
|
|
399
|
-
throw new Error("Expect http options but get "
|
|
399
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
400
400
|
this.send(command, optionsOrCb || {}, cb);
|
|
401
401
|
}
|
|
402
402
|
else {
|
|
@@ -410,7 +410,7 @@ var NetworkManager = (function (_super) {
|
|
|
410
410
|
}
|
|
411
411
|
else if (typeof cb === "function") {
|
|
412
412
|
if (typeof optionsOrCb !== "object")
|
|
413
|
-
throw new Error("Expect http options but get "
|
|
413
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
414
414
|
this.send(command, optionsOrCb || {}, cb);
|
|
415
415
|
}
|
|
416
416
|
else {
|
|
@@ -424,7 +424,7 @@ var NetworkManager = (function (_super) {
|
|
|
424
424
|
}
|
|
425
425
|
else if (typeof cb === "function") {
|
|
426
426
|
if (typeof optionsOrCb !== "object")
|
|
427
|
-
throw new Error("Expect http options but get "
|
|
427
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
428
428
|
this.send(command, optionsOrCb || {}, cb);
|
|
429
429
|
}
|
|
430
430
|
else {
|
|
@@ -438,7 +438,7 @@ var NetworkManager = (function (_super) {
|
|
|
438
438
|
}
|
|
439
439
|
else if (typeof cb === "function") {
|
|
440
440
|
if (typeof optionsOrCb !== "object")
|
|
441
|
-
throw new Error("Expect http options but get "
|
|
441
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
442
442
|
this.send(command, optionsOrCb || {}, cb);
|
|
443
443
|
}
|
|
444
444
|
else {
|
|
@@ -452,7 +452,7 @@ var NetworkManager = (function (_super) {
|
|
|
452
452
|
}
|
|
453
453
|
else if (typeof cb === "function") {
|
|
454
454
|
if (typeof optionsOrCb !== "object")
|
|
455
|
-
throw new Error("Expect http options but get "
|
|
455
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
456
456
|
this.send(command, optionsOrCb || {}, cb);
|
|
457
457
|
}
|
|
458
458
|
else {
|
|
@@ -466,7 +466,7 @@ var NetworkManager = (function (_super) {
|
|
|
466
466
|
}
|
|
467
467
|
else if (typeof cb === "function") {
|
|
468
468
|
if (typeof optionsOrCb !== "object")
|
|
469
|
-
throw new Error("Expect http options but get "
|
|
469
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
470
470
|
this.send(command, optionsOrCb || {}, cb);
|
|
471
471
|
}
|
|
472
472
|
else {
|
|
@@ -480,7 +480,7 @@ var NetworkManager = (function (_super) {
|
|
|
480
480
|
}
|
|
481
481
|
else if (typeof cb === "function") {
|
|
482
482
|
if (typeof optionsOrCb !== "object")
|
|
483
|
-
throw new Error("Expect http options but get "
|
|
483
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
484
484
|
this.send(command, optionsOrCb || {}, cb);
|
|
485
485
|
}
|
|
486
486
|
else {
|
|
@@ -494,7 +494,7 @@ var NetworkManager = (function (_super) {
|
|
|
494
494
|
}
|
|
495
495
|
else if (typeof cb === "function") {
|
|
496
496
|
if (typeof optionsOrCb !== "object")
|
|
497
|
-
throw new Error("Expect http options but get "
|
|
497
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
498
498
|
this.send(command, optionsOrCb || {}, cb);
|
|
499
499
|
}
|
|
500
500
|
else {
|
|
@@ -508,7 +508,7 @@ var NetworkManager = (function (_super) {
|
|
|
508
508
|
}
|
|
509
509
|
else if (typeof cb === "function") {
|
|
510
510
|
if (typeof optionsOrCb !== "object")
|
|
511
|
-
throw new Error("Expect http options but get "
|
|
511
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
512
512
|
this.send(command, optionsOrCb || {}, cb);
|
|
513
513
|
}
|
|
514
514
|
else {
|
|
@@ -522,7 +522,7 @@ var NetworkManager = (function (_super) {
|
|
|
522
522
|
}
|
|
523
523
|
else if (typeof cb === "function") {
|
|
524
524
|
if (typeof optionsOrCb !== "object")
|
|
525
|
-
throw new Error("Expect http options but get "
|
|
525
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
526
526
|
this.send(command, optionsOrCb || {}, cb);
|
|
527
527
|
}
|
|
528
528
|
else {
|
|
@@ -536,7 +536,7 @@ var NetworkManager = (function (_super) {
|
|
|
536
536
|
}
|
|
537
537
|
else if (typeof cb === "function") {
|
|
538
538
|
if (typeof optionsOrCb !== "object")
|
|
539
|
-
throw new Error("Expect http options but get "
|
|
539
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
540
540
|
this.send(command, optionsOrCb || {}, cb);
|
|
541
541
|
}
|
|
542
542
|
else {
|
|
@@ -550,7 +550,7 @@ var NetworkManager = (function (_super) {
|
|
|
550
550
|
}
|
|
551
551
|
else if (typeof cb === "function") {
|
|
552
552
|
if (typeof optionsOrCb !== "object")
|
|
553
|
-
throw new Error("Expect http options but get "
|
|
553
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
554
554
|
this.send(command, optionsOrCb || {}, cb);
|
|
555
555
|
}
|
|
556
556
|
else {
|
|
@@ -564,7 +564,7 @@ var NetworkManager = (function (_super) {
|
|
|
564
564
|
}
|
|
565
565
|
else if (typeof cb === "function") {
|
|
566
566
|
if (typeof optionsOrCb !== "object")
|
|
567
|
-
throw new Error("Expect http options but get "
|
|
567
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
568
568
|
this.send(command, optionsOrCb || {}, cb);
|
|
569
569
|
}
|
|
570
570
|
else {
|
|
@@ -578,7 +578,7 @@ var NetworkManager = (function (_super) {
|
|
|
578
578
|
}
|
|
579
579
|
else if (typeof cb === "function") {
|
|
580
580
|
if (typeof optionsOrCb !== "object")
|
|
581
|
-
throw new Error("Expect http options but get "
|
|
581
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
582
582
|
this.send(command, optionsOrCb || {}, cb);
|
|
583
583
|
}
|
|
584
584
|
else {
|
|
@@ -592,7 +592,7 @@ var NetworkManager = (function (_super) {
|
|
|
592
592
|
}
|
|
593
593
|
else if (typeof cb === "function") {
|
|
594
594
|
if (typeof optionsOrCb !== "object")
|
|
595
|
-
throw new Error("Expect http options but get "
|
|
595
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
596
596
|
this.send(command, optionsOrCb || {}, cb);
|
|
597
597
|
}
|
|
598
598
|
else {
|
|
@@ -606,7 +606,7 @@ var NetworkManager = (function (_super) {
|
|
|
606
606
|
}
|
|
607
607
|
else if (typeof cb === "function") {
|
|
608
608
|
if (typeof optionsOrCb !== "object")
|
|
609
|
-
throw new Error("Expect http options but get "
|
|
609
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
610
610
|
this.send(command, optionsOrCb || {}, cb);
|
|
611
611
|
}
|
|
612
612
|
else {
|
|
@@ -620,7 +620,7 @@ var NetworkManager = (function (_super) {
|
|
|
620
620
|
}
|
|
621
621
|
else if (typeof cb === "function") {
|
|
622
622
|
if (typeof optionsOrCb !== "object")
|
|
623
|
-
throw new Error("Expect http options but get "
|
|
623
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
624
624
|
this.send(command, optionsOrCb || {}, cb);
|
|
625
625
|
}
|
|
626
626
|
else {
|
|
@@ -634,7 +634,7 @@ var NetworkManager = (function (_super) {
|
|
|
634
634
|
}
|
|
635
635
|
else if (typeof cb === "function") {
|
|
636
636
|
if (typeof optionsOrCb !== "object")
|
|
637
|
-
throw new Error("Expect http options but get "
|
|
637
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
638
638
|
this.send(command, optionsOrCb || {}, cb);
|
|
639
639
|
}
|
|
640
640
|
else {
|
|
@@ -648,7 +648,7 @@ var NetworkManager = (function (_super) {
|
|
|
648
648
|
}
|
|
649
649
|
else if (typeof cb === "function") {
|
|
650
650
|
if (typeof optionsOrCb !== "object")
|
|
651
|
-
throw new Error("Expect http options but get "
|
|
651
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
652
652
|
this.send(command, optionsOrCb || {}, cb);
|
|
653
653
|
}
|
|
654
654
|
else {
|
|
@@ -662,7 +662,7 @@ var NetworkManager = (function (_super) {
|
|
|
662
662
|
}
|
|
663
663
|
else if (typeof cb === "function") {
|
|
664
664
|
if (typeof optionsOrCb !== "object")
|
|
665
|
-
throw new Error("Expect http options but get "
|
|
665
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
666
666
|
this.send(command, optionsOrCb || {}, cb);
|
|
667
667
|
}
|
|
668
668
|
else {
|
|
@@ -676,7 +676,7 @@ var NetworkManager = (function (_super) {
|
|
|
676
676
|
}
|
|
677
677
|
else if (typeof cb === "function") {
|
|
678
678
|
if (typeof optionsOrCb !== "object")
|
|
679
|
-
throw new Error("Expect http options but get "
|
|
679
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
680
680
|
this.send(command, optionsOrCb || {}, cb);
|
|
681
681
|
}
|
|
682
682
|
else {
|
|
@@ -690,7 +690,7 @@ var NetworkManager = (function (_super) {
|
|
|
690
690
|
}
|
|
691
691
|
else if (typeof cb === "function") {
|
|
692
692
|
if (typeof optionsOrCb !== "object")
|
|
693
|
-
throw new Error("Expect http options but get "
|
|
693
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
694
694
|
this.send(command, optionsOrCb || {}, cb);
|
|
695
695
|
}
|
|
696
696
|
else {
|
|
@@ -704,7 +704,7 @@ var NetworkManager = (function (_super) {
|
|
|
704
704
|
}
|
|
705
705
|
else if (typeof cb === "function") {
|
|
706
706
|
if (typeof optionsOrCb !== "object")
|
|
707
|
-
throw new Error("Expect http options but get "
|
|
707
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
708
708
|
this.send(command, optionsOrCb || {}, cb);
|
|
709
709
|
}
|
|
710
710
|
else {
|
|
@@ -718,7 +718,7 @@ var NetworkManager = (function (_super) {
|
|
|
718
718
|
}
|
|
719
719
|
else if (typeof cb === "function") {
|
|
720
720
|
if (typeof optionsOrCb !== "object")
|
|
721
|
-
throw new Error("Expect http options but get "
|
|
721
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
722
722
|
this.send(command, optionsOrCb || {}, cb);
|
|
723
723
|
}
|
|
724
724
|
else {
|
|
@@ -732,7 +732,7 @@ var NetworkManager = (function (_super) {
|
|
|
732
732
|
}
|
|
733
733
|
else if (typeof cb === "function") {
|
|
734
734
|
if (typeof optionsOrCb !== "object")
|
|
735
|
-
throw new Error("Expect http options but get "
|
|
735
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
736
736
|
this.send(command, optionsOrCb || {}, cb);
|
|
737
737
|
}
|
|
738
738
|
else {
|
|
@@ -746,7 +746,7 @@ var NetworkManager = (function (_super) {
|
|
|
746
746
|
}
|
|
747
747
|
else if (typeof cb === "function") {
|
|
748
748
|
if (typeof optionsOrCb !== "object")
|
|
749
|
-
throw new Error("Expect http options but get "
|
|
749
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
750
750
|
this.send(command, optionsOrCb || {}, cb);
|
|
751
751
|
}
|
|
752
752
|
else {
|
|
@@ -760,7 +760,7 @@ var NetworkManager = (function (_super) {
|
|
|
760
760
|
}
|
|
761
761
|
else if (typeof cb === "function") {
|
|
762
762
|
if (typeof optionsOrCb !== "object")
|
|
763
|
-
throw new Error("Expect http options but get "
|
|
763
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
764
764
|
this.send(command, optionsOrCb || {}, cb);
|
|
765
765
|
}
|
|
766
766
|
else {
|
|
@@ -774,7 +774,7 @@ var NetworkManager = (function (_super) {
|
|
|
774
774
|
}
|
|
775
775
|
else if (typeof cb === "function") {
|
|
776
776
|
if (typeof optionsOrCb !== "object")
|
|
777
|
-
throw new Error("Expect http options but get "
|
|
777
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
778
778
|
this.send(command, optionsOrCb || {}, cb);
|
|
779
779
|
}
|
|
780
780
|
else {
|
|
@@ -788,7 +788,7 @@ var NetworkManager = (function (_super) {
|
|
|
788
788
|
}
|
|
789
789
|
else if (typeof cb === "function") {
|
|
790
790
|
if (typeof optionsOrCb !== "object")
|
|
791
|
-
throw new Error("Expect http options but get "
|
|
791
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
792
792
|
this.send(command, optionsOrCb || {}, cb);
|
|
793
793
|
}
|
|
794
794
|
else {
|
|
@@ -802,7 +802,7 @@ var NetworkManager = (function (_super) {
|
|
|
802
802
|
}
|
|
803
803
|
else if (typeof cb === "function") {
|
|
804
804
|
if (typeof optionsOrCb !== "object")
|
|
805
|
-
throw new Error("Expect http options but get "
|
|
805
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
806
806
|
this.send(command, optionsOrCb || {}, cb);
|
|
807
807
|
}
|
|
808
808
|
else {
|
|
@@ -816,7 +816,7 @@ var NetworkManager = (function (_super) {
|
|
|
816
816
|
}
|
|
817
817
|
else if (typeof cb === "function") {
|
|
818
818
|
if (typeof optionsOrCb !== "object")
|
|
819
|
-
throw new Error("Expect http options but get "
|
|
819
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
820
820
|
this.send(command, optionsOrCb || {}, cb);
|
|
821
821
|
}
|
|
822
822
|
else {
|
|
@@ -830,7 +830,7 @@ var NetworkManager = (function (_super) {
|
|
|
830
830
|
}
|
|
831
831
|
else if (typeof cb === "function") {
|
|
832
832
|
if (typeof optionsOrCb !== "object")
|
|
833
|
-
throw new Error("Expect http options but get "
|
|
833
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
834
834
|
this.send(command, optionsOrCb || {}, cb);
|
|
835
835
|
}
|
|
836
836
|
else {
|
|
@@ -844,7 +844,7 @@ var NetworkManager = (function (_super) {
|
|
|
844
844
|
}
|
|
845
845
|
else if (typeof cb === "function") {
|
|
846
846
|
if (typeof optionsOrCb !== "object")
|
|
847
|
-
throw new Error("Expect http options but get "
|
|
847
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
848
848
|
this.send(command, optionsOrCb || {}, cb);
|
|
849
849
|
}
|
|
850
850
|
else {
|
|
@@ -858,7 +858,7 @@ var NetworkManager = (function (_super) {
|
|
|
858
858
|
}
|
|
859
859
|
else if (typeof cb === "function") {
|
|
860
860
|
if (typeof optionsOrCb !== "object")
|
|
861
|
-
throw new Error("Expect http options but get "
|
|
861
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
862
862
|
this.send(command, optionsOrCb || {}, cb);
|
|
863
863
|
}
|
|
864
864
|
else {
|
|
@@ -872,7 +872,7 @@ var NetworkManager = (function (_super) {
|
|
|
872
872
|
}
|
|
873
873
|
else if (typeof cb === "function") {
|
|
874
874
|
if (typeof optionsOrCb !== "object")
|
|
875
|
-
throw new Error("Expect http options but get "
|
|
875
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
876
876
|
this.send(command, optionsOrCb || {}, cb);
|
|
877
877
|
}
|
|
878
878
|
else {
|
|
@@ -886,7 +886,7 @@ var NetworkManager = (function (_super) {
|
|
|
886
886
|
}
|
|
887
887
|
else if (typeof cb === "function") {
|
|
888
888
|
if (typeof optionsOrCb !== "object")
|
|
889
|
-
throw new Error("Expect http options but get "
|
|
889
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
890
890
|
this.send(command, optionsOrCb || {}, cb);
|
|
891
891
|
}
|
|
892
892
|
else {
|
|
@@ -900,7 +900,7 @@ var NetworkManager = (function (_super) {
|
|
|
900
900
|
}
|
|
901
901
|
else if (typeof cb === "function") {
|
|
902
902
|
if (typeof optionsOrCb !== "object")
|
|
903
|
-
throw new Error("Expect http options but get "
|
|
903
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
904
904
|
this.send(command, optionsOrCb || {}, cb);
|
|
905
905
|
}
|
|
906
906
|
else {
|
|
@@ -914,7 +914,7 @@ var NetworkManager = (function (_super) {
|
|
|
914
914
|
}
|
|
915
915
|
else if (typeof cb === "function") {
|
|
916
916
|
if (typeof optionsOrCb !== "object")
|
|
917
|
-
throw new Error("Expect http options but get "
|
|
917
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
918
918
|
this.send(command, optionsOrCb || {}, cb);
|
|
919
919
|
}
|
|
920
920
|
else {
|
|
@@ -928,7 +928,7 @@ var NetworkManager = (function (_super) {
|
|
|
928
928
|
}
|
|
929
929
|
else if (typeof cb === "function") {
|
|
930
930
|
if (typeof optionsOrCb !== "object")
|
|
931
|
-
throw new Error("Expect http options but get "
|
|
931
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
932
932
|
this.send(command, optionsOrCb || {}, cb);
|
|
933
933
|
}
|
|
934
934
|
else {
|
|
@@ -942,7 +942,7 @@ var NetworkManager = (function (_super) {
|
|
|
942
942
|
}
|
|
943
943
|
else if (typeof cb === "function") {
|
|
944
944
|
if (typeof optionsOrCb !== "object")
|
|
945
|
-
throw new Error("Expect http options but get "
|
|
945
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
946
946
|
this.send(command, optionsOrCb || {}, cb);
|
|
947
947
|
}
|
|
948
948
|
else {
|
|
@@ -956,7 +956,7 @@ var NetworkManager = (function (_super) {
|
|
|
956
956
|
}
|
|
957
957
|
else if (typeof cb === "function") {
|
|
958
958
|
if (typeof optionsOrCb !== "object")
|
|
959
|
-
throw new Error("Expect http options but get "
|
|
959
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
960
960
|
this.send(command, optionsOrCb || {}, cb);
|
|
961
961
|
}
|
|
962
962
|
else {
|
|
@@ -970,7 +970,7 @@ var NetworkManager = (function (_super) {
|
|
|
970
970
|
}
|
|
971
971
|
else if (typeof cb === "function") {
|
|
972
972
|
if (typeof optionsOrCb !== "object")
|
|
973
|
-
throw new Error("Expect http options but get "
|
|
973
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
974
974
|
this.send(command, optionsOrCb || {}, cb);
|
|
975
975
|
}
|
|
976
976
|
else {
|
|
@@ -984,7 +984,7 @@ var NetworkManager = (function (_super) {
|
|
|
984
984
|
}
|
|
985
985
|
else if (typeof cb === "function") {
|
|
986
986
|
if (typeof optionsOrCb !== "object")
|
|
987
|
-
throw new Error("Expect http options but get "
|
|
987
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
988
988
|
this.send(command, optionsOrCb || {}, cb);
|
|
989
989
|
}
|
|
990
990
|
else {
|
|
@@ -998,7 +998,7 @@ var NetworkManager = (function (_super) {
|
|
|
998
998
|
}
|
|
999
999
|
else if (typeof cb === "function") {
|
|
1000
1000
|
if (typeof optionsOrCb !== "object")
|
|
1001
|
-
throw new Error("Expect http options but get "
|
|
1001
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1002
1002
|
this.send(command, optionsOrCb || {}, cb);
|
|
1003
1003
|
}
|
|
1004
1004
|
else {
|
|
@@ -1012,7 +1012,7 @@ var NetworkManager = (function (_super) {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
else if (typeof cb === "function") {
|
|
1014
1014
|
if (typeof optionsOrCb !== "object")
|
|
1015
|
-
throw new Error("Expect http options but get "
|
|
1015
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1016
1016
|
this.send(command, optionsOrCb || {}, cb);
|
|
1017
1017
|
}
|
|
1018
1018
|
else {
|
|
@@ -1026,7 +1026,7 @@ var NetworkManager = (function (_super) {
|
|
|
1026
1026
|
}
|
|
1027
1027
|
else if (typeof cb === "function") {
|
|
1028
1028
|
if (typeof optionsOrCb !== "object")
|
|
1029
|
-
throw new Error("Expect http options but get "
|
|
1029
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1030
1030
|
this.send(command, optionsOrCb || {}, cb);
|
|
1031
1031
|
}
|
|
1032
1032
|
else {
|
|
@@ -1040,7 +1040,7 @@ var NetworkManager = (function (_super) {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
else if (typeof cb === "function") {
|
|
1042
1042
|
if (typeof optionsOrCb !== "object")
|
|
1043
|
-
throw new Error("Expect http options but get "
|
|
1043
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1044
1044
|
this.send(command, optionsOrCb || {}, cb);
|
|
1045
1045
|
}
|
|
1046
1046
|
else {
|
|
@@ -1054,7 +1054,7 @@ var NetworkManager = (function (_super) {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
else if (typeof cb === "function") {
|
|
1056
1056
|
if (typeof optionsOrCb !== "object")
|
|
1057
|
-
throw new Error("Expect http options but get "
|
|
1057
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1058
1058
|
this.send(command, optionsOrCb || {}, cb);
|
|
1059
1059
|
}
|
|
1060
1060
|
else {
|
|
@@ -1068,7 +1068,7 @@ var NetworkManager = (function (_super) {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
else if (typeof cb === "function") {
|
|
1070
1070
|
if (typeof optionsOrCb !== "object")
|
|
1071
|
-
throw new Error("Expect http options but get "
|
|
1071
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1072
1072
|
this.send(command, optionsOrCb || {}, cb);
|
|
1073
1073
|
}
|
|
1074
1074
|
else {
|
|
@@ -1082,7 +1082,7 @@ var NetworkManager = (function (_super) {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
else if (typeof cb === "function") {
|
|
1084
1084
|
if (typeof optionsOrCb !== "object")
|
|
1085
|
-
throw new Error("Expect http options but get "
|
|
1085
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1086
1086
|
this.send(command, optionsOrCb || {}, cb);
|
|
1087
1087
|
}
|
|
1088
1088
|
else {
|
|
@@ -1096,7 +1096,7 @@ var NetworkManager = (function (_super) {
|
|
|
1096
1096
|
}
|
|
1097
1097
|
else if (typeof cb === "function") {
|
|
1098
1098
|
if (typeof optionsOrCb !== "object")
|
|
1099
|
-
throw new Error("Expect http options but get "
|
|
1099
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1100
1100
|
this.send(command, optionsOrCb || {}, cb);
|
|
1101
1101
|
}
|
|
1102
1102
|
else {
|
|
@@ -1110,7 +1110,7 @@ var NetworkManager = (function (_super) {
|
|
|
1110
1110
|
}
|
|
1111
1111
|
else if (typeof cb === "function") {
|
|
1112
1112
|
if (typeof optionsOrCb !== "object")
|
|
1113
|
-
throw new Error("Expect http options but get "
|
|
1113
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1114
1114
|
this.send(command, optionsOrCb || {}, cb);
|
|
1115
1115
|
}
|
|
1116
1116
|
else {
|
|
@@ -1124,7 +1124,7 @@ var NetworkManager = (function (_super) {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
else if (typeof cb === "function") {
|
|
1126
1126
|
if (typeof optionsOrCb !== "object")
|
|
1127
|
-
throw new Error("Expect http options but get "
|
|
1127
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1128
1128
|
this.send(command, optionsOrCb || {}, cb);
|
|
1129
1129
|
}
|
|
1130
1130
|
else {
|
|
@@ -1138,7 +1138,7 @@ var NetworkManager = (function (_super) {
|
|
|
1138
1138
|
}
|
|
1139
1139
|
else if (typeof cb === "function") {
|
|
1140
1140
|
if (typeof optionsOrCb !== "object")
|
|
1141
|
-
throw new Error("Expect http options but get "
|
|
1141
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1142
1142
|
this.send(command, optionsOrCb || {}, cb);
|
|
1143
1143
|
}
|
|
1144
1144
|
else {
|