Fix documentation
The storeHandler seems to need loadPublic, loadPrivate, storePublic, storePrivate methods but the current documentation only mentions load and store.
This commit is contained in:
parent
a5728c1280
commit
472294ec84
|
@ -32,7 +32,7 @@ import LocalStore from './localstore.js';
|
||||||
* Initialization routine for the keyring. This method reads the
|
* Initialization routine for the keyring. This method reads the
|
||||||
* keyring from HTML5 local storage and initializes this instance.
|
* keyring from HTML5 local storage and initializes this instance.
|
||||||
* @constructor
|
* @constructor
|
||||||
* @param {class} [storeHandler] class implementing load() and store() methods
|
* @param {class} [storeHandler] class implementing loadPublic(), loadPrivate(), storePublic(), and storePrivate() methods
|
||||||
*/
|
*/
|
||||||
export default function Keyring(storeHandler) {
|
export default function Keyring(storeHandler) {
|
||||||
this.storeHandler = storeHandler || new LocalStore();
|
this.storeHandler = storeHandler || new LocalStore();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user