aotrautils-srv 0.0.946 → 0.0.948

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 (15/04/2024-02:50:53)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (15/04/2024-03:02:38)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5275,7 +5275,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5275
5275
 
5276
5276
 
5277
5277
 
5278
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (15/04/2024-02:50:53)»*/
5278
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (15/04/2024-03:02:38)»*/
5279
5279
  /*-----------------------------------------------------------------------------*/
5280
5280
 
5281
5281
 
@@ -6083,6 +6083,7 @@ WebsocketImplementation={
6083
6083
  clientsRoomsTag:clientsRoomsTag,
6084
6084
  messageId:messageId,
6085
6085
  thenWhenReceiveMessageType:(channelNameForResponse, listenerConfig={messageType:"",condition:()=>true}, doOnIncomingMessageForResponse)=>{
6086
+ listenerConfig=nonull(listenerConfig,{messageType:"",condition:()=>true});
6086
6087
  const listenerId=nonull(listenerConfig.messageType,"");
6087
6088
 
6088
6089
  nodeClientInstance.receive(channelNameForResponse, (dataLocal, clientSocket)=>{
@@ -6327,6 +6328,7 @@ WebsocketImplementation={
6327
6328
  clientsRoomsTag:clientsRoomsTag,
6328
6329
  messageId:messageId,
6329
6330
  thenWhenReceiveMessageType:(channelNameForResponse, listenerConfig={messageType:"",condition:()=>true}, doOnIncomingMessageForResponse)=>{
6331
+ listenerConfig=nonull(listenerConfig,{messageType:"",condition:()=>true});
6330
6332
  const listenerId=nonull(listenerConfig.messageType,"");
6331
6333
 
6332
6334
  browserInstance.receive(channelNameForResponse, (dataLocal, clientSocket)=>{
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.946",
3
+ "version": "0.0.948",
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)",