hyoo_sync_client 0.0.299 → 0.0.301
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.js +6 -6
- package/node.js.map +1 -1
- package/node.mjs +6 -6
- package/node.test.js +13 -9
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.js +6 -6
- package/web.js.map +1 -1
- package/web.mjs +6 -6
- package/web.test.js +7 -3
- package/web.test.js.map +1 -1
package/package.json
CHANGED
package/web.js
CHANGED
|
@@ -229,7 +229,7 @@ var $;
|
|
|
229
229
|
destructor() { }
|
|
230
230
|
static destructor() { }
|
|
231
231
|
toString() {
|
|
232
|
-
return this[Symbol.toStringTag] || this.constructor.name + '
|
|
232
|
+
return this[Symbol.toStringTag] || this.constructor.name + '<>';
|
|
233
233
|
}
|
|
234
234
|
static toJSON() {
|
|
235
235
|
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
@@ -1344,7 +1344,7 @@ var $;
|
|
|
1344
1344
|
return $mol_promise_like(this.cache);
|
|
1345
1345
|
}
|
|
1346
1346
|
field() {
|
|
1347
|
-
return this.task.name + '
|
|
1347
|
+
return this.task.name + '<>';
|
|
1348
1348
|
}
|
|
1349
1349
|
constructor(id, task, host, args) {
|
|
1350
1350
|
super();
|
|
@@ -1783,7 +1783,7 @@ var $;
|
|
|
1783
1783
|
break reuse;
|
|
1784
1784
|
return existen;
|
|
1785
1785
|
}
|
|
1786
|
-
const next = new $mol_wire_task(`${host?.[Symbol.toStringTag] ?? host}.${task.name}
|
|
1786
|
+
const next = new $mol_wire_task(`${host?.[Symbol.toStringTag] ?? host}.${task.name}<#>`, task, host, args);
|
|
1787
1787
|
if (existen?.temp) {
|
|
1788
1788
|
$$.$mol_log3_warn({
|
|
1789
1789
|
place: '$mol_wire_task',
|
|
@@ -1895,7 +1895,7 @@ var $;
|
|
|
1895
1895
|
(function ($) {
|
|
1896
1896
|
class $mol_wire_atom extends $mol_wire_fiber {
|
|
1897
1897
|
static solo(host, task) {
|
|
1898
|
-
const field = task.name + '
|
|
1898
|
+
const field = task.name + '<>';
|
|
1899
1899
|
const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1900
1900
|
if (existen)
|
|
1901
1901
|
return existen;
|
|
@@ -1906,7 +1906,7 @@ var $;
|
|
|
1906
1906
|
return fiber;
|
|
1907
1907
|
}
|
|
1908
1908
|
static plex(host, task, key) {
|
|
1909
|
-
const field = task.name + '
|
|
1909
|
+
const field = task.name + '<>';
|
|
1910
1910
|
let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1911
1911
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1912
1912
|
const key_str = $mol_key(key);
|
|
@@ -1918,7 +1918,7 @@ var $;
|
|
|
1918
1918
|
else {
|
|
1919
1919
|
dict = (host ?? task)[field] = new Map();
|
|
1920
1920
|
}
|
|
1921
|
-
const id = `${prefix}.${task.name}
|
|
1921
|
+
const id = `${prefix}.${task.name}<${key_str.replace(/^"|"$/g, "'")}>`;
|
|
1922
1922
|
const fiber = new $mol_wire_atom(id, task, host, [key]);
|
|
1923
1923
|
dict.set(key_str, fiber);
|
|
1924
1924
|
return fiber;
|