aotrautils 0.0.948 → 0.0.950

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 (15/04/2024-01:06:54)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (15/04/2024-02:20:14)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5275,7 +5275,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5275
5275
 
5276
5276
 
5277
5277
 
5278
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (15/04/2024-01:06:54)»*/
5278
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (15/04/2024-02:20:14)»*/
5279
5279
  /*-----------------------------------------------------------------------------*/
5280
5280
  /* ## Utility global methods in a browser (htmljs) client environment.
5281
5281
  *
@@ -13486,7 +13486,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13486
13486
 
13487
13487
 
13488
13488
 
13489
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (15/04/2024-01:06:54)»*/
13489
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (15/04/2024-02:20:14)»*/
13490
13490
  /*-----------------------------------------------------------------------------*/
13491
13491
 
13492
13492
 
@@ -14725,7 +14725,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14725
14725
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14726
14726
 
14727
14727
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14728
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (15/04/2024-01:06:54)»*/
14728
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (15/04/2024-02:20:14)»*/
14729
14729
  /*-----------------------------------------------------------------------------*/
14730
14730
 
14731
14731
 
@@ -16430,7 +16430,7 @@ performHTTPRequest=function(completeURL,httpMethod="GET",headers={},requestBodyO
16430
16430
  // CASE BROWSER CONTEXT :
16431
16431
  if(!isNodeContext || typeof(require)=="undefined"){
16432
16432
  // TRACE
16433
- lognow("INFO : require() not found, this may need we are not running in a nodejs context. This is currently not supported. Aborting");
16433
+ lognow("INFO : We are not running in a nodejs context (isNodeContext:"+isNodeContext+";typeof(require):"+(typeof(require))+"). Using browser library.");
16434
16434
 
16435
16435
  const body=((contains(["POST","PUT"],httpMethod) && requestBodyOrNamedArgs)?JSON.stringify(requestBodyOrNamedArgs):null);
16436
16436
  return new Promise((resolve,reject)=>{
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.948",
3
+ "version": "0.0.950",
4
4
  "main": "aotrautils.build.js",
5
5
  "description": "A library for vanilla javascript utils (client-side) used in aotra javascript CMS",
6
6
  "author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",