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/node.d.ts +2 -1
- package/node.deps.json +1 -1
- package/node.js +3 -2
- package/node.js.map +1 -1
- package/node.mjs +3 -2
- package/node.test.js +3 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +3 -2
- package/web.test.js.map +1 -1
package/package.json
CHANGED
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();
|