aotrautils-srv 0.0.168 → 0.0.169

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-14:25:57)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (17/07/2022-14:32:32)»*/
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-14:25:57)»*/
4831
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-14:32:32)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
 
4834
4834
 
@@ -5178,6 +5178,12 @@ WebsocketImplementation={
5178
5178
  // dataWrapped=JSON.parse(dataWrapped);
5179
5179
  // dataWrapped=getAt(dataWrapped,0);// We get the root element
5180
5180
 
5181
+
5182
+ ////
5183
+ // DBG
5184
+ lognow(" SERVER RECEIVED 1:",message);
5185
+
5186
+
5181
5187
  let dataWrapped=message;
5182
5188
  try{
5183
5189
  dataWrapped=(WebsocketImplementation.useFlatStrings || isString(message)?JSON.parse(message):message);
@@ -5187,7 +5193,12 @@ WebsocketImplementation={
5187
5193
  dataWrapped=(isString(message)?message:JSON.stringify(message));
5188
5194
  }
5189
5195
 
5190
-
5196
+
5197
+ ////
5198
+ // DBG
5199
+ lognow(" SERVER RECEIVED 2:",dataWrapped);
5200
+
5201
+
5191
5202
 
5192
5203
  // Channel information is stored in exchanged data :
5193
5204
  if(dataWrapped.channelName!==receptionEntryPoint.channelName) return;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.168",
3
+ "version": "0.0.169",
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)",