@covalenthq/client-sdk 2.3.3 → 2.3.5
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 +1 -0
- package/dist/index.js +32 -1
- package/dist/index.js.map +1 -1
- package/dist/src/utils/types/StreamingService.types.d.ts +23 -4
- package/package.json +1 -1
|
@@ -4,10 +4,14 @@ import type { ContractMetadata } from "./Generic.types";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare enum StreamingChain {
|
|
6
6
|
BASE_MAINNET = "BASE_MAINNET",
|
|
7
|
+
SOLANA_MAINNET = "SOLANA_MAINNET",
|
|
8
|
+
SONIC_MAINNET = "SONIC_MAINNET",
|
|
7
9
|
ETH_MAINNET = "ETH_MAINNET",
|
|
8
|
-
BSC_MAINNET = "BSC_MAINNET"
|
|
10
|
+
BSC_MAINNET = "BSC_MAINNET",
|
|
11
|
+
HYPERCORE_MAINNET = "HYPERCORE_MAINNET"
|
|
9
12
|
}
|
|
10
13
|
export declare enum StreamingInterval {
|
|
14
|
+
ONE_SECOND = "ONE_SECOND",
|
|
11
15
|
FIFTEEN_SECONDS = "FIFTEEN_SECONDS",
|
|
12
16
|
THIRTY_SECONDS = "THIRTY_SECONDS",
|
|
13
17
|
ONE_MINUTE = "ONE_MINUTE",
|
|
@@ -32,7 +36,22 @@ export declare enum StreamingTimeframe {
|
|
|
32
36
|
export declare enum StreamingProtocol {
|
|
33
37
|
UNISWAP_V2 = "UNISWAP_V2",
|
|
34
38
|
UNISWAP_V3 = "UNISWAP_V3",
|
|
35
|
-
UNISWAP_V4 = "UNISWAP_V4"
|
|
39
|
+
UNISWAP_V4 = "UNISWAP_V4",
|
|
40
|
+
VIRTUALS_V2 = "VIRTUALS_V2",
|
|
41
|
+
CLANKER = "CLANKER",
|
|
42
|
+
RAYDIUM_AMM = "RAYDIUM_AMM",
|
|
43
|
+
RAYDIUM_CPMM = "RAYDIUM_CPMM",
|
|
44
|
+
PUMP_DOT_FUN = "PUMP_DOT_FUN",
|
|
45
|
+
PUMP_FUN_AMM = "PUMP_FUN_AMM",
|
|
46
|
+
MOONSHOT = "MOONSHOT",
|
|
47
|
+
RAYDIUM_LAUNCH_LAB = "RAYDIUM_LAUNCH_LAB",
|
|
48
|
+
METEORA_DAMM = "METEORA_DAMM",
|
|
49
|
+
METEORA_DLMM = "METEORA_DLMM",
|
|
50
|
+
METEORA_DBC = "METEORA_DBC",
|
|
51
|
+
PANCAKESWAP_V2 = "PANCAKESWAP_V2",
|
|
52
|
+
PANCAKESWAP_V3 = "PANCAKESWAP_V3",
|
|
53
|
+
SHADOW_V2 = "SHADOW_V2",
|
|
54
|
+
SHADOW_V3 = "SHADOW_V3"
|
|
36
55
|
}
|
|
37
56
|
/**
|
|
38
57
|
* OHLCV Pairs Stream Types
|
|
@@ -123,8 +142,6 @@ export interface NewPairsStreamResponse {
|
|
|
123
142
|
base_token_metadata: ContractMetadata;
|
|
124
143
|
quote_token_metadata: ContractMetadata;
|
|
125
144
|
pair_metadata: ContractMetadata;
|
|
126
|
-
prices: PriceMetrics;
|
|
127
|
-
swaps: SwapMetrics;
|
|
128
145
|
}
|
|
129
146
|
/**
|
|
130
147
|
* Token Balances Stream Types
|
|
@@ -166,6 +183,8 @@ export interface UpdatePairsStreamResponse {
|
|
|
166
183
|
liquidity: number;
|
|
167
184
|
base_token: ContractMetadata;
|
|
168
185
|
quote_token: ContractMetadata;
|
|
186
|
+
price_deltas: PriceMetrics;
|
|
187
|
+
swap_counts: SwapMetrics;
|
|
169
188
|
}
|
|
170
189
|
/**
|
|
171
190
|
* Wallet Activity Stream Types
|