aotrautils 0.0.142 → 0.0.145
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.
- aotrautils/aotrautils.build.js +13 -10
- aotrautils/package.json +1 -1
aotrautils/aotrautils.build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1.0.0.000 (17/07/2022-03:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (17/07/2022-03:36:52)»*/
|
|
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-03:
|
|
4831
|
+
/*utils CLIENT library associated with aotra version : «1.0.0.000 (17/07/2022-03:36:52)»*/
|
|
4832
4832
|
/*-----------------------------------------------------------------------------*/
|
|
4833
4833
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
4834
4834
|
*
|
|
@@ -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-03:
|
|
11681
|
+
/*utils GEOMETRY library associated with aotra version : «1.0.0.000 (17/07/2022-03:36:52)»*/
|
|
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-03:
|
|
12887
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-03:36:52)»*/
|
|
12888
12888
|
/*-----------------------------------------------------------------------------*/
|
|
12889
12889
|
|
|
12890
12890
|
|
|
@@ -13237,18 +13237,21 @@ WebsocketImplementation={
|
|
|
13237
13237
|
|
|
13238
13238
|
|
|
13239
13239
|
// DBG
|
|
13240
|
-
lognow(" Channel information:dataWrapped
|
|
13241
|
-
lognow(" Channel information:
|
|
13240
|
+
lognow(" Channel information:dataWrapped",dataWrapped);
|
|
13241
|
+
lognow(" Channel information:dataWrapped.channelName«"+receptionEntryPoint.channelName+"»");
|
|
13242
|
+
lognow(" Channel information:receptionEntryPoint.channelName«"+receptionEntryPoint.channelName+"»");
|
|
13243
|
+
lognow(" C1",(dataWrapped.channelName!=receptionEntryPoint.channelName));
|
|
13244
|
+
lognow(" C2",(dataWrapped.channelName!==receptionEntryPoint.channelName));
|
|
13242
13245
|
|
|
13243
|
-
|
|
13244
13246
|
// Channel information is stored in exchanged data :
|
|
13245
|
-
if(dataWrapped.channelName
|
|
13247
|
+
if(dataWrapped.channelName!=receptionEntryPoint.channelName) return;
|
|
13248
|
+
|
|
13246
13249
|
|
|
13247
13250
|
const clientSocket=clientSocketParam;
|
|
13248
13251
|
|
|
13249
13252
|
|
|
13250
13253
|
// DBG
|
|
13251
|
-
lognow("receptionEntryPoint.clientsRoomsTag:",receptionEntryPoint.clientsRoomsTag);
|
|
13254
|
+
lognow(" receptionEntryPoint.clientsRoomsTag:",receptionEntryPoint.clientsRoomsTag);
|
|
13252
13255
|
|
|
13253
13256
|
// TODO : FIXME : Use one single interface !
|
|
13254
13257
|
// Room information is stored in client socket object :
|
|
@@ -13321,7 +13324,7 @@ WebsocketImplementation={
|
|
|
13321
13324
|
|
|
13322
13325
|
dataWrapped=JSON.stringify(dataWrapped);
|
|
13323
13326
|
|
|
13324
|
-
|
|
13327
|
+
// TODO : FIXME : Use one single interface !
|
|
13325
13328
|
if(!WebsocketImplementation.useSocketIOImplementation) clientSocket.send(dataWrapped);
|
|
13326
13329
|
else clientSocket.emit(channelName,dataWrapped);
|
|
13327
13330
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.145",
|
|
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)",
|