@nightlylabs/dex-sdk 0.0.17 → 0.0.19
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.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -322,7 +322,8 @@ interface OracleUpdates {
|
|
|
322
322
|
}
|
|
323
323
|
interface OrderbookUpdate {
|
|
324
324
|
market: string;
|
|
325
|
-
|
|
325
|
+
bids_udpates: Record<string, string>;
|
|
326
|
+
asks_updates: Record<string, string>;
|
|
326
327
|
}
|
|
327
328
|
interface Trade {
|
|
328
329
|
id: string;
|
|
@@ -612,7 +613,7 @@ declare class Client {
|
|
|
612
613
|
unsubscribeIndexPricesUpdates(): Promise<void>;
|
|
613
614
|
subscribeUserUpdates(userId: string, callback: (data: WsUserUpdates) => void): Promise<() => Promise<void>>;
|
|
614
615
|
unsubscribeUserUpdates(userId: string): Promise<void>;
|
|
615
|
-
subscribePerpMarketUpdates(market: string, callback: (data:
|
|
616
|
+
subscribePerpMarketUpdates(market: string, callback: (data: WsPerpMarketUpdates) => void): Promise<() => Promise<void>>;
|
|
616
617
|
unsubscribePerpMarketUpdates(market: string): Promise<void>;
|
|
617
618
|
addApiKey(params: AddApiKeyParams): Promise<_thalalabs_surf.EntryPayload>;
|
|
618
619
|
removeApiKey(params: RemoveApiKeyParams): Promise<SubmitSponsoredTransactionResponse>;
|
package/dist/index.d.ts
CHANGED
|
@@ -322,7 +322,8 @@ interface OracleUpdates {
|
|
|
322
322
|
}
|
|
323
323
|
interface OrderbookUpdate {
|
|
324
324
|
market: string;
|
|
325
|
-
|
|
325
|
+
bids_udpates: Record<string, string>;
|
|
326
|
+
asks_updates: Record<string, string>;
|
|
326
327
|
}
|
|
327
328
|
interface Trade {
|
|
328
329
|
id: string;
|
|
@@ -612,7 +613,7 @@ declare class Client {
|
|
|
612
613
|
unsubscribeIndexPricesUpdates(): Promise<void>;
|
|
613
614
|
subscribeUserUpdates(userId: string, callback: (data: WsUserUpdates) => void): Promise<() => Promise<void>>;
|
|
614
615
|
unsubscribeUserUpdates(userId: string): Promise<void>;
|
|
615
|
-
subscribePerpMarketUpdates(market: string, callback: (data:
|
|
616
|
+
subscribePerpMarketUpdates(market: string, callback: (data: WsPerpMarketUpdates) => void): Promise<() => Promise<void>>;
|
|
616
617
|
unsubscribePerpMarketUpdates(market: string): Promise<void>;
|
|
617
618
|
addApiKey(params: AddApiKeyParams): Promise<_thalalabs_surf.EntryPayload>;
|
|
618
619
|
removeApiKey(params: RemoveApiKeyParams): Promise<SubmitSponsoredTransactionResponse>;
|