hyoo_sync_client 0.0.501 → 0.0.502

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
@@ -1798,7 +1798,8 @@ var $;
1798
1798
  break reuse;
1799
1799
  return existen;
1800
1800
  }
1801
- const next = new $mol_wire_task(`${host?.[Symbol.toStringTag] ?? host}.${task.name}<#>`, task, host, args);
1801
+ const key = (host?.[Symbol.toStringTag] ?? host) + ('.' + task.name + '<#>');
1802
+ const next = new $mol_wire_task(key, task, host, args);
1802
1803
  if (existen?.temp) {
1803
1804
  $$.$mol_log3_warn({
1804
1805
  place: '$mol_wire_task',
@@ -1915,7 +1916,7 @@ var $;
1915
1916
  if (existen)
1916
1917
  return existen;
1917
1918
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
1918
- const key = `${prefix}.${field}`;
1919
+ const key = prefix + ('.' + field);
1919
1920
  const fiber = new $mol_wire_atom(key, task, host, []);
1920
1921
  (host ?? task)[field] = fiber;
1921
1922
  return fiber;
@@ -1933,7 +1934,7 @@ var $;
1933
1934
  else {
1934
1935
  dict = (host ?? task)[field] = new Map();
1935
1936
  }
1936
- const id = `${prefix}.${task.name}<${key_str.replace(/^"|"$/g, "'")}>`;
1937
+ const id = prefix + ('.' + task.name) + ('<' + key_str.replace(/^"|"$/g, "'") + '>');
1937
1938
  const fiber = new $mol_wire_atom(id, task, host, [key]);
1938
1939
  dict.set(key_str, fiber);
1939
1940
  return fiber;