aotrautils 0.0.2033 → 0.0.2036

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-22:19:28)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (12/10/2026-22:30:19)»*/
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-22:19:28)»*/
5488
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (12/10/2026-22:30:19)»*/
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-22:19:28)»*/
13044
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (12/10/2026-22:30:19)»*/
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-22:19:28)»*/
14133
+ /*utils 3D library associated with aotra version : «1_29072022-2359 (12/10/2026-22:30:19)»*/
14134
14134
  /*-----------------------------------------------------------------------------*/
14135
14135
 
14136
- /*utils AI library associated with aotra version : «1_29072022-2359 (12/10/2026-22:19:28)»*/
14136
+ /*utils AI library associated with aotra version : «1_29072022-2359 (12/10/2026-22:30:19)»*/
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-22:19:28)»*/
14400
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (12/10/2026-22:30:19)»*/
14401
14401
  /*-----------------------------------------------------------------------------*/
14402
14402
 
14403
14403
 
@@ -18479,9 +18479,6 @@ window.ServerReceptionEntryPointsBag=class ServerReceptionEntryPointsBag{
18479
18479
  // TRACE
18480
18480
  lognow("INFO : Registered HTTP listener:",httpEndpointDefinition);
18481
18481
 
18482
- // DBG
18483
- lognow("DEBUG : this.server:",this.server);
18484
-
18485
18482
  this.server.httpEndpoints.push(httpEndpointDefinition);
18486
18483
  }
18487
18484
 
@@ -18541,6 +18538,8 @@ window.ServerReceptionEntryPoint=class ServerReceptionEntryPoint{
18541
18538
  if(this.asyncDoOnIncomingMessage){
18542
18539
  const dataLocal=dataWrapped.data;
18543
18540
  const dataRestored=restoreClassesInformation(dataLocal);
18541
+
18542
+ // CAUTION : This method can be ASYNC or NOT ASYNC !!!
18544
18543
  this.asyncDoOnIncomingMessage(dataRestored, clientSocketParam);
18545
18544
  }
18546
18545
 
@@ -18600,10 +18599,7 @@ window.NodeServerInstance=class NodeServerInstance{
18600
18599
  lognow("(SERVER) Registering receive (OLD API) for channel «"+channelNameParam+"»...");
18601
18600
 
18602
18601
  const serverReceptionEntryPoint=new window.ServerReceptionEntryPoint(channelNameParam, clientsRoomsTag, listenerConfig
18603
- ,((doOnIncomingMessage && isAsyncFunction(doOnIncomingMessage)) ?
18604
- doOnIncomingMessage
18605
- : new Promise((resolve,reject)=>{if(doOnIncomingMessage) doOnIncomingMessage();resolve();}))
18606
- );
18602
+ ,doOnIncomingMessage);
18607
18603
  this.serverReceptionEntryPoints.push(serverReceptionEntryPoint);
18608
18604
 
18609
18605
  //OLD: // SPECIAL FOR THE SOCKETIO IMPLEMENTATION :
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.2033",
3
+ "version": "0.0.2036",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "aotrautils",
9
- "version": "0.0.2033",
9
+ "version": "0.0.2036",
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.2033",
3
+ "version": "0.0.2036",
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)",