Updated dist files.

This commit is contained in:
Richard Moore 2019-06-12 09:38:15 -04:00
parent 746d255b74
commit 37446bd80d
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295
23 changed files with 81 additions and 98 deletions

@ -1 +1 @@
export declare const version = "5.0.0-beta.140";
export declare const version = "5.0.0-beta.141";

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.140";
exports.version = "5.0.0-beta.141";

@ -13849,7 +13849,7 @@ exports.info = info;
},{}],68:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.140";
exports.version = "5.0.0-beta.141";
},{}],69:[function(require,module,exports){
"use strict";
@ -13878,19 +13878,19 @@ var errors = __importStar(require("@ethersproject/errors"));
exports.errors = errors;
var providers = __importStar(require("@ethersproject/providers"));
exports.providers = providers;
var wordlists = __importStar(require("@ethersproject/wordlists"));
exports.wordlists = wordlists;
var wordlists_1 = require("@ethersproject/wordlists");
exports.Wordlist = wordlists_1.Wordlist;
exports.wordlists = wordlists_1.wordlists;
var utils = __importStar(require("./utils"));
exports.utils = utils;
var _version_1 = require("./_version");
exports.version = _version_1.version;
var wordlist_1 = require("@ethersproject/wordlists/wordlist");
exports.Wordlist = wordlist_1.Wordlist;
////////////////////////
// Compile-Time Constants
// This is empty in node, and used by browserify to inject extra goodies
var platform_1 = require("./platform");
exports.platform = platform_1.platform;
// This is generated by "npm run dist"
var _version_1 = require("./_version");
exports.version = _version_1.version;
////////////////////////
// Helper Functions
function getDefaultProvider(network, options) {
@ -13908,7 +13908,7 @@ function getDefaultProvider(network, options) {
}
exports.getDefaultProvider = getDefaultProvider;
},{"./_version":68,"./platform":71,"./utils":72,"@ethersproject/abstract-signer":57,"@ethersproject/bignumber":63,"@ethersproject/constants":65,"@ethersproject/contracts":66,"@ethersproject/errors":67,"@ethersproject/providers":90,"@ethersproject/wallet":105,"@ethersproject/wordlists":107,"@ethersproject/wordlists/wordlist":109}],70:[function(require,module,exports){
},{"./_version":68,"./platform":71,"./utils":72,"@ethersproject/abstract-signer":57,"@ethersproject/bignumber":63,"@ethersproject/constants":65,"@ethersproject/contracts":66,"@ethersproject/errors":67,"@ethersproject/providers":90,"@ethersproject/wallet":105,"@ethersproject/wordlists":107}],70:[function(require,module,exports){
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
@ -13927,9 +13927,8 @@ __export(require("./ethers"));
},{"./ethers":69}],71:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.platform = "node";
exports.platform = "browser"
},{}],72:[function(require,module,exports){
"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
@ -14106,11 +14105,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
// See: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki
// See: https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki
// The English language word list.
// For additional word lists, please see @ethersproject//wordlists
var lang_en_1 = require("@ethersproject/wordlists/lang-en");
var basex_1 = require("@ethersproject/basex");
var errors = __importStar(require("@ethersproject/errors"));
var bytes_1 = require("@ethersproject/bytes");
@ -14121,6 +14115,7 @@ var properties_1 = require("@ethersproject/properties");
var signing_key_1 = require("@ethersproject/signing-key");
var sha2_1 = require("@ethersproject/sha2");
var transactions_1 = require("@ethersproject/transactions");
var wordlists_1 = require("@ethersproject/wordlists");
var N = bignumber_1.BigNumber.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141");
// "Bitcoin seed"
var MasterSecret = strings_1.toUtf8Bytes("Bitcoin seed");
@ -14335,7 +14330,7 @@ function mnemonicToSeed(mnemonic, password) {
exports.mnemonicToSeed = mnemonicToSeed;
function mnemonicToEntropy(mnemonic, wordlist) {
if (!wordlist) {
wordlist = lang_en_1.langEn;
wordlist = wordlists_1.wordlists["en"];
}
errors.checkNormalize();
var words = wordlist.split(mnemonic);
@ -14398,7 +14393,7 @@ function entropyToMnemonic(entropy, wordlist) {
indices[indices.length - 1] <<= checksumBits;
indices[indices.length - 1] |= (checksum >> (8 - checksumBits));
if (!wordlist) {
wordlist = lang_en_1.langEn;
wordlist = wordlists_1.wordlists["en"];
}
return wordlist.join(indices.map(function (index) { return wordlist.getWord(index); }));
}
@ -14413,7 +14408,7 @@ function isValidMnemonic(mnemonic, wordlist) {
}
exports.isValidMnemonic = isValidMnemonic;
},{"@ethersproject/basex":60,"@ethersproject/bignumber":63,"@ethersproject/bytes":64,"@ethersproject/errors":67,"@ethersproject/pbkdf2":82,"@ethersproject/properties":83,"@ethersproject/sha2":99,"@ethersproject/signing-key":100,"@ethersproject/strings":102,"@ethersproject/transactions":103,"@ethersproject/wordlists/lang-en":108}],75:[function(require,module,exports){
},{"@ethersproject/basex":60,"@ethersproject/bignumber":63,"@ethersproject/bytes":64,"@ethersproject/errors":67,"@ethersproject/pbkdf2":82,"@ethersproject/properties":83,"@ethersproject/sha2":99,"@ethersproject/signing-key":100,"@ethersproject/strings":102,"@ethersproject/transactions":103,"@ethersproject/wordlists":107}],75:[function(require,module,exports){
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
@ -19293,11 +19288,15 @@ exports.poll = poll;
},{"@ethersproject/base64":59,"@ethersproject/errors":67,"@ethersproject/properties":83,"@ethersproject/strings":102,"cross-fetch":5}],107:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// Wordlists
// See: https://github.com/bitcoin/bips/blob/master/bip-0039/bip-0039-wordlists.md
var wordlist_1 = require("./wordlist");
exports.Wordlist = wordlist_1.Wordlist;
var lang_en_1 = require("./lang-en");
var en = lang_en_1.langEn;
exports.en = en;
var wordlists = { en: lang_en_1.langEn };
exports.wordlists = wordlists;
},{"./lang-en":108}],108:[function(require,module,exports){
},{"./lang-en":108,"./wordlist":109}],108:[function(require,module,exports){
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {

File diff suppressed because one or more lines are too long

@ -5,14 +5,13 @@ import { Wallet } from "@ethersproject/wallet";
import * as constants from "@ethersproject/constants";
import * as errors from "@ethersproject/errors";
import * as providers from "@ethersproject/providers";
import * as wordlists from "@ethersproject/wordlists";
import { Wordlist, wordlists } from "@ethersproject/wordlists";
import * as utils from "./utils";
import { version } from "./_version";
import { BigNumberish } from "@ethersproject/bignumber";
import { Bytes, BytesLike, Signature } from "@ethersproject/bytes";
import { Transaction, UnsignedTransaction } from "@ethersproject/transactions";
import { Wordlist } from "@ethersproject/wordlists/wordlist";
import { platform } from "./platform";
import { version } from "./_version";
import { ContractFunction, ContractReceipt, ContractTransaction, Event, EventFilter, Overrides, PayableOverrides, CallOverrides, ContractInterface } from "@ethersproject/contracts";
declare function getDefaultProvider(network?: providers.Network | string, options?: any): providers.BaseProvider;
export { version, Signer, Wallet, VoidSigner, getDefaultProvider, providers, Contract, ContractFactory, BigNumber, FixedNumber, constants, errors, utils, wordlists, platform, ContractFunction, ContractReceipt, ContractTransaction, Event, EventFilter, Overrides, PayableOverrides, CallOverrides, ContractInterface, BigNumberish, Bytes, BytesLike, Signature, Transaction, UnsignedTransaction, Wordlist };

@ -24,19 +24,19 @@ var errors = __importStar(require("@ethersproject/errors"));
exports.errors = errors;
var providers = __importStar(require("@ethersproject/providers"));
exports.providers = providers;
var wordlists = __importStar(require("@ethersproject/wordlists"));
exports.wordlists = wordlists;
var wordlists_1 = require("@ethersproject/wordlists");
exports.Wordlist = wordlists_1.Wordlist;
exports.wordlists = wordlists_1.wordlists;
var utils = __importStar(require("./utils"));
exports.utils = utils;
var _version_1 = require("./_version");
exports.version = _version_1.version;
var wordlist_1 = require("@ethersproject/wordlists/wordlist");
exports.Wordlist = wordlist_1.Wordlist;
////////////////////////
// Compile-Time Constants
// This is empty in node, and used by browserify to inject extra goodies
var platform_1 = require("./platform");
exports.platform = platform_1.platform;
// This is generated by "npm run dist"
var _version_1 = require("./_version");
exports.version = _version_1.version;
////////////////////////
// Helper Functions
function getDefaultProvider(network, options) {

@ -1,6 +1,6 @@
{
"name": "ethers",
"version": "5.0.0-beta.140",
"version": "5.0.0-beta.141",
"description": "Error utility functions for ethers.",
"main": "index.js",
"scripts": {
@ -56,5 +56,5 @@
"publishConfig": {
"tag": "next"
},
"tarballHash": "0x98df4ebfc60a1408b513f53a3ef922f5568b9054a67fbd73d2b8118aafedec5d"
"tarballHash": "0xa0d7fdfd65da93078a44f91f55feb051f7329880f184f8ac9617d0b75c3d8dc8"
}

@ -40,8 +40,7 @@ let show = { transformed: true, preserved: true };
// We only use the version from this JSON package
"elliptic/package.json" : ellipticPackage,
// Remove RIPEMD160 and unneeded hashing algorithms
//"hash.js/lib/hash/ripemd.js": "module.exports = {ripemd160: null}",
// Remove unneeded hashing algorithms
"hash.js/lib/hash/sha/1.js": empty,
"hash.js/lib/hash/sha/224.js": empty,
"hash.js/lib/hash/sha/384.js": empty,
@ -49,19 +48,11 @@ let show = { transformed: true, preserved: true };
// Swap out borland for the random bytes we already have
"brorand/index.js": brorand,
// "xmlhttprequest/lib/XMLHttpRequest.js": readShim("xmlhttprequest"),
// Used by sha3 if it exists; (so make it no exist)
// Used by sha3 if it exists; (so make it not exist)
"process/browser.js": process,
"timers-browserify/main.js": timers,
// "ethers.js/utils/base64.js": readShim("base64"),
// "ethers.js/providers/ipc-provider.js": readShim("empty"),
// "ethers.js/utils/hmac.js": readShim("hmac"),
// "ethers.js/utils/pbkdf2.js": readShim("pbkdf2"),
// "ethers.js/utils/random-bytes.js": readShim("random-bytes"),
// "ethers.js/utils/shims.js": readShim("shims"),
// "ethers.js/wordlists/index.js": readShim("wordlists"),
"ethers/platform.js": '"use strict";\n\nexports.platform = "browser\"',
};
function padding(length) {

@ -1 +1 @@
export const version = "5.0.0-beta.140";
export const version = "5.0.0-beta.141";

@ -1 +1 @@
export declare const version = "5.0.0-beta.125";
export declare const version = "5.0.0-beta.126";

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.125";
exports.version = "5.0.0-beta.126";

@ -1,6 +1,6 @@
import { ExternallyOwnedAccount } from "@ethersproject/abstract-signer";
import { BytesLike } from "@ethersproject/bytes";
import { Wordlist } from "@ethersproject/wordlists/wordlist";
import { Wordlist } from "@ethersproject/wordlists";
export declare const defaultPath = "m/44'/60'/0'/0/0";
export declare class HDNode implements ExternallyOwnedAccount {
readonly privateKey: string;

@ -7,11 +7,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
// See: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki
// See: https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki
// The English language word list.
// For additional word lists, please see @ethersproject//wordlists
var lang_en_1 = require("@ethersproject/wordlists/lang-en");
var basex_1 = require("@ethersproject/basex");
var errors = __importStar(require("@ethersproject/errors"));
var bytes_1 = require("@ethersproject/bytes");
@ -22,6 +17,7 @@ var properties_1 = require("@ethersproject/properties");
var signing_key_1 = require("@ethersproject/signing-key");
var sha2_1 = require("@ethersproject/sha2");
var transactions_1 = require("@ethersproject/transactions");
var wordlists_1 = require("@ethersproject/wordlists");
var N = bignumber_1.BigNumber.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141");
// "Bitcoin seed"
var MasterSecret = strings_1.toUtf8Bytes("Bitcoin seed");
@ -236,7 +232,7 @@ function mnemonicToSeed(mnemonic, password) {
exports.mnemonicToSeed = mnemonicToSeed;
function mnemonicToEntropy(mnemonic, wordlist) {
if (!wordlist) {
wordlist = lang_en_1.langEn;
wordlist = wordlists_1.wordlists["en"];
}
errors.checkNormalize();
var words = wordlist.split(mnemonic);
@ -299,7 +295,7 @@ function entropyToMnemonic(entropy, wordlist) {
indices[indices.length - 1] <<= checksumBits;
indices[indices.length - 1] |= (checksum >> (8 - checksumBits));
if (!wordlist) {
wordlist = lang_en_1.langEn;
wordlist = wordlists_1.wordlists["en"];
}
return wordlist.join(indices.map(function (index) { return wordlist.getWord(index); }));
}

@ -1,6 +1,6 @@
{
"name": "@ethersproject/hdnode",
"version": "5.0.0-beta.125",
"version": "5.0.0-beta.126",
"description": "BIP32 Hierarchal Deterministic Node operations.",
"main": "index.js",
"scripts": {
@ -29,5 +29,5 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0xa4ea4ba02e4291ed5731089d4cfddf37e6567ea5195342fc884a5cb39083e1b7"
"tarballHash": "0x2a7bd80760329de5b0059d3858f9c54af3836d6727f0f9ac40a030a3b19023fe"
}

@ -1 +1 @@
export const version = "5.0.0-beta.125";
export const version = "5.0.0-beta.126";

@ -1 +1 @@
export declare const version = "5.0.0-beta.124";
export declare const version = "5.0.0-beta.125";

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.124";
exports.version = "5.0.0-beta.125";

@ -1,3 +1,5 @@
import { Wordlist } from "./wordlist";
declare const en: Wordlist;
export { en };
declare const wordlists: {
en: Wordlist;
};
export { Wordlist, wordlists };

@ -1,5 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// Wordlists
// See: https://github.com/bitcoin/bips/blob/master/bip-0039/bip-0039-wordlists.md
var wordlist_1 = require("./wordlist");
exports.Wordlist = wordlist_1.Wordlist;
var lang_en_1 = require("./lang-en");
var en = lang_en_1.langEn;
exports.en = en;
var wordlists = { en: lang_en_1.langEn };
exports.wordlists = wordlists;

@ -1,11 +1,5 @@
import { Wordlist } from "./wordlist";
declare const en: Wordlist;
declare const es: Wordlist;
declare const fr: Wordlist;
declare const it: Wordlist;
declare const ja: Wordlist;
declare const ko: Wordlist;
declare const zh: Wordlist;
declare const zh_cn: Wordlist;
declare const zh_tw: Wordlist;
export { en, es, fr, it, ja, ko, zh, zh_cn, zh_tw };
declare const wordlists: {
[locale: string]: Wordlist;
};
export { Wordlist, wordlists };

@ -1,5 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// Wordlists
// See: https://github.com/bitcoin/bips/blob/master/bip-0039/bip-0039-wordlists.md
var wordlist_1 = require("./wordlist");
exports.Wordlist = wordlist_1.Wordlist;
var lang_en_1 = require("./lang-en");
var lang_es_1 = require("./lang-es");
var lang_fr_1 = require("./lang-fr");
@ -7,21 +11,15 @@ var lang_ja_1 = require("./lang-ja");
var lang_ko_1 = require("./lang-ko");
var lang_it_1 = require("./lang-it");
var lang_zh_1 = require("./lang-zh");
var en = lang_en_1.langEn;
exports.en = en;
var es = lang_es_1.langEs;
exports.es = es;
var fr = lang_fr_1.langFr;
exports.fr = fr;
var it = lang_it_1.langIt;
exports.it = it;
var ja = lang_ja_1.langJa;
exports.ja = ja;
var ko = lang_ko_1.langKo;
exports.ko = ko;
var zh = lang_zh_1.langZhCn;
exports.zh = zh;
var zh_cn = lang_zh_1.langZhCn;
exports.zh_cn = zh_cn;
var zh_tw = lang_zh_1.langZhTw;
exports.zh_tw = zh_tw;
var wordlists = {
en: lang_en_1.langEn,
es: lang_es_1.langEs,
fr: lang_fr_1.langFr,
it: lang_it_1.langIt,
ja: lang_ja_1.langJa,
ko: lang_ko_1.langKo,
zh: lang_zh_1.langZhCn,
zh_cn: lang_zh_1.langZhCn,
zh_tw: lang_zh_1.langZhTw
};
exports.wordlists = wordlists;

@ -1,6 +1,6 @@
{
"name": "@ethersproject/wordlists",
"version": "5.0.0-beta.124",
"version": "5.0.0-beta.125",
"description": "Word lists for BIP39 wallets.",
"main": "index.js",
"browser": "browser.js",
@ -23,5 +23,5 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0x80da91bc1bfb05fac487a553d48b38f48cdebb623472213008853834113c9435"
"tarballHash": "0xfaeb44a3c7655237ac0e83b267bd83eca797aebca09f2b8cee6f7f9c8acec878"
}

@ -1 +1 @@
export const version = "5.0.0-beta.124";
export const version = "5.0.0-beta.125";