@rabby-wallet/eth-hd-keyring 4.3.0-beta.2 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -108,6 +108,7 @@ declare class HdKeyring extends SimpleKeyring {
108
108
  slip39MnemonicToSeedSync(mnemonic: string, passphrase?: string): Uint8Array;
109
109
  static checkMnemonicIsSlip39(mnemonic: string): boolean;
110
110
  static slip39DecodeMnemonics(shares: string[]): any;
111
+ static slip39DecodeMnemonic(share: string): any;
111
112
  static validateMnemonic(mnemonic: string): boolean;
112
113
  }
113
114
 
package/dist/index.js CHANGED
@@ -2690,6 +2690,9 @@ var _HdKeyring = class _HdKeyring extends import_eth_simple_keyring.default {
2690
2690
  static slip39DecodeMnemonics(shares) {
2691
2691
  return import_slip39.default.decodeMnemonics(shares);
2692
2692
  }
2693
+ static slip39DecodeMnemonic(share) {
2694
+ return import_slip39.default.decodeMnemonic(share);
2695
+ }
2693
2696
  static validateMnemonic(mnemonic) {
2694
2697
  if (this.checkMnemonicIsSlip39(mnemonic)) {
2695
2698
  return true;
package/index.ts CHANGED
@@ -424,6 +424,10 @@ class HdKeyring extends SimpleKeyring {
424
424
  return slip39.decodeMnemonics(shares);
425
425
  }
426
426
 
427
+ static slip39DecodeMnemonic(share: string) {
428
+ return slip39.decodeMnemonic(share);
429
+ }
430
+
427
431
  static validateMnemonic(mnemonic: string) {
428
432
  if (this.checkMnemonicIsSlip39(mnemonic)) {
429
433
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/eth-hd-keyring",
3
- "version": "4.3.0-beta.2",
3
+ "version": "4.3.0",
4
4
  "description": "A simple standard interface for a seed phrase generated set of Ethereum accounts.",
5
5
  "keywords": [
6
6
  "ethereum",