aotrautils 0.0.1882 → 0.0.1884
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 +19 -17
- 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 (19/06/2026-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/06/2026-21:47:40)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -5470,7 +5470,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5470
5470
|
|
|
5471
5471
|
|
|
5472
5472
|
|
|
5473
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/06/2026-
|
|
5473
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/06/2026-21:47:40)»*/
|
|
5474
5474
|
/*-----------------------------------------------------------------------------*/
|
|
5475
5475
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5476
5476
|
*
|
|
@@ -13288,7 +13288,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13288
13288
|
|
|
13289
13289
|
|
|
13290
13290
|
|
|
13291
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/06/2026-
|
|
13291
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/06/2026-21:47:40)»*/
|
|
13292
13292
|
/*-----------------------------------------------------------------------------*/
|
|
13293
13293
|
|
|
13294
13294
|
|
|
@@ -14373,10 +14373,10 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14373
14373
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14374
14374
|
|
|
14375
14375
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14376
|
-
/*utils 3D library associated with aotra version : «1_29072022-2359 (19/06/2026-
|
|
14376
|
+
/*utils 3D library associated with aotra version : «1_29072022-2359 (19/06/2026-21:47:40)»*/
|
|
14377
14377
|
/*-----------------------------------------------------------------------------*/
|
|
14378
14378
|
|
|
14379
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (19/06/2026-
|
|
14379
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (19/06/2026-21:47:40)»*/
|
|
14380
14380
|
/*-----------------------------------------------------------------------------*/
|
|
14381
14381
|
|
|
14382
14382
|
|
|
@@ -14636,7 +14636,7 @@ getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProviderName=DE
|
|
|
14636
14636
|
|
|
14637
14637
|
|
|
14638
14638
|
|
|
14639
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (19/06/2026-
|
|
14639
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (19/06/2026-21:47:40)»*/
|
|
14640
14640
|
/*-----------------------------------------------------------------------------*/
|
|
14641
14641
|
|
|
14642
14642
|
|
|
@@ -16999,17 +16999,18 @@ WebsocketImplementation={
|
|
|
16999
16999
|
let serverSocket;
|
|
17000
17000
|
if(!WebsocketImplementation.useSocketIOImplementation){
|
|
17001
17001
|
|
|
17002
|
-
|
|
17003
|
-
|
|
17004
|
-
|
|
17005
|
-
|
|
17006
|
-
|
|
17007
|
-
|
|
17008
|
-
|
|
17009
|
-
serverSocket=new window.WebSocketServer.WebSocketServer({ "server":listenableServer });
|
|
17002
|
+
// if(typeof(WebSocketServer)==="undefined")
|
|
17003
|
+
// window.WebSocketServer=require("ws");
|
|
17004
|
+
// if(typeof(WebSocketServer)==="undefined")
|
|
17005
|
+
// // TRACE
|
|
17006
|
+
// lognow("ERROR : «ws» CONSOLE SERVER library not found. Cannot launch nodejs server. Aborting.");
|
|
17007
|
+
// serverSocket=new window.WebSocketServer.WebSocketServer({
|
|
17008
|
+
|
|
17010
17009
|
// DOES NOT WORK ANYMORE :
|
|
17011
|
-
|
|
17012
|
-
|
|
17010
|
+
serverSocket=new window.WebSocket.Server({
|
|
17011
|
+
server:listenableServer,
|
|
17012
|
+
perMessageDeflate: false,
|
|
17013
|
+
});
|
|
17013
17014
|
|
|
17014
17015
|
}else{
|
|
17015
17016
|
|
|
@@ -17096,7 +17097,8 @@ WebsocketImplementation={
|
|
|
17096
17097
|
clientSocket=new WebSocket(serverURL+":"+port,/*WORKAROUND:*/{
|
|
17097
17098
|
// CAUTION : SECURITY BREACH :
|
|
17098
17099
|
// BUT ALSO NECESSARY TO ALLOW SELF-SIGNED CERTIFICATES USAGE WITH THE YESBOT SYSTEM ON DEV ENVIRONMENTS !
|
|
17099
|
-
|
|
17100
|
+
// (ONLY FOR DEV ENVIRONMENTS :)
|
|
17101
|
+
rejectUnauthorized:contains(serverURL, "localhost"), // (THIS IS A KNOWN SECURITY BREACH)
|
|
17100
17102
|
secure: isSecure
|
|
17101
17103
|
});
|
|
17102
17104
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1884",
|
|
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)",
|