aotrautils-srv 0.0.446 → 0.0.448

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 (25/01/2023-00:56:13)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (25/01/2023-02:27:56)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4864,7 +4864,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4864
4864
 
4865
4865
 
4866
4866
 
4867
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (25/01/2023-00:56:13)»*/
4867
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (25/01/2023-02:27:56)»*/
4868
4868
  /*-----------------------------------------------------------------------------*/
4869
4869
 
4870
4870
 
@@ -5242,7 +5242,7 @@ WebsocketImplementation={
5242
5242
  const receptionEntryPoint={
5243
5243
  channelName:channelNameParam,
5244
5244
  clientsRoomsTag:clientsRoomsTag,
5245
- execute:(eventOrMessage, clientSocketParam, clientId)=>{
5245
+ execute:(eventOrMessage, clientSocketParam)=>{
5246
5246
 
5247
5247
  // With «ws» library we have no choive than register message events inside a «connection» event !
5248
5248
 
@@ -5392,13 +5392,19 @@ WebsocketImplementation={
5392
5392
  // CURRENT :
5393
5393
  // NOT GOOD :
5394
5394
 
5395
- const clientId=getUUID();
5395
+ // const clientId=getUUID();
5396
+ // DBG
5397
+ const clientId="DONOTUSEMEASANID";
5398
+
5399
+
5396
5400
  clientSocket.clientId=clientId;
5401
+
5402
+
5397
5403
 
5398
5404
  const doOnMessage=(eventOrMessage)=>{
5399
5405
  // We execute the events registration listeners entry points:
5400
5406
  foreach(nodeServerInstance.receptionEntryPoints,(receptionEntryPoint,i)=>{
5401
- receptionEntryPoint.execute(eventOrMessage, clientSocket, clientId);
5407
+ receptionEntryPoint.execute(eventOrMessage, clientSocket);
5402
5408
  });
5403
5409
  };
5404
5410
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.446",
3
+ "version": "0.0.448",
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)",