hyoo_sync_client 0.0.307 → 0.0.309

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
@@ -222,18 +222,16 @@ var $;
222
222
  return this.toString();
223
223
  }
224
224
  static toString() {
225
- if (Symbol.toStringTag in this)
226
- return this[Symbol.toStringTag];
227
- return this.name;
225
+ return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
226
+ }
227
+ static toJSON() {
228
+ return this.toString();
228
229
  }
229
230
  destructor() { }
230
231
  static destructor() { }
231
232
  toString() {
232
233
  return this[Symbol.toStringTag] || this.constructor.name + '<>';
233
234
  }
234
- static toJSON() {
235
- return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
236
- }
237
235
  toJSON() {
238
236
  return this.toString();
239
237
  }