mol_wire_lib 1.0.823 → 1.0.825

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
@@ -437,7 +437,7 @@ var $;
437
437
  try {
438
438
  if (!having)
439
439
  return false;
440
- if (typeof having !== 'object')
440
+ if (typeof having !== 'object' && typeof having !== 'function')
441
441
  return false;
442
442
  if (having instanceof $mol_delegate)
443
443
  return false;
@@ -563,11 +563,12 @@ var $;
563
563
  return this.name;
564
564
  }
565
565
  destructor() { }
566
+ static destructor() { }
566
567
  toString() {
567
568
  return this[Symbol.toStringTag] || this.constructor.name + '()';
568
569
  }
569
570
  static toJSON() {
570
- return this.$.$mol_func_name(this);
571
+ return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
571
572
  }
572
573
  toJSON() {
573
574
  return this.toString();