From 472294ec84787fda0a5dcb41655d71109c8af2d7 Mon Sep 17 00:00:00 2001 From: Abhishek Hingnikar Date: Sat, 8 Apr 2017 16:12:47 +0530 Subject: [PATCH] Fix documentation The storeHandler seems to need loadPublic, loadPrivate, storePublic, storePrivate methods but the current documentation only mentions load and store. --- src/keyring/keyring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyring/keyring.js b/src/keyring/keyring.js index 131bb334..97e8975f 100644 --- a/src/keyring/keyring.js +++ b/src/keyring/keyring.js @@ -32,7 +32,7 @@ import LocalStore from './localstore.js'; * Initialization routine for the keyring. This method reads the * keyring from HTML5 local storage and initializes this instance. * @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) { this.storeHandler = storeHandler || new LocalStore();