aotrautils 0.0.1973 → 0.0.1976
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.
- aotrautils/aotrautils.build.js +10 -8
- aotrautils/package-lock.json +2 -2
- aotrautils/package.json +1 -1
aotrautils/aotrautils.build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (09/09/2026-00:40:27)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -489,6 +489,8 @@ window.aotestMethods.getScenariiByName=function(allTests, scenariiNames){
|
|
|
489
489
|
}, null, null, scenario=>contains(scenariiNames,scenario.name));
|
|
490
490
|
return results;
|
|
491
491
|
}
|
|
492
|
+
|
|
493
|
+
// Structure : appId > testsType > test > scenario
|
|
492
494
|
window.aotestMethods.getNumberOfScenariiInApp=function(allTestsBagForClientIdForAppReadOnly, testsType){
|
|
493
495
|
let currentScenariiNumberInApp=0;
|
|
494
496
|
window.aotestMethods.iterateOverScenarii(allTestsBagForClientIdForAppReadOnly, (scenario)=>{
|
|
@@ -498,7 +500,7 @@ window.aotestMethods.getNumberOfScenariiInApp=function(allTestsBagForClientIdFor
|
|
|
498
500
|
}
|
|
499
501
|
window.aotestMethods.getNumberOfScenariiInGlobal=function(allTestsBagForClientReadOnly, testsType){
|
|
500
502
|
let currentScenariiNumber=0;
|
|
501
|
-
foreach(allTestsBagForClientReadOnly, (allTestsBag,
|
|
503
|
+
foreach(allTestsBagForClientReadOnly, (allTestsBag, appId)=>{
|
|
502
504
|
currentScenariiNumber+=aotestMethods.getNumberOfScenariiInApp(allTestsBag, testsType);
|
|
503
505
|
});
|
|
504
506
|
return currentScenariiNumber;
|
|
@@ -5473,7 +5475,7 @@ window.AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5473
5475
|
|
|
5474
5476
|
|
|
5475
5477
|
|
|
5476
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (
|
|
5478
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (09/09/2026-00:40:27)»*/
|
|
5477
5479
|
/*-----------------------------------------------------------------------------*/
|
|
5478
5480
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5479
5481
|
*
|
|
@@ -12988,7 +12990,7 @@ window.createOritaMicroClient=function(url, port, isNode=false, staticMicroClien
|
|
|
12988
12990
|
|
|
12989
12991
|
|
|
12990
12992
|
|
|
12991
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (
|
|
12993
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (09/09/2026-00:40:27)»*/
|
|
12992
12994
|
/*-----------------------------------------------------------------------------*/
|
|
12993
12995
|
|
|
12994
12996
|
|
|
@@ -14050,10 +14052,10 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14050
14052
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14051
14053
|
|
|
14052
14054
|
window.AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14053
|
-
/*utils 3D library associated with aotra version : «1_29072022-2359 (
|
|
14055
|
+
/*utils 3D library associated with aotra version : «1_29072022-2359 (09/09/2026-00:40:27)»*/
|
|
14054
14056
|
/*-----------------------------------------------------------------------------*/
|
|
14055
14057
|
|
|
14056
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (
|
|
14058
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (09/09/2026-00:40:27)»*/
|
|
14057
14059
|
/*-----------------------------------------------------------------------------*/
|
|
14058
14060
|
|
|
14059
14061
|
|
|
@@ -14153,7 +14155,7 @@ window.LLMAPIClient=class LLMAPIClient{
|
|
|
14153
14155
|
|
|
14154
14156
|
const headers=this.getAPIRequestHeaders(AIAPIKey);
|
|
14155
14157
|
|
|
14156
|
-
const parameters=getAPIRequestParameters(messages);
|
|
14158
|
+
const parameters=this.getAPIRequestParameters(messages);
|
|
14157
14159
|
|
|
14158
14160
|
return new Promise((resolve,reject)=>{
|
|
14159
14161
|
performHTTPRequest(this.apiURL, "POST", headers, parameters, true).then((responseObj)=>{
|
|
@@ -14313,7 +14315,7 @@ window.getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProvider
|
|
|
14313
14315
|
|
|
14314
14316
|
|
|
14315
14317
|
|
|
14316
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (
|
|
14318
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (09/09/2026-00:40:27)»*/
|
|
14317
14319
|
/*-----------------------------------------------------------------------------*/
|
|
14318
14320
|
|
|
14319
14321
|
|
aotrautils/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1976",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "aotrautils",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.1976",
|
|
10
10
|
"license": "HGPL-1.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"atob": "^2.1.2",
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1976",
|
|
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)",
|