aotrautils-srv 0.0.1966 → 0.0.1969
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 (
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (17/08/2026-21:03:22)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -5473,7 +5473,7 @@ window.AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5473
5473
|
|
|
5474
5474
|
|
|
5475
5475
|
|
|
5476
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (
|
|
5476
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (17/08/2026-21:03:22)»*/
|
|
5477
5477
|
/*-----------------------------------------------------------------------------*/
|
|
5478
5478
|
|
|
5479
5479
|
|
|
@@ -5733,7 +5733,7 @@ window.getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProvider
|
|
|
5733
5733
|
|
|
5734
5734
|
|
|
5735
5735
|
|
|
5736
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (
|
|
5736
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (17/08/2026-21:03:22)»*/
|
|
5737
5737
|
/*-----------------------------------------------------------------------------*/
|
|
5738
5738
|
|
|
5739
5739
|
|
|
@@ -9141,15 +9141,22 @@ window.initClient=function(isNodeContext=true
|
|
|
9141
9141
|
// ,useSocketIOImplementation=/*DEBUG*/false
|
|
9142
9142
|
,doOnServerConnection=null, url, /*OPTIONAL*/port=25000, /*OPTIONAL*/timeout=10000, /*OPTIONAL*/selfParam=null){
|
|
9143
9143
|
|
|
9144
|
-
const isSecure=(contains(url.toLowerCase(),"https:") || contains(url.toLowerCase(),"wss:"));
|
|
9145
9144
|
|
|
9146
9145
|
let aotraClient={};
|
|
9147
9146
|
|
|
9148
9147
|
aotraClient.client={};
|
|
9149
9148
|
aotraClient.client.start=function(){
|
|
9150
9149
|
|
|
9150
|
+
if(!url){
|
|
9151
|
+
// TRACE
|
|
9152
|
+
lognow("ERROR : URL is null. Cannot start client.");
|
|
9153
|
+
return;
|
|
9154
|
+
}
|
|
9155
|
+
|
|
9151
9156
|
// DBG
|
|
9152
9157
|
lognow("INFO : Setting up client :... (url:«"+url+"» ; port:«"+port+"»)");
|
|
9158
|
+
|
|
9159
|
+
const isSecure=(contains(url.toLowerCase(),"https:") || contains(url.toLowerCase(),"wss:"));
|
|
9153
9160
|
|
|
9154
9161
|
let socketToServerClientInstance=window.WebsocketImplementation.getStatic(isNodeContext
|
|
9155
9162
|
// , useSocketIOImplementation
|
aotrautils-srv/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1969",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "aotrautils-srv",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.1969",
|
|
10
10
|
"license": "HGPL-1.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"atob": "^2.1.2",
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1969",
|
|
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)",
|