@quantcdn/quant-client 4.21.0 → 4.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common.ts +4 -2
- package/dist/api.d.ts +251 -251
- package/dist/common.js +2 -0
- package/dist/esm/api.d.ts +251 -251
- package/dist/esm/common.js +2 -0
- package/package.json +2 -2
package/dist/esm/common.js
CHANGED
|
@@ -144,6 +144,8 @@ export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH
|
|
|
144
144
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
145
145
|
var _a;
|
|
146
146
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: (axios.defaults.baseURL ? '' : (_a = configuration === null || configuration === void 0 ? void 0 : configuration.basePath) !== null && _a !== void 0 ? _a : basePath) + axiosArgs.url });
|
|
147
|
+
// axios >=1.20 widens request()'s return type (AxiosResponseResult); the
|
|
148
|
+
// SDK contract is still Promise<R>, so bridge the typing here. Runtime is unchanged.
|
|
147
149
|
return axios.request(axiosRequestArgs);
|
|
148
150
|
};
|
|
149
151
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quantcdn/quant-client",
|
|
3
|
-
"version": "4.21.
|
|
3
|
+
"version": "4.21.2",
|
|
4
4
|
"description": "OpenAPI client for @quantcdn/quant-client",
|
|
5
5
|
"author": "QuantCDN",
|
|
6
6
|
"repository": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"prepublishOnly": "npm run clean && npm run build && npm test"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"axios": "^1.
|
|
42
|
+
"axios": "^1.20.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "12.11.5 - 25.3.3",
|