aotrautils 0.0.135 → 0.0.138
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 +20 -21
- 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-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (17/07/2022-02:36:10)»*/
|
|
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-
|
|
4831
|
+
/*utils CLIENT library associated with aotra version : «1.0.0.000 (17/07/2022-02:36:10)»*/
|
|
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-
|
|
11681
|
+
/*utils GEOMETRY library associated with aotra version : «1.0.0.000 (17/07/2022-02:36:10)»*/
|
|
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-
|
|
12887
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-02:36:10)»*/
|
|
12888
12888
|
/*-----------------------------------------------------------------------------*/
|
|
12889
12889
|
|
|
12890
12890
|
|
|
@@ -13192,11 +13192,11 @@ WebsocketImplementation={
|
|
|
13192
13192
|
serverSocket=new Socket.Server(listenableServer);
|
|
13193
13193
|
|
|
13194
13194
|
|
|
13195
|
-
// DBG
|
|
13196
|
-
serverSocket.on("protocol",(message)=>{
|
|
13197
|
-
// DBG
|
|
13198
|
-
lognow("SERVER RECEIVED PROTOCOL MESSAGE !",message);
|
|
13199
|
-
});
|
|
13195
|
+
// // DBG
|
|
13196
|
+
// serverSocket.on("protocol",(message)=>{
|
|
13197
|
+
// // DBG
|
|
13198
|
+
// lognow("SERVER RECEIVED PROTOCOL MESSAGE !",message);
|
|
13199
|
+
// });
|
|
13200
13200
|
|
|
13201
13201
|
|
|
13202
13202
|
// Setting up the disctonnect event :
|
|
@@ -13257,13 +13257,15 @@ WebsocketImplementation={
|
|
|
13257
13257
|
|
|
13258
13258
|
|
|
13259
13259
|
if(!WebsocketImplementation.useSocketIOImplementation) clientSocketParam.addEventListener("message", doOnMessage);
|
|
13260
|
-
else
|
|
13260
|
+
else{
|
|
13261
|
+
|
|
13262
|
+
// DBG
|
|
13263
|
+
clientSocketParam.onAny((event,args) => { console.log(`MAIS PUTAIN : ${event}:`,args); });
|
|
13264
|
+
clientSocketParam.on(channelName,(args) => { console.log(`MAIS OSKOUR : ${event}:`,args); });
|
|
13265
|
+
|
|
13266
|
+
clientSocketParam.on(channelName, doOnMessage);
|
|
13267
|
+
}
|
|
13261
13268
|
|
|
13262
|
-
// // DBG
|
|
13263
|
-
// nodeServerInstance.serverSocket.on("protocol",()=>{
|
|
13264
|
-
// // DBG
|
|
13265
|
-
// lognow("FUUUUUUUUUUUUUUUUUUUCK");
|
|
13266
|
-
// });
|
|
13267
13269
|
|
|
13268
13270
|
|
|
13269
13271
|
},
|
|
@@ -13361,13 +13363,10 @@ WebsocketImplementation={
|
|
|
13361
13363
|
|
|
13362
13364
|
|
|
13363
13365
|
// We execute the events registration listeners entry points:
|
|
13364
|
-
foreach(nodeServerInstance.receptionEntryPoints,(receptionEntryPoint)=>{
|
|
13366
|
+
foreach(nodeServerInstance.receptionEntryPoints,(receptionEntryPoint,i)=>{
|
|
13365
13367
|
|
|
13366
13368
|
// DBG
|
|
13367
|
-
console.log("ENTRY POINT !");
|
|
13368
|
-
|
|
13369
|
-
// CURRENT 0 ;
|
|
13370
|
-
////
|
|
13369
|
+
console.log("ENTRY POINT ["+i+"] !");
|
|
13371
13370
|
|
|
13372
13371
|
receptionEntryPoint.execute(clientSocket);
|
|
13373
13372
|
});
|
|
@@ -13701,7 +13700,7 @@ WebsocketImplementation={
|
|
|
13701
13700
|
receive:(channelName, doOnIncomingMessage, clientsRoomsTag=null)=>{
|
|
13702
13701
|
|
|
13703
13702
|
// DBG
|
|
13704
|
-
lognow("
|
|
13703
|
+
lognow("INFO : (CLIENT-BROWSER) SETTING UP RECEIVE for :",channelName);
|
|
13705
13704
|
|
|
13706
13705
|
const doOnMessage=(message)=>{
|
|
13707
13706
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.138",
|
|
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)",
|