Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make bip39 optional #517

Merged
merged 3 commits into from
Oct 21, 2024
Merged

Make bip39 optional #517

merged 3 commits into from
Oct 21, 2024

Conversation

danielailie
Copy link
Contributor

No description provided.

@danielailie danielailie self-assigned this Oct 21, 2024
popenta
popenta previously approved these changes Oct 21, 2024
andreibancioiu
andreibancioiu previously approved these changes Oct 21, 2024
@@ -47,7 +46,8 @@
},
"optionalDependencies": {
"@multiversx/sdk-bls-wasm": "0.3.5",
"axios": "^1.7.4"
"axios": "^1.7.4",
"bip39": "3.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, fixed version.

@@ -14,36 +25,41 @@ export class Mnemonic {
}

static generate(): Mnemonic {
const text = generateMnemonic(MNEMONIC_STRENGTH);
loadBip39(); // Load bip39 when needed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment is somehow redundant.

@danielailie danielailie dismissed stale reviews from andreibancioiu and popenta via f920ae6 October 21, 2024 12:30
@danielailie danielailie merged commit 778ae19 into feat/unify Oct 21, 2024
4 checks passed
@danielailie danielailie deleted the MakeBip39Optional branch October 21, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants