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/web.js
CHANGED
|
@@ -1276,7 +1276,8 @@ var $;
|
|
|
1276
1276
|
const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1277
1277
|
if (existen)
|
|
1278
1278
|
return existen;
|
|
1279
|
-
const
|
|
1279
|
+
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1280
|
+
const key = `${prefix}.${field}`;
|
|
1280
1281
|
const fiber = new $mol_wire_atom(key, task, host, []);
|
|
1281
1282
|
(host ?? task)[field] = fiber;
|
|
1282
1283
|
return fiber;
|
|
@@ -1284,7 +1285,8 @@ var $;
|
|
|
1284
1285
|
static plex(host, task, key) {
|
|
1285
1286
|
const field = task.name + '()';
|
|
1286
1287
|
let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1287
|
-
const
|
|
1288
|
+
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1289
|
+
const id = `${prefix}.${task.name}(${$mol_key(key)})`;
|
|
1288
1290
|
if (dict) {
|
|
1289
1291
|
const existen = dict.get(id);
|
|
1290
1292
|
if (existen)
|