Comparing version 0.0.0-development to 1.0.1
@@ -1,3 +0,2 @@ | ||
import { Response } from 'node-fetch'; | ||
import { GaxiosOptions, GaxiosPromise, GaxiosResponse } from './common'; | ||
import { GaxiosOptions, GaxiosPromise } from './common'; | ||
export declare class Gaxios { | ||
@@ -19,3 +18,3 @@ private agentCache; | ||
request<T = any>(opts: GaxiosOptions): GaxiosPromise<T>; | ||
protected getResponseData(opts: GaxiosOptions, res: Response): Promise<any>; | ||
private getResponseData; | ||
/** | ||
@@ -26,3 +25,3 @@ * Validate the options, and massage them to match the | ||
*/ | ||
protected validateOpts(opts: GaxiosOptions): GaxiosOptions; | ||
private validateOpts; | ||
/** | ||
@@ -32,4 +31,4 @@ * By default, throw for any non-2xx status code | ||
*/ | ||
protected validateStatus(status: number): boolean; | ||
protected translateResponse<T>(opts: GaxiosOptions, res: Response, data?: T): GaxiosResponse<T>; | ||
private validateStatus; | ||
private translateResponse; | ||
} |
{ | ||
"name": "gaxios", | ||
"version": "0.0.0-development", | ||
"version": "1.0.1", | ||
"description": "A simple common HTTP client specifically for Google APIs and services.", | ||
@@ -5,0 +5,0 @@ "main": "build/src/index.js", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
5
1
41972
15
472