aotrautils 0.0.680 → 0.0.682

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 (21/10/2023-17:11:24)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (21/10/2023-17:16:45)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5045,7 +5045,7 @@ class OpenAIAPIClient{
5045
5045
  this.prompt=prompt;
5046
5046
  }
5047
5047
 
5048
- getAnswer(AIAPIKey, additionalPrompt){
5048
+ async getAnswer(AIAPIKey, additionalPrompt){
5049
5049
 
5050
5050
  const self=this;
5051
5051
  const messages = [
@@ -5067,12 +5067,10 @@ class OpenAIAPIClient{
5067
5067
 
5068
5068
  return result;
5069
5069
  //})();
5070
-
5071
-
5072
5070
  }
5073
5071
 
5074
5072
 
5075
- async launchRequest(){
5073
+ launchRequest(){
5076
5074
 
5077
5075
  const p=new Promise((resolve,reject)=>{
5078
5076
 
@@ -5146,7 +5144,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5146
5144
 
5147
5145
 
5148
5146
 
5149
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (21/10/2023-17:11:24)»*/
5147
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (21/10/2023-17:16:45)»*/
5150
5148
  /*-----------------------------------------------------------------------------*/
5151
5149
  /* ## Utility global methods in a browser (htmljs) client environment.
5152
5150
  *
@@ -13388,7 +13386,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13388
13386
 
13389
13387
 
13390
13388
 
13391
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (21/10/2023-17:11:24)»*/
13389
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (21/10/2023-17:16:45)»*/
13392
13390
  /*-----------------------------------------------------------------------------*/
13393
13391
 
13394
13392
 
@@ -14627,7 +14625,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14627
14625
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14628
14626
 
14629
14627
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14630
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (21/10/2023-17:11:24)»*/
14628
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (21/10/2023-17:16:45)»*/
14631
14629
  /*-----------------------------------------------------------------------------*/
14632
14630
 
14633
14631
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.680",
3
+ "version": "0.0.682",
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)",