aotrautils 0.0.676 → 0.0.677

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-15:48:47)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (21/10/2023-16:04:44)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5057,8 +5057,9 @@ class OpenAIAPIClient{
5057
5057
  lognow("------------self.apiURL:",self.apiURL);
5058
5058
 
5059
5059
 
5060
- return await (()=>{
5060
+ //return await (()=>{
5061
5061
  const p=new Promise((resolve,reject)=>{
5062
+
5062
5063
  fetch(self.apiURL, {
5063
5064
  method: "POST",
5064
5065
  headers: {
@@ -5101,6 +5102,8 @@ class OpenAIAPIClient{
5101
5102
  console.error("Error:", error);
5102
5103
  reject(""+error);
5103
5104
  });
5105
+
5106
+
5104
5107
  });
5105
5108
 
5106
5109
  const result=await p;
@@ -5109,7 +5112,7 @@ class OpenAIAPIClient{
5109
5112
  console.log("! RESULT text :",result);
5110
5113
 
5111
5114
  return result;
5112
- })();
5115
+ //})();
5113
5116
 
5114
5117
 
5115
5118
  }
@@ -5135,7 +5138,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5135
5138
 
5136
5139
 
5137
5140
 
5138
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (21/10/2023-15:48:47)»*/
5141
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (21/10/2023-16:04:44)»*/
5139
5142
  /*-----------------------------------------------------------------------------*/
5140
5143
  /* ## Utility global methods in a browser (htmljs) client environment.
5141
5144
  *
@@ -13377,7 +13380,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13377
13380
 
13378
13381
 
13379
13382
 
13380
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (21/10/2023-15:48:47)»*/
13383
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (21/10/2023-16:04:44)»*/
13381
13384
  /*-----------------------------------------------------------------------------*/
13382
13385
 
13383
13386
 
@@ -14616,7 +14619,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14616
14619
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14617
14620
 
14618
14621
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14619
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (21/10/2023-15:48:47)»*/
14622
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (21/10/2023-16:04:44)»*/
14620
14623
  /*-----------------------------------------------------------------------------*/
14621
14624
 
14622
14625
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.676",
3
+ "version": "0.0.677",
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)",