aotrautils 0.0.664 → 0.0.666

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:28:06)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (20/10/2023-00:31:16)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5072,8 +5072,16 @@ class OpenAIAPIClient{
5072
5072
  })
5073
5073
  .then(response => response.json())
5074
5074
  .then(data => {
5075
+
5076
+ if(data.error){
5077
+ // TRACE
5078
+ console.error("Error:", error);
5079
+ reject(""+error);
5080
+ return;
5081
+ }
5082
+
5075
5083
  // DBG
5076
- console.log("data :",data);
5084
+ console.log("~~~~~~~~~~~data :",data);
5077
5085
 
5078
5086
  ////
5079
5087
 
@@ -5123,7 +5131,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5123
5131
 
5124
5132
 
5125
5133
 
5126
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (20/10/2023-00:28:06)»*/
5134
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (20/10/2023-00:31:16)»*/
5127
5135
  /*-----------------------------------------------------------------------------*/
5128
5136
  /* ## Utility global methods in a browser (htmljs) client environment.
5129
5137
  *
@@ -13365,7 +13373,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13365
13373
 
13366
13374
 
13367
13375
 
13368
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (20/10/2023-00:28:06)»*/
13376
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (20/10/2023-00:31:16)»*/
13369
13377
  /*-----------------------------------------------------------------------------*/
13370
13378
 
13371
13379
 
@@ -14604,7 +14612,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14604
14612
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14605
14613
 
14606
14614
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14607
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (20/10/2023-00:28:06)»*/
14615
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (20/10/2023-00:31:16)»*/
14608
14616
  /*-----------------------------------------------------------------------------*/
14609
14617
 
14610
14618
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.664",
3
+ "version": "0.0.666",
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)",