request-retryable
Advanced tools
Comparing version 0.0.2 to 0.0.3
import { AxiosError, AxiosRequestConfig, AxiosResponse } from "axios"; | ||
import { RetryOptions } from "retryable-operation"; | ||
export declare function request<T = unknown, D = unknown>(config: AxiosRequestConfig<D>, retryConfig?: Omit<RetryOptions<T>, "fn" | "executor" | "args">): Promise<import("retryable-operation/build/lib/retryable-operation").OperationResult<AxiosResponse<T, D>, AxiosError<T, D>>>; | ||
export * from "axios"; | ||
//# sourceMappingURL=request.d.ts.map |
@@ -13,2 +13,3 @@ "use strict"; | ||
exports.request = request; | ||
tslib_1.__exportStar(require("axios"), exports); | ||
//# sourceMappingURL=request.js.map |
{ | ||
"name": "request-retryable", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "a simple package that allow executing retryable http request using axios and providing retry options", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -17,1 +17,3 @@ import axios, { AxiosError, AxiosRequestConfig, AxiosResponse } from "axios"; | ||
} | ||
export * from "axios"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
5048
62