mol_wire_lib 1.0.170 → 1.0.173
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
|
@@ -1039,26 +1039,7 @@ var $;
|
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
1041
|
resync(...args) {
|
|
1042
|
-
|
|
1043
|
-
try {
|
|
1044
|
-
res = this.recall(...args);
|
|
1045
|
-
}
|
|
1046
|
-
catch (error) {
|
|
1047
|
-
if (error instanceof Promise)
|
|
1048
|
-
$mol_fail_hidden(error);
|
|
1049
|
-
res = error;
|
|
1050
|
-
}
|
|
1051
|
-
try {
|
|
1052
|
-
this.once();
|
|
1053
|
-
}
|
|
1054
|
-
catch (error) {
|
|
1055
|
-
if (error instanceof Promise)
|
|
1056
|
-
$mol_fail_hidden(error);
|
|
1057
|
-
}
|
|
1058
|
-
return this.put(res);
|
|
1059
|
-
}
|
|
1060
|
-
recall(...args) {
|
|
1061
|
-
return this.task.call(this.host, ...args);
|
|
1042
|
+
return this.put(this.task.call(this.host, ...args));
|
|
1062
1043
|
}
|
|
1063
1044
|
once() {
|
|
1064
1045
|
return this.sync();
|
|
@@ -1107,9 +1088,6 @@ var $;
|
|
|
1107
1088
|
__decorate([
|
|
1108
1089
|
$mol_wire_method
|
|
1109
1090
|
], $mol_wire_atom.prototype, "resync", null);
|
|
1110
|
-
__decorate([
|
|
1111
|
-
$mol_wire_method
|
|
1112
|
-
], $mol_wire_atom.prototype, "recall", null);
|
|
1113
1091
|
__decorate([
|
|
1114
1092
|
$mol_wire_method
|
|
1115
1093
|
], $mol_wire_atom.prototype, "once", null);
|