@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.cjs
CHANGED
|
@@ -13840,17 +13840,17 @@ var hasRequiredBrowser;
|
|
|
13840
13840
|
function requireBrowser () {
|
|
13841
13841
|
if (hasRequiredBrowser) return browser.exports;
|
|
13842
13842
|
hasRequiredBrowser = 1;
|
|
13843
|
-
(function (module, exports
|
|
13843
|
+
(function (module, exports) {
|
|
13844
13844
|
/**
|
|
13845
13845
|
* This is the web browser implementation of `debug()`.
|
|
13846
13846
|
*/
|
|
13847
13847
|
|
|
13848
|
-
exports
|
|
13849
|
-
exports
|
|
13850
|
-
exports
|
|
13851
|
-
exports
|
|
13852
|
-
exports
|
|
13853
|
-
exports
|
|
13848
|
+
exports.formatArgs = formatArgs;
|
|
13849
|
+
exports.save = save;
|
|
13850
|
+
exports.load = load;
|
|
13851
|
+
exports.useColors = useColors;
|
|
13852
|
+
exports.storage = localstorage();
|
|
13853
|
+
exports.destroy = (() => {
|
|
13854
13854
|
let warned = false;
|
|
13855
13855
|
|
|
13856
13856
|
return () => {
|
|
@@ -13865,7 +13865,7 @@ function requireBrowser () {
|
|
|
13865
13865
|
* Colors.
|
|
13866
13866
|
*/
|
|
13867
13867
|
|
|
13868
|
-
exports
|
|
13868
|
+
exports.colors = [
|
|
13869
13869
|
'#0000CC',
|
|
13870
13870
|
'#0000FF',
|
|
13871
13871
|
'#0033CC',
|
|
@@ -14030,7 +14030,7 @@ function requireBrowser () {
|
|
|
14030
14030
|
*
|
|
14031
14031
|
* @api public
|
|
14032
14032
|
*/
|
|
14033
|
-
exports
|
|
14033
|
+
exports.log = console.debug || console.log || (() => {});
|
|
14034
14034
|
|
|
14035
14035
|
/**
|
|
14036
14036
|
* Save `namespaces`.
|
|
@@ -14041,9 +14041,9 @@ function requireBrowser () {
|
|
|
14041
14041
|
function save(namespaces) {
|
|
14042
14042
|
try {
|
|
14043
14043
|
if (namespaces) {
|
|
14044
|
-
exports
|
|
14044
|
+
exports.storage.setItem('debug', namespaces);
|
|
14045
14045
|
} else {
|
|
14046
|
-
exports
|
|
14046
|
+
exports.storage.removeItem('debug');
|
|
14047
14047
|
}
|
|
14048
14048
|
} catch (error) {
|
|
14049
14049
|
// Swallow
|
|
@@ -14060,7 +14060,7 @@ function requireBrowser () {
|
|
|
14060
14060
|
function load() {
|
|
14061
14061
|
let r;
|
|
14062
14062
|
try {
|
|
14063
|
-
r = exports
|
|
14063
|
+
r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ;
|
|
14064
14064
|
} catch (error) {
|
|
14065
14065
|
// Swallow
|
|
14066
14066
|
// XXX (@Qix-) should we be logging these?
|
|
@@ -14096,7 +14096,7 @@ function requireBrowser () {
|
|
|
14096
14096
|
}
|
|
14097
14097
|
}
|
|
14098
14098
|
|
|
14099
|
-
module.exports = requireCommon()(exports
|
|
14099
|
+
module.exports = requireCommon()(exports);
|
|
14100
14100
|
|
|
14101
14101
|
const {formatters} = module.exports;
|
|
14102
14102
|
|
|
@@ -14285,7 +14285,7 @@ var hasRequiredNode$1;
|
|
|
14285
14285
|
function requireNode$1 () {
|
|
14286
14286
|
if (hasRequiredNode$1) return node$1.exports;
|
|
14287
14287
|
hasRequiredNode$1 = 1;
|
|
14288
|
-
(function (module, exports
|
|
14288
|
+
(function (module, exports) {
|
|
14289
14289
|
const tty = require$$1$1;
|
|
14290
14290
|
const util = require$$1$2;
|
|
14291
14291
|
|
|
@@ -14293,13 +14293,13 @@ function requireNode$1 () {
|
|
|
14293
14293
|
* This is the Node.js implementation of `debug()`.
|
|
14294
14294
|
*/
|
|
14295
14295
|
|
|
14296
|
-
exports
|
|
14297
|
-
exports
|
|
14298
|
-
exports
|
|
14299
|
-
exports
|
|
14300
|
-
exports
|
|
14301
|
-
exports
|
|
14302
|
-
exports
|
|
14296
|
+
exports.init = init;
|
|
14297
|
+
exports.log = log;
|
|
14298
|
+
exports.formatArgs = formatArgs;
|
|
14299
|
+
exports.save = save;
|
|
14300
|
+
exports.load = load;
|
|
14301
|
+
exports.useColors = useColors;
|
|
14302
|
+
exports.destroy = util.deprecate(
|
|
14303
14303
|
() => {},
|
|
14304
14304
|
'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'
|
|
14305
14305
|
);
|
|
@@ -14308,7 +14308,7 @@ function requireNode$1 () {
|
|
|
14308
14308
|
* Colors.
|
|
14309
14309
|
*/
|
|
14310
14310
|
|
|
14311
|
-
exports
|
|
14311
|
+
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
14312
14312
|
|
|
14313
14313
|
try {
|
|
14314
14314
|
// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)
|
|
@@ -14316,7 +14316,7 @@ function requireNode$1 () {
|
|
|
14316
14316
|
const supportsColor = requireSupportsColor();
|
|
14317
14317
|
|
|
14318
14318
|
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
14319
|
-
exports
|
|
14319
|
+
exports.colors = [
|
|
14320
14320
|
20,
|
|
14321
14321
|
21,
|
|
14322
14322
|
26,
|
|
@@ -14405,7 +14405,7 @@ function requireNode$1 () {
|
|
|
14405
14405
|
* $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js
|
|
14406
14406
|
*/
|
|
14407
14407
|
|
|
14408
|
-
exports
|
|
14408
|
+
exports.inspectOpts = Object.keys(process.env).filter(key => {
|
|
14409
14409
|
return /^debug_/i.test(key);
|
|
14410
14410
|
}).reduce((obj, key) => {
|
|
14411
14411
|
// Camel-case
|
|
@@ -14437,8 +14437,8 @@ function requireNode$1 () {
|
|
|
14437
14437
|
*/
|
|
14438
14438
|
|
|
14439
14439
|
function useColors() {
|
|
14440
|
-
return 'colors' in exports
|
|
14441
|
-
Boolean(exports
|
|
14440
|
+
return 'colors' in exports.inspectOpts ?
|
|
14441
|
+
Boolean(exports.inspectOpts.colors) :
|
|
14442
14442
|
tty.isatty(process.stderr.fd);
|
|
14443
14443
|
}
|
|
14444
14444
|
|
|
@@ -14464,7 +14464,7 @@ function requireNode$1 () {
|
|
|
14464
14464
|
}
|
|
14465
14465
|
|
|
14466
14466
|
function getDate() {
|
|
14467
|
-
if (exports
|
|
14467
|
+
if (exports.inspectOpts.hideDate) {
|
|
14468
14468
|
return '';
|
|
14469
14469
|
}
|
|
14470
14470
|
return new Date().toISOString() + ' ';
|
|
@@ -14475,7 +14475,7 @@ function requireNode$1 () {
|
|
|
14475
14475
|
*/
|
|
14476
14476
|
|
|
14477
14477
|
function log(...args) {
|
|
14478
|
-
return process.stderr.write(util.formatWithOptions(exports
|
|
14478
|
+
return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + '\n');
|
|
14479
14479
|
}
|
|
14480
14480
|
|
|
14481
14481
|
/**
|
|
@@ -14515,13 +14515,13 @@ function requireNode$1 () {
|
|
|
14515
14515
|
function init(debug) {
|
|
14516
14516
|
debug.inspectOpts = {};
|
|
14517
14517
|
|
|
14518
|
-
const keys = Object.keys(exports
|
|
14518
|
+
const keys = Object.keys(exports.inspectOpts);
|
|
14519
14519
|
for (let i = 0; i < keys.length; i++) {
|
|
14520
|
-
debug.inspectOpts[keys[i]] = exports
|
|
14520
|
+
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
14521
14521
|
}
|
|
14522
14522
|
}
|
|
14523
14523
|
|
|
14524
|
-
module.exports = requireCommon()(exports
|
|
14524
|
+
module.exports = requireCommon()(exports);
|
|
14525
14525
|
|
|
14526
14526
|
const {formatters} = module.exports;
|
|
14527
14527
|
|
|
@@ -15095,7 +15095,7 @@ function requireFollowRedirects () {
|
|
|
15095
15095
|
// Wraps the key/value object of protocols with redirect functionality
|
|
15096
15096
|
function wrap(protocols) {
|
|
15097
15097
|
// Default settings
|
|
15098
|
-
var exports
|
|
15098
|
+
var exports = {
|
|
15099
15099
|
maxRedirects: 21,
|
|
15100
15100
|
maxBodyLength: 10 * 1024 * 1024,
|
|
15101
15101
|
};
|
|
@@ -15105,7 +15105,7 @@ function requireFollowRedirects () {
|
|
|
15105
15105
|
Object.keys(protocols).forEach(function (scheme) {
|
|
15106
15106
|
var protocol = scheme + ":";
|
|
15107
15107
|
var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];
|
|
15108
|
-
var wrappedProtocol = exports
|
|
15108
|
+
var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);
|
|
15109
15109
|
|
|
15110
15110
|
// Executes a request, following redirects
|
|
15111
15111
|
function request(input, options, callback) {
|
|
@@ -15128,8 +15128,8 @@ function requireFollowRedirects () {
|
|
|
15128
15128
|
|
|
15129
15129
|
// Set defaults
|
|
15130
15130
|
options = Object.assign({
|
|
15131
|
-
maxRedirects: exports
|
|
15132
|
-
maxBodyLength: exports
|
|
15131
|
+
maxRedirects: exports.maxRedirects,
|
|
15132
|
+
maxBodyLength: exports.maxBodyLength,
|
|
15133
15133
|
}, input, options);
|
|
15134
15134
|
options.nativeProtocols = nativeProtocols;
|
|
15135
15135
|
if (!isString(options.host) && !isString(options.hostname)) {
|
|
@@ -15154,7 +15154,7 @@ function requireFollowRedirects () {
|
|
|
15154
15154
|
get: { value: get, configurable: true, enumerable: true, writable: true },
|
|
15155
15155
|
});
|
|
15156
15156
|
});
|
|
15157
|
-
return exports
|
|
15157
|
+
return exports;
|
|
15158
15158
|
}
|
|
15159
15159
|
|
|
15160
15160
|
function noop() { /* empty */ }
|
|
@@ -16760,7 +16760,7 @@ var hasRequiredLodash;
|
|
|
16760
16760
|
function requireLodash () {
|
|
16761
16761
|
if (hasRequiredLodash) return lodash$1.exports;
|
|
16762
16762
|
hasRequiredLodash = 1;
|
|
16763
|
-
(function (module, exports
|
|
16763
|
+
(function (module, exports) {
|
|
16764
16764
|
(function() {
|
|
16765
16765
|
|
|
16766
16766
|
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
|
|
@@ -17191,7 +17191,7 @@ function requireLodash () {
|
|
|
17191
17191
|
var root = freeGlobal || freeSelf || Function('return this')();
|
|
17192
17192
|
|
|
17193
17193
|
/** Detect free variable `exports`. */
|
|
17194
|
-
var freeExports = exports
|
|
17194
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
17195
17195
|
|
|
17196
17196
|
/** Detect free variable `module`. */
|
|
17197
17197
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
@@ -35021,12 +35021,12 @@ var hasRequiredIsBuffer;
|
|
|
35021
35021
|
function requireIsBuffer () {
|
|
35022
35022
|
if (hasRequiredIsBuffer) return isBuffer.exports;
|
|
35023
35023
|
hasRequiredIsBuffer = 1;
|
|
35024
|
-
(function (module, exports
|
|
35024
|
+
(function (module, exports) {
|
|
35025
35025
|
var root = require_root(),
|
|
35026
35026
|
stubFalse = requireStubFalse();
|
|
35027
35027
|
|
|
35028
35028
|
/** Detect free variable `exports`. */
|
|
35029
|
-
var freeExports = exports
|
|
35029
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
35030
35030
|
|
|
35031
35031
|
/** Detect free variable `module`. */
|
|
35032
35032
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
@@ -35246,11 +35246,11 @@ var hasRequired_nodeUtil;
|
|
|
35246
35246
|
function require_nodeUtil () {
|
|
35247
35247
|
if (hasRequired_nodeUtil) return _nodeUtil.exports;
|
|
35248
35248
|
hasRequired_nodeUtil = 1;
|
|
35249
|
-
(function (module, exports
|
|
35249
|
+
(function (module, exports) {
|
|
35250
35250
|
var freeGlobal = require_freeGlobal();
|
|
35251
35251
|
|
|
35252
35252
|
/** Detect free variable `exports`. */
|
|
35253
|
-
var freeExports = exports
|
|
35253
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
35254
35254
|
|
|
35255
35255
|
/** Detect free variable `module`. */
|
|
35256
35256
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
@@ -44172,7 +44172,7 @@ var hasRequiredSafeBuffer;
|
|
|
44172
44172
|
function requireSafeBuffer () {
|
|
44173
44173
|
if (hasRequiredSafeBuffer) return safeBuffer.exports;
|
|
44174
44174
|
hasRequiredSafeBuffer = 1;
|
|
44175
|
-
(function (module, exports
|
|
44175
|
+
(function (module, exports) {
|
|
44176
44176
|
/* eslint-disable node/no-deprecated-api */
|
|
44177
44177
|
var buffer = require$$0$5;
|
|
44178
44178
|
var Buffer = buffer.Buffer;
|
|
@@ -44187,8 +44187,8 @@ function requireSafeBuffer () {
|
|
|
44187
44187
|
module.exports = buffer;
|
|
44188
44188
|
} else {
|
|
44189
44189
|
// Copy properties from require('buffer')
|
|
44190
|
-
copyProps(buffer, exports
|
|
44191
|
-
exports
|
|
44190
|
+
copyProps(buffer, exports);
|
|
44191
|
+
exports.Buffer = SafeBuffer;
|
|
44192
44192
|
}
|
|
44193
44193
|
|
|
44194
44194
|
function SafeBuffer (arg, encodingOrOffset, length) {
|
|
@@ -47386,22 +47386,22 @@ var hasRequiredReadable;
|
|
|
47386
47386
|
function requireReadable () {
|
|
47387
47387
|
if (hasRequiredReadable) return readable.exports;
|
|
47388
47388
|
hasRequiredReadable = 1;
|
|
47389
|
-
(function (module, exports
|
|
47389
|
+
(function (module, exports) {
|
|
47390
47390
|
var Stream = require$$0$4;
|
|
47391
47391
|
if (process.env.READABLE_STREAM === 'disable' && Stream) {
|
|
47392
47392
|
module.exports = Stream.Readable;
|
|
47393
47393
|
Object.assign(module.exports, Stream);
|
|
47394
47394
|
module.exports.Stream = Stream;
|
|
47395
47395
|
} else {
|
|
47396
|
-
exports
|
|
47397
|
-
exports
|
|
47398
|
-
exports
|
|
47399
|
-
exports
|
|
47400
|
-
exports
|
|
47401
|
-
exports
|
|
47402
|
-
exports
|
|
47403
|
-
exports
|
|
47404
|
-
exports
|
|
47396
|
+
exports = module.exports = require_stream_readable();
|
|
47397
|
+
exports.Stream = Stream || exports;
|
|
47398
|
+
exports.Readable = exports;
|
|
47399
|
+
exports.Writable = require_stream_writable();
|
|
47400
|
+
exports.Duplex = require_stream_duplex();
|
|
47401
|
+
exports.Transform = require_stream_transform();
|
|
47402
|
+
exports.PassThrough = require_stream_passthrough();
|
|
47403
|
+
exports.finished = requireEndOfStream();
|
|
47404
|
+
exports.pipeline = requirePipeline();
|
|
47405
47405
|
}
|
|
47406
47406
|
} (readable, readable.exports));
|
|
47407
47407
|
return readable.exports;
|
|
@@ -48836,12 +48836,12 @@ var hasRequiredWebsocket;
|
|
|
48836
48836
|
function requireWebsocket () {
|
|
48837
48837
|
if (hasRequiredWebsocket) return websocket$1;
|
|
48838
48838
|
hasRequiredWebsocket = 1;
|
|
48839
|
-
(function (exports
|
|
48839
|
+
(function (exports) {
|
|
48840
48840
|
var __importDefault = (websocket$1 && websocket$1.__importDefault) || function (mod) {
|
|
48841
48841
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
48842
48842
|
};
|
|
48843
|
-
Object.defineProperty(exports
|
|
48844
|
-
exports
|
|
48843
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48844
|
+
exports.AlpacaWebsocket = exports.ERROR = exports.CONN_ERROR = exports.EVENT = exports.STATE = void 0;
|
|
48845
48845
|
const events_1 = __importDefault(require$$0$1);
|
|
48846
48846
|
const ws_1 = __importDefault(requireWs());
|
|
48847
48847
|
const msgpack5_1 = __importDefault(requireMsgpack5());
|
|
@@ -48855,7 +48855,7 @@ function requireWebsocket () {
|
|
|
48855
48855
|
STATE["DISCONNECTED"] = "disconnected";
|
|
48856
48856
|
STATE["WAITING_TO_CONNECT"] = "waiting to connect";
|
|
48857
48857
|
STATE["WAITING_TO_RECONNECT"] = "waiting to reconnect";
|
|
48858
|
-
})(STATE || (exports
|
|
48858
|
+
})(STATE || (exports.STATE = STATE = {}));
|
|
48859
48859
|
// Client events
|
|
48860
48860
|
var EVENT;
|
|
48861
48861
|
(function (EVENT) {
|
|
@@ -48874,9 +48874,9 @@ function requireWebsocket () {
|
|
|
48874
48874
|
EVENT["CORRECTIONS"] = "corrections";
|
|
48875
48875
|
EVENT["ORDERBOOKS"] = "orderbooks";
|
|
48876
48876
|
EVENT["NEWS"] = "news";
|
|
48877
|
-
})(EVENT || (exports
|
|
48877
|
+
})(EVENT || (exports.EVENT = EVENT = {}));
|
|
48878
48878
|
// Connection errors by code
|
|
48879
|
-
exports
|
|
48879
|
+
exports.CONN_ERROR = new Map([
|
|
48880
48880
|
[400, "invalid syntax"],
|
|
48881
48881
|
[401, "not authenticated"],
|
|
48882
48882
|
[402, "auth failed"],
|
|
@@ -48895,7 +48895,7 @@ function requireWebsocket () {
|
|
|
48895
48895
|
ERROR["MISSING_SECERT_KEY"] = "missing secret key";
|
|
48896
48896
|
ERROR["MISSING_API_KEY"] = "missing api key";
|
|
48897
48897
|
ERROR["UNEXPECTED_MESSAGE"] = "unexpected message";
|
|
48898
|
-
})(ERROR || (exports
|
|
48898
|
+
})(ERROR || (exports.ERROR = ERROR = {}));
|
|
48899
48899
|
class AlpacaWebsocket extends events_1.default.EventEmitter {
|
|
48900
48900
|
constructor(options) {
|
|
48901
48901
|
super();
|
|
@@ -49052,7 +49052,7 @@ function requireWebsocket () {
|
|
|
49052
49052
|
this.updateSubscriptions(data[0]);
|
|
49053
49053
|
break;
|
|
49054
49054
|
case "error":
|
|
49055
|
-
this.emit(EVENT.CLIENT_ERROR, exports
|
|
49055
|
+
this.emit(EVENT.CLIENT_ERROR, exports.CONN_ERROR.get(data[0].code));
|
|
49056
49056
|
break;
|
|
49057
49057
|
default:
|
|
49058
49058
|
this.dataHandler(data);
|
|
@@ -49081,7 +49081,7 @@ function requireWebsocket () {
|
|
|
49081
49081
|
}
|
|
49082
49082
|
}
|
|
49083
49083
|
}
|
|
49084
|
-
exports
|
|
49084
|
+
exports.AlpacaWebsocket = AlpacaWebsocket;
|
|
49085
49085
|
} (websocket$1));
|
|
49086
49086
|
return websocket$1;
|
|
49087
49087
|
}
|
|
@@ -49715,8 +49715,8 @@ var hasRequiredWebsockets;
|
|
|
49715
49715
|
function requireWebsockets () {
|
|
49716
49716
|
if (hasRequiredWebsockets) return websockets;
|
|
49717
49717
|
hasRequiredWebsockets = 1;
|
|
49718
|
-
(function (exports
|
|
49719
|
-
Object.defineProperty(exports
|
|
49718
|
+
(function (exports) {
|
|
49719
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49720
49720
|
const events = require$$0$1;
|
|
49721
49721
|
const WebSocket = requireWs();
|
|
49722
49722
|
const entity = requireEntity();
|
|
@@ -49731,7 +49731,7 @@ function requireWebsockets () {
|
|
|
49731
49731
|
STATE.DISCONNECTED = "disconnected";
|
|
49732
49732
|
STATE.WAITING_TO_CONNECT = "waiting to connect";
|
|
49733
49733
|
STATE.WAITING_TO_RECONNECT = "waiting to reconnect";
|
|
49734
|
-
})((STATE = exports
|
|
49734
|
+
})((STATE = exports.STATE || (exports.STATE = {})));
|
|
49735
49735
|
// Client events
|
|
49736
49736
|
var EVENT;
|
|
49737
49737
|
(function (EVENT) {
|
|
@@ -49745,7 +49745,7 @@ function requireWebsockets () {
|
|
|
49745
49745
|
EVENT.STOCK_QUOTES = "stock_quotes";
|
|
49746
49746
|
EVENT.STOCK_AGG_SEC = "stock_agg_sec";
|
|
49747
49747
|
EVENT.STOCK_AGG_MIN = "stock_agg_min";
|
|
49748
|
-
})((EVENT = exports
|
|
49748
|
+
})((EVENT = exports.EVENT || (exports.EVENT = {})));
|
|
49749
49749
|
// Connection errors Each of these will also emit EVENT.ERROR
|
|
49750
49750
|
var ERROR;
|
|
49751
49751
|
(function (ERROR) {
|
|
@@ -49754,7 +49754,7 @@ function requireWebsockets () {
|
|
|
49754
49754
|
ERROR.MISSING_API_KEY = "missing api key";
|
|
49755
49755
|
ERROR.MISSING_SECRET_KEY = "missing secret key";
|
|
49756
49756
|
ERROR.UNKNOWN = "unknown error";
|
|
49757
|
-
})((ERROR = exports
|
|
49757
|
+
})((ERROR = exports.ERROR || (exports.ERROR = {})));
|
|
49758
49758
|
/**
|
|
49759
49759
|
* AlpacaStreamClient manages a connection to Alpaca's websocket api
|
|
49760
49760
|
*/
|
|
@@ -50067,7 +50067,7 @@ function requireWebsockets () {
|
|
|
50067
50067
|
}
|
|
50068
50068
|
}
|
|
50069
50069
|
}
|
|
50070
|
-
exports
|
|
50070
|
+
exports.AlpacaStreamClient = AlpacaStreamClient;
|
|
50071
50071
|
} (websockets));
|
|
50072
50072
|
return websockets;
|
|
50073
50073
|
}
|
|
@@ -50319,13 +50319,13 @@ var hasRequiredDist;
|
|
|
50319
50319
|
function requireDist () {
|
|
50320
50320
|
if (hasRequiredDist) return dist$1.exports;
|
|
50321
50321
|
hasRequiredDist = 1;
|
|
50322
|
-
(function (module, exports
|
|
50322
|
+
(function (module, exports) {
|
|
50323
50323
|
var __importDefault = (dist && dist.__importDefault) || function (mod) {
|
|
50324
50324
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
50325
50325
|
};
|
|
50326
|
-
Object.defineProperty(exports
|
|
50326
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50327
50327
|
const alpaca_trade_api_1 = __importDefault(requireAlpacaTradeApi());
|
|
50328
|
-
exports
|
|
50328
|
+
exports.default = alpaca_trade_api_1.default;
|
|
50329
50329
|
module.exports = alpaca_trade_api_1.default;
|
|
50330
50330
|
} (dist$1, dist$1.exports));
|
|
50331
50331
|
return dist$1.exports;
|