aotrautils-srv 0.0.2009 → 0.0.2012
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 (05/10/2026-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (05/10/2026-21:35:51)»*/
|
|
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 (05/10/2026-
|
|
5488
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (05/10/2026-21:35:51)»*/
|
|
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 (05/10/2026-
|
|
5752
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (05/10/2026-21:35:51)»*/
|
|
5753
5753
|
/*-----------------------------------------------------------------------------*/
|
|
5754
5754
|
|
|
5755
5755
|
|
|
@@ -8307,6 +8307,7 @@ window.WebsocketImplementation={
|
|
|
8307
8307
|
// To make the server aware of the clients connections states :
|
|
8308
8308
|
nodeServerInstance.serverSocket.on("close", function close() {
|
|
8309
8309
|
|
|
8310
|
+
let serverClients;
|
|
8310
8311
|
// if(!window.WebsocketImplementation.useSocketIOImplementation)
|
|
8311
8312
|
if(!window.WebsocketImplementation.implementationToUse){
|
|
8312
8313
|
serverClients=nodeServerInstance.serverSocket.clients;
|
|
@@ -9878,14 +9879,15 @@ window.NodeServerInstance=class NodeServerInstance{
|
|
|
9878
9879
|
// Case Buffer :
|
|
9879
9880
|
eventOrMessage.data=eventOrMessage.data.toString();
|
|
9880
9881
|
try{
|
|
9882
|
+
// Because bun transforms this into a buffer :
|
|
9881
9883
|
eventOrMessage.data=JSON.parse(eventOrMessage.data);
|
|
9882
9884
|
}catch(error){
|
|
9883
9885
|
lognow("ERROR : Could not parse JSON : eventOrMessage.data:"+eventOrMessage.data, error);
|
|
9884
9886
|
}
|
|
9885
9887
|
}
|
|
9886
|
-
|
|
9887
|
-
|
|
9888
|
-
|
|
9888
|
+
// //DBG
|
|
9889
|
+
// lognow("(DEBUG)(COMMONS)>>>>>>>>><eventOrMessage:",eventOrMessage);
|
|
9890
|
+
|
|
9889
9891
|
|
|
9890
9892
|
// We execute the events registration listeners entry points:
|
|
9891
9893
|
foreach(self.serverReceptionEntryPoints,(serverReceptionEntryPoint,i)=>{
|
aotrautils-srv/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2012",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "aotrautils-srv",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.2012",
|
|
10
10
|
"license": "HGPL-1.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"atob": "^2.1.2",
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2012",
|
|
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)",
|