mol_wire_lib 1.0.874 → 1.0.875

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
@@ -553,18 +553,16 @@ var $;
553
553
  return this.toString();
554
554
  }
555
555
  static toString() {
556
- if (Symbol.toStringTag in this)
557
- return this[Symbol.toStringTag];
558
- return this.name;
556
+ return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
557
+ }
558
+ static toJSON() {
559
+ return this.toString();
559
560
  }
560
561
  destructor() { }
561
562
  static destructor() { }
562
563
  toString() {
563
564
  return this[Symbol.toStringTag] || this.constructor.name + '<>';
564
565
  }
565
- static toJSON() {
566
- return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
567
- }
568
566
  toJSON() {
569
567
  return this.toString();
570
568
  }