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:
Abhishek Hingnikar 2017-04-08 16:12:47 +05:30 committed by GitHub
parent a5728c1280
commit 472294ec84

View File

@ -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();