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 3.0.0 to 3.0.1

2

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

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

@@ -7,3 +7,3 @@ # Request Service

1. Create your own ES-6 classes extending "ClientDecorator" and "RequestHandler" from the package.
1. Create your own ES-6 classes implementing "RequestClient" and "RequestHandler" Interfaces from the package.

@@ -325,3 +325,3 @@ ```javascript

## Extending RequestDecorator And Mediator
## Extending Request And RequestMiddleware

@@ -438,4 +438,5 @@ By Passing argument named "extend" allows to inject any custom pre-request and post-request handling methods to

* The request restarting method.
* @param: {Boolean}|{Function}(data):<Boolean|Promise> Boolean or a Function returning both Boolean or a Promise
* returning Boolean that whenever is TRUE then restarts the request.
* @param: {Boolean}|{Function}(data):<Boolean|Promise>
* - Boolean or a Function returning both Boolean or a Promise
* returning Boolean that whenever is TRUE then restarts the request.
* @return: void

@@ -488,8 +489,10 @@ * */

/*
* This method doesn't restarts the request, it brings the Function that
* takes the request data as an argument and initiates the request restarting method.
* This method doesn't restarts the request,
* it brings the Function that
* takes the request data as an argument
* and initiates the request restarting method.
* The Function executes at the end of a Promise.prototype.finally()
* @param: {Boolean}|{Function}(data):<Boolean|Promise>
* - Boolean or a Function returning both Boolean or a Promise
* returning Boolean that whenever is TRUE then restarts the request
* returning Boolean that whenever is TRUE then restarts the request
* @return: void

@@ -500,7 +503,7 @@ * */

/*
* The request retry error handler.
* Restarts the request on request errors.
* The Function executes at the end of a Promise.prototype.finally()
* @param: {Boolean}|{Function}(data):<Boolean|Promise>
* - Boolean or a Function returning both Boolean or a Promise
* returning Boolean that whenever is TRUE then restarts the request
* returning Boolean that whenever is TRUE then restarts the request
* @return: void

@@ -507,0 +510,0 @@ * */

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