UNPKG

use-stomp

Version:

react provider, class decorator, and a hook for websockets using the stomp protocol

80 lines (69 loc) 4.05 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "UseStompCtx", { enumerable: true, get: function get() { return _context.default; } }); Object.defineProperty(exports, "useStomp", { enumerable: true, get: function get() { return _useStomp.default; } }); Object.defineProperty(exports, "useStompCtx", { enumerable: true, get: function get() { return _useStompCtx.useStompCtx; } }); Object.defineProperty(exports, "useStompNotifications", { enumerable: true, get: function get() { return _useStompNotifications.default; } }); Object.defineProperty(exports, "UseStompNotificationsProvider", { enumerable: true, get: function get() { return _useStompNotificationsProvider.default; } }); Object.defineProperty(exports, "UseStompProvider", { enumerable: true, get: function get() { return _useStompProvider.default; } }); Object.defineProperty(exports, "WebSocketWorker", { enumerable: true, get: function get() { return _webSocketWorker.default; } }); Object.defineProperty(exports, "withUseStomp", { enumerable: true, get: function get() { return _withUseStomp.default; } }); Object.defineProperty(exports, "withUseStompNotifications", { enumerable: true, get: function get() { return _withUseStompNotifications.default; } }); var _context = _interopRequireDefault(require("./context")); var _useStomp = _interopRequireDefault(require("./useStomp")); var _useStompCtx = require("./useStompCtx"); var _useStompNotifications = _interopRequireDefault(require("./useStompNotifications")); var _useStompNotificationsProvider = _interopRequireDefault(require("./useStompNotificationsProvider")); var _useStompProvider = _interopRequireDefault(require("./useStompProvider")); var _webSocketWorker = _interopRequireDefault(require("./webSocketWorker")); var _withUseStomp = _interopRequireDefault(require("./withUseStomp")); var _withUseStompNotifications = _interopRequireDefault(require("./withUseStompNotifications")); //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Oz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