diff --git a/webpack/setup.js b/webpack/setup.js index 07bf030..0d2549d 100644 --- a/webpack/setup.js +++ b/webpack/setup.js @@ -12,10 +12,15 @@ import WebSocketClientDriver from './lib/client/ws.js' /* (1) Custom lib accessors ---------------------------------------------------------*/ +/* (1) Global Store for Vue */ window.gs = new GlobalStore(); + +/* (2) Authentication token management */ +window.auth = new Authentication(); + +/* (3) XHR / WebSocket drivers */ window.xhrcd = XHRClientDriver; window.wscd = WebSocketClientDriver; -window.auth = new Authentication();