@mvxiv/http-service
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -0,0 +0,0 @@ import { AxiosInstance, AxiosRequestConfig } from 'axios'; |
export { createApiServiceContainer } from './lib/ioc.js'; | ||
export { useHttpService } from './lib/http-service.js'; | ||
export { BaseService } from './lib/BaseService.js'; |
@@ -10,4 +10,4 @@ import { default as axios, AxiosInstance } from 'axios'; | ||
const useSetInterceptors = instance => interceptors => { | ||
for (const [type, intcTuples] of Object.entries(interceptors)) { | ||
for (const tuple of intcTuples) { | ||
for (const [type, interceptorsTuples] of Object.entries(interceptors)) { | ||
for (const tuple of interceptorsTuples) { | ||
instance.interceptors[type].use(...tuple); | ||
@@ -14,0 +14,0 @@ } |
{ | ||
"name": "@mvxiv/http-service", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Http service for frontend build upon axios", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/mvxivy/ivy-http-service" | ||
"url": "git+https://github.com/mvxivy/ivy-http-service.git" | ||
}, | ||
@@ -40,8 +40,8 @@ "type": "module", | ||
"typescript": "^4.7.3", | ||
"webpack": "^5.72.1", | ||
"webpack": "^5.76.0", | ||
"webpack-cli": "^4.9.2" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.27.2" | ||
"axios": "^1.6.0" | ||
} | ||
} |
@@ -0,0 +0,0 @@ # HTTP Service |
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
12457
+ Addedaxios@1.7.7(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
- Removedaxios@0.27.2(transitive)
Updatedaxios@^1.6.0