@sap-ux/axios-extension
Advanced tools
Comparing version 1.4.8 to 1.5.0
@@ -17,2 +17,3 @@ import { AdtService } from './adt-service'; | ||
static getAdtCatagory(): AdtCategory; | ||
static LocalPackageError: string; | ||
/** | ||
@@ -39,5 +40,7 @@ * TransportChecksService API function to fetch a list of available transport requests. | ||
* @param doc document | ||
* @returns | ||
* - For local package, return []. | ||
* - For errors or other unkonwn reasons no transport number found, an error is thrown. | ||
* @returns A list of transport requests | ||
* @throws For errors or other unkonwn reasons no transport number found, an error is thrown. | ||
* If error message equals TransportChecksService.LocalPackageError, it indicates the input | ||
* package is a local package and no transport request is required. | ||
* @see TransportChecksService.LocalPackageError | ||
*/ | ||
@@ -44,0 +47,0 @@ private getTransportList; |
@@ -117,5 +117,7 @@ "use strict"; | ||
* @param doc document | ||
* @returns | ||
* - For local package, return []. | ||
* - For errors or other unkonwn reasons no transport number found, an error is thrown. | ||
* @returns A list of transport requests | ||
* @throws For errors or other unkonwn reasons no transport number found, an error is thrown. | ||
* If error message equals TransportChecksService.LocalPackageError, it indicates the input | ||
* package is a local package and no transport request is required. | ||
* @see TransportChecksService.LocalPackageError | ||
*/ | ||
@@ -134,3 +136,3 @@ getTransportList(doc) { | ||
else if (types_1.LocalPackageText.includes(localPackage)) { | ||
return []; | ||
throw new Error(TransportChecksService.LocalPackageError); | ||
} | ||
@@ -210,2 +212,3 @@ else { | ||
}; | ||
TransportChecksService.LocalPackageError = 'LocalPackageError'; | ||
//# sourceMappingURL=transportcheck-service.js.map |
{ | ||
"name": "@sap-ux/axios-extension", | ||
"version": "1.4.8", | ||
"version": "1.5.0", | ||
"description": "Extension of the Axios module adding convenience methods to interact with SAP systems especially with OData services.", | ||
@@ -32,3 +32,3 @@ "repository": { | ||
"supertest": "6.3.3", | ||
"@sap-ux/project-access": "1.13.6" | ||
"@sap-ux/project-access": "1.13.7" | ||
}, | ||
@@ -35,0 +35,0 @@ "files": [ |
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
236218
5325