Updated dist files.

This commit is contained in:
Richard Moore 2018-10-03 22:52:55 -04:00
parent 99fed75202
commit cc5b157231
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295
8 changed files with 17 additions and 21 deletions

4
dist/ethers.js vendored

@ -718,6 +718,7 @@ exports.ContractFactory = ContractFactory;
},{"./abstract-signer":2,"./constants":3,"./errors":5,"./providers/abstract-provider":49,"./utils/abi-coder":58,"./utils/address":59,"./utils/bignumber":61,"./utils/bytes":62,"./utils/interface":67,"./utils/properties":72}],5:[function(require,module,exports){
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
var _version_1 = require("./_version");
// Unknown Error
exports.UNKNOWN_ERROR = 'UNKNOWN_ERROR';
// Not implemented
@ -784,6 +785,7 @@ function throwError(message, code, params) {
messageDetails.push(key + '=' + JSON.stringify(params[key].toString()));
}
});
messageDetails.push("version=" + _version_1.version);
var reason = message;
if (messageDetails.length) {
message += ' (' + messageDetails.join(', ') + ')';
@ -825,7 +827,7 @@ function setCensorship(censorship, permanent) {
}
exports.setCensorship = setCensorship;
},{}],6:[function(require,module,exports){
},{"./_version":1}],6:[function(require,module,exports){
'use strict';
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;

2
dist/ethers.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/wordlist-es.js vendored

File diff suppressed because one or more lines are too long

2
dist/wordlist-fr.js vendored

File diff suppressed because one or more lines are too long

@ -1,5 +1,6 @@
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
var _version_1 = require("./_version");
// Unknown Error
exports.UNKNOWN_ERROR = 'UNKNOWN_ERROR';
// Not implemented
@ -66,6 +67,7 @@ function throwError(message, code, params) {
messageDetails.push(key + '=' + JSON.stringify(params[key].toString()));
}
});
messageDetails.push("version=" + _version_1.version);
var reason = message;
if (messageDetails.length) {
message += ' (' + messageDetails.join(', ') + ')';

@ -16,17 +16,13 @@ var words = "A/bacoAbdomenAbejaAbiertoAbogadoAbonoAbortoAbrazoAbrirAbueloAbusoAc
var lookup = {};
var wordlist = null;
function dropDiacritic(word) {
var output = [];
utf8_1.toUtf8Bytes(word.normalize('NFD').toLowerCase()).forEach(function (c) {
if ((c >= 65 && c <= 90) || (c >= 97 && c <= 123)) {
output.push(c);
}
});
return utf8_1.toUtf8String(output);
return utf8_1.toUtf8String(Array.prototype.filter.call(utf8_1.toUtf8Bytes(word.normalize('NFD').toLowerCase()), function (c) {
return ((c >= 65 && c <= 90) || (c >= 97 && c <= 123));
}));
}
function expand(word) {
var output = [];
utf8_1.toUtf8Bytes(word).forEach(function (c) {
Array.prototype.forEach.call(utf8_1.toUtf8Bytes(word), function (c) {
// Acute accent
if (c === 47) {
output.push(204);

@ -16,17 +16,13 @@ var words = "AbaisserAbandonAbdiquerAbeilleAbolirAborderAboutirAboyerAbrasifAbre
var wordlist = null;
var lookup = {};
function dropDiacritic(word) {
var output = [];
utf8_1.toUtf8Bytes(word.normalize('NFD').toLowerCase()).forEach(function (c) {
if ((c >= 65 && c <= 90) || (c >= 97 && c <= 123)) {
output.push(c);
}
});
return utf8_1.toUtf8String(output);
return utf8_1.toUtf8String(Array.prototype.filter.call(utf8_1.toUtf8Bytes(word.normalize('NFD').toLowerCase()), function (c) {
return ((c >= 65 && c <= 90) || (c >= 97 && c <= 123));
}));
}
function expand(word) {
var output = [];
utf8_1.toUtf8Bytes(word).forEach(function (c) {
Array.prototype.forEach.call(utf8_1.toUtf8Bytes(word), function (c) {
// Acute accent
if (c === 47) {
output.push(204);