aotrautils 0.0.657 → 0.0.658

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 (20/10/2023-00:10:19)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (20/10/2023-00:13:43)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5057,7 +5057,7 @@ class OpenAIAPIClient{
5057
5057
  lognow("------------self.apiURL:",self.apiURL);
5058
5058
 
5059
5059
 
5060
- const result=()=>{
5060
+ return async ()=>{
5061
5061
  const p=new Promise((resolve,reject)=>{
5062
5062
  fetch(self.apiURL, {
5063
5063
  method: "POST",
@@ -5084,13 +5084,15 @@ class OpenAIAPIClient{
5084
5084
  });
5085
5085
  });
5086
5086
 
5087
- return await p;
5087
+ const result= await p;
5088
+
5089
+ // DBG
5090
+ console.log("! RESULT text :",result);
5091
+
5092
+ return result;
5088
5093
  }();
5089
-
5090
- // DBG
5091
- console.log("! RESULT text :",result);
5092
5094
 
5093
- return result;
5095
+
5094
5096
  }
5095
5097
 
5096
5098
 
@@ -5118,7 +5120,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5118
5120
 
5119
5121
 
5120
5122
 
5121
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (20/10/2023-00:10:19)»*/
5123
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (20/10/2023-00:13:43)»*/
5122
5124
  /*-----------------------------------------------------------------------------*/
5123
5125
  /* ## Utility global methods in a browser (htmljs) client environment.
5124
5126
  *
@@ -13360,7 +13362,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13360
13362
 
13361
13363
 
13362
13364
 
13363
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (20/10/2023-00:10:19)»*/
13365
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (20/10/2023-00:13:43)»*/
13364
13366
  /*-----------------------------------------------------------------------------*/
13365
13367
 
13366
13368
 
@@ -14599,7 +14601,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14599
14601
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14600
14602
 
14601
14603
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14602
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (20/10/2023-00:10:19)»*/
14604
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (20/10/2023-00:13:43)»*/
14603
14605
  /*-----------------------------------------------------------------------------*/
14604
14606
 
14605
14607
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.657",
3
+ "version": "0.0.658",
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)",