aotrautils 0.0.296 → 0.0.298
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (27/11/2022-22:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (27/11/2022-22:34:57)»*/
|
|
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:
|
|
4830
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (27/11/2022-22:34:57)»*/
|
|
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:
|
|
12951
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (27/11/2022-22:34:57)»*/
|
|
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:
|
|
14179
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (27/11/2022-22:34:57)»*/
|
|
14180
14180
|
/*-----------------------------------------------------------------------------*/
|
|
14181
14181
|
|
|
14182
14182
|
|
|
@@ -14547,7 +14547,7 @@ WebsocketImplementation={
|
|
|
14547
14547
|
const receptionEntryPoint={
|
|
14548
14548
|
channelName:channelName,
|
|
14549
14549
|
clientsRoomsTag:clientsRoomsTag,
|
|
14550
|
-
execute:(clientSocketParam)=>{
|
|
14550
|
+
execute:(clientSocketParam, eventOrMessage)=>{
|
|
14551
14551
|
|
|
14552
14552
|
|
|
14553
14553
|
// With «ws» library we have no choive than register message events inside a «connection» event !
|
|
@@ -14556,7 +14556,7 @@ WebsocketImplementation={
|
|
|
14556
14556
|
|
|
14557
14557
|
|
|
14558
14558
|
// DBG
|
|
14559
|
-
lognow("(SERVER) RECEIVED SOMETHING FROM CLIENT...");
|
|
14559
|
+
lognow("(SERVER) RECEIVED SOMETHING FROM CLIENT...", eventOrMessage);
|
|
14560
14560
|
|
|
14561
14561
|
// dataWrapped=JSON.parse(dataWrapped);
|
|
14562
14562
|
// dataWrapped=getAt(dataWrapped,0);// We get the root element
|
|
@@ -14694,8 +14694,7 @@ WebsocketImplementation={
|
|
|
14694
14694
|
|
|
14695
14695
|
////
|
|
14696
14696
|
|
|
14697
|
-
doOnMessage=()=>{
|
|
14698
|
-
|
|
14697
|
+
doOnMessage=(eventOrMessage)=>{
|
|
14699
14698
|
|
|
14700
14699
|
|
|
14701
14700
|
// We execute the events registration listeners entry points:
|
|
@@ -14704,7 +14703,7 @@ WebsocketImplementation={
|
|
|
14704
14703
|
// DBG
|
|
14705
14704
|
console.log("(SERVER) ENTRY POINT ["+i+"] is executed !");
|
|
14706
14705
|
|
|
14707
|
-
receptionEntryPoint.execute(clientSocket);
|
|
14706
|
+
receptionEntryPoint.execute(clientSocket, eventOrMessage);
|
|
14708
14707
|
});
|
|
14709
14708
|
|
|
14710
14709
|
};
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.298",
|
|
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)",
|