Added cloud option and disable dead/alive handling if there is only one node and sniffing is disabled

This commit is contained in:
delvedor
2019-02-19 08:30:53 +01:00
parent 59a84216b1
commit 98e8bbd63d
4 changed files with 26 additions and 1 deletions

5
index.d.ts vendored
View File

@ -40,6 +40,11 @@ interface ClientOptions {
agent?: AgentOptions;
nodeFilter?: nodeFilterFn;
nodeSelector?: nodeSelectorFn | string;
cloud?: {
id: string;
username: string;
password: string;
}
}
declare class Client extends EventEmitter {