mol_jsx_lib 0.0.1217 → 0.0.1219

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/web.mjs CHANGED
@@ -895,7 +895,7 @@ var $;
895
895
  return $mol_promise_like(this.cache);
896
896
  }
897
897
  field() {
898
- return this.task.name + '<>';
898
+ return this.task.name + '()';
899
899
  }
900
900
  constructor(id, task, host, args) {
901
901
  super();
@@ -1531,18 +1531,18 @@ var $;
1531
1531
  (function ($) {
1532
1532
  class $mol_wire_atom extends $mol_wire_fiber {
1533
1533
  static solo(host, task) {
1534
- const field = task.name + '<>';
1534
+ const field = task.name + '()';
1535
1535
  const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
1536
1536
  if (existen)
1537
1537
  return existen;
1538
1538
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
1539
- const key = prefix + ('.' + field);
1539
+ const key = prefix + ('.' + task.name + '<>');
1540
1540
  const fiber = new $mol_wire_atom(key, task, host, []);
1541
1541
  (host ?? task)[field] = fiber;
1542
1542
  return fiber;
1543
1543
  }
1544
1544
  static plex(host, task, key) {
1545
- const field = task.name + '<>';
1545
+ const field = task.name + '()';
1546
1546
  let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
1547
1547
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
1548
1548
  const key_str = $mol_key(key);