aotrautils 0.0.615 → 0.0.617

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 (25/09/2023-01:47:29)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (25/09/2023-01:53:02)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5054,7 +5054,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5054
5054
 
5055
5055
 
5056
5056
 
5057
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (25/09/2023-01:47:29)»*/
5057
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (25/09/2023-01:53:02)»*/
5058
5058
  /*-----------------------------------------------------------------------------*/
5059
5059
  /* ## Utility global methods in a browser (htmljs) client environment.
5060
5060
  *
@@ -5089,7 +5089,9 @@ if(typeof(window)==="undefined") window=global;
5089
5089
  const APOSTROPHE="’";
5090
5090
  PERFORM_TESTS_ON_LIBRARY=false;
5091
5091
 
5092
- const isUserMediaAvailable= (typeof(navigator)===undefined?false : !!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia && navigator.mediaDevices.enumerateDevices));
5092
+ let isUserMediaAvailable=false;
5093
+ if(typeof(navigator)!==undefined)
5094
+ isUserMediaAvailable=!!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia && navigator.mediaDevices.enumerateDevices);
5093
5095
 
5094
5096
 
5095
5097
  // Dependances-optionalizing mechanisms :
@@ -13285,7 +13287,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13285
13287
 
13286
13288
 
13287
13289
 
13288
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (25/09/2023-01:47:29)»*/
13290
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (25/09/2023-01:53:02)»*/
13289
13291
  /*-----------------------------------------------------------------------------*/
13290
13292
 
13291
13293
 
@@ -14524,7 +14526,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14524
14526
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14525
14527
 
14526
14528
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14527
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (25/09/2023-01:47:29)»*/
14529
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (25/09/2023-01:53:02)»*/
14528
14530
  /*-----------------------------------------------------------------------------*/
14529
14531
 
14530
14532
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.615",
3
+ "version": "0.0.617",
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)",