Comparing version 1.5.0 to 1.5.1
/// <reference types="node" /> | ||
import { AbortSignal } from 'abort-controller'; | ||
import { Agent } from 'https'; | ||
@@ -52,3 +51,2 @@ export declare class GaxiosError<T = any> extends Error { | ||
retry?: boolean; | ||
signal?: AbortSignal; | ||
size?: number; | ||
@@ -55,0 +53,0 @@ } |
{ | ||
"name": "gaxios", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "A simple common HTTP client specifically for Google APIs and services.", | ||
@@ -37,3 +37,2 @@ "main": "build/src/index.js", | ||
"@types/sinon": "^7.0.0", | ||
"abort-controller": "^2.0.2", | ||
"assert-rejects": "^1.0.0", | ||
@@ -40,0 +39,0 @@ "codecov": "^3.0.4", |
@@ -129,7 +129,3 @@ # gaxios | ||
// Enables default configuration for retries. | ||
retry: boolean, | ||
// Cancelling a request requires the `abort-controller` library. | ||
// See https://github.com/bitinn/node-fetch#request-cancellation-with-abortsignal | ||
signal?: AbortSignal | ||
retry: boolean; | ||
} | ||
@@ -136,0 +132,0 @@ ``` |
Sorry, the diff of this file is not supported yet
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
19
46963
538
135