aotrautils-srv 0.0.2028 → 0.0.2030
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:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (12/10/2026-22:30:13)»*/
|
|
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:
|
|
5488
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (12/10/2026-22:30:13)»*/
|
|
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:
|
|
5752
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (12/10/2026-22:30:13)»*/
|
|
5753
5753
|
/*-----------------------------------------------------------------------------*/
|
|
5754
5754
|
|
|
5755
5755
|
|
|
@@ -9831,9 +9831,6 @@ window.ServerReceptionEntryPointsBag=class ServerReceptionEntryPointsBag{
|
|
|
9831
9831
|
// TRACE
|
|
9832
9832
|
lognow("INFO : Registered HTTP listener:",httpEndpointDefinition);
|
|
9833
9833
|
|
|
9834
|
-
// DBG
|
|
9835
|
-
lognow("DEBUG : this.server:",this.server);
|
|
9836
|
-
|
|
9837
9834
|
this.server.httpEndpoints.push(httpEndpointDefinition);
|
|
9838
9835
|
}
|
|
9839
9836
|
|
|
@@ -9893,6 +9890,8 @@ window.ServerReceptionEntryPoint=class ServerReceptionEntryPoint{
|
|
|
9893
9890
|
if(this.asyncDoOnIncomingMessage){
|
|
9894
9891
|
const dataLocal=dataWrapped.data;
|
|
9895
9892
|
const dataRestored=restoreClassesInformation(dataLocal);
|
|
9893
|
+
|
|
9894
|
+
// CAUTION : This method can be ASYNC or NOT ASYNC !!!
|
|
9896
9895
|
this.asyncDoOnIncomingMessage(dataRestored, clientSocketParam);
|
|
9897
9896
|
}
|
|
9898
9897
|
|
|
@@ -9952,10 +9951,7 @@ window.NodeServerInstance=class NodeServerInstance{
|
|
|
9952
9951
|
lognow("(SERVER) Registering receive (OLD API) for channel «"+channelNameParam+"»...");
|
|
9953
9952
|
|
|
9954
9953
|
const serverReceptionEntryPoint=new window.ServerReceptionEntryPoint(channelNameParam, clientsRoomsTag, listenerConfig
|
|
9955
|
-
,
|
|
9956
|
-
doOnIncomingMessage
|
|
9957
|
-
: new Promise((resolve,reject)=>{if(doOnIncomingMessage) doOnIncomingMessage();resolve();}))
|
|
9958
|
-
);
|
|
9954
|
+
,doOnIncomingMessage);
|
|
9959
9955
|
this.serverReceptionEntryPoints.push(serverReceptionEntryPoint);
|
|
9960
9956
|
|
|
9961
9957
|
//OLD: // SPECIAL FOR THE SOCKETIO IMPLEMENTATION :
|
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.2030",
|
|
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.2030",
|
|
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.2030",
|
|
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)",
|