Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
executable file
·
68 lines (45 loc) · 3 KB

File metadata and controls

executable file
·
68 lines (45 loc) · 3 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _pubnubCommon = _interopRequireDefault(require("../core/pubnub-common"));
var _networking = _interopRequireDefault(require("../networking"));
var _common = _interopRequireDefault(require("../db/common"));
var _common2 = _interopRequireDefault(require("../cbor/common"));
var _webNode = require("../networking/modules/web-node");
var _node = require("../networking/modules/node");
var _flow_interfaces = require("../core/flow_interfaces");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
var _default = function (_PubNubCore) {
_inherits(_default, _PubNubCore);
function _default(setup) {
_classCallCheck(this, _default);
setup.db = new _common["default"]();
setup.cbor = new _common2["default"]();
setup.networking = new _networking["default"]({
keepAlive: _node.keepAlive,
del: _webNode.del,
get: _webNode.get,
post: _webNode.post,
patch: _webNode.patch,
proxy: _node.proxy
});
setup.sdkFamily = 'Nodejs';
if (!('ssl' in setup)) {
setup.ssl = true;
}
return _possibleConstructorReturn(this, _getPrototypeOf(_default).call(this, setup));
}
return _default;
}(_pubnubCommon["default"]);
exports["default"] = _default;
module.exports = exports.default;
//# sourceMappingURL=index.js.map
Morty Proxy This is a proxified and sanitized view of the page, visit original site.