hyoo_sync_client 0.0.308 → 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/node.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
  }
package/node.test.js CHANGED
@@ -214,18 +214,16 @@ var $;
214
214
  return this.toString();
215
215
  }
216
216
  static toString() {
217
- if (Symbol.toStringTag in this)
218
- return this[Symbol.toStringTag];
219
- return this.name;
217
+ return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
218
+ }
219
+ static toJSON() {
220
+ return this.toString();
220
221
  }
221
222
  destructor() { }
222
223
  static destructor() { }
223
224
  toString() {
224
225
  return this[Symbol.toStringTag] || this.constructor.name + '<>';
225
226
  }
226
- static toJSON() {
227
- return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
228
- }
229
227
  toJSON() {
230
228
  return this.toString();
231
229
  }