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