Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@argab/request-service

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@argab/request-service - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "@argab/request-service",
"version": "1.0.2",
"version": "1.0.3",
"description": "Provides a fully customizable Library for handling API using Request repositories and Stubs.",

@@ -5,0 +5,0 @@ "repository": {

@@ -94,6 +94,6 @@ import {ClientDecorator, RequestDecorator} from "./Decorators"

const isSuccess = this.resolveHandlers(response, handlers, 'isSuccess')
const isError = this.resolveHandlers(response, handlers, 'isError')
const isSuccess = this.resolveHandlers({...response}, handlers, 'isSuccess')
const isError = this.resolveHandlers({...response}, handlers, 'isError')
if (isSuccess === true || (isSuccess === undefined && !isError)) {
if (isSuccess === true || (isSuccess !== true && isError !== true)) {

@@ -100,0 +100,0 @@ request.data.success instanceof Function

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