aotrautils-srv 0.0.2023 → 0.0.2025

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:05:28)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (12/10/2026-22:12:43)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5485,7 +5485,7 @@ window.AOTRAUTILS_LIB_IS_LOADED=true;
5485
5485
 
5486
5486
 
5487
5487
 
5488
- /*utils AI library associated with aotra version : «1_29072022-2359 (12/10/2026-22:05:28)»*/
5488
+ /*utils AI library associated with aotra version : «1_29072022-2359 (12/10/2026-22:12:43)»*/
5489
5489
  /*-----------------------------------------------------------------------------*/
5490
5490
 
5491
5491
 
@@ -5749,7 +5749,7 @@ window.getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProvider
5749
5749
 
5750
5750
 
5751
5751
 
5752
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (12/10/2026-22:05:28)»*/
5752
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (12/10/2026-22:12:43)»*/
5753
5753
  /*-----------------------------------------------------------------------------*/
5754
5754
 
5755
5755
 
@@ -8572,6 +8572,12 @@ window.launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=
8572
8572
  /*private static*/handleHTTPEndpoints=async function(request, response){
8573
8573
  const url=new URL(request.url, `https://${request.headers.host}`);
8574
8574
 
8575
+
8576
+ // DBG
8577
+ lognow(" DEBUG : handler.httpEndpoints:",handler.httpEndpoints);
8578
+
8579
+
8580
+
8575
8581
  for(const httpEndpoint of handler.httpEndpoints){
8576
8582
 
8577
8583
 
@@ -8667,7 +8673,6 @@ window.launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=
8667
8673
 
8668
8674
 
8669
8675
  // Endpoints handling :
8670
- server.httpEndpoints=[];
8671
8676
  handler.httpEndpoints=server.httpEndpoints;
8672
8677
 
8673
8678
 
@@ -9791,10 +9796,8 @@ window.ServerReceptionEntryPointsBag=class ServerReceptionEntryPointsBag{
9791
9796
 
9792
9797
  addReceiveListenerPrerequisite(asyncPrerequisiteMethod){
9793
9798
  this.asyncPrerequisiteMethods.push(asyncPrerequisiteMethod);
9794
-
9795
9799
  // TRACE
9796
- lognow("INFO : Added prerequisite:asyncPrerequisiteMethods:",asyncPrerequisiteMethod);
9797
-
9800
+ lognow("INFO : Added prerequisite: asyncPrerequisiteMethods:",asyncPrerequisiteMethod);
9798
9801
  return this;
9799
9802
  }
9800
9803
 
@@ -9909,7 +9912,7 @@ window.NodeServerInstance=class NodeServerInstance{
9909
9912
  this.serverReceptionEntryPoints=[];
9910
9913
  this.serverReceptionEntryPointsBags=[];
9911
9914
 
9912
- this.httpEndpoints=null;
9915
+ this.httpEndpoints=[];
9913
9916
 
9914
9917
  }
9915
9918
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.2023",
3
+ "version": "0.0.2025",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "aotrautils-srv",
9
- "version": "0.0.2023",
9
+ "version": "0.0.2025",
10
10
  "license": "HGPL-1.0",
11
11
  "dependencies": {
12
12
  "atob": "^2.1.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.2023",
3
+ "version": "0.0.2025",
4
4
  "main": "aotrautils-srv.build.js",
5
5
  "description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
6
6
  "author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",