@4lch4/axios-aid
Advanced tools
Comparing version 1.2.2 to 1.3.0
import { AxiosBasicCredentials } from "axios"; | ||
export declare class AxiosAid { | ||
private client; | ||
readonly headers?: Object; | ||
constructor(baseUrl: string, headers?: Object, auth?: AxiosBasicCredentials); | ||
@@ -5,0 +6,0 @@ performRequest(method: RequestMethod, endpoint: string, payload?: RequestPayload, headers?: Object): Promise<import("axios").AxiosResponse<any>>; |
@@ -25,2 +25,3 @@ "use strict"; | ||
}); | ||
this.headers = headers; | ||
} | ||
@@ -27,0 +28,0 @@ performRequest(method, endpoint, payload, headers) { |
{ | ||
"name": "@4lch4/axios-aid", | ||
"displayName": "AxiosAid", | ||
"version": "1.2.2", | ||
"version": "1.3.0", | ||
"description": "A lightweight wrapper around Axios for type data and ease of use.", | ||
@@ -32,5 +32,5 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"eslint": "7.0.0", | ||
"eslint": "7.4.0", | ||
"typescript": "3.9.3" | ||
} | ||
} |
@@ -1,1 +0,5 @@ | ||
axios-aid | ||
# Axios-Aid | ||
Axios-Aid is a small wrapper around the Axios library. I wrote it simplify using | ||
the library and add some type data since the current support is flakey at best, | ||
in my experience. |
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
4092
51
6