aotrautils-srv 0.0.927 → 0.0.929
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (07/04/2024-19:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (07/04/2024-19:13:20)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -5275,7 +5275,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5275
5275
|
|
|
5276
5276
|
|
|
5277
5277
|
|
|
5278
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (07/04/2024-19:
|
|
5278
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (07/04/2024-19:13:20)»*/
|
|
5279
5279
|
/*-----------------------------------------------------------------------------*/
|
|
5280
5280
|
|
|
5281
5281
|
|
|
@@ -6982,8 +6982,7 @@ performHTTPRequest=function(completeURL,httpMethod="GET",headers={},requestBodyO
|
|
|
6982
6982
|
// TRACE
|
|
6983
6983
|
lognow("INFO : require() not found, this may need we are not running in a nodejs context. This is currently not supported. Aborting");
|
|
6984
6984
|
|
|
6985
|
-
const
|
|
6986
|
-
|
|
6985
|
+
const body=((contains(["POST","PUT"],httpMethod) && requestBodyOrNamedArgs)?JSON.stringify(requestBodyOrNamedArgs):null);
|
|
6987
6986
|
return new Promise((resolve,reject)=>{
|
|
6988
6987
|
fetch(completeURL, {
|
|
6989
6988
|
method: httpMethod,
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.929",
|
|
4
4
|
"main": "aotrautils-srv.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|