@nktkas/hyperliquid 0.20.0 → 0.21.0
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/README.md +40 -50
- package/esm/mod.d.ts +3 -4
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +3 -4
- package/{script/src/clients/wallet.d.ts → esm/src/clients/exchange.d.ts} +100 -100
- package/esm/src/clients/exchange.d.ts.map +1 -0
- package/esm/src/clients/{wallet.js → exchange.js} +41 -41
- package/esm/src/clients/{public.d.ts → info.d.ts} +100 -100
- package/esm/src/clients/info.d.ts.map +1 -0
- package/esm/src/clients/{public.js → info.js} +51 -51
- package/{script/src/clients/event.d.ts → esm/src/clients/subscription.d.ts} +60 -78
- package/esm/src/clients/subscription.d.ts.map +1 -0
- package/esm/src/clients/{event.js → subscription.js} +57 -79
- package/esm/src/signing.d.ts +0 -1
- package/esm/src/signing.d.ts.map +1 -1
- package/esm/src/signing.js +0 -1
- package/esm/src/transports/base.d.ts +5 -7
- package/esm/src/transports/base.d.ts.map +1 -1
- package/esm/src/transports/websocket/_reconnecting_websocket.d.ts +3 -2
- package/esm/src/transports/websocket/_reconnecting_websocket.d.ts.map +1 -1
- package/esm/src/transports/websocket/_reconnecting_websocket.js +11 -5
- package/esm/src/transports/websocket/_websocket_async_request.d.ts +6 -4
- package/esm/src/transports/websocket/_websocket_async_request.d.ts.map +1 -1
- package/esm/src/transports/websocket/_websocket_async_request.js +47 -28
- package/esm/src/transports/websocket/websocket_transport.d.ts +24 -21
- package/esm/src/transports/websocket/websocket_transport.d.ts.map +1 -1
- package/esm/src/transports/websocket/websocket_transport.js +60 -57
- package/esm/src/types/info/accounts.d.ts +1 -0
- package/esm/src/types/info/accounts.d.ts.map +1 -1
- package/esm/src/types/mod.d.ts +0 -1
- package/esm/src/types/mod.d.ts.map +1 -1
- package/esm/src/types/mod.js +1 -1
- package/package.json +1 -1
- package/script/mod.d.ts +3 -4
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +4 -5
- package/{esm/src/clients/wallet.d.ts → script/src/clients/exchange.d.ts} +100 -100
- package/script/src/clients/exchange.d.ts.map +1 -0
- package/script/src/clients/{wallet.js → exchange.js} +43 -43
- package/script/src/clients/{public.d.ts → info.d.ts} +100 -100
- package/script/src/clients/info.d.ts.map +1 -0
- package/script/src/clients/{public.js → info.js} +53 -53
- package/{esm/src/clients/event.d.ts → script/src/clients/subscription.d.ts} +60 -78
- package/script/src/clients/subscription.d.ts.map +1 -0
- package/script/src/clients/{event.js → subscription.js} +59 -81
- package/script/src/signing.d.ts +0 -1
- package/script/src/signing.d.ts.map +1 -1
- package/script/src/signing.js +52 -53
- package/script/src/transports/base.d.ts +5 -7
- package/script/src/transports/base.d.ts.map +1 -1
- package/script/src/transports/websocket/_reconnecting_websocket.d.ts +3 -2
- package/script/src/transports/websocket/_reconnecting_websocket.d.ts.map +1 -1
- package/script/src/transports/websocket/_reconnecting_websocket.js +11 -5
- package/script/src/transports/websocket/_websocket_async_request.d.ts +6 -4
- package/script/src/transports/websocket/_websocket_async_request.d.ts.map +1 -1
- package/script/src/transports/websocket/_websocket_async_request.js +47 -28
- package/script/src/transports/websocket/websocket_transport.d.ts +24 -21
- package/script/src/transports/websocket/websocket_transport.d.ts.map +1 -1
- package/script/src/transports/websocket/websocket_transport.js +60 -57
- package/script/src/types/info/accounts.d.ts +1 -0
- package/script/src/types/info/accounts.d.ts.map +1 -1
- package/script/src/types/mod.d.ts +0 -1
- package/script/src/types/mod.d.ts.map +1 -1
- package/script/src/types/mod.js +24 -25
- package/esm/_dnt.polyfills.d.ts +0 -20
- package/esm/_dnt.polyfills.d.ts.map +0 -1
- package/esm/_dnt.polyfills.js +0 -12
- package/esm/src/clients/event.d.ts.map +0 -1
- package/esm/src/clients/public.d.ts.map +0 -1
- package/esm/src/clients/wallet.d.ts.map +0 -1
- package/script/_dnt.polyfills.d.ts +0 -20
- package/script/_dnt.polyfills.d.ts.map +0 -1
- package/script/_dnt.polyfills.js +0 -23
- package/script/src/clients/event.d.ts.map +0 -1
- package/script/src/clients/public.d.ts.map +0 -1
- package/script/src/clients/wallet.d.ts.map +0 -1
|
@@ -4,48 +4,48 @@ import type { WsActiveAssetCtx, WsActiveAssetData, WsActiveSpotAssetCtx, WsAllMi
|
|
|
4
4
|
import type { Candle } from "../types/info/assets.js";
|
|
5
5
|
import type { Book, Order, OrderStatus } from "../types/info/orders.js";
|
|
6
6
|
import type { TxDetails } from "../types/explorer/responses.js";
|
|
7
|
-
/** Parameters for the {@linkcode
|
|
8
|
-
export interface
|
|
7
|
+
/** Parameters for the {@linkcode SubscriptionClient} constructor. */
|
|
8
|
+
export interface SubscriptionClientParameters<T extends ISubscriptionTransport = ISubscriptionTransport> {
|
|
9
9
|
/** The transport used to connect to the Hyperliquid API. */
|
|
10
10
|
transport: T;
|
|
11
11
|
}
|
|
12
|
-
/** Parameters for the {@linkcode
|
|
12
|
+
/** Parameters for the {@linkcode SubscriptionClient.activeAssetCtx} method. */
|
|
13
13
|
export type EventActiveAssetCtxParameters = Omit<WsActiveAssetCtxRequest, "type">;
|
|
14
|
-
/** Parameters for the {@linkcode
|
|
14
|
+
/** Parameters for the {@linkcode SubscriptionClient.activeAssetData} method. */
|
|
15
15
|
export type EventActiveAssetDataParameters = Omit<WsActiveAssetDataRequest, "type">;
|
|
16
|
-
/** Parameters for the {@linkcode
|
|
16
|
+
/** Parameters for the {@linkcode SubscriptionClient.allMids} method. */
|
|
17
17
|
export type WsAllMidsParameters = Omit<WsAllMidsRequest, "type">;
|
|
18
|
-
/** Parameters for the {@linkcode
|
|
18
|
+
/** Parameters for the {@linkcode SubscriptionClient.bbo} method. */
|
|
19
19
|
export type EventBboParameters = Omit<WsBboRequest, "type">;
|
|
20
|
-
/** Parameters for the {@linkcode
|
|
20
|
+
/** Parameters for the {@linkcode SubscriptionClient.candle} method. */
|
|
21
21
|
export type EventCandleParameters = Omit<WsCandleRequest, "type">;
|
|
22
|
-
/** Parameters for the {@linkcode
|
|
22
|
+
/** Parameters for the {@linkcode SubscriptionClient.l2Book} method. */
|
|
23
23
|
export type EventL2BookParameters = Omit<WsL2BookRequest, "type">;
|
|
24
|
-
/** Parameters for the {@linkcode
|
|
24
|
+
/** Parameters for the {@linkcode SubscriptionClient.notification} method. */
|
|
25
25
|
export type EventNotificationParameters = Omit<WsNotificationRequest, "type">;
|
|
26
|
-
/** Parameters for the {@linkcode
|
|
26
|
+
/** Parameters for the {@linkcode SubscriptionClient.orderUpdates} method. */
|
|
27
27
|
export type EventOrderUpdatesParameters = Omit<WsOrderUpdatesRequest, "type">;
|
|
28
|
-
/** Parameters for the {@linkcode
|
|
28
|
+
/** Parameters for the {@linkcode SubscriptionClient.trades} method. */
|
|
29
29
|
export type EventTradesParameters = Omit<WsTradesRequest, "type">;
|
|
30
|
-
/** Parameters for the {@linkcode
|
|
30
|
+
/** Parameters for the {@linkcode SubscriptionClient.userEvents} method. */
|
|
31
31
|
export type EventUserEventsParameters = Omit<WsUserEventsRequest, "type">;
|
|
32
|
-
/** Parameters for the {@linkcode
|
|
32
|
+
/** Parameters for the {@linkcode SubscriptionClient.userFills} method. */
|
|
33
33
|
export type EventUserFillsParameters = Omit<WsUserFillsRequest, "type">;
|
|
34
|
-
/** Parameters for the {@linkcode
|
|
34
|
+
/** Parameters for the {@linkcode SubscriptionClient.userFundings} method. */
|
|
35
35
|
export type EventUserFundingsParameters = Omit<WsUserFundingsRequest, "type">;
|
|
36
|
-
/** Parameters for the {@linkcode
|
|
36
|
+
/** Parameters for the {@linkcode SubscriptionClient.userNonFundingLedgerUpdates} method. */
|
|
37
37
|
export type EventUserNonFundingLedgerUpdatesParameters = Omit<WsUserNonFundingLedgerUpdatesRequest, "type">;
|
|
38
|
-
/** Parameters for the {@linkcode
|
|
38
|
+
/** Parameters for the {@linkcode SubscriptionClient.userTwapHistory} method. */
|
|
39
39
|
export type EventUserTwapHistory = Omit<WsUserTwapHistoryRequest, "type">;
|
|
40
|
-
/** Parameters for the {@linkcode
|
|
40
|
+
/** Parameters for the {@linkcode SubscriptionClient.userTwapSliceFills} method. */
|
|
41
41
|
export type EventUserTwapSliceFills = Omit<WsUserTwapSliceFillsRequest, "type">;
|
|
42
|
-
/** Parameters for the {@linkcode
|
|
42
|
+
/** Parameters for the {@linkcode SubscriptionClient.webData2} method. */
|
|
43
43
|
export type EventWebData2Parameters = Omit<WsWebData2Request, "type">;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Subscription client for subscribing to various Hyperliquid events.
|
|
46
46
|
* @typeParam T The type of transport used to connect to the Hyperliquid Websocket API.
|
|
47
47
|
*/
|
|
48
|
-
export declare class
|
|
48
|
+
export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubscriptionTransport> implements SubscriptionClientParameters, AsyncDisposable {
|
|
49
49
|
transport: T;
|
|
50
50
|
/**
|
|
51
51
|
* Initialises a new instance.
|
|
@@ -56,15 +56,14 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
56
56
|
* import * as hl from "@nktkas/hyperliquid";
|
|
57
57
|
*
|
|
58
58
|
* const transport = new hl.WebSocketTransport();
|
|
59
|
-
* const
|
|
59
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
60
60
|
* ```
|
|
61
61
|
*/
|
|
62
|
-
constructor(args:
|
|
62
|
+
constructor(args: SubscriptionClientParameters<T>);
|
|
63
63
|
/**
|
|
64
64
|
* Subscribe to context updates for a specific perpetual asset.
|
|
65
65
|
* @param args - The parameters for the subscription.
|
|
66
66
|
* @param listener - The callback function to be called when the event is received.
|
|
67
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
68
67
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
69
68
|
*
|
|
70
69
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -73,19 +72,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
73
72
|
* import * as hl from "@nktkas/hyperliquid";
|
|
74
73
|
*
|
|
75
74
|
* const transport = new hl.WebSocketTransport();
|
|
76
|
-
* const
|
|
75
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
77
76
|
*
|
|
78
77
|
* const sub = await client.activeAssetCtx({ coin: "BTC" }, (data) => {
|
|
79
78
|
* console.log(data);
|
|
80
79
|
* });
|
|
81
80
|
* ```
|
|
82
81
|
*/
|
|
83
|
-
activeAssetCtx(args: EventActiveAssetCtxParameters, listener: (data: WsActiveAssetCtx | WsActiveSpotAssetCtx) => void
|
|
82
|
+
activeAssetCtx(args: EventActiveAssetCtxParameters, listener: (data: WsActiveAssetCtx | WsActiveSpotAssetCtx) => void): Promise<Subscription>;
|
|
84
83
|
/**
|
|
85
84
|
* Subscribe to trading data updates for a specific asset and user.
|
|
86
85
|
* @param args - The parameters for the subscription.
|
|
87
86
|
* @param listener - The callback function to be called when the event is received.
|
|
88
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
89
87
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
90
88
|
*
|
|
91
89
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -94,18 +92,17 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
94
92
|
* import * as hl from "@nktkas/hyperliquid";
|
|
95
93
|
*
|
|
96
94
|
* const transport = new hl.WebSocketTransport();
|
|
97
|
-
* const
|
|
95
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
98
96
|
*
|
|
99
97
|
* const sub = await client.activeAssetData({ coin: "BTC", user: "0x..." }, (data) => {
|
|
100
98
|
* console.log(data);
|
|
101
99
|
* });
|
|
102
100
|
* ```
|
|
103
101
|
*/
|
|
104
|
-
activeAssetData(args: EventActiveAssetDataParameters, listener: (data: WsActiveAssetData) => void
|
|
102
|
+
activeAssetData(args: EventActiveAssetDataParameters, listener: (data: WsActiveAssetData) => void): Promise<Subscription>;
|
|
105
103
|
/**
|
|
106
104
|
* Subscribe to mid prices for all actively traded assets.
|
|
107
105
|
* @param listener - The callback function to be called when the event is received.
|
|
108
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
109
106
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
110
107
|
*
|
|
111
108
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -114,20 +111,19 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
114
111
|
* import * as hl from "@nktkas/hyperliquid";
|
|
115
112
|
*
|
|
116
113
|
* const transport = new hl.WebSocketTransport();
|
|
117
|
-
* const
|
|
114
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
118
115
|
*
|
|
119
116
|
* const sub = await client.allMids((data) => {
|
|
120
117
|
* console.log(data);
|
|
121
118
|
* });
|
|
122
119
|
* ```
|
|
123
120
|
*/
|
|
124
|
-
allMids(listener: (data: WsAllMids) => void
|
|
125
|
-
allMids(args: WsAllMidsParameters, listener: (data: WsAllMids) => void
|
|
121
|
+
allMids(listener: (data: WsAllMids) => void): Promise<Subscription>;
|
|
122
|
+
allMids(args: WsAllMidsParameters, listener: (data: WsAllMids) => void): Promise<Subscription>;
|
|
126
123
|
/**
|
|
127
124
|
* Subscribe to best bid and offer updates for a specific asset.
|
|
128
125
|
* @param args - The parameters for the subscription.
|
|
129
126
|
* @param listener - The callback function to be called when the event is received.
|
|
130
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
131
127
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
132
128
|
*
|
|
133
129
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -136,19 +132,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
136
132
|
* import * as hl from "@nktkas/hyperliquid";
|
|
137
133
|
*
|
|
138
134
|
* const transport = new hl.WebSocketTransport();
|
|
139
|
-
* const
|
|
135
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
140
136
|
*
|
|
141
137
|
* const sub = await client.bbo({ coin: "BTC" }, (data) => {
|
|
142
138
|
* console.log(data);
|
|
143
139
|
* });
|
|
144
140
|
* ```
|
|
145
141
|
*/
|
|
146
|
-
bbo(args: EventBboParameters, listener: (data: WsBbo) => void
|
|
142
|
+
bbo(args: EventBboParameters, listener: (data: WsBbo) => void): Promise<Subscription>;
|
|
147
143
|
/**
|
|
148
144
|
* Subscribe to candlestick data updates for a specific asset.
|
|
149
145
|
* @param args - The parameters for the subscription.
|
|
150
146
|
* @param listener - The callback function to be called when the event is received.
|
|
151
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
152
147
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
153
148
|
*
|
|
154
149
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -157,18 +152,17 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
157
152
|
* import * as hl from "@nktkas/hyperliquid";
|
|
158
153
|
*
|
|
159
154
|
* const transport = new hl.WebSocketTransport();
|
|
160
|
-
* const
|
|
155
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
161
156
|
*
|
|
162
157
|
* const sub = await client.candle({ coin: "BTC", interval: "1h" }, (data) => {
|
|
163
158
|
* console.log(data);
|
|
164
159
|
* });
|
|
165
160
|
* ```
|
|
166
161
|
*/
|
|
167
|
-
candle(args: EventCandleParameters, listener: (data: Candle) => void
|
|
162
|
+
candle(args: EventCandleParameters, listener: (data: Candle) => void): Promise<Subscription>;
|
|
168
163
|
/**
|
|
169
164
|
* Subscribe to explorer block updates.
|
|
170
165
|
* @param listener - The callback function to be called when the event is received.
|
|
171
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
172
166
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
173
167
|
* @note Make sure the endpoint in the {@link transport} supports this method.
|
|
174
168
|
*
|
|
@@ -178,18 +172,17 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
178
172
|
* import * as hl from "@nktkas/hyperliquid";
|
|
179
173
|
*
|
|
180
174
|
* const transport = new hl.WebSocketTransport();
|
|
181
|
-
* const
|
|
175
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
182
176
|
*
|
|
183
177
|
* const sub = await client.explorerBlock((data) => {
|
|
184
178
|
* console.log(data);
|
|
185
179
|
* });
|
|
186
180
|
* ```
|
|
187
181
|
*/
|
|
188
|
-
explorerBlock(listener: (data: WsBlockDetails[]) => void
|
|
182
|
+
explorerBlock(listener: (data: WsBlockDetails[]) => void): Promise<Subscription>;
|
|
189
183
|
/**
|
|
190
184
|
* Subscribe to explorer transaction updates.
|
|
191
185
|
* @param listener - The callback function to be called when the event is received.
|
|
192
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
193
186
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
194
187
|
* @note Make sure the endpoint in the {@link transport} supports this method.
|
|
195
188
|
*
|
|
@@ -199,19 +192,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
199
192
|
* import * as hl from "@nktkas/hyperliquid";
|
|
200
193
|
*
|
|
201
194
|
* const transport = new hl.WebSocketTransport();
|
|
202
|
-
* const
|
|
195
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
203
196
|
*
|
|
204
197
|
* const sub = await client.explorerTxs((data) => {
|
|
205
198
|
* console.log(data);
|
|
206
199
|
* });
|
|
207
200
|
* ```
|
|
208
201
|
*/
|
|
209
|
-
explorerTxs(listener: (data: TxDetails[]) => void
|
|
202
|
+
explorerTxs(listener: (data: TxDetails[]) => void): Promise<Subscription>;
|
|
210
203
|
/**
|
|
211
204
|
* Subscribe to L2 order book updates for a specific asset.
|
|
212
205
|
* @param args - The parameters for the subscription.
|
|
213
206
|
* @param listener - The callback function to be called when the event is received.
|
|
214
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
215
207
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
216
208
|
*
|
|
217
209
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -220,19 +212,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
220
212
|
* import * as hl from "@nktkas/hyperliquid";
|
|
221
213
|
*
|
|
222
214
|
* const transport = new hl.WebSocketTransport();
|
|
223
|
-
* const
|
|
215
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
224
216
|
*
|
|
225
217
|
* const sub = await client.l2Book({ coin: "BTC" }, (data) => {
|
|
226
218
|
* console.log(data);
|
|
227
219
|
* });
|
|
228
220
|
* ```
|
|
229
221
|
*/
|
|
230
|
-
l2Book(args: EventL2BookParameters, listener: (data: Book) => void
|
|
222
|
+
l2Book(args: EventL2BookParameters, listener: (data: Book) => void): Promise<Subscription>;
|
|
231
223
|
/**
|
|
232
224
|
* Subscribe to notification updates for a specific user.
|
|
233
225
|
* @param args - The parameters for the subscription.
|
|
234
226
|
* @param listener - The callback function to be called when the event is received.
|
|
235
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
236
227
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
237
228
|
*
|
|
238
229
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -241,19 +232,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
241
232
|
* import * as hl from "@nktkas/hyperliquid";
|
|
242
233
|
*
|
|
243
234
|
* const transport = new hl.WebSocketTransport();
|
|
244
|
-
* const
|
|
235
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
245
236
|
*
|
|
246
237
|
* const sub = await client.notification({ user: "0x..." }, (data) => {
|
|
247
238
|
* console.log(data);
|
|
248
239
|
* });
|
|
249
240
|
* ```
|
|
250
241
|
*/
|
|
251
|
-
notification(args: EventNotificationParameters, listener: (data: WsNotification) => void
|
|
242
|
+
notification(args: EventNotificationParameters, listener: (data: WsNotification) => void): Promise<Subscription>;
|
|
252
243
|
/**
|
|
253
244
|
* Subscribe to order status updates for a specific user.
|
|
254
245
|
* @param args - The parameters for the subscription.
|
|
255
246
|
* @param listener - The callback function to be called when the event is received.
|
|
256
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
257
247
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
258
248
|
*
|
|
259
249
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -262,19 +252,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
262
252
|
* import * as hl from "@nktkas/hyperliquid";
|
|
263
253
|
*
|
|
264
254
|
* const transport = new hl.WebSocketTransport();
|
|
265
|
-
* const
|
|
255
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
266
256
|
*
|
|
267
257
|
* const sub = await client.orderUpdates({ user: "0x..." }, (data) => {
|
|
268
258
|
* console.log(data);
|
|
269
259
|
* });
|
|
270
260
|
* ```
|
|
271
261
|
*/
|
|
272
|
-
orderUpdates(args: EventOrderUpdatesParameters, listener: (data: OrderStatus<Order>[]) => void
|
|
262
|
+
orderUpdates(args: EventOrderUpdatesParameters, listener: (data: OrderStatus<Order>[]) => void): Promise<Subscription>;
|
|
273
263
|
/**
|
|
274
264
|
* Subscribe to real-time trade updates for a specific asset.
|
|
275
265
|
* @param args - The parameters for the subscription.
|
|
276
266
|
* @param listener - The callback function to be called when the event is received.
|
|
277
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
278
267
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
279
268
|
*
|
|
280
269
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -283,19 +272,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
283
272
|
* import * as hl from "@nktkas/hyperliquid";
|
|
284
273
|
*
|
|
285
274
|
* const transport = new hl.WebSocketTransport();
|
|
286
|
-
* const
|
|
275
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
287
276
|
*
|
|
288
277
|
* const sub = await client.trades({ coin: "BTC" }, (data) => {
|
|
289
278
|
* console.log(data);
|
|
290
279
|
* });
|
|
291
280
|
* ```
|
|
292
281
|
*/
|
|
293
|
-
trades(args: EventTradesParameters, listener: (data: WsTrade[]) => void
|
|
282
|
+
trades(args: EventTradesParameters, listener: (data: WsTrade[]) => void): Promise<Subscription>;
|
|
294
283
|
/**
|
|
295
284
|
* Subscribe to non-order events for a specific user.
|
|
296
285
|
* @param args - The parameters for the subscription.
|
|
297
286
|
* @param listener - The callback function to be called when the event is received.
|
|
298
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
299
287
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
300
288
|
*
|
|
301
289
|
* @note Different subscriptions cannot be distinguished from each other.
|
|
@@ -306,19 +294,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
306
294
|
* import * as hl from "@nktkas/hyperliquid";
|
|
307
295
|
*
|
|
308
296
|
* const transport = new hl.WebSocketTransport();
|
|
309
|
-
* const
|
|
297
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
310
298
|
*
|
|
311
299
|
* const sub = await client.userEvents({ user: "0x..." }, (data) => {
|
|
312
300
|
* console.log(data);
|
|
313
301
|
* });
|
|
314
302
|
* ```
|
|
315
303
|
*/
|
|
316
|
-
userEvents(args: EventUserEventsParameters, listener: (data: WsUserEvent) => void
|
|
304
|
+
userEvents(args: EventUserEventsParameters, listener: (data: WsUserEvent) => void): Promise<Subscription>;
|
|
317
305
|
/**
|
|
318
306
|
* Subscribe to trade fill updates for a specific user.
|
|
319
307
|
* @param args - The parameters for the subscription.
|
|
320
308
|
* @param listener - The callback function to be called when the event is received.
|
|
321
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
322
309
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
323
310
|
*
|
|
324
311
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -327,19 +314,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
327
314
|
* import * as hl from "@nktkas/hyperliquid";
|
|
328
315
|
*
|
|
329
316
|
* const transport = new hl.WebSocketTransport();
|
|
330
|
-
* const
|
|
317
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
331
318
|
*
|
|
332
319
|
* const sub = await client.userFills({ user: "0x..." }, (data) => {
|
|
333
320
|
* console.log(data);
|
|
334
321
|
* });
|
|
335
322
|
* ```
|
|
336
323
|
*/
|
|
337
|
-
userFills(args: EventUserFillsParameters, listener: (data: WsUserFills) => void
|
|
324
|
+
userFills(args: EventUserFillsParameters, listener: (data: WsUserFills) => void): Promise<Subscription>;
|
|
338
325
|
/**
|
|
339
326
|
* Subscribe to funding payment updates for a specific user.
|
|
340
327
|
* @param args - The parameters for the subscription.
|
|
341
328
|
* @param listener - The callback function to be called when the event is received.
|
|
342
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
343
329
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
344
330
|
*
|
|
345
331
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -348,19 +334,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
348
334
|
* import * as hl from "@nktkas/hyperliquid";
|
|
349
335
|
*
|
|
350
336
|
* const transport = new hl.WebSocketTransport();
|
|
351
|
-
* const
|
|
337
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
352
338
|
*
|
|
353
339
|
* const sub = await client.userFundings({ user: "0x..." }, (data) => {
|
|
354
340
|
* console.log(data);
|
|
355
341
|
* });
|
|
356
342
|
* ```
|
|
357
343
|
*/
|
|
358
|
-
userFundings(args: EventUserFundingsParameters, listener: (data: WsUserFundings) => void
|
|
344
|
+
userFundings(args: EventUserFundingsParameters, listener: (data: WsUserFundings) => void): Promise<Subscription>;
|
|
359
345
|
/**
|
|
360
346
|
* Subscribe to non-funding ledger updates for a specific user.
|
|
361
347
|
* @param args - The parameters for the subscription.
|
|
362
348
|
* @param listener - The callback function to be called when the event is received.
|
|
363
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
364
349
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
365
350
|
*
|
|
366
351
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -369,19 +354,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
369
354
|
* import * as hl from "@nktkas/hyperliquid";
|
|
370
355
|
*
|
|
371
356
|
* const transport = new hl.WebSocketTransport();
|
|
372
|
-
* const
|
|
357
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
373
358
|
*
|
|
374
359
|
* const sub = await client.userNonFundingLedgerUpdates({ user: "0x..." }, (data) => {
|
|
375
360
|
* console.log(data);
|
|
376
361
|
* });
|
|
377
362
|
* ```
|
|
378
363
|
*/
|
|
379
|
-
userNonFundingLedgerUpdates(args: EventUserNonFundingLedgerUpdatesParameters, listener: (data: WsUserNonFundingLedgerUpdates) => void
|
|
364
|
+
userNonFundingLedgerUpdates(args: EventUserNonFundingLedgerUpdatesParameters, listener: (data: WsUserNonFundingLedgerUpdates) => void): Promise<Subscription>;
|
|
380
365
|
/**
|
|
381
366
|
* Subscribe to TWAP order history updates for a specific user.
|
|
382
367
|
* @param args - The parameters for the subscription.
|
|
383
368
|
* @param listener - The callback function to be called when the event is received.
|
|
384
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
385
369
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
386
370
|
*
|
|
387
371
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -390,19 +374,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
390
374
|
* import * as hl from "@nktkas/hyperliquid";
|
|
391
375
|
*
|
|
392
376
|
* const transport = new hl.WebSocketTransport();
|
|
393
|
-
* const
|
|
377
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
394
378
|
*
|
|
395
379
|
* const sub = await client.userTwapHistory({ user: "0x..." }, (data) => {
|
|
396
380
|
* console.log(data);
|
|
397
381
|
* });
|
|
398
382
|
* ```
|
|
399
383
|
*/
|
|
400
|
-
userTwapHistory(args: EventUserTwapHistory, listener: (data: WsUserTwapHistory) => void
|
|
384
|
+
userTwapHistory(args: EventUserTwapHistory, listener: (data: WsUserTwapHistory) => void): Promise<Subscription>;
|
|
401
385
|
/**
|
|
402
386
|
* Subscribe to TWAP execution updates for a specific user.
|
|
403
387
|
* @param args - The parameters for the subscription.
|
|
404
388
|
* @param listener - The callback function to be called when the event is received.
|
|
405
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
406
389
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
407
390
|
*
|
|
408
391
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -411,19 +394,18 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
411
394
|
* import * as hl from "@nktkas/hyperliquid";
|
|
412
395
|
*
|
|
413
396
|
* const transport = new hl.WebSocketTransport();
|
|
414
|
-
* const
|
|
397
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
415
398
|
*
|
|
416
399
|
* const sub = await client.userTwapSliceFills({ user: "0x..." }, (data) => {
|
|
417
400
|
* console.log(data);
|
|
418
401
|
* });
|
|
419
402
|
* ```
|
|
420
403
|
*/
|
|
421
|
-
userTwapSliceFills(args: EventUserTwapSliceFills, listener: (data: WsUserTwapSliceFills) => void
|
|
404
|
+
userTwapSliceFills(args: EventUserTwapSliceFills, listener: (data: WsUserTwapSliceFills) => void): Promise<Subscription>;
|
|
422
405
|
/**
|
|
423
406
|
* Subscribe to comprehensive user and market data updates.
|
|
424
407
|
* @param args - The parameters for the subscription.
|
|
425
408
|
* @param listener - The callback function to be called when the event is received.
|
|
426
|
-
* @param signal - An optional abort signal for canceling the subscription request.
|
|
427
409
|
* @returns A promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
428
410
|
*
|
|
429
411
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
@@ -432,14 +414,14 @@ export declare class EventClient<T extends ISubscriptionTransport = ISubscriptio
|
|
|
432
414
|
* import * as hl from "@nktkas/hyperliquid";
|
|
433
415
|
*
|
|
434
416
|
* const transport = new hl.WebSocketTransport();
|
|
435
|
-
* const
|
|
417
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
436
418
|
*
|
|
437
419
|
* const sub = await client.webData2({ user: "0x..." }, (data) => {
|
|
438
420
|
* console.log(data);
|
|
439
421
|
* });
|
|
440
422
|
* ```
|
|
441
423
|
*/
|
|
442
|
-
webData2(args: EventWebData2Parameters, listener: (data: WsWebData2) => void
|
|
424
|
+
webData2(args: EventWebData2Parameters, listener: (data: WsWebData2) => void): Promise<Subscription>;
|
|
443
425
|
[Symbol.asyncDispose](): Promise<void>;
|
|
444
426
|
}
|
|
445
|
-
//# sourceMappingURL=
|
|
427
|
+
//# sourceMappingURL=subscription.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/src/clients/subscription.ts"],"names":[],"mappings":"AAAA,OAA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