@coscine/api-connection
Advanced tools
Comparing version 1.27.0 to 1.28.0
@@ -166,3 +166,3 @@ var axios$p = require('axios'); | ||
//# sourceMappingURL=FileSaver.min.js.map | ||
}); | ||
@@ -415,2 +415,10 @@ | ||
}; | ||
NoticeApi.GetMaintenance = function (thenHandler, catchHandler) { | ||
if (thenHandler === void 0) { thenHandler = apiConnectionBasic.defaultThenHandler; } | ||
if (catchHandler === void 0) { catchHandler = apiConnectionBasic.defaultOnCatch; } | ||
return axios$g | ||
.get(getNoticeApiUrl() + encodeURIComponent('getMaintenance')) | ||
.then(thenHandler) | ||
.catch(catchHandler); | ||
}; | ||
return NoticeApi; | ||
@@ -417,0 +425,0 @@ }()); |
@@ -172,3 +172,3 @@ (function (global, factory) { | ||
//# sourceMappingURL=FileSaver.min.js.map | ||
}); | ||
@@ -421,2 +421,10 @@ | ||
}; | ||
NoticeApi.GetMaintenance = function (thenHandler, catchHandler) { | ||
if (thenHandler === void 0) { thenHandler = apiConnectionBasic.defaultThenHandler; } | ||
if (catchHandler === void 0) { catchHandler = apiConnectionBasic.defaultOnCatch; } | ||
return axios$g | ||
.get(getNoticeApiUrl() + encodeURIComponent('getMaintenance')) | ||
.then(thenHandler) | ||
.catch(catchHandler); | ||
}; | ||
return NoticeApi; | ||
@@ -423,0 +431,0 @@ }()); |
@@ -20,2 +20,10 @@ "use strict"; | ||
}; | ||
NoticeApi.GetMaintenance = function (thenHandler, catchHandler) { | ||
if (thenHandler === void 0) { thenHandler = api_connection_basic_1.default.defaultThenHandler; } | ||
if (catchHandler === void 0) { catchHandler = api_connection_basic_1.default.defaultOnCatch; } | ||
return axios | ||
.get(getNoticeApiUrl() + encodeURIComponent('getMaintenance')) | ||
.then(thenHandler) | ||
.catch(catchHandler); | ||
}; | ||
return NoticeApi; | ||
@@ -22,0 +30,0 @@ }()); |
export declare class NoticeApi { | ||
static getNotices(documentSlug: string, language: string, thenHandler?: any, catchHandler?: any): any; | ||
static GetMaintenance(thenHandler?: any, catchHandler?: any): any; | ||
} |
{ | ||
"name": "@coscine/api-connection", | ||
"version": "1.27.0", | ||
"version": "1.28.0", | ||
"description": "This library provides methods to connect to CoScInE Apis with JavaScript.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
411018
3725