1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var Error_1 = require("../actions/Error");
|
4 | var noop = function () { };
|
5 |
|
6 |
|
7 |
|
8 | exports.serverAppBridge = {
|
9 | dispatch: function () {
|
10 | return {};
|
11 | },
|
12 | error: function () {
|
13 | return noop;
|
14 | },
|
15 | featuresAvailable: function () {
|
16 | return Promise.reject(Error_1.fromAction('Feature detection is only available on the client side.', Error_1.AppActionType.WINDOW_UNDEFINED));
|
17 | },
|
18 | getState: function () {
|
19 | return Promise.reject(Error_1.fromAction('State is only available on the client side.', Error_1.AppActionType.WINDOW_UNDEFINED));
|
20 | },
|
21 | localOrigin: '',
|
22 | subscribe: function () {
|
23 | return noop;
|
24 | },
|
25 | };
|