Socket
Socket
Sign inDemoInstall

gaxios

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gaxios - npm Package Compare versions

Comparing version 0.0.0-development to 1.0.1

11

build/src/gaxios.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc