Socket
Socket
Sign inDemoInstall

ts-retrofit

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-retrofit - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

4

lib/baseService.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc