aotrautils 0.0.1917 → 0.0.1919

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 (26/07/2026-03:42:05)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (26/07/2026-03:47:47)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5470,7 +5470,7 @@ window.AOTRAUTILS_LIB_IS_LOADED=true;
5470
5470
 
5471
5471
 
5472
5472
 
5473
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (26/07/2026-03:42:05)»*/
5473
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (26/07/2026-03:47:47)»*/
5474
5474
  /*-----------------------------------------------------------------------------*/
5475
5475
  /* ## Utility global methods in a browser (htmljs) client environment.
5476
5476
  *
@@ -5511,14 +5511,14 @@ function isUserMediaAvailable(){
5511
5511
 
5512
5512
 
5513
5513
  // Dependances-optionalizing mechanisms :
5514
- if(typeof aotest === "undefined"){
5514
+ if(typeof window.aotest === "undefined"){
5515
5515
  // If aotest library is not available, then we replace aotest calls with simple tested function calls :
5516
- aotest=function(testcase,testedFunction){ return testedFunction; };
5516
+ window.aotest=function(testcase,testedFunction){ return testedFunction; };
5517
5517
  // TRACE IF NEEDED
5518
5518
  if(window.PERFORM_TESTS_ON_LIBRARY) console.log("WARN : aotest library not found, deactivating aotest unit test abilities.");
5519
5519
  }
5520
- if(typeof monitorProgression === "undefined"){
5521
- monitorProgression=function(progressionTotalAmount,monitoredFunction){ return monitoredFunction; };
5520
+ if(typeof window.monitorProgression === "undefined"){
5521
+ window.monitorProgression=function(progressionTotalAmount,monitoredFunction){ return monitoredFunction; };
5522
5522
  }
5523
5523
 
5524
5524
 
@@ -5800,7 +5800,7 @@ function getAsString(DOMElement
5800
5800
  }
5801
5801
 
5802
5802
  // CSS management :
5803
- cssStringToJQueryObject=aotest({
5803
+ window.cssStringToJQueryObject=window.aotest({
5804
5804
  name : "cssStringToJQueryObject",
5805
5805
  scenario1 : [ [ "test: property property2;test2:thing" ], function(result){
5806
5806
  return result.test && result.test === "property property2" && result.test2 && result.test2 === "thing";
@@ -6369,7 +6369,7 @@ function getDocumentFileName(){
6369
6369
  return getFileNameFromURL(document.location.href);
6370
6370
  }
6371
6371
 
6372
- var isURLHttps=aotest(
6372
+ var isURLHttps=window.aotest(
6373
6373
  // Tests definition
6374
6374
  {
6375
6375
  // Tested function/method name :
@@ -13291,7 +13291,7 @@ window.createOritaMicroClient=function(url, port, isNode=false, staticMicroClien
13291
13291
 
13292
13292
 
13293
13293
 
13294
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (26/07/2026-03:42:05)»*/
13294
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (26/07/2026-03:47:47)»*/
13295
13295
  /*-----------------------------------------------------------------------------*/
13296
13296
 
13297
13297
 
@@ -14376,10 +14376,10 @@ function rayVsUnitSphereClosestPoint(p, r) {
14376
14376
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14377
14377
 
14378
14378
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14379
- /*utils 3D library associated with aotra version : «1_29072022-2359 (26/07/2026-03:42:05)»*/
14379
+ /*utils 3D library associated with aotra version : «1_29072022-2359 (26/07/2026-03:47:47)»*/
14380
14380
  /*-----------------------------------------------------------------------------*/
14381
14381
 
14382
- /*utils AI library associated with aotra version : «1_29072022-2359 (26/07/2026-03:42:05)»*/
14382
+ /*utils AI library associated with aotra version : «1_29072022-2359 (26/07/2026-03:47:47)»*/
14383
14383
  /*-----------------------------------------------------------------------------*/
14384
14384
 
14385
14385
 
@@ -14639,7 +14639,7 @@ window.getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProvider
14639
14639
 
14640
14640
 
14641
14641
 
14642
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (26/07/2026-03:42:05)»*/
14642
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (26/07/2026-03:47:47)»*/
14643
14643
  /*-----------------------------------------------------------------------------*/
14644
14644
 
14645
14645
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1917",
3
+ "version": "0.0.1919",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "aotrautils",
9
- "version": "0.0.1917",
9
+ "version": "0.0.1919",
10
10
  "license": "HGPL-1.0",
11
11
  "dependencies": {
12
12
  "atob": "^2.1.2",
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1917",
3
+ "version": "0.0.1919",
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)",