aotrautils-srv 0.0.614 → 0.0.616

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/09/2023-01:53:27)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (25/09/2023-02:02:43)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5054,7 +5054,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5054
5054
 
5055
5055
 
5056
5056
 
5057
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (25/09/2023-01:53:27)»*/
5057
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (25/09/2023-02:02:43)»*/
5058
5058
  /*-----------------------------------------------------------------------------*/
5059
5059
 
5060
5060
 
@@ -5371,7 +5371,7 @@ WebsocketImplementation={
5371
5371
  let dataResult=eventOrMessage;
5372
5372
 
5373
5373
  try{
5374
- dataResult=(WebsocketImplementation.useFlatStrings || isString(eventOrMessage)?parseJSOn(eventOrMessage):eventOrMessage);
5374
+ dataResult=(WebsocketImplementation.useFlatStrings || isString(eventOrMessage)?parseJSON(eventOrMessage):eventOrMessage);
5375
5375
  }catch(error1){
5376
5376
  // TRACE
5377
5377
  lognow(`ERROR : Failed to parse JSON for string «${dataResult}»`,error1);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.614",
3
+ "version": "0.0.616",
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)",