From 14612ed839236dfbca7f335a939c9e053f2c88f2 Mon Sep 17 00:00:00 2001 From: Gregor Martynus Date: Sun, 25 Oct 2015 19:56:18 -0400 Subject: [PATCH] feat: `hoodie.connectionStatus` --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index dbd261c..0e69ed5 100644 --- a/index.js +++ b/index.js @@ -3,6 +3,7 @@ module.exports = Hoodie var Store = require('pouchdb-hoodie-store') var Account = require('account-client') var Task = function () {} +var ConnectionStatus = require('hoodie-client-connection-status') var Log = require('hoodie-client-log') var getState = require('./lib/get-state') @@ -20,6 +21,7 @@ function Hoodie (options) { api.account = new Account({ url: '/hoodie/account/api' }) api.task = new Task('/hoodie/task/api') + api.connectionStatus = new ConnectionStatus('/hoodie') api.log = new Log('hoodie') return api