aotrautils 0.0.1054 → 0.0.1055

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-19:37:43)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (12/10/2024-20:51:08)»*/
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-19:37:43)»*/
5262
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (12/10/2024-20:51:08)»*/
5263
5263
  /*-----------------------------------------------------------------------------*/
5264
5264
  /* ## Utility global methods in a browser (htmljs) client environment.
5265
5265
  *
@@ -12266,7 +12266,7 @@ createFusrodaClient=function(doOnClientReady, doOnDataReception, urlParam=null,
12266
12266
  //Global constants :
12267
12267
 
12268
12268
 
12269
- const ORITA_CONSTANTS={
12269
+ window.ORITA_CONSTANTS={
12270
12270
 
12271
12271
  DEFAULT_PROTOCOL:"http",
12272
12272
  DEFAULT_PORT:25000,
@@ -12296,7 +12296,7 @@ const ORITA_CONSTANTS={
12296
12296
  // -------------------------------------- MAIN CLIENT --------------------------------------
12297
12297
  // ------------------------------------------------------------------------------------------
12298
12298
 
12299
- createOritaMainClient=function(
12299
+ window.createOritaMainClient=function(
12300
12300
  doOnRegistered,
12301
12301
  treatVideoData, treatAudioData,
12302
12302
  doOnInputsCreated, doOnInputsUpdated, doOnOutputsCreated, doOnOutputsUpdated,
@@ -13472,15 +13472,13 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13472
13472
 
13473
13473
 
13474
13474
 
13475
- // Nodejs compatibility :
13476
- if(typeof(module)!=="undefined"){
13477
- module.exports = { ORITA_CONSTANTS: ORITA_CONSTANTS, createOritaMicroClient:createOritaMicroClient };
13478
- }
13479
13475
 
13480
13476
 
13481
13477
 
13482
13478
 
13483
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (12/10/2024-19:37:43)»*/
13479
+
13480
+
13481
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (12/10/2024-20:51:08)»*/
13484
13482
  /*-----------------------------------------------------------------------------*/
13485
13483
 
13486
13484
 
@@ -14719,7 +14717,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14719
14717
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14720
14718
 
14721
14719
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14722
- /*utils AI library associated with aotra version : «1_29072022-2359 (12/10/2024-19:37:43)»*/
14720
+ /*utils AI library associated with aotra version : «1_29072022-2359 (12/10/2024-20:51:08)»*/
14723
14721
  /*-----------------------------------------------------------------------------*/
14724
14722
 
14725
14723
 
@@ -14863,7 +14861,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
14863
14861
 
14864
14862
 
14865
14863
 
14866
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (12/10/2024-19:37:43)»*/
14864
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (12/10/2024-20:51:08)»*/
14867
14865
  /*-----------------------------------------------------------------------------*/
14868
14866
 
14869
14867
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1054",
3
+ "version": "0.0.1055",
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)",