aotrautils-srv 0.0.141 → 0.0.144

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.0.0.000 (17/07/2022-02:23:48)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (17/07/2022-02:42:05)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4828,7 +4828,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4828
4828
 
4829
4829
 
4830
4830
 
4831
- /*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-02:23:48)»*/
4831
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-02:42:05)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
 
4834
4834
 
@@ -5204,18 +5204,17 @@ WebsocketImplementation={
5204
5204
  else{
5205
5205
 
5206
5206
  // DBG
5207
- clientSocketParam.onAny((event,args) => {
5208
- console.log(`MAIS PUTAIN : ${event}:`,args);
5209
- });
5207
+ clientSocketParam.onAny((event,args) => { console.log(`MAIS PUTAIN : ${event}:`,args); });
5208
+ clientSocketParam.on(channelName,(args, clientSocket) => { console.log(`MAIS OSKOUR :${args} ${clientSocket}`); });
5209
+
5210
+ // DBG
5211
+ lognow(">>>>doOnMessage:",doOnMessage);
5212
+
5213
+
5210
5214
 
5211
5215
  clientSocketParam.on(channelName, doOnMessage);
5212
5216
  }
5213
5217
 
5214
- // // DBG
5215
- // nodeServerInstance.serverSocket.on("protocol",()=>{
5216
- // // DBG
5217
- // lognow("FUUUUUUUUUUUUUUUUUUUCK");
5218
- // });
5219
5218
 
5220
5219
 
5221
5220
  },
@@ -5313,13 +5312,10 @@ WebsocketImplementation={
5313
5312
 
5314
5313
 
5315
5314
  // We execute the events registration listeners entry points:
5316
- foreach(nodeServerInstance.receptionEntryPoints,(receptionEntryPoint)=>{
5315
+ foreach(nodeServerInstance.receptionEntryPoints,(receptionEntryPoint,i)=>{
5317
5316
 
5318
5317
  // DBG
5319
- console.log("ENTRY POINT !");
5320
-
5321
- // CURRENT 0 ;
5322
- ////
5318
+ console.log("ENTRY POINT ["+i+"] !");
5323
5319
 
5324
5320
  receptionEntryPoint.execute(clientSocket);
5325
5321
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.141",
3
+ "version": "0.0.144",
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)",