aotrautils 0.0.630 → 0.0.632

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 (02/10/2023-19:48:53)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (02/10/2023-20:08:59)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5115,7 +5115,10 @@ class OpenAIAPIClient{
5115
5115
  }
5116
5116
 
5117
5117
 
5118
-
5118
+ // Nodejs compatibility :
5119
+ getOpenAIAPIClient=(modelName, apiURL, agentRole, prompt)=>{
5120
+ return new OpenAIAPIClient(modelName, apiURL, agentRole, prompt);
5121
+ };
5119
5122
 
5120
5123
 
5121
5124
 
@@ -5127,8 +5130,9 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5127
5130
 
5128
5131
 
5129
5132
 
5133
+
5130
5134
 
5131
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (02/10/2023-19:48:53)»*/
5135
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (02/10/2023-20:08:59)»*/
5132
5136
  /*-----------------------------------------------------------------------------*/
5133
5137
  /* ## Utility global methods in a browser (htmljs) client environment.
5134
5138
  *
@@ -13363,7 +13367,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13363
13367
 
13364
13368
 
13365
13369
 
13366
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (02/10/2023-19:48:53)»*/
13370
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (02/10/2023-20:08:59)»*/
13367
13371
  /*-----------------------------------------------------------------------------*/
13368
13372
 
13369
13373
 
@@ -14602,7 +14606,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14602
14606
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14603
14607
 
14604
14608
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14605
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (02/10/2023-19:48:53)»*/
14609
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (02/10/2023-20:08:59)»*/
14606
14610
  /*-----------------------------------------------------------------------------*/
14607
14611
 
14608
14612
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.630",
3
+ "version": "0.0.632",
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)",