@midwayjs/axios
Advanced tools
Comparing version
@@ -11,5 +11,8 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.HttpService = exports.HttpServiceFactory = void 0; | ||
const axios_1 = require("axios"); | ||
const axios_1 = __importDefault(require("axios")); | ||
const core_1 = require("@midwayjs/core"); | ||
@@ -16,0 +19,0 @@ let HttpServiceFactory = class HttpServiceFactory extends core_1.ServiceFactory { |
@@ -7,4 +7,4 @@ import { AxiosRequestConfig } from 'axios'; | ||
interface MidwayConfig { | ||
axios?: AxiosRequestConfig; | ||
axios?: ServiceFactoryConfigOption<AxiosRequestConfig> & AxiosRequestConfig; | ||
} | ||
} |
{ | ||
"name": "@midwayjs/axios", | ||
"description": "midway http client with axios", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"main": "dist/index", | ||
@@ -17,3 +17,3 @@ "typings": "index.d.ts", | ||
"dependencies": { | ||
"axios": "0.27.2" | ||
"axios": "1.1.2" | ||
}, | ||
@@ -40,3 +40,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "22643b0e8519766bb7c68b975930199fc136336e" | ||
"gitHead": "7aa8d1d712ff5ae7e3b27eb2e154d3f7ee40889a" | ||
} |
12806
1.62%231
1.32%+ Added
+ Added
- Removed
Updated