aotrautils 0.0.254 → 0.0.256

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 (25/09/2022-17:44:55)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (25/09/2022-18:14:33)»*/
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 (25/09/2022-17:44:55)»*/
4830
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (25/09/2022-18:14:33)»*/
4831
4831
  /*-----------------------------------------------------------------------------*/
4832
4832
  /* ## Utility global methods in a browser (htmljs) client environment.
4833
4833
  *
@@ -11924,6 +11924,9 @@ createOritaMainClient=function(
11924
11924
 
11925
11925
 
11926
11926
 
11927
+ // DBG
11928
+ lognow("oritaClient (MAIN):",oritaClient);
11929
+
11927
11930
 
11928
11931
 
11929
11932
  oritaClient.client.socketToServer.receive("protocol", (message)=>{
@@ -12085,13 +12088,7 @@ createOritaMainClient=function(
12085
12088
 
12086
12089
 
12087
12090
 
12088
- createOritaMicroClient=function(){
12089
-
12090
-
12091
-
12092
-
12093
-
12094
-
12091
+ createOritaMicroClient=function(isNode=false){
12095
12092
 
12096
12093
 
12097
12094
 
@@ -12120,7 +12117,7 @@ createOritaMicroClient=function(){
12120
12117
 
12121
12118
  // Other parameters :
12122
12119
  let allMediaParametersArray;
12123
- if (!isNode && !mediasArg) {
12120
+ if(!isNode && !mediasArg){
12124
12121
  allMediaParametersArray = getMediaParametersArray(getURLParameter("medias"), getURLParameter("vr"));
12125
12122
  } else { // if we are in a node micro client context :
12126
12123
  allMediaParametersArray = getMediaParametersArray(mediasArg);
@@ -12896,7 +12893,7 @@ createOritaMicroClient=function(){
12896
12893
 
12897
12894
 
12898
12895
  // INPUTS SENDING :
12899
- oritaClientoritaClient.sendCommand = (commandName, commandParameters = null) => {
12896
+ oritaClient.sendCommand = (commandName, commandParameters = null) => {
12900
12897
  const microClientId = oritaClient.microClientId;
12901
12898
  const command = { microClientId: microClientId, type: "microClient.send.command", name: commandName, parameters: commandParameters };
12902
12899
  oritaClient.client.socketToServer.send("communication", command);
@@ -12904,13 +12901,11 @@ createOritaMicroClient=function(){
12904
12901
  };
12905
12902
 
12906
12903
 
12907
-
12908
- oritaMicroClient.oritaClient = oritaClient;
12909
12904
  return oritaClient;
12910
12905
  };
12911
12906
 
12912
12907
 
12913
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (25/09/2022-17:44:55)»*/
12908
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (25/09/2022-18:14:33)»*/
12914
12909
  /*-----------------------------------------------------------------------------*/
12915
12910
 
12916
12911
 
@@ -14138,7 +14133,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14138
14133
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14139
14134
 
14140
14135
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14141
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (25/09/2022-17:44:55)»*/
14136
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (25/09/2022-18:14:33)»*/
14142
14137
  /*-----------------------------------------------------------------------------*/
14143
14138
 
14144
14139
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.254",
3
+ "version": "0.0.256",
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)",