aotrautils-srv 0.0.1998 → 0.0.1999

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 (04/10/2026-22:15:53)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (04/10/2026-23:49:11)»*/
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 (04/10/2026-22:15:53)»*/
5488
+ /*utils AI library associated with aotra version : «1_29072022-2359 (04/10/2026-23:49:11)»*/
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 (04/10/2026-22:15:53)»*/
5752
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (04/10/2026-23:49:11)»*/
5753
5753
  /*-----------------------------------------------------------------------------*/
5754
5754
 
5755
5755
 
@@ -9556,7 +9556,7 @@ window.ClientInstance=class ClientInstance{
9556
9556
  const self=this;
9557
9557
 
9558
9558
  // DBG
9559
- lognow("DEBUG : CLIENT : setting up onConnectionToServer.");
9559
+ lognow("DEBUG : CLIENT : Setting up onConnectionToServer (socket implementation : «"+window.WebsocketImplementation.implementationToUse+"»).");
9560
9560
 
9561
9561
  const doAllOnConnection=()=>{
9562
9562
 
@@ -9571,7 +9571,8 @@ window.ClientInstance=class ClientInstance{
9571
9571
  // if(!window.WebsocketImplementation.useSocketIOImplementation){
9572
9572
  if(!window.WebsocketImplementation.implementationToUse){
9573
9573
  // FOR THE WEBSOCKET IMPLEMENTATION :
9574
- clientSocket.addEventListener("message", (eventOrMessage)=>{
9574
+ // DBG : clientSocket.addEventListener("message", (eventOrMessage)=>{
9575
+ clientSocket.on("message", (eventOrMessage)=>{
9575
9576
  foreach(self.clientReceptionEntryPoints,(clientReceptionEntryPoint)=>{
9576
9577
  clientReceptionEntryPoint.execute(eventOrMessage, clientSocket, self.clientReceptionEntryPoints);
9577
9578
  });
@@ -9875,7 +9876,8 @@ window.NodeServerInstance=class NodeServerInstance{
9875
9876
 
9876
9877
  // if(!window.WebsocketImplementation.useSocketIOImplementation){
9877
9878
  if(!window.WebsocketImplementation.implementationToUse){
9878
- clientSocket.addEventListener("message", doOnMessage);
9879
+ // DBG : clientSocket.addEventListener("message", doOnMessage);
9880
+ clientSocket.on("message", doOnMessage);
9879
9881
  }else{
9880
9882
  window.WebsocketImplementation.implementationToUse.initOnMessageReceived(doOnMessage);
9881
9883
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1998",
3
+ "version": "0.0.1999",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "aotrautils-srv",
9
- "version": "0.0.1998",
9
+ "version": "0.0.1999",
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.1998",
3
+ "version": "0.0.1999",
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)",