aotrautils 0.0.1058 → 0.0.1060

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 (12/10/2024-22:19:16)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (13/10/2024-21:37:20)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5259,7 +5259,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5259
5259
 
5260
5260
 
5261
5261
 
5262
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (12/10/2024-22:19:16)»*/
5262
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (13/10/2024-21:37:20)»*/
5263
5263
  /*-----------------------------------------------------------------------------*/
5264
5264
  /* ## Utility global methods in a browser (htmljs) client environment.
5265
5265
  *
@@ -12856,8 +12856,8 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
12856
12856
  }
12857
12857
  });
12858
12858
  if (containsVideoOrAudio) {
12859
- captureWidth = nonull(oritaClient.captureConfig.width, ORITA_CONSTANTS.DEFAULT_CAPTURE_WIDTH);
12860
- captureHeight = nonull(oritaClient.captureConfig.height, ORITA_CONSTANTS.DEFAULT_CAPTURE_HEIGHT);
12859
+ captureWidth = nonull(oritaClient.getCaptureConfig().width, ORITA_CONSTANTS.DEFAULT_CAPTURE_WIDTH);
12860
+ captureHeight = nonull(oritaClient.getCaptureConfig().height, ORITA_CONSTANTS.DEFAULT_CAPTURE_HEIGHT);
12861
12861
  }
12862
12862
 
12863
12863
  // DBG
@@ -12941,7 +12941,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
12941
12941
  // (We want millis, not seconds)
12942
12942
  refreshingRateMillis = Math.floor((audioBufferSize / selfMediaHandler.getAudioSampleRate()) * 1000);
12943
12943
  } else if (medias === "video") {
12944
- refreshingRateMillis = nonull(oritaClient.captureConfig.refreshMillis, ORITA_CONSTANTS.DEFAULT_CAPTURE_REFRESH_MILLIS);
12944
+ refreshingRateMillis = nonull(oritaClient.getCaptureConfig().refreshMillis, ORITA_CONSTANTS.DEFAULT_CAPTURE_REFRESH_MILLIS);
12945
12945
  }
12946
12946
 
12947
12947
  // *************************
@@ -13626,7 +13626,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13626
13626
 
13627
13627
 
13628
13628
 
13629
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (12/10/2024-22:19:16)»*/
13629
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (13/10/2024-21:37:20)»*/
13630
13630
  /*-----------------------------------------------------------------------------*/
13631
13631
 
13632
13632
 
@@ -14865,7 +14865,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14865
14865
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14866
14866
 
14867
14867
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14868
- /*utils AI library associated with aotra version : «1_29072022-2359 (12/10/2024-22:19:16)»*/
14868
+ /*utils AI library associated with aotra version : «1_29072022-2359 (13/10/2024-21:37:20)»*/
14869
14869
  /*-----------------------------------------------------------------------------*/
14870
14870
 
14871
14871
 
@@ -15009,7 +15009,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
15009
15009
 
15010
15010
 
15011
15011
 
15012
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (12/10/2024-22:19:16)»*/
15012
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (13/10/2024-21:37:20)»*/
15013
15013
  /*-----------------------------------------------------------------------------*/
15014
15014
 
15015
15015
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1058",
3
+ "version": "0.0.1060",
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)",