ts-retrofit
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -301,3 +301,3 @@ "use strict"; | ||
if (interceptor instanceof RequestInterceptor) { | ||
this.axios.interceptors.request.use(interceptor.onFulfilled, interceptor.onRejected); | ||
this.axios.interceptors.request.use(interceptor.onFulfilled.bind(interceptor), interceptor.onRejected.bind(interceptor)); | ||
} | ||
@@ -310,3 +310,3 @@ else { | ||
if (interceptor instanceof ResponseInterceptor) { | ||
this.axios.interceptors.response.use(interceptor.onFulfilled, interceptor.onRejected); | ||
this.axios.interceptors.response.use(interceptor.onFulfilled.bind(interceptor), interceptor.onRejected.bind(interceptor)); | ||
} | ||
@@ -313,0 +313,0 @@ else { |
{ | ||
"name": "ts-retrofit", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "A declarative and axios based retrofit implementation for JavaScript and TypeScript.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/nullcc/ts-retrofit", |
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
55545