feat: show how to use mnemonic and storage#7
Conversation
|
Also, {
// ...
"browser": {
"./lib/storage.js": "./lib/browser-storage.js"
},
// ...
}This would use |
|
The storage is currently under refactoring and the way we do it might become obsolete. |
|
Better maybe obsolete and working now than not working now and possibly just fine. In the browser you're stuck with a key/value store ( Might as well make the API something that either works relatively well with a key/value store, or that easily wraps a key/value store. If the former, nothing breaks. If the later, things are fixed with a one line change: |
A better example of how to use storage and mnemonic that puts storage and mnemonic code in
./lib/as to make the example completely useful, but still simple at-a-glance.Would replace #4