@qiwi/npm-registry-client
Advanced tools
Comparing version 8.8.1 to 8.9.0
@@ -0,1 +1,8 @@ | ||
# [8.9.0](https://github.com/qiwi-forks/npm-registry-client/compare/v8.8.1...v8.9.0) (2021-03-31) | ||
### Features | ||
* add constructor types ([#9](https://github.com/qiwi-forks/npm-registry-client/issues/9)) ([d6d5668](https://github.com/qiwi-forks/npm-registry-client/commit/d6d566890463513dc914a9757c47d19d5f57a199)) | ||
## [8.8.1](https://github.com/qiwi-forks/npm-registry-client/compare/v8.8.0...v8.8.1) (2021-03-29) | ||
@@ -2,0 +9,0 @@ |
@@ -29,3 +29,33 @@ declare module '@qiwi/npm-registry-client' { | ||
type TConfig = { | ||
proxy?: { | ||
http: string | ||
https?: string | ||
localAddress: string | ||
} | ||
ssl?: { | ||
ca: string | ||
certificate: string | ||
key: string | ||
strict?: boolean | ||
} | ||
retry?: { | ||
retries?: number | ||
factor?: number | ||
minTimeout?: number | ||
maxTimeout?: number | ||
} | ||
userAgent?: string | ||
log?: any | ||
defaultTag?: string | ||
couchToken?: string | ||
sessionToken?: string | ||
maxSockets?: number | ||
isFromCI?: boolean | ||
scope?: string | ||
} | ||
class RegClient { | ||
constructor(config: TConfig) | ||
deprecate( | ||
@@ -32,0 +62,0 @@ uri: string, |
@@ -5,3 +5,3 @@ { | ||
"description": "Client for the npm registry", | ||
"version": "8.8.1", | ||
"version": "8.9.0", | ||
"publishConfig": { | ||
@@ -8,0 +8,0 @@ "access": "public" |
63799
1700