Open harvmaster opened 1 month ago
Latest commit: 518d9a31f82cd2c2181f738551e81b8de765320b
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
On the framework side, the assert { type: 'json' }
issue on V2.1 impacts Quasar (which uses Vite and rollup for its build command).
The JSON mnemonic word lists in LibAuth V2.1 use
import someWordList from wordListFile assert { type: 'json' }
which was an experimental JS feature. Recent versions of Rollup (which Vite uses) will no longer build with this syntax (causesunexpected token
error).This PR just updates the mnemonic word lists to the word list files used in V3.0.0 and updates the imports in
bip39.ts
accordingly.This creates a very large diff (for each of the word files). It might just be easier to run the below commands to copy over on top of what I have in this PR to ensure no changes to the word lists relative to V3.0.0.