mol_jsx_lib 0.0.248 → 0.0.249
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.deps.json +1 -1
- package/node.esm.js +4 -2
- package/node.esm.js.map +1 -1
- package/node.js +4 -2
- package/node.js.map +1 -1
- package/node.test.js +4 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.esm.js +4 -2
- package/web.esm.js.map +1 -1
- package/web.js +4 -2
- package/web.js.map +1 -1
package/node.js
CHANGED
|
@@ -1784,7 +1784,8 @@ var $;
|
|
|
1784
1784
|
const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1785
1785
|
if (existen)
|
|
1786
1786
|
return existen;
|
|
1787
|
-
const
|
|
1787
|
+
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1788
|
+
const key = `${prefix}.${field}`;
|
|
1788
1789
|
const fiber = new $mol_wire_atom(key, task, host, []);
|
|
1789
1790
|
(host ?? task)[field] = fiber;
|
|
1790
1791
|
return fiber;
|
|
@@ -1792,7 +1793,8 @@ var $;
|
|
|
1792
1793
|
static plex(host, task, key) {
|
|
1793
1794
|
const field = task.name + '()';
|
|
1794
1795
|
let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1795
|
-
const
|
|
1796
|
+
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1797
|
+
const id = `${prefix}.${task.name}(${$mol_key(key)})`;
|
|
1796
1798
|
if (dict) {
|
|
1797
1799
|
const existen = dict.get(id);
|
|
1798
1800
|
if (existen)
|