From 8ac3d70dfa98c1b32437a2c7794c96f56856ea9c Mon Sep 17 00:00:00 2001 From: Josh Kuhn Date: Thu, 12 May 2016 15:03:04 -0700 Subject: [PATCH] Add utensils object --- client/src/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/src/index.js b/client/src/index.js index ed2852dcb..18522227f 100644 --- a/client/src/index.js +++ b/client/src/index.js @@ -85,6 +85,12 @@ function Horizon({ horizon.onSocketError = subscribeOrObservable( socket.status::filter(x => x.type === 'error')) + horizon.utensils = { + sendRequest, + tokenStorage, + } + Object.freeze(horizon.utensils) + horizon._authMethods = null horizon._horizonPath = path horizon.authEndpoint = authEndpoint