@fiado/http-client
Advanced tools
@@ -10,15 +10,15 @@ import { AxiosRequestConfig } from "axios"; | ||
| password: string; | ||
| }, enableTimeout?: boolean): Promise<T>; | ||
| }, enableTimeout?: boolean, extraConfig?: AxiosRequestConfig): Promise<T>; | ||
| put<T>(url: string, data?: any, headers?: Record<string, string>, basicAuth?: { | ||
| username: string; | ||
| password: string; | ||
| }, enableTimeout?: boolean): Promise<T>; | ||
| }, enableTimeout?: boolean, extraConfig?: AxiosRequestConfig): Promise<T>; | ||
| patch<T>(url: string, data?: any, headers?: Record<string, string>, basicAuth?: { | ||
| username: string; | ||
| password: string; | ||
| }, enableTimeout?: boolean): Promise<T>; | ||
| }, enableTimeout?: boolean, extraConfig?: AxiosRequestConfig): Promise<T>; | ||
| delete<T>(url: string, params?: Record<string, any>, headers?: Record<string, string>, basicAuth?: { | ||
| username: string; | ||
| password: string; | ||
| }, enableTimeout?: boolean): Promise<T>; | ||
| }, enableTimeout?: boolean, extraConfig?: AxiosRequestConfig): Promise<T>; | ||
| } |
+1
-1
| { | ||
| "name": "@fiado/http-client", | ||
| "version": "1.0.9", | ||
| "version": "1.0.10", | ||
| "description": "Herramienta para realizar solicitudes http", | ||
@@ -5,0 +5,0 @@ "main": "bin/index.js", |
@@ -19,3 +19,4 @@ import {AxiosRequestConfig} from "axios"; | ||
| basicAuth?: { username: string; password: string }, | ||
| enableTimeout?: boolean | ||
| enableTimeout?: boolean, | ||
| extraConfig?: AxiosRequestConfig, | ||
| ): Promise<T>; | ||
@@ -28,3 +29,4 @@ | ||
| basicAuth?: { username: string; password: string }, | ||
| enableTimeout?: boolean | ||
| enableTimeout?: boolean, | ||
| extraConfig?: AxiosRequestConfig, | ||
| ): Promise<T>; | ||
@@ -37,3 +39,4 @@ | ||
| basicAuth?: { username: string; password: string }, | ||
| enableTimeout?: boolean | ||
| enableTimeout?: boolean, | ||
| extraConfig?: AxiosRequestConfig, | ||
| ): Promise<T>; | ||
@@ -46,4 +49,5 @@ | ||
| basicAuth?: { username: string; password: string }, | ||
| enableTimeout?: boolean | ||
| enableTimeout?: boolean, | ||
| extraConfig?: AxiosRequestConfig, | ||
| ): Promise<T>; | ||
| } |
16496
1.91%342
1.18%