mol_crypto_lib 0.0.939 → 0.0.941

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_crypto_lib",
3
- "version": "0.0.939",
3
+ "version": "0.0.941",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.test.js CHANGED
@@ -1510,7 +1510,7 @@ var $;
1510
1510
  try {
1511
1511
  if (!having)
1512
1512
  return false;
1513
- if (typeof having !== 'object')
1513
+ if (typeof having !== 'object' && typeof having !== 'function')
1514
1514
  return false;
1515
1515
  if (having instanceof $mol_delegate)
1516
1516
  return false;
@@ -1597,11 +1597,12 @@ var $;
1597
1597
  return this.name;
1598
1598
  }
1599
1599
  destructor() { }
1600
+ static destructor() { }
1600
1601
  toString() {
1601
1602
  return this[Symbol.toStringTag] || this.constructor.name + '()';
1602
1603
  }
1603
1604
  static toJSON() {
1604
- return this.$.$mol_func_name(this);
1605
+ return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
1605
1606
  }
1606
1607
  toJSON() {
1607
1608
  return this.toString();