@argab/request-service
Advanced tools
Comparing version 3.2.4 to 3.2.5
@@ -0,0 +0,0 @@ { |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.proxy = exports.mergeDeep = exports.isPrototype = exports.applyCall = void 0; | ||
exports.applyCall = exports.isPrototype = exports.proxy = exports.mergeDeep = void 0; | ||
@@ -9,0 +9,0 @@ var mergeDeep = function mergeDeep(target, source) { |
@@ -6,72 +6,72 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "AbstractRequest", { | ||
Object.defineProperty(exports, "RequestMiddlewareDecorator", { | ||
enumerable: true, | ||
get: function get() { | ||
return _Request.AbstractRequest; | ||
return _Decorators.RequestMiddlewareDecorator; | ||
} | ||
}); | ||
Object.defineProperty(exports, "Request", { | ||
Object.defineProperty(exports, "RequestHandler", { | ||
enumerable: true, | ||
get: function get() { | ||
return _Request.Request; | ||
return _Interfaces.RequestHandler; | ||
} | ||
}); | ||
Object.defineProperty(exports, "RequestClient", { | ||
Object.defineProperty(exports, "RequestRepository", { | ||
enumerable: true, | ||
get: function get() { | ||
return _Interfaces.RequestClient; | ||
return _Interfaces.RequestRepository; | ||
} | ||
}); | ||
Object.defineProperty(exports, "RequestFactory", { | ||
Object.defineProperty(exports, "RequestLoader", { | ||
enumerable: true, | ||
get: function get() { | ||
return _RequestFactory.RequestFactory; | ||
return _Interfaces.RequestLoader; | ||
} | ||
}); | ||
Object.defineProperty(exports, "RequestHandler", { | ||
Object.defineProperty(exports, "RequestClient", { | ||
enumerable: true, | ||
get: function get() { | ||
return _Interfaces.RequestHandler; | ||
return _Interfaces.RequestClient; | ||
} | ||
}); | ||
Object.defineProperty(exports, "RequestLoader", { | ||
Object.defineProperty(exports, "Request", { | ||
enumerable: true, | ||
get: function get() { | ||
return _Interfaces.RequestLoader; | ||
return _Request.Request; | ||
} | ||
}); | ||
Object.defineProperty(exports, "RequestManager", { | ||
Object.defineProperty(exports, "AbstractRequest", { | ||
enumerable: true, | ||
get: function get() { | ||
return _RequestManager.RequestManager; | ||
return _Request.AbstractRequest; | ||
} | ||
}); | ||
Object.defineProperty(exports, "RequestMiddleware", { | ||
Object.defineProperty(exports, "RequestService", { | ||
enumerable: true, | ||
get: function get() { | ||
return _RequestMiddleware.RequestMiddleware; | ||
return _Request.RequestService; | ||
} | ||
}); | ||
Object.defineProperty(exports, "RequestMiddlewareDecorator", { | ||
Object.defineProperty(exports, "RequestFactory", { | ||
enumerable: true, | ||
get: function get() { | ||
return _Decorators.RequestMiddlewareDecorator; | ||
return _RequestFactory.RequestFactory; | ||
} | ||
}); | ||
Object.defineProperty(exports, "RequestRepository", { | ||
Object.defineProperty(exports, "RequestMiddleware", { | ||
enumerable: true, | ||
get: function get() { | ||
return _Interfaces.RequestRepository; | ||
return _RequestMiddleware.RequestMiddleware; | ||
} | ||
}); | ||
Object.defineProperty(exports, "RequestRetry", { | ||
Object.defineProperty(exports, "RequestManager", { | ||
enumerable: true, | ||
get: function get() { | ||
return _RequestRetry.RequestRetry; | ||
return _RequestManager.RequestManager; | ||
} | ||
}); | ||
Object.defineProperty(exports, "RequestService", { | ||
Object.defineProperty(exports, "RequestRetry", { | ||
enumerable: true, | ||
get: function get() { | ||
return _Request.RequestService; | ||
return _RequestRetry.RequestRetry; | ||
} | ||
@@ -78,0 +78,0 @@ }); |
@@ -8,3 +8,3 @@ "use strict"; | ||
}); | ||
exports.RequestRepository = exports.RequestLoader = exports.RequestHandler = exports.RequestClient = void 0; | ||
exports.RequestClient = exports.RequestLoader = exports.RequestRepository = exports.RequestHandler = void 0; | ||
@@ -11,0 +11,0 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); |
@@ -8,3 +8,3 @@ "use strict"; | ||
}); | ||
exports.RequestService = exports.Request = exports.AbstractRequest = void 0; | ||
exports.AbstractRequest = exports.Request = exports.RequestService = void 0; | ||
@@ -39,4 +39,2 @@ var _classPrivateFieldGet2 = _interopRequireDefault(require("@babel/runtime/helpers/classPrivateFieldGet")); | ||
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } | ||
@@ -50,6 +48,2 @@ | ||
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); } | ||
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } } | ||
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } | ||
@@ -144,3 +138,3 @@ | ||
_classPrivateMethodInitSpec((0, _assertThisInitialized2["default"])(_this), _proxy); | ||
_proxy.add((0, _assertThisInitialized2["default"])(_this)); | ||
@@ -231,3 +225,3 @@ _this._getRepo = getRepo instanceof Function ? getRepo : function () { | ||
_classPrivateFieldInitSpec(this, _methods, { | ||
_methods.set(this, { | ||
writable: true, | ||
@@ -237,3 +231,3 @@ value: ['then', 'catch', 'finally', 'success', 'error', 'retry', 'retryOnCatch', 'retryChain', 'retryMaxCount', 'retryTimeout'] | ||
_classPrivateFieldInitSpec(this, _resolveMethods, { | ||
_resolveMethods.set(this, { | ||
writable: true, | ||
@@ -240,0 +234,0 @@ value: ['then', 'catch', 'finally', 'success', 'error'] |
@@ -28,8 +28,2 @@ "use strict"; | ||
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); } | ||
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); } | ||
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } } | ||
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } | ||
@@ -52,7 +46,7 @@ | ||
_classPrivateMethodInitSpec(this, _runManager); | ||
_runManager.add(this); | ||
_classPrivateMethodInitSpec(this, _runRepo); | ||
_runRepo.add(this); | ||
_classPrivateMethodInitSpec(this, _proxy); | ||
_proxy.add(this); | ||
@@ -63,3 +57,3 @@ (0, _defineProperty2["default"])(this, "_staged", {}); | ||
_classPrivateFieldInitSpec(this, _repo, { | ||
_repo.set(this, { | ||
writable: true, | ||
@@ -74,3 +68,3 @@ value: { | ||
_classPrivateFieldInitSpec(this, _chain, { | ||
_chain.set(this, { | ||
writable: true, | ||
@@ -77,0 +71,0 @@ value: [] |
{ | ||
"name": "@argab/request-service", | ||
"version": "3.2.4", | ||
"version": "3.2.5", | ||
"description": "Provides a fully customizable Library for handling API using Request repositories and Stubs.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -0,0 +0,0 @@ # Request Service |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ import {RequestFactory} from "./RequestFactory" |
@@ -0,0 +0,0 @@ import {mergeDeep, proxy, applyCall} from "./helpers" |
@@ -0,0 +0,0 @@ import {Request, RequestService} from "./Request" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2915
129879