1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var tslib_1 = require("tslib");
|
4 | var core_1 = require("@aws-amplify/core");
|
5 | var internals_1 = require("./internals");
|
6 | var PubSubClass = (function (_super) {
|
7 | tslib_1.__extends(PubSubClass, _super);
|
8 | function PubSubClass() {
|
9 | return _super !== null && _super.apply(this, arguments) || this;
|
10 | }
|
11 | PubSubClass.prototype.getModuleName = function () {
|
12 | return 'PubSub';
|
13 | };
|
14 | PubSubClass.prototype.subscribe = function (topics, options) {
|
15 | return _super.prototype.subscribe.call(this, topics, options);
|
16 | };
|
17 | return PubSubClass;
|
18 | }(internals_1.InternalPubSubClass));
|
19 | exports.PubSubClass = PubSubClass;
|
20 | exports.PubSub = new PubSubClass();
|
21 | core_1.Amplify.register(exports.PubSub);
|
22 |
|
\ | No newline at end of file |