aotrautils-srv 0.0.668 → 0.0.670
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-01:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (21/10/2023-01:43:15)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -5070,7 +5070,16 @@ class OpenAIAPIClient{
|
|
|
5070
5070
|
messages,
|
|
5071
5071
|
}),
|
|
5072
5072
|
})
|
|
5073
|
-
|
|
5073
|
+
// STRANGE : DOES NOT WORK !!:
|
|
5074
|
+
//.then(response => response.json())
|
|
5075
|
+
// STRANGE : DOES WORK :
|
|
5076
|
+
.then(response => {
|
|
5077
|
+
|
|
5078
|
+
// DBG
|
|
5079
|
+
console.log("~~~~~~~~~~~response :",response);
|
|
5080
|
+
|
|
5081
|
+
return response.json();
|
|
5082
|
+
})
|
|
5074
5083
|
.then(data => {
|
|
5075
5084
|
|
|
5076
5085
|
if(data.error){
|
|
@@ -5128,7 +5137,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5128
5137
|
|
|
5129
5138
|
|
|
5130
5139
|
|
|
5131
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (21/10/2023-01:
|
|
5140
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (21/10/2023-01:43:15)»*/
|
|
5132
5141
|
/*-----------------------------------------------------------------------------*/
|
|
5133
5142
|
|
|
5134
5143
|
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.670",
|
|
4
4
|
"main": "aotrautils-srv.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|