@apigames/rest-client
Advanced tools
Comparing version 1.0.28 to 1.0.29
@@ -1,3 +0,3 @@ | ||
export { RestClientBaseException, NetworkConnectionException, Error301MovedPermanently, Error302Found, Error303SeeOther, Error304NotModified, Error305UseProxy, Error306Unused, Error307TemporaryRedirect, Error308PermanentRedirect, Error400BadRequest, Error401Unauthorized, Error402PaymentRequired, Error403Forbidden, Error404NotFound, Error405MethodNotAllowed, Error406NotAcceptable, Error407ProxyAuthenticationRequired, Error408RequestTimeout, Error409Conflict, Error410Gone, Error411LengthRequired, Error412PreconditionFailed, Error413RequestEntityTooLarge, Error414RequestURITooLong, Error415UnsupportedMediaType, Error416RequestedRangeNotSatisfiable, Error417ExpectationFailed, Error418ImaTeapot, Error421MisdirectedRequest, Error422UnprocessableEntity, Error428PreconditionRequired, Error429TooManyRequests, Error431RequestHeaderFieldsTooLarge, Error451UnavailableForLegalReasons, Error500InternalServerError, Error501NotImplemented, Error502BadGateway, Error503ServiceUnavailable, Error504GatewayTimeout, Error505HTTPVersionNotSupported, Error511NetworkAuthenticationRequired, Error520WebServerIsReturningAnUnknownError, Error522ConnectionTimedOut, Error524ATimeoutOccurred, ThrowException, ThrowNetworkConnectionException, } from './exceptions'; | ||
export { RestClientBaseException, CreateException, Error301MovedPermanently, Error302Found, Error303SeeOther, Error304NotModified, Error305UseProxy, Error306Unused, Error307TemporaryRedirect, Error308PermanentRedirect, Error400BadRequest, Error401Unauthorized, Error402PaymentRequired, Error403Forbidden, Error404NotFound, Error405MethodNotAllowed, Error406NotAcceptable, Error407ProxyAuthenticationRequired, Error408RequestTimeout, Error409Conflict, Error410Gone, Error411LengthRequired, Error412PreconditionFailed, Error413RequestEntityTooLarge, Error414RequestURITooLong, Error415UnsupportedMediaType, Error416RequestedRangeNotSatisfiable, Error417ExpectationFailed, Error418ImaTeapot, Error421MisdirectedRequest, Error422UnprocessableEntity, Error428PreconditionRequired, Error429TooManyRequests, Error431RequestHeaderFieldsTooLarge, Error451UnavailableForLegalReasons, Error500InternalServerError, Error501NotImplemented, Error502BadGateway, Error503ServiceUnavailable, Error504GatewayTimeout, Error505HTTPVersionNotSupported, Error511NetworkAuthenticationRequired, Error520WebServerIsReturningAnUnknownError, Error522ConnectionTimedOut, Error524ATimeoutOccurred, NetworkConnectionException, ThrowException, ThrowNetworkConnectionException, } from './exceptions'; | ||
export type { RestClientOptions, RestClientResponse, IMockRestClient, IRestClient, } from './interfaces'; | ||
export { MockRestClient, RestClient } from './classes'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RestClient = exports.MockRestClient = exports.ThrowNetworkConnectionException = exports.ThrowException = exports.Error524ATimeoutOccurred = exports.Error522ConnectionTimedOut = exports.Error520WebServerIsReturningAnUnknownError = exports.Error511NetworkAuthenticationRequired = exports.Error505HTTPVersionNotSupported = exports.Error504GatewayTimeout = exports.Error503ServiceUnavailable = exports.Error502BadGateway = exports.Error501NotImplemented = exports.Error500InternalServerError = exports.Error451UnavailableForLegalReasons = exports.Error431RequestHeaderFieldsTooLarge = exports.Error429TooManyRequests = exports.Error428PreconditionRequired = exports.Error422UnprocessableEntity = exports.Error421MisdirectedRequest = exports.Error418ImaTeapot = exports.Error417ExpectationFailed = exports.Error416RequestedRangeNotSatisfiable = exports.Error415UnsupportedMediaType = exports.Error414RequestURITooLong = exports.Error413RequestEntityTooLarge = exports.Error412PreconditionFailed = exports.Error411LengthRequired = exports.Error410Gone = exports.Error409Conflict = exports.Error408RequestTimeout = exports.Error407ProxyAuthenticationRequired = exports.Error406NotAcceptable = exports.Error405MethodNotAllowed = exports.Error404NotFound = exports.Error403Forbidden = exports.Error402PaymentRequired = exports.Error401Unauthorized = exports.Error400BadRequest = exports.Error308PermanentRedirect = exports.Error307TemporaryRedirect = exports.Error306Unused = exports.Error305UseProxy = exports.Error304NotModified = exports.Error303SeeOther = exports.Error302Found = exports.Error301MovedPermanently = exports.NetworkConnectionException = exports.RestClientBaseException = void 0; | ||
exports.RestClient = exports.MockRestClient = exports.ThrowNetworkConnectionException = exports.ThrowException = exports.NetworkConnectionException = exports.Error524ATimeoutOccurred = exports.Error522ConnectionTimedOut = exports.Error520WebServerIsReturningAnUnknownError = exports.Error511NetworkAuthenticationRequired = exports.Error505HTTPVersionNotSupported = exports.Error504GatewayTimeout = exports.Error503ServiceUnavailable = exports.Error502BadGateway = exports.Error501NotImplemented = exports.Error500InternalServerError = exports.Error451UnavailableForLegalReasons = exports.Error431RequestHeaderFieldsTooLarge = exports.Error429TooManyRequests = exports.Error428PreconditionRequired = exports.Error422UnprocessableEntity = exports.Error421MisdirectedRequest = exports.Error418ImaTeapot = exports.Error417ExpectationFailed = exports.Error416RequestedRangeNotSatisfiable = exports.Error415UnsupportedMediaType = exports.Error414RequestURITooLong = exports.Error413RequestEntityTooLarge = exports.Error412PreconditionFailed = exports.Error411LengthRequired = exports.Error410Gone = exports.Error409Conflict = exports.Error408RequestTimeout = exports.Error407ProxyAuthenticationRequired = exports.Error406NotAcceptable = exports.Error405MethodNotAllowed = exports.Error404NotFound = exports.Error403Forbidden = exports.Error402PaymentRequired = exports.Error401Unauthorized = exports.Error400BadRequest = exports.Error308PermanentRedirect = exports.Error307TemporaryRedirect = exports.Error306Unused = exports.Error305UseProxy = exports.Error304NotModified = exports.Error303SeeOther = exports.Error302Found = exports.Error301MovedPermanently = exports.CreateException = exports.RestClientBaseException = void 0; | ||
var exceptions_1 = require("./exceptions"); | ||
Object.defineProperty(exports, "RestClientBaseException", { enumerable: true, get: function () { return exceptions_1.RestClientBaseException; } }); | ||
Object.defineProperty(exports, "NetworkConnectionException", { enumerable: true, get: function () { return exceptions_1.NetworkConnectionException; } }); | ||
Object.defineProperty(exports, "CreateException", { enumerable: true, get: function () { return exceptions_1.CreateException; } }); | ||
Object.defineProperty(exports, "Error301MovedPermanently", { enumerable: true, get: function () { return exceptions_1.Error301MovedPermanently; } }); | ||
@@ -50,2 +50,3 @@ Object.defineProperty(exports, "Error302Found", { enumerable: true, get: function () { return exceptions_1.Error302Found; } }); | ||
Object.defineProperty(exports, "Error524ATimeoutOccurred", { enumerable: true, get: function () { return exceptions_1.Error524ATimeoutOccurred; } }); | ||
Object.defineProperty(exports, "NetworkConnectionException", { enumerable: true, get: function () { return exceptions_1.NetworkConnectionException; } }); | ||
Object.defineProperty(exports, "ThrowException", { enumerable: true, get: function () { return exceptions_1.ThrowException; } }); | ||
@@ -52,0 +53,0 @@ Object.defineProperty(exports, "ThrowNetworkConnectionException", { enumerable: true, get: function () { return exceptions_1.ThrowNetworkConnectionException; } }); |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "1.0.28", | ||
"version": "1.0.29", | ||
"main": "lib/index.js", | ||
@@ -9,0 +9,0 @@ "types": "lib/index.d.ts", |
98992
1701