@argab/request-service
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"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 @@ * */ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
110193
541
6