fetch-cookie
Advanced tools
Comparing version 0.10.1 to 0.11.0
declare namespace c { | ||
interface CookieJar { | ||
getCookieString(currentUrl: string, cb: (err: any, cookies: string) => void): void; | ||
setCookie(cookieString: string, currentUrl: string, cb: (err: any) => void, opts: { ignoreError: boolean }): void; | ||
setCookie(cookieString: string, currentUrl: string, opts: { ignoreError: boolean }, cb: (err: any) => void): void; | ||
} | ||
} | ||
declare function c(fetch: Function, jar?: c.CookieJar, ignoreError?: boolean): Function; | ||
declare function c<T extends Function>(fetch: T, jar?: c.CookieJar, ignoreError?: boolean): T; | ||
export = c; |
import { CookieJar } from './'; | ||
declare function c(fetch: Function, jar?: CookieJar, ignoreError?: boolean): Function; | ||
declare function c<T extends Function>(fetch: T, jar?: CookieJar, ignoreError?: boolean): T; | ||
export = c; |
{ | ||
"name": "fetch-cookie", | ||
"version": "0.10.1", | ||
"version": "0.11.0", | ||
"description": "Decorator for a `fetch` function to support automatic cookies.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/valeriangalliat/fetch-cookie", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9683