Comparing version
@@ -0,4 +1,8 @@ | ||
## 2.1.15 (2020-04-15) | ||
- exported the BaseX class | ||
## 2.1.14 (2020-04-06) | ||
- expose BaseX to typescript | ||
- exposed BaseX encoders to typescript | ||
@@ -5,0 +9,0 @@ ## 2.1.13 (2020-02-24) |
// Generated by IcedCoffeeScript 108.0.11 | ||
(function() { | ||
var BaseX, BigInteger, base32, base58, buffer_to_ui8a, nbi, nbs, nbv, _ref; | ||
var BaseX, BigInteger, buffer_to_ui8a, nbi, nbs, nbv, _ref; | ||
@@ -11,3 +11,3 @@ _ref = require('bn'), nbv = _ref.nbv, nbi = _ref.nbi, BigInteger = _ref.BigInteger; | ||
BaseX = (function() { | ||
exports.BaseX = BaseX = (function() { | ||
function BaseX(alphabet) { | ||
@@ -89,8 +89,8 @@ var a, i, _i, _len, _ref1; | ||
exports.base58 = base58 = new BaseX('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'); | ||
exports.base58 = new BaseX('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'); | ||
exports.base32 = base32 = new BaseX('abcdefghijkmnpqrstuvwxyz23456789'); | ||
exports.base32 = new BaseX('abcdefghijkmnpqrstuvwxyz23456789'); | ||
exports.base91 = new BaseX("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`~!@#$%^&*()-_=+{}[]|;:,<>./?"); | ||
exports.base91 = new BaseX('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`~!@#$%^&*()-_=+{}[]|;:,<>./?'); | ||
}).call(this); |
@@ -109,3 +109,3 @@ // Generated by IcedCoffeeScript 108.0.11 | ||
exports.importKey = function(s, opts) { | ||
return new Promise(function(resolve, reject) { | ||
return new Promise((function(resolve, reject) { | ||
return import_key_cb(s, opts, function(err, ret) { | ||
@@ -118,5 +118,5 @@ if (err != null) { | ||
}); | ||
}); | ||
})); | ||
}; | ||
}).call(this); |
@@ -10,3 +10,3 @@ { | ||
"author": "Maxwell Krohn", | ||
"version": "2.1.14", | ||
"version": "2.1.15", | ||
"license": "BSD-3-Clause", | ||
@@ -50,2 +50,2 @@ "types": "./index.d.ts", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1271755
0