Comparing version 4.0.1 to 4.0.2
@@ -46,3 +46,14 @@ export default class Hubkit { | ||
onSend?(cause: 'initial' | 'retry' | 'page'): number; // returns timeout | ||
onError?(error: Error & {status?: number, timeout?: boolean}): | ||
onError?(error: Error & { | ||
status?: number, | ||
data?: any, | ||
errors?: any, | ||
method?: string, | ||
path?: string, | ||
request?: any, | ||
response?: any, | ||
logTag?: string, | ||
fingerprint?: string[], | ||
timeout?: boolean, | ||
}): | ||
undefined | typeof Hubkit.RETRY | typeof Hubkit.DONT_RETRY | any; | ||
@@ -49,0 +60,0 @@ } |
{ | ||
"name": "hubkit", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "GitHub API library for JavaScript, promise-based, for both NodeJS and the browser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
44671
831