@aws-sdk/client-connect 3.54.1 → 3.58.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 +27 -0
- package/dist-cjs/ConnectClient.js +13 -13
- package/dist-cjs/commands/AssociateApprovedOriginCommand.js +3 -3
- package/dist-cjs/commands/AssociateBotCommand.js +3 -3
- package/dist-cjs/commands/AssociateDefaultVocabularyCommand.js +3 -3
- package/dist-cjs/commands/AssociateInstanceStorageConfigCommand.js +3 -3
- package/dist-cjs/commands/AssociateLambdaFunctionCommand.js +3 -3
- package/dist-cjs/commands/AssociateLexBotCommand.js +3 -3
- package/dist-cjs/commands/AssociateQueueQuickConnectsCommand.js +3 -3
- package/dist-cjs/commands/AssociateRoutingProfileQueuesCommand.js +3 -3
- package/dist-cjs/commands/AssociateSecurityKeyCommand.js +3 -3
- package/dist-cjs/commands/CreateAgentStatusCommand.js +3 -3
- package/dist-cjs/commands/CreateContactFlowCommand.js +3 -3
- package/dist-cjs/commands/CreateContactFlowModuleCommand.js +3 -3
- package/dist-cjs/commands/CreateHoursOfOperationCommand.js +3 -3
- package/dist-cjs/commands/CreateInstanceCommand.js +3 -3
- package/dist-cjs/commands/CreateIntegrationAssociationCommand.js +3 -3
- package/dist-cjs/commands/CreateQueueCommand.js +3 -3
- package/dist-cjs/commands/CreateQuickConnectCommand.js +3 -3
- package/dist-cjs/commands/CreateRoutingProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateSecurityProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateUseCaseCommand.js +3 -3
- package/dist-cjs/commands/CreateUserCommand.js +3 -3
- package/dist-cjs/commands/CreateUserHierarchyGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateVocabularyCommand.js +3 -3
- package/dist-cjs/commands/DeleteContactFlowCommand.js +3 -3
- package/dist-cjs/commands/DeleteContactFlowModuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteHoursOfOperationCommand.js +3 -3
- package/dist-cjs/commands/DeleteInstanceCommand.js +3 -3
- package/dist-cjs/commands/DeleteIntegrationAssociationCommand.js +3 -3
- package/dist-cjs/commands/DeleteQuickConnectCommand.js +3 -3
- package/dist-cjs/commands/DeleteSecurityProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteUseCaseCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserHierarchyGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteVocabularyCommand.js +3 -3
- package/dist-cjs/commands/DescribeAgentStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeContactCommand.js +3 -3
- package/dist-cjs/commands/DescribeContactFlowCommand.js +3 -3
- package/dist-cjs/commands/DescribeContactFlowModuleCommand.js +3 -3
- package/dist-cjs/commands/DescribeHoursOfOperationCommand.js +3 -3
- package/dist-cjs/commands/DescribeInstanceAttributeCommand.js +3 -3
- package/dist-cjs/commands/DescribeInstanceCommand.js +3 -3
- package/dist-cjs/commands/DescribeInstanceStorageConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribeQueueCommand.js +3 -3
- package/dist-cjs/commands/DescribeQuickConnectCommand.js +3 -3
- package/dist-cjs/commands/DescribeRoutingProfileCommand.js +3 -3
- package/dist-cjs/commands/DescribeSecurityProfileCommand.js +3 -3
- package/dist-cjs/commands/DescribeUserCommand.js +3 -3
- package/dist-cjs/commands/DescribeUserHierarchyGroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeUserHierarchyStructureCommand.js +3 -3
- package/dist-cjs/commands/DescribeVocabularyCommand.js +3 -3
- package/dist-cjs/commands/DisassociateApprovedOriginCommand.js +3 -3
- package/dist-cjs/commands/DisassociateBotCommand.js +3 -3
- package/dist-cjs/commands/DisassociateInstanceStorageConfigCommand.js +3 -3
- package/dist-cjs/commands/DisassociateLambdaFunctionCommand.js +3 -3
- package/dist-cjs/commands/DisassociateLexBotCommand.js +3 -3
- package/dist-cjs/commands/DisassociateQueueQuickConnectsCommand.js +3 -3
- package/dist-cjs/commands/DisassociateRoutingProfileQueuesCommand.js +3 -3
- package/dist-cjs/commands/DisassociateSecurityKeyCommand.js +3 -3
- package/dist-cjs/commands/GetContactAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetCurrentMetricDataCommand.js +3 -3
- package/dist-cjs/commands/GetFederationTokenCommand.js +3 -3
- package/dist-cjs/commands/GetMetricDataCommand.js +3 -3
- package/dist-cjs/commands/ListAgentStatusesCommand.js +3 -3
- package/dist-cjs/commands/ListApprovedOriginsCommand.js +3 -3
- package/dist-cjs/commands/ListBotsCommand.js +3 -3
- package/dist-cjs/commands/ListContactFlowModulesCommand.js +3 -3
- package/dist-cjs/commands/ListContactFlowsCommand.js +3 -3
- package/dist-cjs/commands/ListContactReferencesCommand.js +3 -3
- package/dist-cjs/commands/ListDefaultVocabulariesCommand.js +3 -3
- package/dist-cjs/commands/ListHoursOfOperationsCommand.js +3 -3
- package/dist-cjs/commands/ListInstanceAttributesCommand.js +3 -3
- package/dist-cjs/commands/ListInstanceStorageConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListInstancesCommand.js +3 -3
- package/dist-cjs/commands/ListIntegrationAssociationsCommand.js +3 -3
- package/dist-cjs/commands/ListLambdaFunctionsCommand.js +3 -3
- package/dist-cjs/commands/ListLexBotsCommand.js +3 -3
- package/dist-cjs/commands/ListPhoneNumbersCommand.js +3 -3
- package/dist-cjs/commands/ListPromptsCommand.js +3 -3
- package/dist-cjs/commands/ListQueueQuickConnectsCommand.js +3 -3
- package/dist-cjs/commands/ListQueuesCommand.js +3 -3
- package/dist-cjs/commands/ListQuickConnectsCommand.js +3 -3
- package/dist-cjs/commands/ListRoutingProfileQueuesCommand.js +3 -3
- package/dist-cjs/commands/ListRoutingProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListSecurityKeysCommand.js +3 -3
- package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +3 -3
- package/dist-cjs/commands/ListSecurityProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListUseCasesCommand.js +3 -3
- package/dist-cjs/commands/ListUserHierarchyGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListUsersCommand.js +3 -3
- package/dist-cjs/commands/ResumeContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/SearchVocabulariesCommand.js +3 -3
- package/dist-cjs/commands/StartChatContactCommand.js +3 -3
- package/dist-cjs/commands/StartContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/StartContactStreamingCommand.js +3 -3
- package/dist-cjs/commands/StartOutboundVoiceContactCommand.js +3 -3
- package/dist-cjs/commands/StartTaskContactCommand.js +3 -3
- package/dist-cjs/commands/StopContactCommand.js +3 -3
- package/dist-cjs/commands/StopContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/StopContactStreamingCommand.js +3 -3
- package/dist-cjs/commands/SuspendContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAgentStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactAttributesCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactFlowContentCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactFlowMetadataCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactFlowModuleContentCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactFlowModuleMetadataCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactFlowNameCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactScheduleCommand.js +3 -3
- package/dist-cjs/commands/UpdateHoursOfOperationCommand.js +3 -3
- package/dist-cjs/commands/UpdateInstanceAttributeCommand.js +3 -3
- package/dist-cjs/commands/UpdateInstanceStorageConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateQueueHoursOfOperationCommand.js +3 -3
- package/dist-cjs/commands/UpdateQueueMaxContactsCommand.js +3 -3
- package/dist-cjs/commands/UpdateQueueNameCommand.js +3 -3
- package/dist-cjs/commands/UpdateQueueOutboundCallerConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateQueueStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateQuickConnectConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateQuickConnectNameCommand.js +3 -3
- package/dist-cjs/commands/UpdateRoutingProfileConcurrencyCommand.js +3 -3
- package/dist-cjs/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +3 -3
- package/dist-cjs/commands/UpdateRoutingProfileNameCommand.js +3 -3
- package/dist-cjs/commands/UpdateRoutingProfileQueuesCommand.js +3 -3
- package/dist-cjs/commands/UpdateSecurityProfileCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserHierarchyCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserHierarchyGroupNameCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserHierarchyStructureCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserIdentityInfoCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserPhoneConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserRoutingProfileCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserSecurityProfilesCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +765 -751
- 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/Connect.js +134 -134
- package/dist-es/pagination/GetCurrentMetricDataPaginator.js +4 -4
- package/dist-es/pagination/GetMetricDataPaginator.js +4 -4
- package/dist-es/pagination/ListAgentStatusesPaginator.js +4 -4
- package/dist-es/pagination/ListApprovedOriginsPaginator.js +4 -4
- package/dist-es/pagination/ListBotsPaginator.js +4 -4
- package/dist-es/pagination/ListContactFlowModulesPaginator.js +4 -4
- package/dist-es/pagination/ListContactFlowsPaginator.js +4 -4
- package/dist-es/pagination/ListContactReferencesPaginator.js +4 -4
- package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +4 -4
- package/dist-es/pagination/ListHoursOfOperationsPaginator.js +4 -4
- package/dist-es/pagination/ListInstanceAttributesPaginator.js +4 -4
- package/dist-es/pagination/ListInstanceStorageConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListInstancesPaginator.js +4 -4
- package/dist-es/pagination/ListIntegrationAssociationsPaginator.js +4 -4
- package/dist-es/pagination/ListLambdaFunctionsPaginator.js +4 -4
- package/dist-es/pagination/ListLexBotsPaginator.js +4 -4
- package/dist-es/pagination/ListPhoneNumbersPaginator.js +4 -4
- package/dist-es/pagination/ListPromptsPaginator.js +4 -4
- package/dist-es/pagination/ListQueueQuickConnectsPaginator.js +4 -4
- package/dist-es/pagination/ListQueuesPaginator.js +4 -4
- package/dist-es/pagination/ListQuickConnectsPaginator.js +4 -4
- package/dist-es/pagination/ListRoutingProfileQueuesPaginator.js +4 -4
- package/dist-es/pagination/ListRoutingProfilesPaginator.js +4 -4
- package/dist-es/pagination/ListSecurityKeysPaginator.js +4 -4
- package/dist-es/pagination/ListSecurityProfilePermissionsPaginator.js +4 -4
- package/dist-es/pagination/ListSecurityProfilesPaginator.js +4 -4
- package/dist-es/pagination/ListUseCasesPaginator.js +4 -4
- package/dist-es/pagination/ListUserHierarchyGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListUsersPaginator.js +4 -4
- package/dist-es/pagination/SearchVocabulariesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +148 -135
- package/dist-types/Connect.d.ts +26 -2
- package/dist-types/commands/StartContactRecordingCommand.d.ts +11 -1
- package/dist-types/commands/StopContactCommand.d.ts +15 -1
- package/dist-types/models/models_0.d.ts +5 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
package/dist-es/Connect.js
CHANGED
|
@@ -146,7 +146,7 @@ var Connect = (function (_super) {
|
|
|
146
146
|
}
|
|
147
147
|
else if (typeof cb === "function") {
|
|
148
148
|
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error("Expect http options but get "
|
|
149
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
150
150
|
this.send(command, optionsOrCb || {}, cb);
|
|
151
151
|
}
|
|
152
152
|
else {
|
|
@@ -160,7 +160,7 @@ var Connect = (function (_super) {
|
|
|
160
160
|
}
|
|
161
161
|
else if (typeof cb === "function") {
|
|
162
162
|
if (typeof optionsOrCb !== "object")
|
|
163
|
-
throw new Error("Expect http options but get "
|
|
163
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
164
164
|
this.send(command, optionsOrCb || {}, cb);
|
|
165
165
|
}
|
|
166
166
|
else {
|
|
@@ -174,7 +174,7 @@ var Connect = (function (_super) {
|
|
|
174
174
|
}
|
|
175
175
|
else if (typeof cb === "function") {
|
|
176
176
|
if (typeof optionsOrCb !== "object")
|
|
177
|
-
throw new Error("Expect http options but get "
|
|
177
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
178
178
|
this.send(command, optionsOrCb || {}, cb);
|
|
179
179
|
}
|
|
180
180
|
else {
|
|
@@ -188,7 +188,7 @@ var Connect = (function (_super) {
|
|
|
188
188
|
}
|
|
189
189
|
else if (typeof cb === "function") {
|
|
190
190
|
if (typeof optionsOrCb !== "object")
|
|
191
|
-
throw new Error("Expect http options but get "
|
|
191
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
192
192
|
this.send(command, optionsOrCb || {}, cb);
|
|
193
193
|
}
|
|
194
194
|
else {
|
|
@@ -202,7 +202,7 @@ var Connect = (function (_super) {
|
|
|
202
202
|
}
|
|
203
203
|
else if (typeof cb === "function") {
|
|
204
204
|
if (typeof optionsOrCb !== "object")
|
|
205
|
-
throw new Error("Expect http options but get "
|
|
205
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
206
206
|
this.send(command, optionsOrCb || {}, cb);
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
@@ -216,7 +216,7 @@ var Connect = (function (_super) {
|
|
|
216
216
|
}
|
|
217
217
|
else if (typeof cb === "function") {
|
|
218
218
|
if (typeof optionsOrCb !== "object")
|
|
219
|
-
throw new Error("Expect http options but get "
|
|
219
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
220
220
|
this.send(command, optionsOrCb || {}, cb);
|
|
221
221
|
}
|
|
222
222
|
else {
|
|
@@ -230,7 +230,7 @@ var Connect = (function (_super) {
|
|
|
230
230
|
}
|
|
231
231
|
else if (typeof cb === "function") {
|
|
232
232
|
if (typeof optionsOrCb !== "object")
|
|
233
|
-
throw new Error("Expect http options but get "
|
|
233
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
234
234
|
this.send(command, optionsOrCb || {}, cb);
|
|
235
235
|
}
|
|
236
236
|
else {
|
|
@@ -244,7 +244,7 @@ var Connect = (function (_super) {
|
|
|
244
244
|
}
|
|
245
245
|
else if (typeof cb === "function") {
|
|
246
246
|
if (typeof optionsOrCb !== "object")
|
|
247
|
-
throw new Error("Expect http options but get "
|
|
247
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
248
248
|
this.send(command, optionsOrCb || {}, cb);
|
|
249
249
|
}
|
|
250
250
|
else {
|
|
@@ -258,7 +258,7 @@ var Connect = (function (_super) {
|
|
|
258
258
|
}
|
|
259
259
|
else if (typeof cb === "function") {
|
|
260
260
|
if (typeof optionsOrCb !== "object")
|
|
261
|
-
throw new Error("Expect http options but get "
|
|
261
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
262
262
|
this.send(command, optionsOrCb || {}, cb);
|
|
263
263
|
}
|
|
264
264
|
else {
|
|
@@ -272,7 +272,7 @@ var Connect = (function (_super) {
|
|
|
272
272
|
}
|
|
273
273
|
else if (typeof cb === "function") {
|
|
274
274
|
if (typeof optionsOrCb !== "object")
|
|
275
|
-
throw new Error("Expect http options but get "
|
|
275
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
276
276
|
this.send(command, optionsOrCb || {}, cb);
|
|
277
277
|
}
|
|
278
278
|
else {
|
|
@@ -286,7 +286,7 @@ var Connect = (function (_super) {
|
|
|
286
286
|
}
|
|
287
287
|
else if (typeof cb === "function") {
|
|
288
288
|
if (typeof optionsOrCb !== "object")
|
|
289
|
-
throw new Error("Expect http options but get "
|
|
289
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
290
290
|
this.send(command, optionsOrCb || {}, cb);
|
|
291
291
|
}
|
|
292
292
|
else {
|
|
@@ -300,7 +300,7 @@ var Connect = (function (_super) {
|
|
|
300
300
|
}
|
|
301
301
|
else if (typeof cb === "function") {
|
|
302
302
|
if (typeof optionsOrCb !== "object")
|
|
303
|
-
throw new Error("Expect http options but get "
|
|
303
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
304
304
|
this.send(command, optionsOrCb || {}, cb);
|
|
305
305
|
}
|
|
306
306
|
else {
|
|
@@ -314,7 +314,7 @@ var Connect = (function (_super) {
|
|
|
314
314
|
}
|
|
315
315
|
else if (typeof cb === "function") {
|
|
316
316
|
if (typeof optionsOrCb !== "object")
|
|
317
|
-
throw new Error("Expect http options but get "
|
|
317
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
318
318
|
this.send(command, optionsOrCb || {}, cb);
|
|
319
319
|
}
|
|
320
320
|
else {
|
|
@@ -328,7 +328,7 @@ var Connect = (function (_super) {
|
|
|
328
328
|
}
|
|
329
329
|
else if (typeof cb === "function") {
|
|
330
330
|
if (typeof optionsOrCb !== "object")
|
|
331
|
-
throw new Error("Expect http options but get "
|
|
331
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
332
332
|
this.send(command, optionsOrCb || {}, cb);
|
|
333
333
|
}
|
|
334
334
|
else {
|
|
@@ -342,7 +342,7 @@ var Connect = (function (_super) {
|
|
|
342
342
|
}
|
|
343
343
|
else if (typeof cb === "function") {
|
|
344
344
|
if (typeof optionsOrCb !== "object")
|
|
345
|
-
throw new Error("Expect http options but get "
|
|
345
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
346
346
|
this.send(command, optionsOrCb || {}, cb);
|
|
347
347
|
}
|
|
348
348
|
else {
|
|
@@ -356,7 +356,7 @@ var Connect = (function (_super) {
|
|
|
356
356
|
}
|
|
357
357
|
else if (typeof cb === "function") {
|
|
358
358
|
if (typeof optionsOrCb !== "object")
|
|
359
|
-
throw new Error("Expect http options but get "
|
|
359
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
360
360
|
this.send(command, optionsOrCb || {}, cb);
|
|
361
361
|
}
|
|
362
362
|
else {
|
|
@@ -370,7 +370,7 @@ var Connect = (function (_super) {
|
|
|
370
370
|
}
|
|
371
371
|
else if (typeof cb === "function") {
|
|
372
372
|
if (typeof optionsOrCb !== "object")
|
|
373
|
-
throw new Error("Expect http options but get "
|
|
373
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
374
374
|
this.send(command, optionsOrCb || {}, cb);
|
|
375
375
|
}
|
|
376
376
|
else {
|
|
@@ -384,7 +384,7 @@ var Connect = (function (_super) {
|
|
|
384
384
|
}
|
|
385
385
|
else if (typeof cb === "function") {
|
|
386
386
|
if (typeof optionsOrCb !== "object")
|
|
387
|
-
throw new Error("Expect http options but get "
|
|
387
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
388
388
|
this.send(command, optionsOrCb || {}, cb);
|
|
389
389
|
}
|
|
390
390
|
else {
|
|
@@ -398,7 +398,7 @@ var Connect = (function (_super) {
|
|
|
398
398
|
}
|
|
399
399
|
else if (typeof cb === "function") {
|
|
400
400
|
if (typeof optionsOrCb !== "object")
|
|
401
|
-
throw new Error("Expect http options but get "
|
|
401
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
402
402
|
this.send(command, optionsOrCb || {}, cb);
|
|
403
403
|
}
|
|
404
404
|
else {
|
|
@@ -412,7 +412,7 @@ var Connect = (function (_super) {
|
|
|
412
412
|
}
|
|
413
413
|
else if (typeof cb === "function") {
|
|
414
414
|
if (typeof optionsOrCb !== "object")
|
|
415
|
-
throw new Error("Expect http options but get "
|
|
415
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
416
416
|
this.send(command, optionsOrCb || {}, cb);
|
|
417
417
|
}
|
|
418
418
|
else {
|
|
@@ -426,7 +426,7 @@ var Connect = (function (_super) {
|
|
|
426
426
|
}
|
|
427
427
|
else if (typeof cb === "function") {
|
|
428
428
|
if (typeof optionsOrCb !== "object")
|
|
429
|
-
throw new Error("Expect http options but get "
|
|
429
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
430
430
|
this.send(command, optionsOrCb || {}, cb);
|
|
431
431
|
}
|
|
432
432
|
else {
|
|
@@ -440,7 +440,7 @@ var Connect = (function (_super) {
|
|
|
440
440
|
}
|
|
441
441
|
else if (typeof cb === "function") {
|
|
442
442
|
if (typeof optionsOrCb !== "object")
|
|
443
|
-
throw new Error("Expect http options but get "
|
|
443
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
444
444
|
this.send(command, optionsOrCb || {}, cb);
|
|
445
445
|
}
|
|
446
446
|
else {
|
|
@@ -454,7 +454,7 @@ var Connect = (function (_super) {
|
|
|
454
454
|
}
|
|
455
455
|
else if (typeof cb === "function") {
|
|
456
456
|
if (typeof optionsOrCb !== "object")
|
|
457
|
-
throw new Error("Expect http options but get "
|
|
457
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
458
458
|
this.send(command, optionsOrCb || {}, cb);
|
|
459
459
|
}
|
|
460
460
|
else {
|
|
@@ -468,7 +468,7 @@ var Connect = (function (_super) {
|
|
|
468
468
|
}
|
|
469
469
|
else if (typeof cb === "function") {
|
|
470
470
|
if (typeof optionsOrCb !== "object")
|
|
471
|
-
throw new Error("Expect http options but get "
|
|
471
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
472
472
|
this.send(command, optionsOrCb || {}, cb);
|
|
473
473
|
}
|
|
474
474
|
else {
|
|
@@ -482,7 +482,7 @@ var Connect = (function (_super) {
|
|
|
482
482
|
}
|
|
483
483
|
else if (typeof cb === "function") {
|
|
484
484
|
if (typeof optionsOrCb !== "object")
|
|
485
|
-
throw new Error("Expect http options but get "
|
|
485
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
486
486
|
this.send(command, optionsOrCb || {}, cb);
|
|
487
487
|
}
|
|
488
488
|
else {
|
|
@@ -496,7 +496,7 @@ var Connect = (function (_super) {
|
|
|
496
496
|
}
|
|
497
497
|
else if (typeof cb === "function") {
|
|
498
498
|
if (typeof optionsOrCb !== "object")
|
|
499
|
-
throw new Error("Expect http options but get "
|
|
499
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
500
500
|
this.send(command, optionsOrCb || {}, cb);
|
|
501
501
|
}
|
|
502
502
|
else {
|
|
@@ -510,7 +510,7 @@ var Connect = (function (_super) {
|
|
|
510
510
|
}
|
|
511
511
|
else if (typeof cb === "function") {
|
|
512
512
|
if (typeof optionsOrCb !== "object")
|
|
513
|
-
throw new Error("Expect http options but get "
|
|
513
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
514
514
|
this.send(command, optionsOrCb || {}, cb);
|
|
515
515
|
}
|
|
516
516
|
else {
|
|
@@ -524,7 +524,7 @@ var Connect = (function (_super) {
|
|
|
524
524
|
}
|
|
525
525
|
else if (typeof cb === "function") {
|
|
526
526
|
if (typeof optionsOrCb !== "object")
|
|
527
|
-
throw new Error("Expect http options but get "
|
|
527
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
528
528
|
this.send(command, optionsOrCb || {}, cb);
|
|
529
529
|
}
|
|
530
530
|
else {
|
|
@@ -538,7 +538,7 @@ var Connect = (function (_super) {
|
|
|
538
538
|
}
|
|
539
539
|
else if (typeof cb === "function") {
|
|
540
540
|
if (typeof optionsOrCb !== "object")
|
|
541
|
-
throw new Error("Expect http options but get "
|
|
541
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
542
542
|
this.send(command, optionsOrCb || {}, cb);
|
|
543
543
|
}
|
|
544
544
|
else {
|
|
@@ -552,7 +552,7 @@ var Connect = (function (_super) {
|
|
|
552
552
|
}
|
|
553
553
|
else if (typeof cb === "function") {
|
|
554
554
|
if (typeof optionsOrCb !== "object")
|
|
555
|
-
throw new Error("Expect http options but get "
|
|
555
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
556
556
|
this.send(command, optionsOrCb || {}, cb);
|
|
557
557
|
}
|
|
558
558
|
else {
|
|
@@ -566,7 +566,7 @@ var Connect = (function (_super) {
|
|
|
566
566
|
}
|
|
567
567
|
else if (typeof cb === "function") {
|
|
568
568
|
if (typeof optionsOrCb !== "object")
|
|
569
|
-
throw new Error("Expect http options but get "
|
|
569
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
570
570
|
this.send(command, optionsOrCb || {}, cb);
|
|
571
571
|
}
|
|
572
572
|
else {
|
|
@@ -580,7 +580,7 @@ var Connect = (function (_super) {
|
|
|
580
580
|
}
|
|
581
581
|
else if (typeof cb === "function") {
|
|
582
582
|
if (typeof optionsOrCb !== "object")
|
|
583
|
-
throw new Error("Expect http options but get "
|
|
583
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
584
584
|
this.send(command, optionsOrCb || {}, cb);
|
|
585
585
|
}
|
|
586
586
|
else {
|
|
@@ -594,7 +594,7 @@ var Connect = (function (_super) {
|
|
|
594
594
|
}
|
|
595
595
|
else if (typeof cb === "function") {
|
|
596
596
|
if (typeof optionsOrCb !== "object")
|
|
597
|
-
throw new Error("Expect http options but get "
|
|
597
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
598
598
|
this.send(command, optionsOrCb || {}, cb);
|
|
599
599
|
}
|
|
600
600
|
else {
|
|
@@ -608,7 +608,7 @@ var Connect = (function (_super) {
|
|
|
608
608
|
}
|
|
609
609
|
else if (typeof cb === "function") {
|
|
610
610
|
if (typeof optionsOrCb !== "object")
|
|
611
|
-
throw new Error("Expect http options but get "
|
|
611
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
612
612
|
this.send(command, optionsOrCb || {}, cb);
|
|
613
613
|
}
|
|
614
614
|
else {
|
|
@@ -622,7 +622,7 @@ var Connect = (function (_super) {
|
|
|
622
622
|
}
|
|
623
623
|
else if (typeof cb === "function") {
|
|
624
624
|
if (typeof optionsOrCb !== "object")
|
|
625
|
-
throw new Error("Expect http options but get "
|
|
625
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
626
626
|
this.send(command, optionsOrCb || {}, cb);
|
|
627
627
|
}
|
|
628
628
|
else {
|
|
@@ -636,7 +636,7 @@ var Connect = (function (_super) {
|
|
|
636
636
|
}
|
|
637
637
|
else if (typeof cb === "function") {
|
|
638
638
|
if (typeof optionsOrCb !== "object")
|
|
639
|
-
throw new Error("Expect http options but get "
|
|
639
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
640
640
|
this.send(command, optionsOrCb || {}, cb);
|
|
641
641
|
}
|
|
642
642
|
else {
|
|
@@ -650,7 +650,7 @@ var Connect = (function (_super) {
|
|
|
650
650
|
}
|
|
651
651
|
else if (typeof cb === "function") {
|
|
652
652
|
if (typeof optionsOrCb !== "object")
|
|
653
|
-
throw new Error("Expect http options but get "
|
|
653
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
654
654
|
this.send(command, optionsOrCb || {}, cb);
|
|
655
655
|
}
|
|
656
656
|
else {
|
|
@@ -664,7 +664,7 @@ var Connect = (function (_super) {
|
|
|
664
664
|
}
|
|
665
665
|
else if (typeof cb === "function") {
|
|
666
666
|
if (typeof optionsOrCb !== "object")
|
|
667
|
-
throw new Error("Expect http options but get "
|
|
667
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
668
668
|
this.send(command, optionsOrCb || {}, cb);
|
|
669
669
|
}
|
|
670
670
|
else {
|
|
@@ -678,7 +678,7 @@ var Connect = (function (_super) {
|
|
|
678
678
|
}
|
|
679
679
|
else if (typeof cb === "function") {
|
|
680
680
|
if (typeof optionsOrCb !== "object")
|
|
681
|
-
throw new Error("Expect http options but get "
|
|
681
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
682
682
|
this.send(command, optionsOrCb || {}, cb);
|
|
683
683
|
}
|
|
684
684
|
else {
|
|
@@ -692,7 +692,7 @@ var Connect = (function (_super) {
|
|
|
692
692
|
}
|
|
693
693
|
else if (typeof cb === "function") {
|
|
694
694
|
if (typeof optionsOrCb !== "object")
|
|
695
|
-
throw new Error("Expect http options but get "
|
|
695
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
696
696
|
this.send(command, optionsOrCb || {}, cb);
|
|
697
697
|
}
|
|
698
698
|
else {
|
|
@@ -706,7 +706,7 @@ var Connect = (function (_super) {
|
|
|
706
706
|
}
|
|
707
707
|
else if (typeof cb === "function") {
|
|
708
708
|
if (typeof optionsOrCb !== "object")
|
|
709
|
-
throw new Error("Expect http options but get "
|
|
709
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
710
710
|
this.send(command, optionsOrCb || {}, cb);
|
|
711
711
|
}
|
|
712
712
|
else {
|
|
@@ -720,7 +720,7 @@ var Connect = (function (_super) {
|
|
|
720
720
|
}
|
|
721
721
|
else if (typeof cb === "function") {
|
|
722
722
|
if (typeof optionsOrCb !== "object")
|
|
723
|
-
throw new Error("Expect http options but get "
|
|
723
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
724
724
|
this.send(command, optionsOrCb || {}, cb);
|
|
725
725
|
}
|
|
726
726
|
else {
|
|
@@ -734,7 +734,7 @@ var Connect = (function (_super) {
|
|
|
734
734
|
}
|
|
735
735
|
else if (typeof cb === "function") {
|
|
736
736
|
if (typeof optionsOrCb !== "object")
|
|
737
|
-
throw new Error("Expect http options but get "
|
|
737
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
738
738
|
this.send(command, optionsOrCb || {}, cb);
|
|
739
739
|
}
|
|
740
740
|
else {
|
|
@@ -748,7 +748,7 @@ var Connect = (function (_super) {
|
|
|
748
748
|
}
|
|
749
749
|
else if (typeof cb === "function") {
|
|
750
750
|
if (typeof optionsOrCb !== "object")
|
|
751
|
-
throw new Error("Expect http options but get "
|
|
751
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
752
752
|
this.send(command, optionsOrCb || {}, cb);
|
|
753
753
|
}
|
|
754
754
|
else {
|
|
@@ -762,7 +762,7 @@ var Connect = (function (_super) {
|
|
|
762
762
|
}
|
|
763
763
|
else if (typeof cb === "function") {
|
|
764
764
|
if (typeof optionsOrCb !== "object")
|
|
765
|
-
throw new Error("Expect http options but get "
|
|
765
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
766
766
|
this.send(command, optionsOrCb || {}, cb);
|
|
767
767
|
}
|
|
768
768
|
else {
|
|
@@ -776,7 +776,7 @@ var Connect = (function (_super) {
|
|
|
776
776
|
}
|
|
777
777
|
else if (typeof cb === "function") {
|
|
778
778
|
if (typeof optionsOrCb !== "object")
|
|
779
|
-
throw new Error("Expect http options but get "
|
|
779
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
780
780
|
this.send(command, optionsOrCb || {}, cb);
|
|
781
781
|
}
|
|
782
782
|
else {
|
|
@@ -790,7 +790,7 @@ var Connect = (function (_super) {
|
|
|
790
790
|
}
|
|
791
791
|
else if (typeof cb === "function") {
|
|
792
792
|
if (typeof optionsOrCb !== "object")
|
|
793
|
-
throw new Error("Expect http options but get "
|
|
793
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
794
794
|
this.send(command, optionsOrCb || {}, cb);
|
|
795
795
|
}
|
|
796
796
|
else {
|
|
@@ -804,7 +804,7 @@ var Connect = (function (_super) {
|
|
|
804
804
|
}
|
|
805
805
|
else if (typeof cb === "function") {
|
|
806
806
|
if (typeof optionsOrCb !== "object")
|
|
807
|
-
throw new Error("Expect http options but get "
|
|
807
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
808
808
|
this.send(command, optionsOrCb || {}, cb);
|
|
809
809
|
}
|
|
810
810
|
else {
|
|
@@ -818,7 +818,7 @@ var Connect = (function (_super) {
|
|
|
818
818
|
}
|
|
819
819
|
else if (typeof cb === "function") {
|
|
820
820
|
if (typeof optionsOrCb !== "object")
|
|
821
|
-
throw new Error("Expect http options but get "
|
|
821
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
822
822
|
this.send(command, optionsOrCb || {}, cb);
|
|
823
823
|
}
|
|
824
824
|
else {
|
|
@@ -832,7 +832,7 @@ var Connect = (function (_super) {
|
|
|
832
832
|
}
|
|
833
833
|
else if (typeof cb === "function") {
|
|
834
834
|
if (typeof optionsOrCb !== "object")
|
|
835
|
-
throw new Error("Expect http options but get "
|
|
835
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
836
836
|
this.send(command, optionsOrCb || {}, cb);
|
|
837
837
|
}
|
|
838
838
|
else {
|
|
@@ -846,7 +846,7 @@ var Connect = (function (_super) {
|
|
|
846
846
|
}
|
|
847
847
|
else if (typeof cb === "function") {
|
|
848
848
|
if (typeof optionsOrCb !== "object")
|
|
849
|
-
throw new Error("Expect http options but get "
|
|
849
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
850
850
|
this.send(command, optionsOrCb || {}, cb);
|
|
851
851
|
}
|
|
852
852
|
else {
|
|
@@ -860,7 +860,7 @@ var Connect = (function (_super) {
|
|
|
860
860
|
}
|
|
861
861
|
else if (typeof cb === "function") {
|
|
862
862
|
if (typeof optionsOrCb !== "object")
|
|
863
|
-
throw new Error("Expect http options but get "
|
|
863
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
864
864
|
this.send(command, optionsOrCb || {}, cb);
|
|
865
865
|
}
|
|
866
866
|
else {
|
|
@@ -874,7 +874,7 @@ var Connect = (function (_super) {
|
|
|
874
874
|
}
|
|
875
875
|
else if (typeof cb === "function") {
|
|
876
876
|
if (typeof optionsOrCb !== "object")
|
|
877
|
-
throw new Error("Expect http options but get "
|
|
877
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
878
878
|
this.send(command, optionsOrCb || {}, cb);
|
|
879
879
|
}
|
|
880
880
|
else {
|
|
@@ -888,7 +888,7 @@ var Connect = (function (_super) {
|
|
|
888
888
|
}
|
|
889
889
|
else if (typeof cb === "function") {
|
|
890
890
|
if (typeof optionsOrCb !== "object")
|
|
891
|
-
throw new Error("Expect http options but get "
|
|
891
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
892
892
|
this.send(command, optionsOrCb || {}, cb);
|
|
893
893
|
}
|
|
894
894
|
else {
|
|
@@ -902,7 +902,7 @@ var Connect = (function (_super) {
|
|
|
902
902
|
}
|
|
903
903
|
else if (typeof cb === "function") {
|
|
904
904
|
if (typeof optionsOrCb !== "object")
|
|
905
|
-
throw new Error("Expect http options but get "
|
|
905
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
906
906
|
this.send(command, optionsOrCb || {}, cb);
|
|
907
907
|
}
|
|
908
908
|
else {
|
|
@@ -916,7 +916,7 @@ var Connect = (function (_super) {
|
|
|
916
916
|
}
|
|
917
917
|
else if (typeof cb === "function") {
|
|
918
918
|
if (typeof optionsOrCb !== "object")
|
|
919
|
-
throw new Error("Expect http options but get "
|
|
919
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
920
920
|
this.send(command, optionsOrCb || {}, cb);
|
|
921
921
|
}
|
|
922
922
|
else {
|
|
@@ -930,7 +930,7 @@ var Connect = (function (_super) {
|
|
|
930
930
|
}
|
|
931
931
|
else if (typeof cb === "function") {
|
|
932
932
|
if (typeof optionsOrCb !== "object")
|
|
933
|
-
throw new Error("Expect http options but get "
|
|
933
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
934
934
|
this.send(command, optionsOrCb || {}, cb);
|
|
935
935
|
}
|
|
936
936
|
else {
|
|
@@ -944,7 +944,7 @@ var Connect = (function (_super) {
|
|
|
944
944
|
}
|
|
945
945
|
else if (typeof cb === "function") {
|
|
946
946
|
if (typeof optionsOrCb !== "object")
|
|
947
|
-
throw new Error("Expect http options but get "
|
|
947
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
948
948
|
this.send(command, optionsOrCb || {}, cb);
|
|
949
949
|
}
|
|
950
950
|
else {
|
|
@@ -958,7 +958,7 @@ var Connect = (function (_super) {
|
|
|
958
958
|
}
|
|
959
959
|
else if (typeof cb === "function") {
|
|
960
960
|
if (typeof optionsOrCb !== "object")
|
|
961
|
-
throw new Error("Expect http options but get "
|
|
961
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
962
962
|
this.send(command, optionsOrCb || {}, cb);
|
|
963
963
|
}
|
|
964
964
|
else {
|
|
@@ -972,7 +972,7 @@ var Connect = (function (_super) {
|
|
|
972
972
|
}
|
|
973
973
|
else if (typeof cb === "function") {
|
|
974
974
|
if (typeof optionsOrCb !== "object")
|
|
975
|
-
throw new Error("Expect http options but get "
|
|
975
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
976
976
|
this.send(command, optionsOrCb || {}, cb);
|
|
977
977
|
}
|
|
978
978
|
else {
|
|
@@ -986,7 +986,7 @@ var Connect = (function (_super) {
|
|
|
986
986
|
}
|
|
987
987
|
else if (typeof cb === "function") {
|
|
988
988
|
if (typeof optionsOrCb !== "object")
|
|
989
|
-
throw new Error("Expect http options but get "
|
|
989
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
990
990
|
this.send(command, optionsOrCb || {}, cb);
|
|
991
991
|
}
|
|
992
992
|
else {
|
|
@@ -1000,7 +1000,7 @@ var Connect = (function (_super) {
|
|
|
1000
1000
|
}
|
|
1001
1001
|
else if (typeof cb === "function") {
|
|
1002
1002
|
if (typeof optionsOrCb !== "object")
|
|
1003
|
-
throw new Error("Expect http options but get "
|
|
1003
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1004
1004
|
this.send(command, optionsOrCb || {}, cb);
|
|
1005
1005
|
}
|
|
1006
1006
|
else {
|
|
@@ -1014,7 +1014,7 @@ var Connect = (function (_super) {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
else if (typeof cb === "function") {
|
|
1016
1016
|
if (typeof optionsOrCb !== "object")
|
|
1017
|
-
throw new Error("Expect http options but get "
|
|
1017
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1018
1018
|
this.send(command, optionsOrCb || {}, cb);
|
|
1019
1019
|
}
|
|
1020
1020
|
else {
|
|
@@ -1028,7 +1028,7 @@ var Connect = (function (_super) {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
else if (typeof cb === "function") {
|
|
1030
1030
|
if (typeof optionsOrCb !== "object")
|
|
1031
|
-
throw new Error("Expect http options but get "
|
|
1031
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1032
1032
|
this.send(command, optionsOrCb || {}, cb);
|
|
1033
1033
|
}
|
|
1034
1034
|
else {
|
|
@@ -1042,7 +1042,7 @@ var Connect = (function (_super) {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
else if (typeof cb === "function") {
|
|
1044
1044
|
if (typeof optionsOrCb !== "object")
|
|
1045
|
-
throw new Error("Expect http options but get "
|
|
1045
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1046
1046
|
this.send(command, optionsOrCb || {}, cb);
|
|
1047
1047
|
}
|
|
1048
1048
|
else {
|
|
@@ -1056,7 +1056,7 @@ var Connect = (function (_super) {
|
|
|
1056
1056
|
}
|
|
1057
1057
|
else if (typeof cb === "function") {
|
|
1058
1058
|
if (typeof optionsOrCb !== "object")
|
|
1059
|
-
throw new Error("Expect http options but get "
|
|
1059
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1060
1060
|
this.send(command, optionsOrCb || {}, cb);
|
|
1061
1061
|
}
|
|
1062
1062
|
else {
|
|
@@ -1070,7 +1070,7 @@ var Connect = (function (_super) {
|
|
|
1070
1070
|
}
|
|
1071
1071
|
else if (typeof cb === "function") {
|
|
1072
1072
|
if (typeof optionsOrCb !== "object")
|
|
1073
|
-
throw new Error("Expect http options but get "
|
|
1073
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1074
1074
|
this.send(command, optionsOrCb || {}, cb);
|
|
1075
1075
|
}
|
|
1076
1076
|
else {
|
|
@@ -1084,7 +1084,7 @@ var Connect = (function (_super) {
|
|
|
1084
1084
|
}
|
|
1085
1085
|
else if (typeof cb === "function") {
|
|
1086
1086
|
if (typeof optionsOrCb !== "object")
|
|
1087
|
-
throw new Error("Expect http options but get "
|
|
1087
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1088
1088
|
this.send(command, optionsOrCb || {}, cb);
|
|
1089
1089
|
}
|
|
1090
1090
|
else {
|
|
@@ -1098,7 +1098,7 @@ var Connect = (function (_super) {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
else if (typeof cb === "function") {
|
|
1100
1100
|
if (typeof optionsOrCb !== "object")
|
|
1101
|
-
throw new Error("Expect http options but get "
|
|
1101
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1102
1102
|
this.send(command, optionsOrCb || {}, cb);
|
|
1103
1103
|
}
|
|
1104
1104
|
else {
|
|
@@ -1112,7 +1112,7 @@ var Connect = (function (_super) {
|
|
|
1112
1112
|
}
|
|
1113
1113
|
else if (typeof cb === "function") {
|
|
1114
1114
|
if (typeof optionsOrCb !== "object")
|
|
1115
|
-
throw new Error("Expect http options but get "
|
|
1115
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1116
1116
|
this.send(command, optionsOrCb || {}, cb);
|
|
1117
1117
|
}
|
|
1118
1118
|
else {
|
|
@@ -1126,7 +1126,7 @@ var Connect = (function (_super) {
|
|
|
1126
1126
|
}
|
|
1127
1127
|
else if (typeof cb === "function") {
|
|
1128
1128
|
if (typeof optionsOrCb !== "object")
|
|
1129
|
-
throw new Error("Expect http options but get "
|
|
1129
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1130
1130
|
this.send(command, optionsOrCb || {}, cb);
|
|
1131
1131
|
}
|
|
1132
1132
|
else {
|
|
@@ -1140,7 +1140,7 @@ var Connect = (function (_super) {
|
|
|
1140
1140
|
}
|
|
1141
1141
|
else if (typeof cb === "function") {
|
|
1142
1142
|
if (typeof optionsOrCb !== "object")
|
|
1143
|
-
throw new Error("Expect http options but get "
|
|
1143
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1144
1144
|
this.send(command, optionsOrCb || {}, cb);
|
|
1145
1145
|
}
|
|
1146
1146
|
else {
|
|
@@ -1154,7 +1154,7 @@ var Connect = (function (_super) {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
else if (typeof cb === "function") {
|
|
1156
1156
|
if (typeof optionsOrCb !== "object")
|
|
1157
|
-
throw new Error("Expect http options but get "
|
|
1157
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1158
1158
|
this.send(command, optionsOrCb || {}, cb);
|
|
1159
1159
|
}
|
|
1160
1160
|
else {
|
|
@@ -1168,7 +1168,7 @@ var Connect = (function (_super) {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
else if (typeof cb === "function") {
|
|
1170
1170
|
if (typeof optionsOrCb !== "object")
|
|
1171
|
-
throw new Error("Expect http options but get "
|
|
1171
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1172
1172
|
this.send(command, optionsOrCb || {}, cb);
|
|
1173
1173
|
}
|
|
1174
1174
|
else {
|
|
@@ -1182,7 +1182,7 @@ var Connect = (function (_super) {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
else if (typeof cb === "function") {
|
|
1184
1184
|
if (typeof optionsOrCb !== "object")
|
|
1185
|
-
throw new Error("Expect http options but get "
|
|
1185
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1186
1186
|
this.send(command, optionsOrCb || {}, cb);
|
|
1187
1187
|
}
|
|
1188
1188
|
else {
|
|
@@ -1196,7 +1196,7 @@ var Connect = (function (_super) {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
else if (typeof cb === "function") {
|
|
1198
1198
|
if (typeof optionsOrCb !== "object")
|
|
1199
|
-
throw new Error("Expect http options but get "
|
|
1199
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1200
1200
|
this.send(command, optionsOrCb || {}, cb);
|
|
1201
1201
|
}
|
|
1202
1202
|
else {
|
|
@@ -1210,7 +1210,7 @@ var Connect = (function (_super) {
|
|
|
1210
1210
|
}
|
|
1211
1211
|
else if (typeof cb === "function") {
|
|
1212
1212
|
if (typeof optionsOrCb !== "object")
|
|
1213
|
-
throw new Error("Expect http options but get "
|
|
1213
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1214
1214
|
this.send(command, optionsOrCb || {}, cb);
|
|
1215
1215
|
}
|
|
1216
1216
|
else {
|
|
@@ -1224,7 +1224,7 @@ var Connect = (function (_super) {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
else if (typeof cb === "function") {
|
|
1226
1226
|
if (typeof optionsOrCb !== "object")
|
|
1227
|
-
throw new Error("Expect http options but get "
|
|
1227
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1228
1228
|
this.send(command, optionsOrCb || {}, cb);
|
|
1229
1229
|
}
|
|
1230
1230
|
else {
|
|
@@ -1238,7 +1238,7 @@ var Connect = (function (_super) {
|
|
|
1238
1238
|
}
|
|
1239
1239
|
else if (typeof cb === "function") {
|
|
1240
1240
|
if (typeof optionsOrCb !== "object")
|
|
1241
|
-
throw new Error("Expect http options but get "
|
|
1241
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1242
1242
|
this.send(command, optionsOrCb || {}, cb);
|
|
1243
1243
|
}
|
|
1244
1244
|
else {
|
|
@@ -1252,7 +1252,7 @@ var Connect = (function (_super) {
|
|
|
1252
1252
|
}
|
|
1253
1253
|
else if (typeof cb === "function") {
|
|
1254
1254
|
if (typeof optionsOrCb !== "object")
|
|
1255
|
-
throw new Error("Expect http options but get "
|
|
1255
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1256
1256
|
this.send(command, optionsOrCb || {}, cb);
|
|
1257
1257
|
}
|
|
1258
1258
|
else {
|
|
@@ -1266,7 +1266,7 @@ var Connect = (function (_super) {
|
|
|
1266
1266
|
}
|
|
1267
1267
|
else if (typeof cb === "function") {
|
|
1268
1268
|
if (typeof optionsOrCb !== "object")
|
|
1269
|
-
throw new Error("Expect http options but get "
|
|
1269
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1270
1270
|
this.send(command, optionsOrCb || {}, cb);
|
|
1271
1271
|
}
|
|
1272
1272
|
else {
|
|
@@ -1280,7 +1280,7 @@ var Connect = (function (_super) {
|
|
|
1280
1280
|
}
|
|
1281
1281
|
else if (typeof cb === "function") {
|
|
1282
1282
|
if (typeof optionsOrCb !== "object")
|
|
1283
|
-
throw new Error("Expect http options but get "
|
|
1283
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1284
1284
|
this.send(command, optionsOrCb || {}, cb);
|
|
1285
1285
|
}
|
|
1286
1286
|
else {
|
|
@@ -1294,7 +1294,7 @@ var Connect = (function (_super) {
|
|
|
1294
1294
|
}
|
|
1295
1295
|
else if (typeof cb === "function") {
|
|
1296
1296
|
if (typeof optionsOrCb !== "object")
|
|
1297
|
-
throw new Error("Expect http options but get "
|
|
1297
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1298
1298
|
this.send(command, optionsOrCb || {}, cb);
|
|
1299
1299
|
}
|
|
1300
1300
|
else {
|
|
@@ -1308,7 +1308,7 @@ var Connect = (function (_super) {
|
|
|
1308
1308
|
}
|
|
1309
1309
|
else if (typeof cb === "function") {
|
|
1310
1310
|
if (typeof optionsOrCb !== "object")
|
|
1311
|
-
throw new Error("Expect http options but get "
|
|
1311
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1312
1312
|
this.send(command, optionsOrCb || {}, cb);
|
|
1313
1313
|
}
|
|
1314
1314
|
else {
|
|
@@ -1322,7 +1322,7 @@ var Connect = (function (_super) {
|
|
|
1322
1322
|
}
|
|
1323
1323
|
else if (typeof cb === "function") {
|
|
1324
1324
|
if (typeof optionsOrCb !== "object")
|
|
1325
|
-
throw new Error("Expect http options but get "
|
|
1325
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1326
1326
|
this.send(command, optionsOrCb || {}, cb);
|
|
1327
1327
|
}
|
|
1328
1328
|
else {
|
|
@@ -1336,7 +1336,7 @@ var Connect = (function (_super) {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
else if (typeof cb === "function") {
|
|
1338
1338
|
if (typeof optionsOrCb !== "object")
|
|
1339
|
-
throw new Error("Expect http options but get "
|
|
1339
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1340
1340
|
this.send(command, optionsOrCb || {}, cb);
|
|
1341
1341
|
}
|
|
1342
1342
|
else {
|
|
@@ -1350,7 +1350,7 @@ var Connect = (function (_super) {
|
|
|
1350
1350
|
}
|
|
1351
1351
|
else if (typeof cb === "function") {
|
|
1352
1352
|
if (typeof optionsOrCb !== "object")
|
|
1353
|
-
throw new Error("Expect http options but get "
|
|
1353
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1354
1354
|
this.send(command, optionsOrCb || {}, cb);
|
|
1355
1355
|
}
|
|
1356
1356
|
else {
|
|
@@ -1364,7 +1364,7 @@ var Connect = (function (_super) {
|
|
|
1364
1364
|
}
|
|
1365
1365
|
else if (typeof cb === "function") {
|
|
1366
1366
|
if (typeof optionsOrCb !== "object")
|
|
1367
|
-
throw new Error("Expect http options but get "
|
|
1367
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1368
1368
|
this.send(command, optionsOrCb || {}, cb);
|
|
1369
1369
|
}
|
|
1370
1370
|
else {
|
|
@@ -1378,7 +1378,7 @@ var Connect = (function (_super) {
|
|
|
1378
1378
|
}
|
|
1379
1379
|
else if (typeof cb === "function") {
|
|
1380
1380
|
if (typeof optionsOrCb !== "object")
|
|
1381
|
-
throw new Error("Expect http options but get "
|
|
1381
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1382
1382
|
this.send(command, optionsOrCb || {}, cb);
|
|
1383
1383
|
}
|
|
1384
1384
|
else {
|
|
@@ -1392,7 +1392,7 @@ var Connect = (function (_super) {
|
|
|
1392
1392
|
}
|
|
1393
1393
|
else if (typeof cb === "function") {
|
|
1394
1394
|
if (typeof optionsOrCb !== "object")
|
|
1395
|
-
throw new Error("Expect http options but get "
|
|
1395
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1396
1396
|
this.send(command, optionsOrCb || {}, cb);
|
|
1397
1397
|
}
|
|
1398
1398
|
else {
|
|
@@ -1406,7 +1406,7 @@ var Connect = (function (_super) {
|
|
|
1406
1406
|
}
|
|
1407
1407
|
else if (typeof cb === "function") {
|
|
1408
1408
|
if (typeof optionsOrCb !== "object")
|
|
1409
|
-
throw new Error("Expect http options but get "
|
|
1409
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1410
1410
|
this.send(command, optionsOrCb || {}, cb);
|
|
1411
1411
|
}
|
|
1412
1412
|
else {
|
|
@@ -1420,7 +1420,7 @@ var Connect = (function (_super) {
|
|
|
1420
1420
|
}
|
|
1421
1421
|
else if (typeof cb === "function") {
|
|
1422
1422
|
if (typeof optionsOrCb !== "object")
|
|
1423
|
-
throw new Error("Expect http options but get "
|
|
1423
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1424
1424
|
this.send(command, optionsOrCb || {}, cb);
|
|
1425
1425
|
}
|
|
1426
1426
|
else {
|
|
@@ -1434,7 +1434,7 @@ var Connect = (function (_super) {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
else if (typeof cb === "function") {
|
|
1436
1436
|
if (typeof optionsOrCb !== "object")
|
|
1437
|
-
throw new Error("Expect http options but get "
|
|
1437
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1438
1438
|
this.send(command, optionsOrCb || {}, cb);
|
|
1439
1439
|
}
|
|
1440
1440
|
else {
|
|
@@ -1448,7 +1448,7 @@ var Connect = (function (_super) {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
else if (typeof cb === "function") {
|
|
1450
1450
|
if (typeof optionsOrCb !== "object")
|
|
1451
|
-
throw new Error("Expect http options but get "
|
|
1451
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1452
1452
|
this.send(command, optionsOrCb || {}, cb);
|
|
1453
1453
|
}
|
|
1454
1454
|
else {
|
|
@@ -1462,7 +1462,7 @@ var Connect = (function (_super) {
|
|
|
1462
1462
|
}
|
|
1463
1463
|
else if (typeof cb === "function") {
|
|
1464
1464
|
if (typeof optionsOrCb !== "object")
|
|
1465
|
-
throw new Error("Expect http options but get "
|
|
1465
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1466
1466
|
this.send(command, optionsOrCb || {}, cb);
|
|
1467
1467
|
}
|
|
1468
1468
|
else {
|
|
@@ -1476,7 +1476,7 @@ var Connect = (function (_super) {
|
|
|
1476
1476
|
}
|
|
1477
1477
|
else if (typeof cb === "function") {
|
|
1478
1478
|
if (typeof optionsOrCb !== "object")
|
|
1479
|
-
throw new Error("Expect http options but get "
|
|
1479
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1480
1480
|
this.send(command, optionsOrCb || {}, cb);
|
|
1481
1481
|
}
|
|
1482
1482
|
else {
|
|
@@ -1490,7 +1490,7 @@ var Connect = (function (_super) {
|
|
|
1490
1490
|
}
|
|
1491
1491
|
else if (typeof cb === "function") {
|
|
1492
1492
|
if (typeof optionsOrCb !== "object")
|
|
1493
|
-
throw new Error("Expect http options but get "
|
|
1493
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1494
1494
|
this.send(command, optionsOrCb || {}, cb);
|
|
1495
1495
|
}
|
|
1496
1496
|
else {
|
|
@@ -1504,7 +1504,7 @@ var Connect = (function (_super) {
|
|
|
1504
1504
|
}
|
|
1505
1505
|
else if (typeof cb === "function") {
|
|
1506
1506
|
if (typeof optionsOrCb !== "object")
|
|
1507
|
-
throw new Error("Expect http options but get "
|
|
1507
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1508
1508
|
this.send(command, optionsOrCb || {}, cb);
|
|
1509
1509
|
}
|
|
1510
1510
|
else {
|
|
@@ -1518,7 +1518,7 @@ var Connect = (function (_super) {
|
|
|
1518
1518
|
}
|
|
1519
1519
|
else if (typeof cb === "function") {
|
|
1520
1520
|
if (typeof optionsOrCb !== "object")
|
|
1521
|
-
throw new Error("Expect http options but get "
|
|
1521
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1522
1522
|
this.send(command, optionsOrCb || {}, cb);
|
|
1523
1523
|
}
|
|
1524
1524
|
else {
|
|
@@ -1532,7 +1532,7 @@ var Connect = (function (_super) {
|
|
|
1532
1532
|
}
|
|
1533
1533
|
else if (typeof cb === "function") {
|
|
1534
1534
|
if (typeof optionsOrCb !== "object")
|
|
1535
|
-
throw new Error("Expect http options but get "
|
|
1535
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1536
1536
|
this.send(command, optionsOrCb || {}, cb);
|
|
1537
1537
|
}
|
|
1538
1538
|
else {
|
|
@@ -1546,7 +1546,7 @@ var Connect = (function (_super) {
|
|
|
1546
1546
|
}
|
|
1547
1547
|
else if (typeof cb === "function") {
|
|
1548
1548
|
if (typeof optionsOrCb !== "object")
|
|
1549
|
-
throw new Error("Expect http options but get "
|
|
1549
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1550
1550
|
this.send(command, optionsOrCb || {}, cb);
|
|
1551
1551
|
}
|
|
1552
1552
|
else {
|
|
@@ -1560,7 +1560,7 @@ var Connect = (function (_super) {
|
|
|
1560
1560
|
}
|
|
1561
1561
|
else if (typeof cb === "function") {
|
|
1562
1562
|
if (typeof optionsOrCb !== "object")
|
|
1563
|
-
throw new Error("Expect http options but get "
|
|
1563
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1564
1564
|
this.send(command, optionsOrCb || {}, cb);
|
|
1565
1565
|
}
|
|
1566
1566
|
else {
|
|
@@ -1574,7 +1574,7 @@ var Connect = (function (_super) {
|
|
|
1574
1574
|
}
|
|
1575
1575
|
else if (typeof cb === "function") {
|
|
1576
1576
|
if (typeof optionsOrCb !== "object")
|
|
1577
|
-
throw new Error("Expect http options but get "
|
|
1577
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1578
1578
|
this.send(command, optionsOrCb || {}, cb);
|
|
1579
1579
|
}
|
|
1580
1580
|
else {
|
|
@@ -1588,7 +1588,7 @@ var Connect = (function (_super) {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
else if (typeof cb === "function") {
|
|
1590
1590
|
if (typeof optionsOrCb !== "object")
|
|
1591
|
-
throw new Error("Expect http options but get "
|
|
1591
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1592
1592
|
this.send(command, optionsOrCb || {}, cb);
|
|
1593
1593
|
}
|
|
1594
1594
|
else {
|
|
@@ -1602,7 +1602,7 @@ var Connect = (function (_super) {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
else if (typeof cb === "function") {
|
|
1604
1604
|
if (typeof optionsOrCb !== "object")
|
|
1605
|
-
throw new Error("Expect http options but get "
|
|
1605
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1606
1606
|
this.send(command, optionsOrCb || {}, cb);
|
|
1607
1607
|
}
|
|
1608
1608
|
else {
|
|
@@ -1616,7 +1616,7 @@ var Connect = (function (_super) {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
else if (typeof cb === "function") {
|
|
1618
1618
|
if (typeof optionsOrCb !== "object")
|
|
1619
|
-
throw new Error("Expect http options but get "
|
|
1619
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1620
1620
|
this.send(command, optionsOrCb || {}, cb);
|
|
1621
1621
|
}
|
|
1622
1622
|
else {
|
|
@@ -1630,7 +1630,7 @@ var Connect = (function (_super) {
|
|
|
1630
1630
|
}
|
|
1631
1631
|
else if (typeof cb === "function") {
|
|
1632
1632
|
if (typeof optionsOrCb !== "object")
|
|
1633
|
-
throw new Error("Expect http options but get "
|
|
1633
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1634
1634
|
this.send(command, optionsOrCb || {}, cb);
|
|
1635
1635
|
}
|
|
1636
1636
|
else {
|
|
@@ -1644,7 +1644,7 @@ var Connect = (function (_super) {
|
|
|
1644
1644
|
}
|
|
1645
1645
|
else if (typeof cb === "function") {
|
|
1646
1646
|
if (typeof optionsOrCb !== "object")
|
|
1647
|
-
throw new Error("Expect http options but get "
|
|
1647
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1648
1648
|
this.send(command, optionsOrCb || {}, cb);
|
|
1649
1649
|
}
|
|
1650
1650
|
else {
|
|
@@ -1658,7 +1658,7 @@ var Connect = (function (_super) {
|
|
|
1658
1658
|
}
|
|
1659
1659
|
else if (typeof cb === "function") {
|
|
1660
1660
|
if (typeof optionsOrCb !== "object")
|
|
1661
|
-
throw new Error("Expect http options but get "
|
|
1661
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1662
1662
|
this.send(command, optionsOrCb || {}, cb);
|
|
1663
1663
|
}
|
|
1664
1664
|
else {
|
|
@@ -1672,7 +1672,7 @@ var Connect = (function (_super) {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
else if (typeof cb === "function") {
|
|
1674
1674
|
if (typeof optionsOrCb !== "object")
|
|
1675
|
-
throw new Error("Expect http options but get "
|
|
1675
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1676
1676
|
this.send(command, optionsOrCb || {}, cb);
|
|
1677
1677
|
}
|
|
1678
1678
|
else {
|
|
@@ -1686,7 +1686,7 @@ var Connect = (function (_super) {
|
|
|
1686
1686
|
}
|
|
1687
1687
|
else if (typeof cb === "function") {
|
|
1688
1688
|
if (typeof optionsOrCb !== "object")
|
|
1689
|
-
throw new Error("Expect http options but get "
|
|
1689
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1690
1690
|
this.send(command, optionsOrCb || {}, cb);
|
|
1691
1691
|
}
|
|
1692
1692
|
else {
|
|
@@ -1700,7 +1700,7 @@ var Connect = (function (_super) {
|
|
|
1700
1700
|
}
|
|
1701
1701
|
else if (typeof cb === "function") {
|
|
1702
1702
|
if (typeof optionsOrCb !== "object")
|
|
1703
|
-
throw new Error("Expect http options but get "
|
|
1703
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1704
1704
|
this.send(command, optionsOrCb || {}, cb);
|
|
1705
1705
|
}
|
|
1706
1706
|
else {
|
|
@@ -1714,7 +1714,7 @@ var Connect = (function (_super) {
|
|
|
1714
1714
|
}
|
|
1715
1715
|
else if (typeof cb === "function") {
|
|
1716
1716
|
if (typeof optionsOrCb !== "object")
|
|
1717
|
-
throw new Error("Expect http options but get "
|
|
1717
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1718
1718
|
this.send(command, optionsOrCb || {}, cb);
|
|
1719
1719
|
}
|
|
1720
1720
|
else {
|
|
@@ -1728,7 +1728,7 @@ var Connect = (function (_super) {
|
|
|
1728
1728
|
}
|
|
1729
1729
|
else if (typeof cb === "function") {
|
|
1730
1730
|
if (typeof optionsOrCb !== "object")
|
|
1731
|
-
throw new Error("Expect http options but get "
|
|
1731
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1732
1732
|
this.send(command, optionsOrCb || {}, cb);
|
|
1733
1733
|
}
|
|
1734
1734
|
else {
|
|
@@ -1742,7 +1742,7 @@ var Connect = (function (_super) {
|
|
|
1742
1742
|
}
|
|
1743
1743
|
else if (typeof cb === "function") {
|
|
1744
1744
|
if (typeof optionsOrCb !== "object")
|
|
1745
|
-
throw new Error("Expect http options but get "
|
|
1745
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1746
1746
|
this.send(command, optionsOrCb || {}, cb);
|
|
1747
1747
|
}
|
|
1748
1748
|
else {
|
|
@@ -1756,7 +1756,7 @@ var Connect = (function (_super) {
|
|
|
1756
1756
|
}
|
|
1757
1757
|
else if (typeof cb === "function") {
|
|
1758
1758
|
if (typeof optionsOrCb !== "object")
|
|
1759
|
-
throw new Error("Expect http options but get "
|
|
1759
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1760
1760
|
this.send(command, optionsOrCb || {}, cb);
|
|
1761
1761
|
}
|
|
1762
1762
|
else {
|
|
@@ -1770,7 +1770,7 @@ var Connect = (function (_super) {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
else if (typeof cb === "function") {
|
|
1772
1772
|
if (typeof optionsOrCb !== "object")
|
|
1773
|
-
throw new Error("Expect http options but get "
|
|
1773
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1774
1774
|
this.send(command, optionsOrCb || {}, cb);
|
|
1775
1775
|
}
|
|
1776
1776
|
else {
|
|
@@ -1784,7 +1784,7 @@ var Connect = (function (_super) {
|
|
|
1784
1784
|
}
|
|
1785
1785
|
else if (typeof cb === "function") {
|
|
1786
1786
|
if (typeof optionsOrCb !== "object")
|
|
1787
|
-
throw new Error("Expect http options but get "
|
|
1787
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1788
1788
|
this.send(command, optionsOrCb || {}, cb);
|
|
1789
1789
|
}
|
|
1790
1790
|
else {
|
|
@@ -1798,7 +1798,7 @@ var Connect = (function (_super) {
|
|
|
1798
1798
|
}
|
|
1799
1799
|
else if (typeof cb === "function") {
|
|
1800
1800
|
if (typeof optionsOrCb !== "object")
|
|
1801
|
-
throw new Error("Expect http options but get "
|
|
1801
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1802
1802
|
this.send(command, optionsOrCb || {}, cb);
|
|
1803
1803
|
}
|
|
1804
1804
|
else {
|
|
@@ -1812,7 +1812,7 @@ var Connect = (function (_super) {
|
|
|
1812
1812
|
}
|
|
1813
1813
|
else if (typeof cb === "function") {
|
|
1814
1814
|
if (typeof optionsOrCb !== "object")
|
|
1815
|
-
throw new Error("Expect http options but get "
|
|
1815
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1816
1816
|
this.send(command, optionsOrCb || {}, cb);
|
|
1817
1817
|
}
|
|
1818
1818
|
else {
|
|
@@ -1826,7 +1826,7 @@ var Connect = (function (_super) {
|
|
|
1826
1826
|
}
|
|
1827
1827
|
else if (typeof cb === "function") {
|
|
1828
1828
|
if (typeof optionsOrCb !== "object")
|
|
1829
|
-
throw new Error("Expect http options but get "
|
|
1829
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1830
1830
|
this.send(command, optionsOrCb || {}, cb);
|
|
1831
1831
|
}
|
|
1832
1832
|
else {
|
|
@@ -1840,7 +1840,7 @@ var Connect = (function (_super) {
|
|
|
1840
1840
|
}
|
|
1841
1841
|
else if (typeof cb === "function") {
|
|
1842
1842
|
if (typeof optionsOrCb !== "object")
|
|
1843
|
-
throw new Error("Expect http options but get "
|
|
1843
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1844
1844
|
this.send(command, optionsOrCb || {}, cb);
|
|
1845
1845
|
}
|
|
1846
1846
|
else {
|
|
@@ -1854,7 +1854,7 @@ var Connect = (function (_super) {
|
|
|
1854
1854
|
}
|
|
1855
1855
|
else if (typeof cb === "function") {
|
|
1856
1856
|
if (typeof optionsOrCb !== "object")
|
|
1857
|
-
throw new Error("Expect http options but get "
|
|
1857
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1858
1858
|
this.send(command, optionsOrCb || {}, cb);
|
|
1859
1859
|
}
|
|
1860
1860
|
else {
|
|
@@ -1868,7 +1868,7 @@ var Connect = (function (_super) {
|
|
|
1868
1868
|
}
|
|
1869
1869
|
else if (typeof cb === "function") {
|
|
1870
1870
|
if (typeof optionsOrCb !== "object")
|
|
1871
|
-
throw new Error("Expect http options but get "
|
|
1871
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1872
1872
|
this.send(command, optionsOrCb || {}, cb);
|
|
1873
1873
|
}
|
|
1874
1874
|
else {
|
|
@@ -1882,7 +1882,7 @@ var Connect = (function (_super) {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
else if (typeof cb === "function") {
|
|
1884
1884
|
if (typeof optionsOrCb !== "object")
|
|
1885
|
-
throw new Error("Expect http options but get "
|
|
1885
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1886
1886
|
this.send(command, optionsOrCb || {}, cb);
|
|
1887
1887
|
}
|
|
1888
1888
|
else {
|
|
@@ -1896,7 +1896,7 @@ var Connect = (function (_super) {
|
|
|
1896
1896
|
}
|
|
1897
1897
|
else if (typeof cb === "function") {
|
|
1898
1898
|
if (typeof optionsOrCb !== "object")
|
|
1899
|
-
throw new Error("Expect http options but get "
|
|
1899
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1900
1900
|
this.send(command, optionsOrCb || {}, cb);
|
|
1901
1901
|
}
|
|
1902
1902
|
else {
|
|
@@ -1910,7 +1910,7 @@ var Connect = (function (_super) {
|
|
|
1910
1910
|
}
|
|
1911
1911
|
else if (typeof cb === "function") {
|
|
1912
1912
|
if (typeof optionsOrCb !== "object")
|
|
1913
|
-
throw new Error("Expect http options but get "
|
|
1913
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1914
1914
|
this.send(command, optionsOrCb || {}, cb);
|
|
1915
1915
|
}
|
|
1916
1916
|
else {
|
|
@@ -1924,7 +1924,7 @@ var Connect = (function (_super) {
|
|
|
1924
1924
|
}
|
|
1925
1925
|
else if (typeof cb === "function") {
|
|
1926
1926
|
if (typeof optionsOrCb !== "object")
|
|
1927
|
-
throw new Error("Expect http options but get "
|
|
1927
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1928
1928
|
this.send(command, optionsOrCb || {}, cb);
|
|
1929
1929
|
}
|
|
1930
1930
|
else {
|
|
@@ -1938,7 +1938,7 @@ var Connect = (function (_super) {
|
|
|
1938
1938
|
}
|
|
1939
1939
|
else if (typeof cb === "function") {
|
|
1940
1940
|
if (typeof optionsOrCb !== "object")
|
|
1941
|
-
throw new Error("Expect http options but get "
|
|
1941
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1942
1942
|
this.send(command, optionsOrCb || {}, cb);
|
|
1943
1943
|
}
|
|
1944
1944
|
else {
|
|
@@ -1952,7 +1952,7 @@ var Connect = (function (_super) {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
else if (typeof cb === "function") {
|
|
1954
1954
|
if (typeof optionsOrCb !== "object")
|
|
1955
|
-
throw new Error("Expect http options but get "
|
|
1955
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1956
1956
|
this.send(command, optionsOrCb || {}, cb);
|
|
1957
1957
|
}
|
|
1958
1958
|
else {
|
|
@@ -1966,7 +1966,7 @@ var Connect = (function (_super) {
|
|
|
1966
1966
|
}
|
|
1967
1967
|
else if (typeof cb === "function") {
|
|
1968
1968
|
if (typeof optionsOrCb !== "object")
|
|
1969
|
-
throw new Error("Expect http options but get "
|
|
1969
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1970
1970
|
this.send(command, optionsOrCb || {}, cb);
|
|
1971
1971
|
}
|
|
1972
1972
|
else {
|
|
@@ -1980,7 +1980,7 @@ var Connect = (function (_super) {
|
|
|
1980
1980
|
}
|
|
1981
1981
|
else if (typeof cb === "function") {
|
|
1982
1982
|
if (typeof optionsOrCb !== "object")
|
|
1983
|
-
throw new Error("Expect http options but get "
|
|
1983
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1984
1984
|
this.send(command, optionsOrCb || {}, cb);
|
|
1985
1985
|
}
|
|
1986
1986
|
else {
|
|
@@ -1994,7 +1994,7 @@ var Connect = (function (_super) {
|
|
|
1994
1994
|
}
|
|
1995
1995
|
else if (typeof cb === "function") {
|
|
1996
1996
|
if (typeof optionsOrCb !== "object")
|
|
1997
|
-
throw new Error("Expect http options but get "
|
|
1997
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1998
1998
|
this.send(command, optionsOrCb || {}, cb);
|
|
1999
1999
|
}
|
|
2000
2000
|
else {
|
|
@@ -2008,7 +2008,7 @@ var Connect = (function (_super) {
|
|
|
2008
2008
|
}
|
|
2009
2009
|
else if (typeof cb === "function") {
|
|
2010
2010
|
if (typeof optionsOrCb !== "object")
|
|
2011
|
-
throw new Error("Expect http options but get "
|
|
2011
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2012
2012
|
this.send(command, optionsOrCb || {}, cb);
|
|
2013
2013
|
}
|
|
2014
2014
|
else {
|