@discomedia/utils 1.0.29 → 1.0.31
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-frontend.cjs +0 -2
- package/dist/index-frontend.cjs.map +1 -1
- package/dist/index-frontend.mjs +0 -2
- package/dist/index-frontend.mjs.map +1 -1
- package/dist/index.cjs +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -3
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/test.js +689 -81
- package/dist/test.js.map +1 -1
- package/dist/types/alpaca-trading-api.d.ts.map +1 -1
- package/dist/types/market-time.d.ts.map +1 -1
- package/dist/types-frontend/alpaca-trading-api.d.ts.map +1 -1
- package/dist/types-frontend/market-time.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/alpaca-trading-api-mpmauojY.js +0 -1414
- package/dist/alpaca-trading-api-mpmauojY.js.map +0 -1
package/dist/index-frontend.cjs
CHANGED
|
@@ -14882,7 +14882,6 @@ class AlpacaTradingAPI {
|
|
|
14882
14882
|
clearTimeout(authTimeout);
|
|
14883
14883
|
if (message.data?.status === 'authorized') {
|
|
14884
14884
|
this.authenticated = true;
|
|
14885
|
-
this.log('WebSocket authenticated');
|
|
14886
14885
|
resolve();
|
|
14887
14886
|
}
|
|
14888
14887
|
else {
|
|
@@ -14924,7 +14923,6 @@ class AlpacaTradingAPI {
|
|
|
14924
14923
|
this.ws?.removeListener('message', handleListenResponse);
|
|
14925
14924
|
clearTimeout(listenTimeout);
|
|
14926
14925
|
if (message.data?.streams?.includes('trade_updates')) {
|
|
14927
|
-
this.log('Subscribed to trade updates');
|
|
14928
14926
|
resolve();
|
|
14929
14927
|
}
|
|
14930
14928
|
else {
|