aotrautils-srv 0.0.116 → 0.0.119

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 (16/07/2022-14:49:15)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (16/07/2022-15:09:12)»*/
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 (16/07/2022-14:49:15)»*/
4831
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (16/07/2022-15:09:12)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
 
4834
4834
 
@@ -4872,8 +4872,11 @@ if(typeof(window)==="undefined") window=global;
4872
4872
  // https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications
4873
4873
 
4874
4874
  // We have to import both implementations, regardless of which one is chosen :
4875
- const {Socket}=require("socket.io");
4876
- const {WebSocket}=require("ws");
4875
+ //const {Socket}=require("socket.io");
4876
+ //const {WebSocket}=require("ws");
4877
+ Socket=require("socket.io");
4878
+ WebSocket=require("ws");
4879
+
4877
4880
 
4878
4881
 
4879
4882
  // DBG
@@ -5085,8 +5088,9 @@ WebsocketImplementation={
5085
5088
  // *********************************************************************************
5086
5089
 
5087
5090
  // DBG
5088
- console.log("11111 WebsocketImplementation.Socket:",JSON.stringify(WebsocketImplementation.Socket));
5089
- console.log("11111 WebsocketImplementation.WebSocket:",JSON.stringify(WebsocketImplementation.WebSocket));
5091
+ console.log("11111 WebsocketImplementation.Socket:",WebsocketImplementation.Socket);
5092
+ console.log("11111 WebsocketImplementation.WebSocket:",WebsocketImplementation.WebSocket);
5093
+
5090
5094
 
5091
5095
 
5092
5096
  return WebsocketImplementation;
@@ -5111,8 +5115,8 @@ WebsocketImplementation={
5111
5115
 
5112
5116
 
5113
5117
  // DBG
5114
- console.log(">>>>>>>WebsocketImplementation.Socket:",JSON.stringify(WebsocketImplementation.Socket));
5115
- console.log(">>>>>>>WebsocketImplementation.WebSocket:",JSON.stringify(WebsocketImplementation.WebSocket));
5118
+ console.log(">>>>>>>WebsocketImplementation.Socket:",WebsocketImplementation.Socket);
5119
+ console.log(">>>>>>>WebsocketImplementation.WebSocket:",WebsocketImplementation.WebSocket);
5116
5120
 
5117
5121
  // NOW : socket.io :
5118
5122
  // Loading socket.io
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.116",
3
+ "version": "0.0.119",
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)",