aotrautils 0.0.168 → 0.0.171

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:50:24)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (17/07/2022-14:56:50)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4828,7 +4828,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4828
4828
 
4829
4829
 
4830
4830
 
4831
- /*utils CLIENT library associated with aotra version : «1.0.0.000 (17/07/2022-14:50:24)»*/
4831
+ /*utils CLIENT library associated with aotra version : «1.0.0.000 (17/07/2022-14:56:50)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
  /* ## Utility global methods in a browser (htmljs) client environment.
4834
4834
  *
@@ -11331,7 +11331,7 @@ function getPointsFromSVGDString(str){
11331
11331
  // -Client :
11332
11332
 
11333
11333
  // TODO : Use everywhere it's applicable !
11334
- initClient=function(isNodeContext=true, useSocketIOImplementation=/*DEBUG*/false, doOnServerConnection=null, url, /*OPTIONAL*/port=25000, isSecure=true, /*OPTIONAL*/timeout=10000, /*OPTIONAL*/selfParam=null){
11334
+ initClient=function(isNodeContext=true, useSocketIOImplementation=/*DEBUG*/true, doOnServerConnection=null, url, /*OPTIONAL*/port=25000, isSecure=true, /*OPTIONAL*/timeout=10000, /*OPTIONAL*/selfParam=null){
11335
11335
  let aotraClient={};
11336
11336
 
11337
11337
  aotraClient.client={};
@@ -11678,7 +11678,7 @@ createFusrodaClient=function(doOnClientReady, doOnDataReception, urlParam=null,
11678
11678
 
11679
11679
 
11680
11680
 
11681
- /*utils GEOMETRY library associated with aotra version : «1.0.0.000 (17/07/2022-14:50:24)»*/
11681
+ /*utils GEOMETRY library associated with aotra version : «1.0.0.000 (17/07/2022-14:56:50)»*/
11682
11682
  /*-----------------------------------------------------------------------------*/
11683
11683
 
11684
11684
 
@@ -12884,7 +12884,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
12884
12884
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
12885
12885
 
12886
12886
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
12887
- /*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-14:50:24)»*/
12887
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-14:56:50)»*/
12888
12888
  /*-----------------------------------------------------------------------------*/
12889
12889
 
12890
12890
 
@@ -13117,7 +13117,7 @@ WebsocketImplementation={
13117
13117
  //
13118
13118
  // CONSOLE NODE SERVER/CLIENT
13119
13119
  //
13120
- getStatic:(isNodeContext=true, useSocketIOImplementation=/*DEBUG*/false)=>{
13120
+ getStatic:(isNodeContext=true, useSocketIOImplementation=/*DEBUG*/true)=>{
13121
13121
 
13122
13122
  WebsocketImplementation.isNodeContext=isNodeContext;
13123
13123
  WebsocketImplementation.useSocketIOImplementation=useSocketIOImplementation;
@@ -13175,10 +13175,6 @@ WebsocketImplementation={
13175
13175
 
13176
13176
  let dataResult=eventOrMessage;
13177
13177
 
13178
- ////
13179
- // DBG
13180
- lognow(" SERVER RECEIVED 1:",eventOrMessage);
13181
-
13182
13178
  try{
13183
13179
  dataResult=(WebsocketImplementation.useFlatStrings || isString(eventOrMessage)?JSON.parse(eventOrMessage):eventOrMessage);
13184
13180
  }catch(error1){
@@ -13214,13 +13210,6 @@ WebsocketImplementation={
13214
13210
  serverSocket=new Socket.Server(listenableServer);
13215
13211
 
13216
13212
 
13217
- // // DBG
13218
- // serverSocket.on("protocol",(message)=>{
13219
- // // DBG
13220
- // lognow("SERVER RECEIVED PROTOCOL MESSAGE !",message);
13221
- // });
13222
-
13223
-
13224
13213
  // Setting up the disctonnect event :
13225
13214
  serverSocket.on("endConnection",()=>{
13226
13215
  serverSocket.disconnect();
@@ -13258,10 +13247,6 @@ WebsocketImplementation={
13258
13247
 
13259
13248
 
13260
13249
  const dataWrapped=WebsocketImplementation.getMessageDataBothImplementations(eventOrMessage);
13261
- ////
13262
- // DBG
13263
- lognow(" SERVER RECEIVED 2:",dataWrapped);
13264
-
13265
13250
 
13266
13251
 
13267
13252
  // Channel information is stored in exchanged data :
@@ -13281,8 +13266,6 @@ WebsocketImplementation={
13281
13266
  };
13282
13267
 
13283
13268
 
13284
- // CURRENT :
13285
- lognow(">>>> WebsocketImplementation.useSocketIOImplementation:",WebsocketImplementation.useSocketIOImplementation);
13286
13269
 
13287
13270
 
13288
13271
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.168",
3
+ "version": "0.0.171",
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)",