js-moi-bip39
Version:
Bitcoin BIP39 package for deterministic key generation using mnemonic code
31 lines • 1.5 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* This code is based on the bitcoinjs/bip39 by Wei Lu and Danieal Cousens
* Modifications have been made to adapt it to the needs of js-moi-bip39
* including enhancements for browser compatibility and TypeScript conversion.
*
* Original module available at: https://github.com/bitcoinjs/bip39
* Modified version available at: https://github.com/sarvalabs/js-moi-sdk/tree/main/packages/js-moi-bip39
*
* Copyright (c) 2014, Wei Lu <luwei.here@gmail.com> and Daniel Cousens <email@dcousens.com>
* Repository ISC license details can be found at https://github.com/bitcoinjs/bip39/blob/master/LICENSE
*
**/
__exportStar(require("./bip39"), exports);
__exportStar(require("./_wordlists"), exports);
//# sourceMappingURL=index.js.map