aotrautils 0.0.2025 → 0.0.2026

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 (12/10/2026-21:59:28)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (12/10/2026-22:04:56)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5485,7 +5485,7 @@ window.AOTRAUTILS_LIB_IS_LOADED=true;
5485
5485
 
5486
5486
 
5487
5487
 
5488
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (12/10/2026-21:59:28)»*/
5488
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (12/10/2026-22:04:56)»*/
5489
5489
  /*-----------------------------------------------------------------------------*/
5490
5490
  /* ## Utility global methods in a browser (htmljs) client environment.
5491
5491
  *
@@ -13041,7 +13041,7 @@ window.createOritaMicroClient=function(url, port, isNode=false, staticMicroClien
13041
13041
 
13042
13042
 
13043
13043
 
13044
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (12/10/2026-21:59:28)»*/
13044
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (12/10/2026-22:04:56)»*/
13045
13045
  /*-----------------------------------------------------------------------------*/
13046
13046
 
13047
13047
 
@@ -14130,10 +14130,10 @@ function rayVsUnitSphereClosestPoint(p, r) {
14130
14130
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14131
14131
 
14132
14132
  window.AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14133
- /*utils 3D library associated with aotra version : «1_29072022-2359 (12/10/2026-21:59:28)»*/
14133
+ /*utils 3D library associated with aotra version : «1_29072022-2359 (12/10/2026-22:04:56)»*/
14134
14134
  /*-----------------------------------------------------------------------------*/
14135
14135
 
14136
- /*utils AI library associated with aotra version : «1_29072022-2359 (12/10/2026-21:59:28)»*/
14136
+ /*utils AI library associated with aotra version : «1_29072022-2359 (12/10/2026-22:04:56)»*/
14137
14137
  /*-----------------------------------------------------------------------------*/
14138
14138
 
14139
14139
 
@@ -14397,7 +14397,7 @@ window.getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProvider
14397
14397
 
14398
14398
 
14399
14399
 
14400
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (12/10/2026-21:59:28)»*/
14400
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (12/10/2026-22:04:56)»*/
14401
14401
  /*-----------------------------------------------------------------------------*/
14402
14402
 
14403
14403
 
@@ -18393,7 +18393,7 @@ window.ServerReceptionEntryPointsBag=class ServerReceptionEntryPointsBag{
18393
18393
  this.clientsRoomsTag=clientsRoomsTag;
18394
18394
 
18395
18395
  this.serverReceptionEntryPoints=[];
18396
- this.prerequisiteMethods=[];
18396
+ this.asyncPrerequisiteMethods=[];
18397
18397
  }
18398
18398
 
18399
18399
  // Executed whenever any message is received on any channel :
@@ -18437,8 +18437,12 @@ window.ServerReceptionEntryPointsBag=class ServerReceptionEntryPointsBag{
18437
18437
 
18438
18438
  }
18439
18439
 
18440
- addReceiveListenerPrerequisite(prerequisiteMethod){
18441
- this.prerequisiteMethods.push(prerequisiteMethod);
18440
+ addReceiveListenerPrerequisite(asyncPrerequisiteMethod){
18441
+ this.asyncPrerequisiteMethods.push(asyncPrerequisiteMethod);
18442
+
18443
+ // TRACE
18444
+ lognow("INFO : Added prerequisite:asyncPrerequisiteMethods:",asyncPrerequisiteMethod);
18445
+
18442
18446
  return this;
18443
18447
  }
18444
18448
 
@@ -18446,8 +18450,8 @@ window.ServerReceptionEntryPointsBag=class ServerReceptionEntryPointsBag{
18446
18450
  let prequisiteResult=eventOrMessage;
18447
18451
  let i=1;
18448
18452
  try {
18449
- for(const prerequisiteMethod of this.prerequisiteMethods) {
18450
- prequisiteResult=await prerequisiteMethod(prequisiteResult, clientSocket);
18453
+ for(const asyncPrerequisiteMethod of this.asyncPrerequisiteMethods) {
18454
+ prequisiteResult=await asyncPrerequisiteMethod(prequisiteResult, clientSocket);
18451
18455
  i++;
18452
18456
  }
18453
18457
  }catch(error){
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.2025",
3
+ "version": "0.0.2026",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "aotrautils",
9
- "version": "0.0.2025",
9
+ "version": "0.0.2026",
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.2025",
3
+ "version": "0.0.2026",
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)",