aotrautils 0.0.1905 → 0.0.1906
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 +14 -14
- 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 (26/07/2026-02:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (26/07/2026-02:51:23)»*/
|
|
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
|
-
|
|
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 CLIENT library associated with aotra version : «1_29072022-2359 (26/07/2026-02:
|
|
5473
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (26/07/2026-02:51:23)»*/
|
|
5474
5474
|
/*-----------------------------------------------------------------------------*/
|
|
5475
5475
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5476
5476
|
*
|
|
@@ -9103,7 +9103,7 @@ class SoundsLoop{
|
|
|
9103
9103
|
if(!this.hasLoopStarted || !this.pauseMillis){
|
|
9104
9104
|
this.startChainedLoop();
|
|
9105
9105
|
}else{
|
|
9106
|
-
this.mainLoopSound=getTimer(this.startChainedLoop,this.pauseMillis);
|
|
9106
|
+
this.mainLoopSound=window.getTimer(this.startChainedLoop,this.pauseMillis);
|
|
9107
9107
|
}
|
|
9108
9108
|
|
|
9109
9109
|
return this;
|
|
@@ -9279,7 +9279,7 @@ class Sound{
|
|
|
9279
9279
|
if(!this.hasLoopStarted || !this.pauseMillis){
|
|
9280
9280
|
this.startChainedLoop();
|
|
9281
9281
|
}else{
|
|
9282
|
-
this.mainLoopSound=getTimer(this.startChainedLoop, this.pauseMillis);
|
|
9282
|
+
this.mainLoopSound=window.getTimer(this.startChainedLoop, this.pauseMillis);
|
|
9283
9283
|
}
|
|
9284
9284
|
|
|
9285
9285
|
return this;
|
|
@@ -9347,7 +9347,7 @@ class Sound{
|
|
|
9347
9347
|
jumpOut(doOnEndJump=null){
|
|
9348
9348
|
|
|
9349
9349
|
const self=this;
|
|
9350
|
-
this.mainLoopSound=getTimer(()=>{
|
|
9350
|
+
this.mainLoopSound=window.getTimer(()=>{
|
|
9351
9351
|
self.pause();
|
|
9352
9352
|
if(doOnEndJump) doOnEndJump(self);
|
|
9353
9353
|
},this.nativeAudioElement.duration*1000);
|
|
@@ -9375,7 +9375,7 @@ class Sound{
|
|
|
9375
9375
|
|
|
9376
9376
|
},(this.nativeAudioElement.duration*1000-durationMillis));
|
|
9377
9377
|
|
|
9378
|
-
this.mainLoopSound=getTimer(()=>{
|
|
9378
|
+
this.mainLoopSound=window.getTimer(()=>{
|
|
9379
9379
|
clearInterval(self.fadeRoutine);
|
|
9380
9380
|
self.pause();
|
|
9381
9381
|
if(doOnEndFade) doOnEndFade(self);
|
|
@@ -13291,7 +13291,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13291
13291
|
|
|
13292
13292
|
|
|
13293
13293
|
|
|
13294
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (26/07/2026-02:
|
|
13294
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (26/07/2026-02:51:23)»*/
|
|
13295
13295
|
/*-----------------------------------------------------------------------------*/
|
|
13296
13296
|
|
|
13297
13297
|
|
|
@@ -14376,10 +14376,10 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14376
14376
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14377
14377
|
|
|
14378
14378
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14379
|
-
/*utils 3D library associated with aotra version : «1_29072022-2359 (26/07/2026-02:
|
|
14379
|
+
/*utils 3D library associated with aotra version : «1_29072022-2359 (26/07/2026-02:51:23)»*/
|
|
14380
14380
|
/*-----------------------------------------------------------------------------*/
|
|
14381
14381
|
|
|
14382
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (26/07/2026-02:
|
|
14382
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (26/07/2026-02:51:23)»*/
|
|
14383
14383
|
/*-----------------------------------------------------------------------------*/
|
|
14384
14384
|
|
|
14385
14385
|
|
|
@@ -14639,7 +14639,7 @@ getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProviderName=DE
|
|
|
14639
14639
|
|
|
14640
14640
|
|
|
14641
14641
|
|
|
14642
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (26/07/2026-02:
|
|
14642
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (26/07/2026-02:51:23)»*/
|
|
14643
14643
|
/*-----------------------------------------------------------------------------*/
|
|
14644
14644
|
|
|
14645
14645
|
|
aotrautils/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1906",
|
|
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.1906",
|
|
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.1906",
|
|
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)",
|