hyoo_sync_client 0.0.299 → 0.0.301

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.js CHANGED
@@ -229,7 +229,7 @@ var $;
229
229
  destructor() { }
230
230
  static destructor() { }
231
231
  toString() {
232
- return this[Symbol.toStringTag] || this.constructor.name + '()';
232
+ return this[Symbol.toStringTag] || this.constructor.name + '<>';
233
233
  }
234
234
  static toJSON() {
235
235
  return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
@@ -1916,7 +1916,7 @@ var $;
1916
1916
  return $mol_promise_like(this.cache);
1917
1917
  }
1918
1918
  field() {
1919
- return this.task.name + '()';
1919
+ return this.task.name + '<>';
1920
1920
  }
1921
1921
  constructor(id, task, host, args) {
1922
1922
  super();
@@ -2299,7 +2299,7 @@ var $;
2299
2299
  break reuse;
2300
2300
  return existen;
2301
2301
  }
2302
- const next = new $mol_wire_task(`${host?.[Symbol.toStringTag] ?? host}.${task.name}(#)`, task, host, args);
2302
+ const next = new $mol_wire_task(`${host?.[Symbol.toStringTag] ?? host}.${task.name}<#>`, task, host, args);
2303
2303
  if (existen?.temp) {
2304
2304
  $$.$mol_log3_warn({
2305
2305
  place: '$mol_wire_task',
@@ -2411,7 +2411,7 @@ var $;
2411
2411
  (function ($) {
2412
2412
  class $mol_wire_atom extends $mol_wire_fiber {
2413
2413
  static solo(host, task) {
2414
- const field = task.name + '()';
2414
+ const field = task.name + '<>';
2415
2415
  const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
2416
2416
  if (existen)
2417
2417
  return existen;
@@ -2422,7 +2422,7 @@ var $;
2422
2422
  return fiber;
2423
2423
  }
2424
2424
  static plex(host, task, key) {
2425
- const field = task.name + '()';
2425
+ const field = task.name + '<>';
2426
2426
  let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
2427
2427
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
2428
2428
  const key_str = $mol_key(key);
@@ -2434,7 +2434,7 @@ var $;
2434
2434
  else {
2435
2435
  dict = (host ?? task)[field] = new Map();
2436
2436
  }
2437
- const id = `${prefix}.${task.name}(${key_str.replace(/^"|"$/g, "'")})`;
2437
+ const id = `${prefix}.${task.name}<${key_str.replace(/^"|"$/g, "'")}>`;
2438
2438
  const fiber = new $mol_wire_atom(id, task, host, [key]);
2439
2439
  dict.set(key_str, fiber);
2440
2440
  return fiber;