From f23217870cd32157d6a43ae037d3ab8b0b5980c5 Mon Sep 17 00:00:00 2001 From: Jean Regisser Date: Mon, 26 Aug 2024 14:50:19 +0200 Subject: [PATCH 1/3] feat: export Portuguese wordlist --- site/pages/docs/accounts/local/mnemonicToAccount.md | 1 + src/accounts/index.test.ts | 1 + src/accounts/index.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/site/pages/docs/accounts/local/mnemonicToAccount.md b/site/pages/docs/accounts/local/mnemonicToAccount.md index 5e4fd1edb2..81d3b5e826 100644 --- a/site/pages/docs/accounts/local/mnemonicToAccount.md +++ b/site/pages/docs/accounts/local/mnemonicToAccount.md @@ -56,6 +56,7 @@ Available wordlists: - `italian` - `japanese` - `korean` +- `portuguese` - `simplifiedChinese` - `spanish` - `traditionalChinese` diff --git a/src/accounts/index.test.ts b/src/accounts/index.test.ts index 92fd6db4be..bb3be338d6 100644 --- a/src/accounts/index.test.ts +++ b/src/accounts/index.test.ts @@ -12,6 +12,7 @@ test('exports utils', () => { "italian", "japanese", "korean", + "portuguese", "simplifiedChinese", "spanish", "traditionalChinese", diff --git a/src/accounts/index.ts b/src/accounts/index.ts index 9f58cc626a..8b1a533754 100644 --- a/src/accounts/index.ts +++ b/src/accounts/index.ts @@ -8,6 +8,7 @@ export { wordlist as french } from '@scure/bip39/wordlists/french' export { wordlist as italian } from '@scure/bip39/wordlists/italian' export { wordlist as japanese } from '@scure/bip39/wordlists/japanese' export { wordlist as korean } from '@scure/bip39/wordlists/korean' +export { wordlist as portuguese } from '@scure/bip39/wordlists/portuguese' export { wordlist as simplifiedChinese } from '@scure/bip39/wordlists/simplified-chinese' export { wordlist as spanish } from '@scure/bip39/wordlists/spanish' export { wordlist as traditionalChinese } from '@scure/bip39/wordlists/traditional-chinese' From 800982ff47f1a212e7a0c2807dcbbc9275298e1a Mon Sep 17 00:00:00 2001 From: Jean Regisser Date: Mon, 26 Aug 2024 14:59:26 +0200 Subject: [PATCH 2/3] Add changeset --- .changeset/serious-rockets-explode.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/serious-rockets-explode.md diff --git a/.changeset/serious-rockets-explode.md b/.changeset/serious-rockets-explode.md new file mode 100644 index 0000000000..4227d5fb5c --- /dev/null +++ b/.changeset/serious-rockets-explode.md @@ -0,0 +1,5 @@ +--- +"viem": minor +--- + +Export Portuguese wordlist From e6ca1ff7b01cddbf9df2cc736d3d9b1e2a0cddbd Mon Sep 17 00:00:00 2001 From: jxom Date: Tue, 27 Aug 2024 11:03:46 +1000 Subject: [PATCH 3/3] Update serious-rockets-explode.md --- .changeset/serious-rockets-explode.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.changeset/serious-rockets-explode.md b/.changeset/serious-rockets-explode.md index 4227d5fb5c..0afab64773 100644 --- a/.changeset/serious-rockets-explode.md +++ b/.changeset/serious-rockets-explode.md @@ -1,5 +1,5 @@ --- -"viem": minor +"viem": patch --- -Export Portuguese wordlist +Exported `portuguese` wordlist.