@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.mjs
CHANGED
|
@@ -14880,7 +14880,6 @@ class AlpacaTradingAPI {
|
|
|
14880
14880
|
clearTimeout(authTimeout);
|
|
14881
14881
|
if (message.data?.status === 'authorized') {
|
|
14882
14882
|
this.authenticated = true;
|
|
14883
|
-
this.log('WebSocket authenticated');
|
|
14884
14883
|
resolve();
|
|
14885
14884
|
}
|
|
14886
14885
|
else {
|
|
@@ -14922,7 +14921,6 @@ class AlpacaTradingAPI {
|
|
|
14922
14921
|
this.ws?.removeListener('message', handleListenResponse);
|
|
14923
14922
|
clearTimeout(listenTimeout);
|
|
14924
14923
|
if (message.data?.streams?.includes('trade_updates')) {
|
|
14925
|
-
this.log('Subscribed to trade updates');
|
|
14926
14924
|
resolve();
|
|
14927
14925
|
}
|
|
14928
14926
|
else {
|