We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f708ba0 commit e236e7dCopy full SHA for e236e7d
lib/nano.d.ts
@@ -16,16 +16,21 @@ declare function nano(
16
): nano.ServerScope;
17
18
declare namespace nano {
19
- interface requestDefaultsOptions {
+ interface RequestDefaultOptionsAuth {
20
+ username: string,
21
+ password: string
22
+ }
23
+ interface RequestDefaultsOptions {
24
timeout: number;
25
agent: any;
26
headers: object;
27
+ auth: RequestDefaultOptionsAuth;
28
}
29
30
interface Configuration {
31
url: string;
32
cookie?: string;
- requestDefaults?: requestDefaultsOptions;
33
+ requestDefaults?: RequestDefaultsOptions;
34
log?(id: string, args: any): void;
35
parseUrl?: boolean;
36
request?(params: any): void;
0 commit comments