aotrautils-srv 0.0.1904 → 0.0.1905

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 (26/07/2026-02:46:22)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (26/07/2026-02:51:50)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -3982,8 +3982,8 @@ Math.makeMultipleOf=function(bruteValue, multiple,/*OPTIONAL*/roundingMode){
3982
3982
 
3983
3983
 
3984
3984
 
3985
- getTimer=function(callback, delay){
3986
- return new SimpleTimer(callback, delay);
3985
+ window.getTimer=function(callback, delay){
3986
+ return new window.SimpleTimer(callback, delay);
3987
3987
  // let self={
3988
3988
  // timerId:null,
3989
3989
  // start:null,
@@ -4008,14 +4008,14 @@ getTimer=function(callback, delay){
4008
4008
 
4009
4009
 
4010
4010
  //Usage :
4011
- //var timer=new SimpleTimer(function(){
4011
+ //var timer=new window.SimpleTimer(function(){
4012
4012
  //alert("Done!");
4013
4013
  //}, 1000);
4014
4014
  //
4015
4015
  //timer.pause();
4016
4016
  ////Do some stuff...
4017
4017
  //timer.resume();
4018
- var SimpleTimer=function(callback, delay){
4018
+ window.SimpleTimer=function(callback, delay){
4019
4019
  var timerId, start, remaining=delay;
4020
4020
 
4021
4021
  this.pause=function(){
@@ -5470,7 +5470,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5470
5470
 
5471
5471
 
5472
5472
 
5473
- /*utils AI library associated with aotra version : «1_29072022-2359 (26/07/2026-02:46:22)»*/
5473
+ /*utils AI library associated with aotra version : «1_29072022-2359 (26/07/2026-02:51:50)»*/
5474
5474
  /*-----------------------------------------------------------------------------*/
5475
5475
 
5476
5476
 
@@ -5730,7 +5730,7 @@ getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProviderName=DE
5730
5730
 
5731
5731
 
5732
5732
 
5733
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (26/07/2026-02:46:22)»*/
5733
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (26/07/2026-02:51:50)»*/
5734
5734
  /*-----------------------------------------------------------------------------*/
5735
5735
 
5736
5736
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1904",
3
+ "version": "0.0.1905",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "aotrautils-srv",
9
- "version": "0.0.1904",
9
+ "version": "0.0.1905",
10
10
  "license": "HGPL-1.0",
11
11
  "dependencies": {
12
12
  "atob": "^2.1.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1904",
3
+ "version": "0.0.1905",
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)",