Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fuel-ts/mnemonic

Package Overview
Dependencies
Maintainers
4
Versions
1217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fuel-ts/mnemonic - npm Package Compare versions

Comparing version 0.0.0-master-ef9311d to 0.0.0-master-f320686

8

dist/mnemonic.js

@@ -8,3 +8,3 @@ "use strict";

const sha2_1 = require("@ethersproject/sha2");
const english_1 = require("@fuel-ts/wordlists/words/english");
const wordlists_1 = require("@fuel-ts/wordlists");
const utils_1 = require("./utils");

@@ -40,3 +40,3 @@ //

*/
constructor(wordlist = english_1.english) {
constructor(wordlist = wordlists_1.english) {
this.wordlist = wordlist;

@@ -67,3 +67,3 @@ assertWordList(this.wordlist);

*/
static mnemonicToEntropy(phrase, wordlist = english_1.english) {
static mnemonicToEntropy(phrase, wordlist = wordlists_1.english) {
const words = (0, utils_1.getWords)(phrase);

@@ -78,3 +78,3 @@ assertMnemonic(words);

*/
static entropyToMnemonic(entropy, wordlist = english_1.english) {
static entropyToMnemonic(entropy, wordlist = wordlists_1.english) {
const entropyBytes = (0, bytes_1.arrayify)(entropy, {

@@ -81,0 +81,0 @@ allowMissingPrefix: true,

{
"name": "@fuel-ts/mnemonic",
"version": "0.0.0-master-ef9311d",
"version": "0.0.0-master-f320686",
"description": "Mnemonic implementation from BIP39",

@@ -18,5 +18,5 @@ "author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",

"@ethersproject/sha2": "^5.5.0",
"@fuel-ts/wordlists": "0.0.0-master-ef9311d"
"@fuel-ts/wordlists": "0.0.0-master-f320686"
},
"gitHead": "5176d1c6ff2d078888667a2f600b17f853bb16bf"
"gitHead": "7bf83f8afa16767e0db22a08ac95d72dc7418dd1"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc