aotrautils 0.0.300 → 0.0.302

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 (27/11/2022-22:44:15)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (27/11/2022-22:57:01)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4827,7 +4827,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4827
4827
 
4828
4828
 
4829
4829
 
4830
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (27/11/2022-22:44:15)»*/
4830
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (27/11/2022-22:57:01)»*/
4831
4831
  /*-----------------------------------------------------------------------------*/
4832
4832
  /* ## Utility global methods in a browser (htmljs) client environment.
4833
4833
  *
@@ -12948,7 +12948,7 @@ createOritaMicroClient=function(url, port, isNode=false){
12948
12948
  };
12949
12949
 
12950
12950
 
12951
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (27/11/2022-22:44:15)»*/
12951
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (27/11/2022-22:57:01)»*/
12952
12952
  /*-----------------------------------------------------------------------------*/
12953
12953
 
12954
12954
 
@@ -14176,7 +14176,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14176
14176
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14177
14177
 
14178
14178
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14179
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (27/11/2022-22:44:15)»*/
14179
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (27/11/2022-22:57:01)»*/
14180
14180
  /*-----------------------------------------------------------------------------*/
14181
14181
 
14182
14182
 
@@ -14573,6 +14573,9 @@ WebsocketImplementation={
14573
14573
  // Channel information is stored in exchanged data :
14574
14574
  if(dataWrapped.channelName!==receptionEntryPoint.channelName) return;
14575
14575
 
14576
+
14577
+ // DBG
14578
+ lognow("(SERVER) ENTRY POINT IS OF THE RIGHT CHANNEL:", channelName);
14576
14579
 
14577
14580
 
14578
14581
 
@@ -14607,6 +14610,9 @@ WebsocketImplementation={
14607
14610
 
14608
14611
  send:(channelName, data, clientsRoomsTag=null, clientSocketParam=null)=>{
14609
14612
 
14613
+ // DBG
14614
+ lognow("(SERVER) SERVER TRIES TO SEND !");
14615
+
14610
14616
 
14611
14617
  if(!clientSocketParam){
14612
14618
 
@@ -14657,6 +14663,12 @@ WebsocketImplementation={
14657
14663
 
14658
14664
  dataWrapped=JSON.stringify(dataWrapped);
14659
14665
 
14666
+
14667
+ // DBG
14668
+ lognow("(SERVER) WebsocketImplementation.useSocketIOImplementation:"+WebsocketImplementation.useSocketIOImplementation);
14669
+ lognow("(SERVER) dataWrapped:"+dataWrapped);
14670
+
14671
+
14660
14672
  // TODO : FIXME : Use one single interface !
14661
14673
  if(!WebsocketImplementation.useSocketIOImplementation) clientSocket.send(dataWrapped);
14662
14674
  else clientSocket.emit(channelName,dataWrapped);
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.300",
3
+ "version": "0.0.302",
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)",