aotrautils-srv 0.0.1466 → 0.0.1468
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 (
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (26/04/2025-02:09:13)»*/
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
5
5
|
|
6
6
|
|
@@ -4894,7 +4894,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
4894
4894
|
|
4895
4895
|
|
4896
4896
|
|
4897
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (
|
4897
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (26/04/2025-02:09:13)»*/
|
4898
4898
|
/*-----------------------------------------------------------------------------*/
|
4899
4899
|
|
4900
4900
|
|
@@ -5040,7 +5040,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
5040
5040
|
|
5041
5041
|
|
5042
5042
|
|
5043
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (
|
5043
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (26/04/2025-02:09:13)»*/
|
5044
5044
|
/*-----------------------------------------------------------------------------*/
|
5045
5045
|
|
5046
5046
|
|
@@ -5854,9 +5854,11 @@ WebsocketImplementation={
|
|
5854
5854
|
clientsRoomsTag:clientsRoomsTag,
|
5855
5855
|
messageId:messageId,
|
5856
5856
|
thenWhenReceiveMessageType:(channelNameForResponse, listenerConfig={messageType:"",condition:()=>true}, doOnIncomingMessageForResponse)=>{
|
5857
|
+
|
5857
5858
|
listenerConfig=nonull(listenerConfig,{messageType:"",condition:()=>true});
|
5858
5859
|
const listenerId=nonull(listenerConfig.messageType,"");
|
5859
5860
|
|
5861
|
+
//
|
5860
5862
|
nodeClientInstance.receive(channelNameForResponse, (dataLocal, clientSocket)=>{
|
5861
5863
|
|
5862
5864
|
// We check if the message matches the condition :
|
@@ -5871,6 +5873,8 @@ WebsocketImplementation={
|
|
5871
5873
|
|
5872
5874
|
doOnIncomingMessageForResponse(dataLocal, clientSocket);
|
5873
5875
|
}, resultPromise.clientsRoomsTag, listenerId, {destroyListenerAfterReceiving:true});
|
5876
|
+
//
|
5877
|
+
|
5874
5878
|
return resultPromise;
|
5875
5879
|
}
|
5876
5880
|
};
|
aotrautils-srv/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aotrautils-srv",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.1468",
|
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)",
|