aotrautils 0.0.516 → 0.0.517

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 (07/03/2023-00:40:50)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (07/03/2023-01:07:33)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4866,7 +4866,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4866
4866
 
4867
4867
 
4868
4868
 
4869
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (07/03/2023-00:40:50)»*/
4869
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (07/03/2023-01:07:33)»*/
4870
4870
  /*-----------------------------------------------------------------------------*/
4871
4871
  /* ## Utility global methods in a browser (htmljs) client environment.
4872
4872
  *
@@ -13078,7 +13078,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13078
13078
  };
13079
13079
 
13080
13080
 
13081
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (07/03/2023-00:40:50)»*/
13081
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (07/03/2023-01:07:33)»*/
13082
13082
  /*-----------------------------------------------------------------------------*/
13083
13083
 
13084
13084
 
@@ -14306,7 +14306,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14306
14306
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14307
14307
 
14308
14308
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14309
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (07/03/2023-00:40:50)»*/
14309
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (07/03/2023-01:07:33)»*/
14310
14310
  /*-----------------------------------------------------------------------------*/
14311
14311
 
14312
14312
 
@@ -14866,6 +14866,7 @@ WebsocketImplementation={
14866
14866
 
14867
14867
  // DBG
14868
14868
  lognow("DEBUG : Starting ping-pong with client : clientSocket.clientId:",clientSocket.clientId);
14869
+ lognow("DEBUG : WebsocketImplementation.useSocketIOImplementation:",WebsocketImplementation.useSocketIOImplementation);
14869
14870
  lognow("DEBUG : clientSocket.readyState:",clientSocket.readyState);
14870
14871
 
14871
14872
 
@@ -14901,8 +14902,8 @@ WebsocketImplementation={
14901
14902
 
14902
14903
  clientSocket.isConnectionAlive=false;
14903
14904
 
14904
- // DBG
14905
- lognow("(SERVER) DEBUG : SENDING PING");
14905
+ // // DBG
14906
+ // lognow("(SERVER) DEBUG : SENDING PING");
14906
14907
 
14907
14908
  if(!WebsocketImplementation.useSocketIOImplementation) clientSocket.ping();
14908
14909
  // OLD :
@@ -15173,7 +15174,7 @@ WebsocketImplementation={
15173
15174
  lognow("DEBUG : CLIENT : nodeClientInstance.clientSocket.on(connect)");
15174
15175
 
15175
15176
 
15176
- // Node client ping handling :
15177
+ // Node client ping handling : (SocketIO implementation only)
15177
15178
  if(WebsocketImplementation.useSocketIOImplementation){
15178
15179
  nodeClientInstance.receive("protocol",(message)=>{
15179
15180
  if(message.type!=="ping") return;
@@ -15416,7 +15417,7 @@ WebsocketImplementation={
15416
15417
 
15417
15418
 
15418
15419
 
15419
- // Browser client ping handling :
15420
+ // Browser client ping handling : (SocketIO implementation only)
15420
15421
  if(WebsocketImplementation.useSocketIOImplementation){
15421
15422
  browserInstance.receive("protocol",(message)=>{
15422
15423
  if(message.type!=="ping") return;
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.516",
3
+ "version": "0.0.517",
4
4
  "main": "aotrautils.build.js",
5
5
  "description": "A library for vanilla javascript utils (client-side) used in aotra javascript CMS",
6
6
  "author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",