@adaptic/utils 0.0.993 → 0.0.994
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +73 -73
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +73 -73
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -2
package/dist/index.mjs
CHANGED
|
@@ -13838,17 +13838,17 @@ var hasRequiredBrowser;
|
|
|
13838
13838
|
function requireBrowser () {
|
|
13839
13839
|
if (hasRequiredBrowser) return browser.exports;
|
|
13840
13840
|
hasRequiredBrowser = 1;
|
|
13841
|
-
(function (module, exports
|
|
13841
|
+
(function (module, exports) {
|
|
13842
13842
|
/**
|
|
13843
13843
|
* This is the web browser implementation of `debug()`.
|
|
13844
13844
|
*/
|
|
13845
13845
|
|
|
13846
|
-
exports
|
|
13847
|
-
exports
|
|
13848
|
-
exports
|
|
13849
|
-
exports
|
|
13850
|
-
exports
|
|
13851
|
-
exports
|
|
13846
|
+
exports.formatArgs = formatArgs;
|
|
13847
|
+
exports.save = save;
|
|
13848
|
+
exports.load = load;
|
|
13849
|
+
exports.useColors = useColors;
|
|
13850
|
+
exports.storage = localstorage();
|
|
13851
|
+
exports.destroy = (() => {
|
|
13852
13852
|
let warned = false;
|
|
13853
13853
|
|
|
13854
13854
|
return () => {
|
|
@@ -13863,7 +13863,7 @@ function requireBrowser () {
|
|
|
13863
13863
|
* Colors.
|
|
13864
13864
|
*/
|
|
13865
13865
|
|
|
13866
|
-
exports
|
|
13866
|
+
exports.colors = [
|
|
13867
13867
|
'#0000CC',
|
|
13868
13868
|
'#0000FF',
|
|
13869
13869
|
'#0033CC',
|
|
@@ -14028,7 +14028,7 @@ function requireBrowser () {
|
|
|
14028
14028
|
*
|
|
14029
14029
|
* @api public
|
|
14030
14030
|
*/
|
|
14031
|
-
exports
|
|
14031
|
+
exports.log = console.debug || console.log || (() => {});
|
|
14032
14032
|
|
|
14033
14033
|
/**
|
|
14034
14034
|
* Save `namespaces`.
|
|
@@ -14039,9 +14039,9 @@ function requireBrowser () {
|
|
|
14039
14039
|
function save(namespaces) {
|
|
14040
14040
|
try {
|
|
14041
14041
|
if (namespaces) {
|
|
14042
|
-
exports
|
|
14042
|
+
exports.storage.setItem('debug', namespaces);
|
|
14043
14043
|
} else {
|
|
14044
|
-
exports
|
|
14044
|
+
exports.storage.removeItem('debug');
|
|
14045
14045
|
}
|
|
14046
14046
|
} catch (error) {
|
|
14047
14047
|
// Swallow
|
|
@@ -14058,7 +14058,7 @@ function requireBrowser () {
|
|
|
14058
14058
|
function load() {
|
|
14059
14059
|
let r;
|
|
14060
14060
|
try {
|
|
14061
|
-
r = exports
|
|
14061
|
+
r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ;
|
|
14062
14062
|
} catch (error) {
|
|
14063
14063
|
// Swallow
|
|
14064
14064
|
// XXX (@Qix-) should we be logging these?
|
|
@@ -14094,7 +14094,7 @@ function requireBrowser () {
|
|
|
14094
14094
|
}
|
|
14095
14095
|
}
|
|
14096
14096
|
|
|
14097
|
-
module.exports = requireCommon()(exports
|
|
14097
|
+
module.exports = requireCommon()(exports);
|
|
14098
14098
|
|
|
14099
14099
|
const {formatters} = module.exports;
|
|
14100
14100
|
|
|
@@ -14283,7 +14283,7 @@ var hasRequiredNode$1;
|
|
|
14283
14283
|
function requireNode$1 () {
|
|
14284
14284
|
if (hasRequiredNode$1) return node$1.exports;
|
|
14285
14285
|
hasRequiredNode$1 = 1;
|
|
14286
|
-
(function (module, exports
|
|
14286
|
+
(function (module, exports) {
|
|
14287
14287
|
const tty = require$$1$1;
|
|
14288
14288
|
const util = require$$1$2;
|
|
14289
14289
|
|
|
@@ -14291,13 +14291,13 @@ function requireNode$1 () {
|
|
|
14291
14291
|
* This is the Node.js implementation of `debug()`.
|
|
14292
14292
|
*/
|
|
14293
14293
|
|
|
14294
|
-
exports
|
|
14295
|
-
exports
|
|
14296
|
-
exports
|
|
14297
|
-
exports
|
|
14298
|
-
exports
|
|
14299
|
-
exports
|
|
14300
|
-
exports
|
|
14294
|
+
exports.init = init;
|
|
14295
|
+
exports.log = log;
|
|
14296
|
+
exports.formatArgs = formatArgs;
|
|
14297
|
+
exports.save = save;
|
|
14298
|
+
exports.load = load;
|
|
14299
|
+
exports.useColors = useColors;
|
|
14300
|
+
exports.destroy = util.deprecate(
|
|
14301
14301
|
() => {},
|
|
14302
14302
|
'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'
|
|
14303
14303
|
);
|
|
@@ -14306,7 +14306,7 @@ function requireNode$1 () {
|
|
|
14306
14306
|
* Colors.
|
|
14307
14307
|
*/
|
|
14308
14308
|
|
|
14309
|
-
exports
|
|
14309
|
+
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
14310
14310
|
|
|
14311
14311
|
try {
|
|
14312
14312
|
// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)
|
|
@@ -14314,7 +14314,7 @@ function requireNode$1 () {
|
|
|
14314
14314
|
const supportsColor = requireSupportsColor();
|
|
14315
14315
|
|
|
14316
14316
|
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
14317
|
-
exports
|
|
14317
|
+
exports.colors = [
|
|
14318
14318
|
20,
|
|
14319
14319
|
21,
|
|
14320
14320
|
26,
|
|
@@ -14403,7 +14403,7 @@ function requireNode$1 () {
|
|
|
14403
14403
|
* $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js
|
|
14404
14404
|
*/
|
|
14405
14405
|
|
|
14406
|
-
exports
|
|
14406
|
+
exports.inspectOpts = Object.keys(process.env).filter(key => {
|
|
14407
14407
|
return /^debug_/i.test(key);
|
|
14408
14408
|
}).reduce((obj, key) => {
|
|
14409
14409
|
// Camel-case
|
|
@@ -14435,8 +14435,8 @@ function requireNode$1 () {
|
|
|
14435
14435
|
*/
|
|
14436
14436
|
|
|
14437
14437
|
function useColors() {
|
|
14438
|
-
return 'colors' in exports
|
|
14439
|
-
Boolean(exports
|
|
14438
|
+
return 'colors' in exports.inspectOpts ?
|
|
14439
|
+
Boolean(exports.inspectOpts.colors) :
|
|
14440
14440
|
tty.isatty(process.stderr.fd);
|
|
14441
14441
|
}
|
|
14442
14442
|
|
|
@@ -14462,7 +14462,7 @@ function requireNode$1 () {
|
|
|
14462
14462
|
}
|
|
14463
14463
|
|
|
14464
14464
|
function getDate() {
|
|
14465
|
-
if (exports
|
|
14465
|
+
if (exports.inspectOpts.hideDate) {
|
|
14466
14466
|
return '';
|
|
14467
14467
|
}
|
|
14468
14468
|
return new Date().toISOString() + ' ';
|
|
@@ -14473,7 +14473,7 @@ function requireNode$1 () {
|
|
|
14473
14473
|
*/
|
|
14474
14474
|
|
|
14475
14475
|
function log(...args) {
|
|
14476
|
-
return process.stderr.write(util.formatWithOptions(exports
|
|
14476
|
+
return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + '\n');
|
|
14477
14477
|
}
|
|
14478
14478
|
|
|
14479
14479
|
/**
|
|
@@ -14513,13 +14513,13 @@ function requireNode$1 () {
|
|
|
14513
14513
|
function init(debug) {
|
|
14514
14514
|
debug.inspectOpts = {};
|
|
14515
14515
|
|
|
14516
|
-
const keys = Object.keys(exports
|
|
14516
|
+
const keys = Object.keys(exports.inspectOpts);
|
|
14517
14517
|
for (let i = 0; i < keys.length; i++) {
|
|
14518
|
-
debug.inspectOpts[keys[i]] = exports
|
|
14518
|
+
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
14519
14519
|
}
|
|
14520
14520
|
}
|
|
14521
14521
|
|
|
14522
|
-
module.exports = requireCommon()(exports
|
|
14522
|
+
module.exports = requireCommon()(exports);
|
|
14523
14523
|
|
|
14524
14524
|
const {formatters} = module.exports;
|
|
14525
14525
|
|
|
@@ -15093,7 +15093,7 @@ function requireFollowRedirects () {
|
|
|
15093
15093
|
// Wraps the key/value object of protocols with redirect functionality
|
|
15094
15094
|
function wrap(protocols) {
|
|
15095
15095
|
// Default settings
|
|
15096
|
-
var exports
|
|
15096
|
+
var exports = {
|
|
15097
15097
|
maxRedirects: 21,
|
|
15098
15098
|
maxBodyLength: 10 * 1024 * 1024,
|
|
15099
15099
|
};
|
|
@@ -15103,7 +15103,7 @@ function requireFollowRedirects () {
|
|
|
15103
15103
|
Object.keys(protocols).forEach(function (scheme) {
|
|
15104
15104
|
var protocol = scheme + ":";
|
|
15105
15105
|
var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];
|
|
15106
|
-
var wrappedProtocol = exports
|
|
15106
|
+
var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);
|
|
15107
15107
|
|
|
15108
15108
|
// Executes a request, following redirects
|
|
15109
15109
|
function request(input, options, callback) {
|
|
@@ -15126,8 +15126,8 @@ function requireFollowRedirects () {
|
|
|
15126
15126
|
|
|
15127
15127
|
// Set defaults
|
|
15128
15128
|
options = Object.assign({
|
|
15129
|
-
maxRedirects: exports
|
|
15130
|
-
maxBodyLength: exports
|
|
15129
|
+
maxRedirects: exports.maxRedirects,
|
|
15130
|
+
maxBodyLength: exports.maxBodyLength,
|
|
15131
15131
|
}, input, options);
|
|
15132
15132
|
options.nativeProtocols = nativeProtocols;
|
|
15133
15133
|
if (!isString(options.host) && !isString(options.hostname)) {
|
|
@@ -15152,7 +15152,7 @@ function requireFollowRedirects () {
|
|
|
15152
15152
|
get: { value: get, configurable: true, enumerable: true, writable: true },
|
|
15153
15153
|
});
|
|
15154
15154
|
});
|
|
15155
|
-
return exports
|
|
15155
|
+
return exports;
|
|
15156
15156
|
}
|
|
15157
15157
|
|
|
15158
15158
|
function noop() { /* empty */ }
|
|
@@ -16758,7 +16758,7 @@ var hasRequiredLodash;
|
|
|
16758
16758
|
function requireLodash () {
|
|
16759
16759
|
if (hasRequiredLodash) return lodash$1.exports;
|
|
16760
16760
|
hasRequiredLodash = 1;
|
|
16761
|
-
(function (module, exports
|
|
16761
|
+
(function (module, exports) {
|
|
16762
16762
|
(function() {
|
|
16763
16763
|
|
|
16764
16764
|
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
|
|
@@ -17189,7 +17189,7 @@ function requireLodash () {
|
|
|
17189
17189
|
var root = freeGlobal || freeSelf || Function('return this')();
|
|
17190
17190
|
|
|
17191
17191
|
/** Detect free variable `exports`. */
|
|
17192
|
-
var freeExports = exports
|
|
17192
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
17193
17193
|
|
|
17194
17194
|
/** Detect free variable `module`. */
|
|
17195
17195
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
@@ -35019,12 +35019,12 @@ var hasRequiredIsBuffer;
|
|
|
35019
35019
|
function requireIsBuffer () {
|
|
35020
35020
|
if (hasRequiredIsBuffer) return isBuffer.exports;
|
|
35021
35021
|
hasRequiredIsBuffer = 1;
|
|
35022
|
-
(function (module, exports
|
|
35022
|
+
(function (module, exports) {
|
|
35023
35023
|
var root = require_root(),
|
|
35024
35024
|
stubFalse = requireStubFalse();
|
|
35025
35025
|
|
|
35026
35026
|
/** Detect free variable `exports`. */
|
|
35027
|
-
var freeExports = exports
|
|
35027
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
35028
35028
|
|
|
35029
35029
|
/** Detect free variable `module`. */
|
|
35030
35030
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
@@ -35244,11 +35244,11 @@ var hasRequired_nodeUtil;
|
|
|
35244
35244
|
function require_nodeUtil () {
|
|
35245
35245
|
if (hasRequired_nodeUtil) return _nodeUtil.exports;
|
|
35246
35246
|
hasRequired_nodeUtil = 1;
|
|
35247
|
-
(function (module, exports
|
|
35247
|
+
(function (module, exports) {
|
|
35248
35248
|
var freeGlobal = require_freeGlobal();
|
|
35249
35249
|
|
|
35250
35250
|
/** Detect free variable `exports`. */
|
|
35251
|
-
var freeExports = exports
|
|
35251
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
35252
35252
|
|
|
35253
35253
|
/** Detect free variable `module`. */
|
|
35254
35254
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
@@ -44170,7 +44170,7 @@ var hasRequiredSafeBuffer;
|
|
|
44170
44170
|
function requireSafeBuffer () {
|
|
44171
44171
|
if (hasRequiredSafeBuffer) return safeBuffer.exports;
|
|
44172
44172
|
hasRequiredSafeBuffer = 1;
|
|
44173
|
-
(function (module, exports
|
|
44173
|
+
(function (module, exports) {
|
|
44174
44174
|
/* eslint-disable node/no-deprecated-api */
|
|
44175
44175
|
var buffer = require$$0$5;
|
|
44176
44176
|
var Buffer = buffer.Buffer;
|
|
@@ -44185,8 +44185,8 @@ function requireSafeBuffer () {
|
|
|
44185
44185
|
module.exports = buffer;
|
|
44186
44186
|
} else {
|
|
44187
44187
|
// Copy properties from require('buffer')
|
|
44188
|
-
copyProps(buffer, exports
|
|
44189
|
-
exports
|
|
44188
|
+
copyProps(buffer, exports);
|
|
44189
|
+
exports.Buffer = SafeBuffer;
|
|
44190
44190
|
}
|
|
44191
44191
|
|
|
44192
44192
|
function SafeBuffer (arg, encodingOrOffset, length) {
|
|
@@ -47384,22 +47384,22 @@ var hasRequiredReadable;
|
|
|
47384
47384
|
function requireReadable () {
|
|
47385
47385
|
if (hasRequiredReadable) return readable.exports;
|
|
47386
47386
|
hasRequiredReadable = 1;
|
|
47387
|
-
(function (module, exports
|
|
47387
|
+
(function (module, exports) {
|
|
47388
47388
|
var Stream = require$$0$3;
|
|
47389
47389
|
if (process.env.READABLE_STREAM === 'disable' && Stream) {
|
|
47390
47390
|
module.exports = Stream.Readable;
|
|
47391
47391
|
Object.assign(module.exports, Stream);
|
|
47392
47392
|
module.exports.Stream = Stream;
|
|
47393
47393
|
} else {
|
|
47394
|
-
exports
|
|
47395
|
-
exports
|
|
47396
|
-
exports
|
|
47397
|
-
exports
|
|
47398
|
-
exports
|
|
47399
|
-
exports
|
|
47400
|
-
exports
|
|
47401
|
-
exports
|
|
47402
|
-
exports
|
|
47394
|
+
exports = module.exports = require_stream_readable();
|
|
47395
|
+
exports.Stream = Stream || exports;
|
|
47396
|
+
exports.Readable = exports;
|
|
47397
|
+
exports.Writable = require_stream_writable();
|
|
47398
|
+
exports.Duplex = require_stream_duplex();
|
|
47399
|
+
exports.Transform = require_stream_transform();
|
|
47400
|
+
exports.PassThrough = require_stream_passthrough();
|
|
47401
|
+
exports.finished = requireEndOfStream();
|
|
47402
|
+
exports.pipeline = requirePipeline();
|
|
47403
47403
|
}
|
|
47404
47404
|
} (readable, readable.exports));
|
|
47405
47405
|
return readable.exports;
|
|
@@ -48834,12 +48834,12 @@ var hasRequiredWebsocket;
|
|
|
48834
48834
|
function requireWebsocket () {
|
|
48835
48835
|
if (hasRequiredWebsocket) return websocket$1;
|
|
48836
48836
|
hasRequiredWebsocket = 1;
|
|
48837
|
-
(function (exports
|
|
48837
|
+
(function (exports) {
|
|
48838
48838
|
var __importDefault = (websocket$1 && websocket$1.__importDefault) || function (mod) {
|
|
48839
48839
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
48840
48840
|
};
|
|
48841
|
-
Object.defineProperty(exports
|
|
48842
|
-
exports
|
|
48841
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48842
|
+
exports.AlpacaWebsocket = exports.ERROR = exports.CONN_ERROR = exports.EVENT = exports.STATE = void 0;
|
|
48843
48843
|
const events_1 = __importDefault(require$$0$4);
|
|
48844
48844
|
const ws_1 = __importDefault(requireWs());
|
|
48845
48845
|
const msgpack5_1 = __importDefault(requireMsgpack5());
|
|
@@ -48853,7 +48853,7 @@ function requireWebsocket () {
|
|
|
48853
48853
|
STATE["DISCONNECTED"] = "disconnected";
|
|
48854
48854
|
STATE["WAITING_TO_CONNECT"] = "waiting to connect";
|
|
48855
48855
|
STATE["WAITING_TO_RECONNECT"] = "waiting to reconnect";
|
|
48856
|
-
})(STATE || (exports
|
|
48856
|
+
})(STATE || (exports.STATE = STATE = {}));
|
|
48857
48857
|
// Client events
|
|
48858
48858
|
var EVENT;
|
|
48859
48859
|
(function (EVENT) {
|
|
@@ -48872,9 +48872,9 @@ function requireWebsocket () {
|
|
|
48872
48872
|
EVENT["CORRECTIONS"] = "corrections";
|
|
48873
48873
|
EVENT["ORDERBOOKS"] = "orderbooks";
|
|
48874
48874
|
EVENT["NEWS"] = "news";
|
|
48875
|
-
})(EVENT || (exports
|
|
48875
|
+
})(EVENT || (exports.EVENT = EVENT = {}));
|
|
48876
48876
|
// Connection errors by code
|
|
48877
|
-
exports
|
|
48877
|
+
exports.CONN_ERROR = new Map([
|
|
48878
48878
|
[400, "invalid syntax"],
|
|
48879
48879
|
[401, "not authenticated"],
|
|
48880
48880
|
[402, "auth failed"],
|
|
@@ -48893,7 +48893,7 @@ function requireWebsocket () {
|
|
|
48893
48893
|
ERROR["MISSING_SECERT_KEY"] = "missing secret key";
|
|
48894
48894
|
ERROR["MISSING_API_KEY"] = "missing api key";
|
|
48895
48895
|
ERROR["UNEXPECTED_MESSAGE"] = "unexpected message";
|
|
48896
|
-
})(ERROR || (exports
|
|
48896
|
+
})(ERROR || (exports.ERROR = ERROR = {}));
|
|
48897
48897
|
class AlpacaWebsocket extends events_1.default.EventEmitter {
|
|
48898
48898
|
constructor(options) {
|
|
48899
48899
|
super();
|
|
@@ -49050,7 +49050,7 @@ function requireWebsocket () {
|
|
|
49050
49050
|
this.updateSubscriptions(data[0]);
|
|
49051
49051
|
break;
|
|
49052
49052
|
case "error":
|
|
49053
|
-
this.emit(EVENT.CLIENT_ERROR, exports
|
|
49053
|
+
this.emit(EVENT.CLIENT_ERROR, exports.CONN_ERROR.get(data[0].code));
|
|
49054
49054
|
break;
|
|
49055
49055
|
default:
|
|
49056
49056
|
this.dataHandler(data);
|
|
@@ -49079,7 +49079,7 @@ function requireWebsocket () {
|
|
|
49079
49079
|
}
|
|
49080
49080
|
}
|
|
49081
49081
|
}
|
|
49082
|
-
exports
|
|
49082
|
+
exports.AlpacaWebsocket = AlpacaWebsocket;
|
|
49083
49083
|
} (websocket$1));
|
|
49084
49084
|
return websocket$1;
|
|
49085
49085
|
}
|
|
@@ -49713,8 +49713,8 @@ var hasRequiredWebsockets;
|
|
|
49713
49713
|
function requireWebsockets () {
|
|
49714
49714
|
if (hasRequiredWebsockets) return websockets;
|
|
49715
49715
|
hasRequiredWebsockets = 1;
|
|
49716
|
-
(function (exports
|
|
49717
|
-
Object.defineProperty(exports
|
|
49716
|
+
(function (exports) {
|
|
49717
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49718
49718
|
const events = require$$0$4;
|
|
49719
49719
|
const WebSocket = requireWs();
|
|
49720
49720
|
const entity = requireEntity();
|
|
@@ -49729,7 +49729,7 @@ function requireWebsockets () {
|
|
|
49729
49729
|
STATE.DISCONNECTED = "disconnected";
|
|
49730
49730
|
STATE.WAITING_TO_CONNECT = "waiting to connect";
|
|
49731
49731
|
STATE.WAITING_TO_RECONNECT = "waiting to reconnect";
|
|
49732
|
-
})((STATE = exports
|
|
49732
|
+
})((STATE = exports.STATE || (exports.STATE = {})));
|
|
49733
49733
|
// Client events
|
|
49734
49734
|
var EVENT;
|
|
49735
49735
|
(function (EVENT) {
|
|
@@ -49743,7 +49743,7 @@ function requireWebsockets () {
|
|
|
49743
49743
|
EVENT.STOCK_QUOTES = "stock_quotes";
|
|
49744
49744
|
EVENT.STOCK_AGG_SEC = "stock_agg_sec";
|
|
49745
49745
|
EVENT.STOCK_AGG_MIN = "stock_agg_min";
|
|
49746
|
-
})((EVENT = exports
|
|
49746
|
+
})((EVENT = exports.EVENT || (exports.EVENT = {})));
|
|
49747
49747
|
// Connection errors Each of these will also emit EVENT.ERROR
|
|
49748
49748
|
var ERROR;
|
|
49749
49749
|
(function (ERROR) {
|
|
@@ -49752,7 +49752,7 @@ function requireWebsockets () {
|
|
|
49752
49752
|
ERROR.MISSING_API_KEY = "missing api key";
|
|
49753
49753
|
ERROR.MISSING_SECRET_KEY = "missing secret key";
|
|
49754
49754
|
ERROR.UNKNOWN = "unknown error";
|
|
49755
|
-
})((ERROR = exports
|
|
49755
|
+
})((ERROR = exports.ERROR || (exports.ERROR = {})));
|
|
49756
49756
|
/**
|
|
49757
49757
|
* AlpacaStreamClient manages a connection to Alpaca's websocket api
|
|
49758
49758
|
*/
|
|
@@ -50065,7 +50065,7 @@ function requireWebsockets () {
|
|
|
50065
50065
|
}
|
|
50066
50066
|
}
|
|
50067
50067
|
}
|
|
50068
|
-
exports
|
|
50068
|
+
exports.AlpacaStreamClient = AlpacaStreamClient;
|
|
50069
50069
|
} (websockets));
|
|
50070
50070
|
return websockets;
|
|
50071
50071
|
}
|
|
@@ -50317,13 +50317,13 @@ var hasRequiredDist;
|
|
|
50317
50317
|
function requireDist () {
|
|
50318
50318
|
if (hasRequiredDist) return dist$1.exports;
|
|
50319
50319
|
hasRequiredDist = 1;
|
|
50320
|
-
(function (module, exports
|
|
50320
|
+
(function (module, exports) {
|
|
50321
50321
|
var __importDefault = (dist && dist.__importDefault) || function (mod) {
|
|
50322
50322
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
50323
50323
|
};
|
|
50324
|
-
Object.defineProperty(exports
|
|
50324
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50325
50325
|
const alpaca_trade_api_1 = __importDefault(requireAlpacaTradeApi());
|
|
50326
|
-
exports
|
|
50326
|
+
exports.default = alpaca_trade_api_1.default;
|
|
50327
50327
|
module.exports = alpaca_trade_api_1.default;
|
|
50328
50328
|
} (dist$1, dist$1.exports));
|
|
50329
50329
|
return dist$1.exports;
|