mol_jsx_lib 0.0.1216 → 0.0.1218

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.mjs CHANGED
@@ -847,7 +847,7 @@ var $;
847
847
  return $mol_promise_like(this.cache);
848
848
  }
849
849
  field() {
850
- return this.task.name + '<>';
850
+ return this.task.name + '()';
851
851
  }
852
852
  constructor(id, task, host, args) {
853
853
  super();
@@ -2321,18 +2321,18 @@ var $;
2321
2321
  (function ($) {
2322
2322
  class $mol_wire_atom extends $mol_wire_fiber {
2323
2323
  static solo(host, task) {
2324
- const field = task.name + '<>';
2324
+ const field = task.name + '()';
2325
2325
  const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
2326
2326
  if (existen)
2327
2327
  return existen;
2328
2328
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
2329
- const key = prefix + ('.' + field);
2329
+ const key = prefix + ('.' + task.name + '<>');
2330
2330
  const fiber = new $mol_wire_atom(key, task, host, []);
2331
2331
  (host ?? task)[field] = fiber;
2332
2332
  return fiber;
2333
2333
  }
2334
2334
  static plex(host, task, key) {
2335
- const field = task.name + '<>';
2335
+ const field = task.name + '()';
2336
2336
  let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
2337
2337
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
2338
2338
  const key_str = $mol_key(key);
package/node.test.js CHANGED
@@ -838,7 +838,7 @@ var $;
838
838
  return $mol_promise_like(this.cache);
839
839
  }
840
840
  field() {
841
- return this.task.name + '<>';
841
+ return this.task.name + '()';
842
842
  }
843
843
  constructor(id, task, host, args) {
844
844
  super();
@@ -2312,18 +2312,18 @@ var $;
2312
2312
  (function ($) {
2313
2313
  class $mol_wire_atom extends $mol_wire_fiber {
2314
2314
  static solo(host, task) {
2315
- const field = task.name + '<>';
2315
+ const field = task.name + '()';
2316
2316
  const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
2317
2317
  if (existen)
2318
2318
  return existen;
2319
2319
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
2320
- const key = prefix + ('.' + field);
2320
+ const key = prefix + ('.' + task.name + '<>');
2321
2321
  const fiber = new $mol_wire_atom(key, task, host, []);
2322
2322
  (host ?? task)[field] = fiber;
2323
2323
  return fiber;
2324
2324
  }
2325
2325
  static plex(host, task, key) {
2326
- const field = task.name + '<>';
2326
+ const field = task.name + '()';
2327
2327
  let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
2328
2328
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
2329
2329
  const key_str = $mol_key(key);