Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@4lch4/axios-aid

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@4lch4/axios-aid - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

7

dist/index.d.ts
import { AxiosBasicCredentials } from 'axios';
export declare class AxiosAid {
private client;
readonly headers?: Object;
constructor(baseUrl: string, headers?: Object, auth?: AxiosBasicCredentials);
readonly headers?: RequestHeaders;
constructor(baseUrl: string, headers?: RequestHeaders, auth?: AxiosBasicCredentials);
performRequest(method: RequestMethod, endpoint: string, payload?: RequestPayload, headers?: Object): Promise<import("axios").AxiosResponse<any>>;

@@ -12,4 +12,7 @@ }

}
interface RequestHeaders {
[key: string]: string;
}
declare type RequestMethod = 'get' | 'GET' | 'delete' | 'DELETE' | 'head' | 'HEAD' | 'options' | 'OPTIONS' | 'post' | 'POST' | 'put' | 'PUT' | 'patch' | 'PATCH' | 'link' | 'LINK' | 'unlink' | 'UNLINK';
export default AxiosAid;
export { AxiosBasicCredentials };
{
"name": "@4lch4/axios-aid",
"displayName": "AxiosAid",
"version": "1.5.0",
"version": "1.5.1",
"description": "A lightweight wrapper around Axios for type data and ease of use.",

@@ -6,0 +6,0 @@ "main": "dist/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