mol_wire_lib 1.0.1352 → 1.0.1353

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_wire_lib",
3
- "version": "1.0.1352",
3
+ "version": "1.0.1353",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.js CHANGED
@@ -665,7 +665,7 @@ var $;
665
665
  return $mol_promise_like(this.cache);
666
666
  }
667
667
  field() {
668
- return this.task.name + '<>';
668
+ return this.task.name + '()';
669
669
  }
670
670
  constructor(id, task, host, args) {
671
671
  super();
@@ -1301,18 +1301,18 @@ var $;
1301
1301
  (function ($) {
1302
1302
  class $mol_wire_atom extends $mol_wire_fiber {
1303
1303
  static solo(host, task) {
1304
- const field = task.name + '<>';
1304
+ const field = task.name + '()';
1305
1305
  const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
1306
1306
  if (existen)
1307
1307
  return existen;
1308
1308
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
1309
- const key = prefix + ('.' + field);
1309
+ const key = prefix + ('.' + task.name + '<>');
1310
1310
  const fiber = new $mol_wire_atom(key, task, host, []);
1311
1311
  (host ?? task)[field] = fiber;
1312
1312
  return fiber;
1313
1313
  }
1314
1314
  static plex(host, task, key) {
1315
- const field = task.name + '<>';
1315
+ const field = task.name + '()';
1316
1316
  let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
1317
1317
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
1318
1318
  const key_str = $mol_key(key);