ilap / slip39-js

The javascript implementation of the SLIP39 for Shamir's Secret-Sharing for Mnemonic Codes.
MIT License
69 stars 26 forks source link

Added type checks for decodeMnemonic and decodeMnemonics #6

Closed Auronmatrix closed 4 years ago

Auronmatrix commented 4 years ago

Added simple type checks for the decodeMnemonic(s) methods to show friendlier errors when the wrong type is passed.

Also fixed one lint error in slip39_helper.js