aotrautils-srv 0.0.292 → 0.0.293

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 (27/11/2022-22:25:51)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (27/11/2022-22:30:56)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4827,7 +4827,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4827
4827
 
4828
4828
 
4829
4829
 
4830
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (27/11/2022-22:25:51)»*/
4830
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (27/11/2022-22:30:56)»*/
4831
4831
  /*-----------------------------------------------------------------------------*/
4832
4832
 
4833
4833
 
@@ -5198,7 +5198,7 @@ WebsocketImplementation={
5198
5198
  const receptionEntryPoint={
5199
5199
  channelName:channelName,
5200
5200
  clientsRoomsTag:clientsRoomsTag,
5201
- execute:(clientSocketParam)=>{
5201
+ execute:(clientSocketParam, eventOrMessage)=>{
5202
5202
 
5203
5203
 
5204
5204
  // With «ws» library we have no choive than register message events inside a «connection» event !
@@ -5345,8 +5345,7 @@ WebsocketImplementation={
5345
5345
 
5346
5346
  ////
5347
5347
 
5348
- doOnMessage=()=>{
5349
-
5348
+ doOnMessage=(eventOrMessage)=>{
5350
5349
 
5351
5350
 
5352
5351
  // We execute the events registration listeners entry points:
@@ -5355,7 +5354,7 @@ WebsocketImplementation={
5355
5354
  // DBG
5356
5355
  console.log("(SERVER) ENTRY POINT ["+i+"] is executed !");
5357
5356
 
5358
- receptionEntryPoint.execute(clientSocket);
5357
+ receptionEntryPoint.execute(clientSocket, eventOrMessage);
5359
5358
  });
5360
5359
 
5361
5360
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.292",
3
+ "version": "0.0.293",
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)",