aotrautils 0.0.2000 → 0.0.2002
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 +13 -11
- 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 (04/10/2026-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (04/10/2026-23:48:41)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -5485,7 +5485,7 @@ window.AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5485
5485
|
|
|
5486
5486
|
|
|
5487
5487
|
|
|
5488
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (04/10/2026-
|
|
5488
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (04/10/2026-23:48:41)»*/
|
|
5489
5489
|
/*-----------------------------------------------------------------------------*/
|
|
5490
5490
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5491
5491
|
*
|
|
@@ -13000,7 +13000,7 @@ window.createOritaMicroClient=function(url, port, isNode=false, staticMicroClien
|
|
|
13000
13000
|
|
|
13001
13001
|
|
|
13002
13002
|
|
|
13003
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (04/10/2026-
|
|
13003
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (04/10/2026-23:48:41)»*/
|
|
13004
13004
|
/*-----------------------------------------------------------------------------*/
|
|
13005
13005
|
|
|
13006
13006
|
|
|
@@ -14089,10 +14089,10 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14089
14089
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14090
14090
|
|
|
14091
14091
|
window.AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14092
|
-
/*utils 3D library associated with aotra version : «1_29072022-2359 (04/10/2026-
|
|
14092
|
+
/*utils 3D library associated with aotra version : «1_29072022-2359 (04/10/2026-23:48:41)»*/
|
|
14093
14093
|
/*-----------------------------------------------------------------------------*/
|
|
14094
14094
|
|
|
14095
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (04/10/2026-
|
|
14095
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (04/10/2026-23:48:41)»*/
|
|
14096
14096
|
/*-----------------------------------------------------------------------------*/
|
|
14097
14097
|
|
|
14098
14098
|
|
|
@@ -14356,7 +14356,7 @@ window.getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProvider
|
|
|
14356
14356
|
|
|
14357
14357
|
|
|
14358
14358
|
|
|
14359
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (04/10/2026-
|
|
14359
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (04/10/2026-23:48:41)»*/
|
|
14360
14360
|
/*-----------------------------------------------------------------------------*/
|
|
14361
14361
|
|
|
14362
14362
|
|
|
@@ -17641,8 +17641,8 @@ window.performHTTPRequest=function(completeURL, httpMethod="GET", headers={}, re
|
|
|
17641
17641
|
|
|
17642
17642
|
// CASE NODEJS CONTEXT :
|
|
17643
17643
|
|
|
17644
|
-
|
|
17645
|
-
|
|
17644
|
+
// // TRACE
|
|
17645
|
+
// lognow("INFO : We are running in a nodejs context (isNodeContext:"+isNodeContext+";typeof(require):"+(typeof(require))+"). Using nodejs library.");
|
|
17646
17646
|
|
|
17647
17647
|
|
|
17648
17648
|
const isSecure=(!empty(completeURL) && contains(completeURL.toLowerCase(),"https://"));
|
|
@@ -18163,7 +18163,7 @@ window.ClientInstance=class ClientInstance{
|
|
|
18163
18163
|
const self=this;
|
|
18164
18164
|
|
|
18165
18165
|
// DBG
|
|
18166
|
-
lognow("DEBUG : CLIENT :
|
|
18166
|
+
lognow("DEBUG : CLIENT : Setting up onConnectionToServer (socket implementation : «"+window.WebsocketImplementation.implementationToUse+"»).");
|
|
18167
18167
|
|
|
18168
18168
|
const doAllOnConnection=()=>{
|
|
18169
18169
|
|
|
@@ -18178,7 +18178,8 @@ window.ClientInstance=class ClientInstance{
|
|
|
18178
18178
|
// if(!window.WebsocketImplementation.useSocketIOImplementation){
|
|
18179
18179
|
if(!window.WebsocketImplementation.implementationToUse){
|
|
18180
18180
|
// FOR THE WEBSOCKET IMPLEMENTATION :
|
|
18181
|
-
clientSocket.addEventListener("message", (eventOrMessage)=>{
|
|
18181
|
+
// DBG : clientSocket.addEventListener("message", (eventOrMessage)=>{
|
|
18182
|
+
clientSocket.on("message", (eventOrMessage)=>{
|
|
18182
18183
|
foreach(self.clientReceptionEntryPoints,(clientReceptionEntryPoint)=>{
|
|
18183
18184
|
clientReceptionEntryPoint.execute(eventOrMessage, clientSocket, self.clientReceptionEntryPoints);
|
|
18184
18185
|
});
|
|
@@ -18482,7 +18483,8 @@ window.NodeServerInstance=class NodeServerInstance{
|
|
|
18482
18483
|
|
|
18483
18484
|
// if(!window.WebsocketImplementation.useSocketIOImplementation){
|
|
18484
18485
|
if(!window.WebsocketImplementation.implementationToUse){
|
|
18485
|
-
clientSocket.addEventListener("message", doOnMessage);
|
|
18486
|
+
// DBG : clientSocket.addEventListener("message", doOnMessage);
|
|
18487
|
+
clientSocket.on("message", doOnMessage);
|
|
18486
18488
|
}else{
|
|
18487
18489
|
window.WebsocketImplementation.implementationToUse.initOnMessageReceived(doOnMessage);
|
|
18488
18490
|
}
|
aotrautils/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2002",
|
|
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.2002",
|
|
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.2002",
|
|
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)",
|