mol_jsx_lib 0.0.40 → 0.0.41
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 +0 -1
- package/node.deps.json +1 -1
- package/node.esm.js +1 -23
- package/node.esm.js.map +1 -1
- package/node.js +1 -23
- package/node.js.map +1 -1
- package/node.test.js +3 -50
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +0 -1
- package/web.deps.json +1 -1
- package/web.esm.js +1 -23
- package/web.esm.js.map +1 -1
- package/web.js +1 -23
- package/web.js.map +1 -1
- package/web.test.js +2 -27
- package/web.test.js.map +1 -1
package/node.js
CHANGED
|
@@ -1679,26 +1679,7 @@ var $;
|
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
1681
|
resync(...args) {
|
|
1682
|
-
|
|
1683
|
-
try {
|
|
1684
|
-
res = this.recall(...args);
|
|
1685
|
-
}
|
|
1686
|
-
catch (error) {
|
|
1687
|
-
if (error instanceof Promise)
|
|
1688
|
-
$mol_fail_hidden(error);
|
|
1689
|
-
res = error;
|
|
1690
|
-
}
|
|
1691
|
-
try {
|
|
1692
|
-
this.once();
|
|
1693
|
-
}
|
|
1694
|
-
catch (error) {
|
|
1695
|
-
if (error instanceof Promise)
|
|
1696
|
-
$mol_fail_hidden(error);
|
|
1697
|
-
}
|
|
1698
|
-
return this.put(res);
|
|
1699
|
-
}
|
|
1700
|
-
recall(...args) {
|
|
1701
|
-
return this.task.call(this.host, ...args);
|
|
1682
|
+
return this.put(this.task.call(this.host, ...args));
|
|
1702
1683
|
}
|
|
1703
1684
|
once() {
|
|
1704
1685
|
return this.sync();
|
|
@@ -1747,9 +1728,6 @@ var $;
|
|
|
1747
1728
|
__decorate([
|
|
1748
1729
|
$mol_wire_method
|
|
1749
1730
|
], $mol_wire_atom.prototype, "resync", null);
|
|
1750
|
-
__decorate([
|
|
1751
|
-
$mol_wire_method
|
|
1752
|
-
], $mol_wire_atom.prototype, "recall", null);
|
|
1753
1731
|
__decorate([
|
|
1754
1732
|
$mol_wire_method
|
|
1755
1733
|
], $mol_wire_atom.prototype, "once", null);
|