mol_wire_lib 1.0.1058 → 1.0.1059
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.
- package/node.d.ts +12 -22
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +23 -47
- package/node.js.map +1 -1
- package/node.mjs +23 -47
- package/node.test.js +33 -66
- package/node.test.js.map +1 -1
- package/package.json +3 -4
- package/web.d.ts +5 -15
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +22 -46
- package/web.js.map +1 -1
- package/web.mjs +22 -46
- package/web.test.js +1 -10
- package/web.test.js.map +1 -1
package/node.mjs
CHANGED
|
@@ -575,24 +575,35 @@ var $;
|
|
|
575
575
|
"use strict";
|
|
576
576
|
var $;
|
|
577
577
|
(function ($) {
|
|
578
|
-
class $
|
|
578
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
579
|
+
delay;
|
|
579
580
|
task;
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
constructor(task) {
|
|
581
|
+
id;
|
|
582
|
+
constructor(delay, task) {
|
|
583
583
|
super();
|
|
584
|
+
this.delay = delay;
|
|
584
585
|
this.task = task;
|
|
585
|
-
this.
|
|
586
|
-
if (this.cancelled)
|
|
587
|
-
return;
|
|
588
|
-
task();
|
|
589
|
-
});
|
|
586
|
+
this.id = setTimeout(task, delay);
|
|
590
587
|
}
|
|
591
588
|
destructor() {
|
|
592
|
-
this.
|
|
589
|
+
clearTimeout(this.id);
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
593
|
+
})($ || ($ = {}));
|
|
594
|
+
|
|
595
|
+
;
|
|
596
|
+
"use strict";
|
|
597
|
+
var $;
|
|
598
|
+
(function ($) {
|
|
599
|
+
class $mol_after_frame extends $mol_after_timeout {
|
|
600
|
+
task;
|
|
601
|
+
constructor(task) {
|
|
602
|
+
super(16, task);
|
|
603
|
+
this.task = task;
|
|
593
604
|
}
|
|
594
605
|
}
|
|
595
|
-
$.$
|
|
606
|
+
$.$mol_after_frame = $mol_after_frame;
|
|
596
607
|
})($ || ($ = {}));
|
|
597
608
|
|
|
598
609
|
;
|
|
@@ -620,7 +631,7 @@ var $;
|
|
|
620
631
|
static plan() {
|
|
621
632
|
if (this.plan_task)
|
|
622
633
|
return;
|
|
623
|
-
this.plan_task = new $
|
|
634
|
+
this.plan_task = new $mol_after_frame(() => {
|
|
624
635
|
try {
|
|
625
636
|
this.sync();
|
|
626
637
|
}
|
|
@@ -1611,41 +1622,6 @@ var $;
|
|
|
1611
1622
|
$.$mol_key = $mol_key;
|
|
1612
1623
|
})($ || ($ = {}));
|
|
1613
1624
|
|
|
1614
|
-
;
|
|
1615
|
-
"use strict";
|
|
1616
|
-
var $;
|
|
1617
|
-
(function ($) {
|
|
1618
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
1619
|
-
delay;
|
|
1620
|
-
task;
|
|
1621
|
-
id;
|
|
1622
|
-
constructor(delay, task) {
|
|
1623
|
-
super();
|
|
1624
|
-
this.delay = delay;
|
|
1625
|
-
this.task = task;
|
|
1626
|
-
this.id = setTimeout(task, delay);
|
|
1627
|
-
}
|
|
1628
|
-
destructor() {
|
|
1629
|
-
clearTimeout(this.id);
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
1633
|
-
})($ || ($ = {}));
|
|
1634
|
-
|
|
1635
|
-
;
|
|
1636
|
-
"use strict";
|
|
1637
|
-
var $;
|
|
1638
|
-
(function ($) {
|
|
1639
|
-
class $mol_after_frame extends $mol_after_timeout {
|
|
1640
|
-
task;
|
|
1641
|
-
constructor(task) {
|
|
1642
|
-
super(16, task);
|
|
1643
|
-
this.task = task;
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
$.$mol_after_frame = $mol_after_frame;
|
|
1647
|
-
})($ || ($ = {}));
|
|
1648
|
-
|
|
1649
1625
|
;
|
|
1650
1626
|
"use strict";
|
|
1651
1627
|
var $;
|
package/node.test.js
CHANGED
|
@@ -566,24 +566,35 @@ var $;
|
|
|
566
566
|
"use strict";
|
|
567
567
|
var $;
|
|
568
568
|
(function ($) {
|
|
569
|
-
class $
|
|
569
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
570
|
+
delay;
|
|
570
571
|
task;
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
constructor(task) {
|
|
572
|
+
id;
|
|
573
|
+
constructor(delay, task) {
|
|
574
574
|
super();
|
|
575
|
+
this.delay = delay;
|
|
575
576
|
this.task = task;
|
|
576
|
-
this.
|
|
577
|
-
if (this.cancelled)
|
|
578
|
-
return;
|
|
579
|
-
task();
|
|
580
|
-
});
|
|
577
|
+
this.id = setTimeout(task, delay);
|
|
581
578
|
}
|
|
582
579
|
destructor() {
|
|
583
|
-
this.
|
|
580
|
+
clearTimeout(this.id);
|
|
584
581
|
}
|
|
585
582
|
}
|
|
586
|
-
$.$
|
|
583
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
584
|
+
})($ || ($ = {}));
|
|
585
|
+
|
|
586
|
+
;
|
|
587
|
+
"use strict";
|
|
588
|
+
var $;
|
|
589
|
+
(function ($) {
|
|
590
|
+
class $mol_after_frame extends $mol_after_timeout {
|
|
591
|
+
task;
|
|
592
|
+
constructor(task) {
|
|
593
|
+
super(16, task);
|
|
594
|
+
this.task = task;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
$.$mol_after_frame = $mol_after_frame;
|
|
587
598
|
})($ || ($ = {}));
|
|
588
599
|
|
|
589
600
|
;
|
|
@@ -611,7 +622,7 @@ var $;
|
|
|
611
622
|
static plan() {
|
|
612
623
|
if (this.plan_task)
|
|
613
624
|
return;
|
|
614
|
-
this.plan_task = new $
|
|
625
|
+
this.plan_task = new $mol_after_frame(() => {
|
|
615
626
|
try {
|
|
616
627
|
this.sync();
|
|
617
628
|
}
|
|
@@ -1602,41 +1613,6 @@ var $;
|
|
|
1602
1613
|
$.$mol_key = $mol_key;
|
|
1603
1614
|
})($ || ($ = {}));
|
|
1604
1615
|
|
|
1605
|
-
;
|
|
1606
|
-
"use strict";
|
|
1607
|
-
var $;
|
|
1608
|
-
(function ($) {
|
|
1609
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
1610
|
-
delay;
|
|
1611
|
-
task;
|
|
1612
|
-
id;
|
|
1613
|
-
constructor(delay, task) {
|
|
1614
|
-
super();
|
|
1615
|
-
this.delay = delay;
|
|
1616
|
-
this.task = task;
|
|
1617
|
-
this.id = setTimeout(task, delay);
|
|
1618
|
-
}
|
|
1619
|
-
destructor() {
|
|
1620
|
-
clearTimeout(this.id);
|
|
1621
|
-
}
|
|
1622
|
-
}
|
|
1623
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
1624
|
-
})($ || ($ = {}));
|
|
1625
|
-
|
|
1626
|
-
;
|
|
1627
|
-
"use strict";
|
|
1628
|
-
var $;
|
|
1629
|
-
(function ($) {
|
|
1630
|
-
class $mol_after_frame extends $mol_after_timeout {
|
|
1631
|
-
task;
|
|
1632
|
-
constructor(task) {
|
|
1633
|
-
super(16, task);
|
|
1634
|
-
this.task = task;
|
|
1635
|
-
}
|
|
1636
|
-
}
|
|
1637
|
-
$.$mol_after_frame = $mol_after_frame;
|
|
1638
|
-
})($ || ($ = {}));
|
|
1639
|
-
|
|
1640
1616
|
;
|
|
1641
1617
|
"use strict";
|
|
1642
1618
|
var $;
|
|
@@ -3858,7 +3834,16 @@ var $;
|
|
|
3858
3834
|
var $;
|
|
3859
3835
|
(function ($_1) {
|
|
3860
3836
|
$mol_test_mocks.push($ => {
|
|
3861
|
-
$.$
|
|
3837
|
+
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
3838
|
+
});
|
|
3839
|
+
})($ || ($ = {}));
|
|
3840
|
+
|
|
3841
|
+
;
|
|
3842
|
+
"use strict";
|
|
3843
|
+
var $;
|
|
3844
|
+
(function ($_1) {
|
|
3845
|
+
$mol_test_mocks.push($ => {
|
|
3846
|
+
$.$mol_after_frame = $mol_after_mock_commmon;
|
|
3862
3847
|
});
|
|
3863
3848
|
})($ || ($ = {}));
|
|
3864
3849
|
|
|
@@ -4005,24 +3990,6 @@ var $;
|
|
|
4005
3990
|
});
|
|
4006
3991
|
})($ || ($ = {}));
|
|
4007
3992
|
|
|
4008
|
-
;
|
|
4009
|
-
"use strict";
|
|
4010
|
-
var $;
|
|
4011
|
-
(function ($_1) {
|
|
4012
|
-
$mol_test_mocks.push($ => {
|
|
4013
|
-
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
4014
|
-
});
|
|
4015
|
-
})($ || ($ = {}));
|
|
4016
|
-
|
|
4017
|
-
;
|
|
4018
|
-
"use strict";
|
|
4019
|
-
var $;
|
|
4020
|
-
(function ($_1) {
|
|
4021
|
-
$mol_test_mocks.push($ => {
|
|
4022
|
-
$.$mol_after_frame = $mol_after_mock_commmon;
|
|
4023
|
-
});
|
|
4024
|
-
})($ || ($ = {}));
|
|
4025
|
-
|
|
4026
3993
|
;
|
|
4027
3994
|
"use strict";
|
|
4028
3995
|
|