UNPKG

1.42 kBJavaScriptView Raw
1"use strict";
2function __export(m) {
3 for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4}
5Object.defineProperty(exports, "__esModule", { value: true });
6/*
7 * Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
8 *
9 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
10 * the License. A copy of the License is located at
11 *
12 * http://aws.amazon.com/apache2.0/
13 *
14 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
15 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
16 * and limitations under the License.
17 */
18var PubSub_1 = require("./PubSub");
19exports.PubSub = PubSub_1.PubSub;
20__export(require("./Providers"));
21var CONTROL_MSG;
22(function (CONTROL_MSG) {
23 CONTROL_MSG["CONNECTION_CLOSED"] = "Connection closed";
24 CONTROL_MSG["CONNECTION_FAILED"] = "Connection failed";
25 CONTROL_MSG["REALTIME_SUBSCRIPTION_INIT_ERROR"] = "AppSync Realtime subscription init error";
26 CONTROL_MSG["SUBSCRIPTION_ACK"] = "Subscription ack";
27 CONTROL_MSG["TIMEOUT_DISCONNECT"] = "Timeout disconnect";
28})(CONTROL_MSG || (CONTROL_MSG = {}));
29exports.CONTROL_MSG = CONTROL_MSG;
30/**
31 * @deprecated use named import
32 */
33exports.default = PubSub_1.PubSub;
34//# sourceMappingURL=index.js.map
\No newline at end of file