Signer plugin attachment

This commit is contained in:
Jaco Greeff
2017-09-04 16:17:39 +02:00
parent 7818ed98c7
commit a5cc14ce8c
6 changed files with 80 additions and 1 deletions

View File

@@ -15,6 +15,7 @@
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
import InterceptorStore from '../DappRequests/store';
import SignerPluginStore from '../Signer/pluginStore';
import StatusPluginStore from '../Status/pluginStore';
function injectInterceptorPlugin (middleware) {
@@ -24,6 +25,9 @@ function injectInterceptorPlugin (middleware) {
}
function injectSignerPlugin (component) {
SignerPluginStore.get().addComponent(component);
return true;
}
function injectStatusPlugin (component) {