@chainflip/rpc 1.9.0-assethub.2 → 1.9.2

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/parsers.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/parsers.ts
2
- import { isNotNullish } from "@chainflip/utils/guard";
2
+ import { isUndefined } from "@chainflip/utils/guard";
3
3
  import { isHex } from "@chainflip/utils/string";
4
4
  import { z } from "zod";
5
5
  var hexString = z.string().refine(isHex, { message: "Invalid hex string" });
@@ -11,11 +11,7 @@ var chainAssetMapFactory = (parser, defaultValue) => z.object({
11
11
  Polkadot: z.object({ DOT: parser }),
12
12
  Arbitrum: z.object({ ETH: parser, USDC: parser }),
13
13
  Solana: z.object({ SOL: parser, USDC: parser }),
14
- Assethub: z.object({
15
- DOT: parser.default(defaultValue),
16
- USDC: parser.default(defaultValue),
17
- USDT: parser.default(defaultValue)
18
- })
14
+ Assethub: z.object({ DOT: parser, USDC: parser, USDT: parser }).default({ DOT: defaultValue, USDC: defaultValue, USDT: defaultValue })
19
15
  });
20
16
  var chainBaseAssetMapFactory = (parser, defaultValue) => z.object({
21
17
  Bitcoin: z.object({ BTC: parser }),
@@ -23,11 +19,7 @@ var chainBaseAssetMapFactory = (parser, defaultValue) => z.object({
23
19
  Polkadot: z.object({ DOT: parser }),
24
20
  Arbitrum: z.object({ ETH: parser, USDC: parser }),
25
21
  Solana: z.object({ SOL: parser, USDC: parser }),
26
- Assethub: z.object({
27
- DOT: parser.default(defaultValue),
28
- USDC: parser.default(defaultValue),
29
- USDT: parser.default(defaultValue)
30
- })
22
+ Assethub: z.object({ DOT: parser, USDC: parser, USDT: parser }).default({ DOT: defaultValue, USDC: defaultValue, USDT: defaultValue })
31
23
  });
32
24
  var chainMapFactory = (parser, defaultValue) => z.object({
33
25
  Bitcoin: parser,
@@ -62,8 +54,8 @@ var rpcBaseResponse = z.object({
62
54
  id: z.string(),
63
55
  jsonrpc: z.literal("2.0")
64
56
  });
65
- var nonNullish = z.any().refine(isNotNullish, { message: "Value must not be null or undefined" });
66
- var rpcSuccessResponse = rpcBaseResponse.extend({ result: nonNullish });
57
+ var notUndefined = z.any().refine((v) => !isUndefined(v), { message: "Value must not be undefined" });
58
+ var rpcSuccessResponse = rpcBaseResponse.extend({ result: notUndefined });
67
59
  var rpcErrorResponse = rpcBaseResponse.extend({
68
60
  error: z.object({ code: z.number(), message: z.string() })
69
61
  });
@@ -102,8 +94,7 @@ var cfIngressEgressEnvironment = z.object({
102
94
  witness_safety_margins: chainMapFactory(z.number().nullable(), null),
103
95
  egress_dust_limits: chainAssetMapFactory(numberOrHex, 0),
104
96
  channel_opening_fees: chainMapFactory(numberOrHex, 0),
105
- // TODO(1.6): no longer optional
106
- max_swap_retry_duration_blocks: chainMapFactory(z.number(), 0).optional().default({ Arbitrum: 0, Bitcoin: 0, Ethereum: 0, Polkadot: 0, Solana: 0 })
97
+ max_swap_retry_duration_blocks: chainMapFactory(z.number(), 0)
107
98
  }).transform(rename({ egress_dust_limits: "minimum_egress_amounts" }));
108
99
  var cfSwappingEnvironment = z.object({
109
100
  maximum_swap_amounts: chainAssetMapFactory(numberOrHex.nullable(), null),
@@ -200,13 +191,18 @@ var requestSwapParameterEncoding = z.discriminatedUnion("chain", [
200
191
  ]);
201
192
  var unregistered = z.object({
202
193
  role: z.literal("unregistered"),
203
- flip_balance: numberOrHex
194
+ flip_balance: numberOrHex,
195
+ asset_balances: chainAssetMapFactory(numberOrHex, 0)
204
196
  });
205
197
  var broker = z.object({
206
198
  role: z.literal("broker"),
199
+ bond: numberOrHex,
207
200
  flip_balance: numberOrHex,
208
201
  earned_fees: chainAssetMapFactory(numberOrHex, 0),
209
- btc_vault_deposit_address: z.string().nullable().optional()
202
+ btc_vault_deposit_address: z.string().nullable().optional(),
203
+ affiliates: z.array(
204
+ z.object({ account_id: z.string(), short_id: z.number(), withdrawal_address: hexString })
205
+ ).optional().default([])
210
206
  });
211
207
  var boostBalances = z.array(
212
208
  z.object({
@@ -298,14 +294,14 @@ var cfBoostPoolDetails = z.array(
298
294
  available_amounts: z.array(boostPoolAmount),
299
295
  deposits_pending_finalization: z.array(
300
296
  z.object({
301
- deposit_id: z.number().transform(BigInt),
297
+ deposit_id: numberOrHex,
302
298
  owed_amounts: z.array(boostPoolAmount)
303
299
  })
304
300
  ),
305
301
  pending_withdrawals: z.array(
306
302
  z.object({
307
303
  account_id: z.string(),
308
- pending_deposits: z.array(z.bigint())
304
+ pending_deposits: z.array(numberOrHex)
309
305
  })
310
306
  ),
311
307
  network_fee_deduction_percent: z.number().optional()
@@ -327,18 +323,57 @@ var cfBoostPoolPendingFees = z.array(
327
323
  )
328
324
  );
329
325
  var lpTotalBalances = chainAssetMapFactory(numberOrHex, 0);
326
+ var cfFailedCallEvm = z.object({
327
+ contract: hexString,
328
+ data: z.string()
329
+ });
330
+ var range = (parser) => z.tuple([parser, parser]);
331
+ var cfAuctionState = z.object({
332
+ epoch_duration: z.number(),
333
+ current_epoch_started_at: z.number(),
334
+ redemption_period_as_percentage: z.number(),
335
+ min_funding: numberOrHex,
336
+ auction_size_range: range(z.number()),
337
+ min_active_bid: numberOrHex
338
+ }).transform(rename({ epoch_duration: "epoch_duration_blocks" }));
339
+ var cfFlipSuppy = range(numberOrHex).transform(([totalIssuance, offchainFunds]) => ({
340
+ totalIssuance,
341
+ offchainFunds
342
+ }));
343
+ var ethereumAddress = z.string().transform((address) => `0x${address}`);
344
+ var cfPoolOrderbook = z.object({
345
+ bids: z.array(z.object({ amount: u256, sqrt_price: u256 })),
346
+ asks: z.array(z.object({ amount: u256, sqrt_price: u256 }))
347
+ });
348
+ var cfTradingStrategy = z.object({
349
+ lp_id: z.string(),
350
+ strategy_id: z.string(),
351
+ strategy: z.object({
352
+ TickZeroCentered: z.object({
353
+ spread_tick: z.number(),
354
+ base_asset: rpcAssetSchema
355
+ })
356
+ }),
357
+ balance: z.array(z.tuple([rpcAssetSchema, numberOrHex]))
358
+ });
359
+ var cfGetTradingStrategies = z.array(cfTradingStrategy).default([]);
330
360
  export {
331
361
  broker,
332
362
  brokerRequestSwapDepositAddress,
333
363
  cfAccountInfo,
334
364
  cfAccounts,
365
+ cfAuctionState,
335
366
  cfBoostPoolDetails,
336
367
  cfBoostPoolPendingFees,
337
368
  cfBoostPoolsDepth,
338
369
  cfEnvironment,
370
+ cfFailedCallEvm,
371
+ cfFlipSuppy,
339
372
  cfFundingEnvironment,
373
+ cfGetTradingStrategies,
340
374
  cfIngressEgressEnvironment,
341
375
  cfPoolDepth,
376
+ cfPoolOrderbook,
342
377
  cfPoolOrders,
343
378
  cfPoolPriceV2,
344
379
  cfPoolsEnvironment,
@@ -347,7 +382,9 @@ export {
347
382
  cfSwapRateV2,
348
383
  cfSwapRateV3,
349
384
  cfSwappingEnvironment,
385
+ cfTradingStrategy,
350
386
  chainGetBlockHash,
387
+ ethereumAddress,
351
388
  hexString,
352
389
  liquidityProvider,
353
390
  lpTotalBalances,
package/dist/types.d.cts CHANGED
@@ -6,44 +6,58 @@ export { RpcLimitOrder, RpcRangeOrder } from './parsers.cjs';
6
6
  import '@chainflip/utils/types';
7
7
 
8
8
  type CfAccountInfo = RpcResult<'cf_account_info'>;
9
+ type CfAccounts = RpcResult<'cf_accounts'>;
10
+ type CfAuctionState = RpcResult<'cf_auction_state'>;
9
11
  type CfBoostPoolDetails = RpcResult<'cf_boost_pool_details'>;
10
12
  type CfBoostPoolPendingFees = RpcResult<'cf_boost_pool_pending_fees'>;
11
13
  type CfBoostPoolsDepth = RpcResult<'cf_boost_pools_depth'>;
12
14
  type CfEnvironment = RpcResult<'cf_environment'>;
15
+ type CfFailedCallArbitrum = RpcResult<'cf_failed_call_arbitrum'>;
16
+ type CfFailedCallEthereum = RpcResult<'cf_failed_call_ethereum'>;
17
+ type CfFlipSupply = RpcResult<'cf_flip_supply'>;
13
18
  type CfFundingEnvironment = RpcResult<'cf_funding_environment'>;
14
19
  type CfIngressEgressEnvironment = RpcResult<'cf_ingress_egress_environment'>;
20
+ type CfPoolDepth = RpcResult<'cf_pool_depth'>;
21
+ type CfPoolOrderbook = RpcResult<'cf_pool_orderbook'>;
15
22
  type CfPoolOrders = RpcResult<'cf_pool_orders'>;
16
23
  type CfPoolPriceV2 = RpcResult<'cf_pool_price_v2'>;
17
24
  type CfPoolsEnvironment = RpcResult<'cf_pools_environment'>;
25
+ type CfRequestSwapParameterEncoding = RpcResult<'cf_request_swap_parameter_encoding'>;
18
26
  type CfSupportedAssets = RpcResult<'cf_supported_assets'>;
19
27
  type CfSwappingEnvironment = RpcResult<'cf_swapping_environment'>;
20
28
  type CfSwapRate = RpcResult<'cf_swap_rate'>;
21
29
  type CfSwapRateV2 = RpcResult<'cf_swap_rate_v2'>;
22
30
  type CfSwapRateV3 = RpcResult<'cf_swap_rate_v3'>;
23
- type CfPoolDepth = RpcResult<'cf_pool_depth'>;
24
- type CfAccounts = RpcResult<'cf_accounts'>;
25
- type CfRequestSwapParameterEncoding = RpcResult<'cf_request_swap_parameter_encoding'>;
31
+ type CfGetTradingStrategies = RpcResult<'cf_get_trading_strategies'>;
26
32
  type CfAccountInfoResponse = RpcResponse<'cf_account_info'>;
33
+ type CfAccountsResponse = RpcResponse<'cf_accounts'>;
34
+ type CfAuctionStateResponse = RpcResponse<'cf_auction_state'>;
27
35
  type CfBoostPoolDetailsResponse = RpcResponse<'cf_boost_pool_details'>;
28
36
  type CfBoostPoolPendingFeesResponse = RpcResponse<'cf_boost_pool_pending_fees'>;
29
37
  type CfBoostPoolsDepthResponse = RpcResponse<'cf_boost_pools_depth'>;
30
38
  type CfEnvironmentResponse = RpcResponse<'cf_environment'>;
39
+ type CfFailedCallArbitrumResponse = RpcResponse<'cf_failed_call_arbitrum'>;
40
+ type CfFailedCallEthereumResponse = RpcResponse<'cf_failed_call_ethereum'>;
41
+ type CfFlipSupplyResponse = RpcResponse<'cf_flip_supply'>;
31
42
  type CfFundingEnvironmentResponse = RpcResponse<'cf_funding_environment'>;
32
43
  type CfIngressEgressEnvironmentResponse = RpcResponse<'cf_ingress_egress_environment'>;
44
+ type CfPoolDepthResponse = RpcResponse<'cf_pool_depth'>;
45
+ type CfPoolOrderbookResponse = RpcResponse<'cf_pool_orderbook'>;
33
46
  type CfPoolOrdersResponse = RpcResponse<'cf_pool_orders'>;
34
47
  type CfPoolPriceV2Response = RpcResponse<'cf_pool_price_v2'>;
35
48
  type CfPoolsEnvironmentResponse = RpcResponse<'cf_pools_environment'>;
49
+ type CfRequestSwapParameterEncodingResponse = RpcResponse<'cf_request_swap_parameter_encoding'>;
36
50
  type CfSupportedAssetsResponse = RpcResponse<'cf_supported_assets'>;
37
51
  type CfSwappingEnvironmentResponse = RpcResponse<'cf_swapping_environment'>;
38
52
  type CfSwapRateResponse = RpcResponse<'cf_swap_rate'>;
39
53
  type CfSwapRateV2Response = RpcResponse<'cf_swap_rate_v2'>;
40
54
  type CfSwapRateV3Response = RpcResponse<'cf_swap_rate_v3'>;
41
- type CfPoolDepthResponse = RpcResponse<'cf_pool_depth'>;
42
- type CfAccountsResponse = RpcResponse<'cf_accounts'>;
43
- type CfRequestSwapParameterEncodingResponse = RpcResponse<'cf_request_swap_parameter_encoding'>;
55
+ type CfGetTradingStrategiesResponse = RpcResponse<'cf_get_trading_strategies'>;
44
56
  type CfUnregisteredAccount = z.output<typeof unregistered>;
45
57
  type CfBrokerAccount = z.output<typeof broker>;
46
58
  type CfValidatorAccount = z.output<typeof validator>;
47
59
  type CfLiquidityProviderAccount = z.output<typeof liquidityProvider>;
60
+ type LpTotalBalances = RpcResult<'lp_total_balances'>;
61
+ type LpTotalBalancesResponse = RpcResponse<'lp_total_balances'>;
48
62
 
49
- export { type CfAccountInfo, type CfAccountInfoResponse, type CfAccounts, type CfAccountsResponse, type CfBoostPoolDetails, type CfBoostPoolDetailsResponse, type CfBoostPoolPendingFees, type CfBoostPoolPendingFeesResponse, type CfBoostPoolsDepth, type CfBoostPoolsDepthResponse, type CfBrokerAccount, type CfEnvironment, type CfEnvironmentResponse, type CfFundingEnvironment, type CfFundingEnvironmentResponse, type CfIngressEgressEnvironment, type CfIngressEgressEnvironmentResponse, type CfLiquidityProviderAccount, type CfPoolDepth, type CfPoolDepthResponse, type CfPoolOrders, type CfPoolOrdersResponse, type CfPoolPriceV2, type CfPoolPriceV2Response, type CfPoolsEnvironment, type CfPoolsEnvironmentResponse, type CfRequestSwapParameterEncoding, type CfRequestSwapParameterEncodingResponse, type CfSupportedAssets, type CfSupportedAssetsResponse, type CfSwapRate, type CfSwapRateResponse, type CfSwapRateV2, type CfSwapRateV2Response, type CfSwapRateV3, type CfSwapRateV3Response, type CfSwappingEnvironment, type CfSwappingEnvironmentResponse, type CfUnregisteredAccount, type CfValidatorAccount, RpcResult };
63
+ export { type CfAccountInfo, type CfAccountInfoResponse, type CfAccounts, type CfAccountsResponse, type CfAuctionState, type CfAuctionStateResponse, type CfBoostPoolDetails, type CfBoostPoolDetailsResponse, type CfBoostPoolPendingFees, type CfBoostPoolPendingFeesResponse, type CfBoostPoolsDepth, type CfBoostPoolsDepthResponse, type CfBrokerAccount, type CfEnvironment, type CfEnvironmentResponse, type CfFailedCallArbitrum, type CfFailedCallArbitrumResponse, type CfFailedCallEthereum, type CfFailedCallEthereumResponse, type CfFlipSupply, type CfFlipSupplyResponse, type CfFundingEnvironment, type CfFundingEnvironmentResponse, type CfGetTradingStrategies, type CfGetTradingStrategiesResponse, type CfIngressEgressEnvironment, type CfIngressEgressEnvironmentResponse, type CfLiquidityProviderAccount, type CfPoolDepth, type CfPoolDepthResponse, type CfPoolOrderbook, type CfPoolOrderbookResponse, type CfPoolOrders, type CfPoolOrdersResponse, type CfPoolPriceV2, type CfPoolPriceV2Response, type CfPoolsEnvironment, type CfPoolsEnvironmentResponse, type CfRequestSwapParameterEncoding, type CfRequestSwapParameterEncodingResponse, type CfSupportedAssets, type CfSupportedAssetsResponse, type CfSwapRate, type CfSwapRateResponse, type CfSwapRateV2, type CfSwapRateV2Response, type CfSwapRateV3, type CfSwapRateV3Response, type CfSwappingEnvironment, type CfSwappingEnvironmentResponse, type CfUnregisteredAccount, type CfValidatorAccount, type LpTotalBalances, type LpTotalBalancesResponse, RpcResult };
package/dist/types.d.ts CHANGED
@@ -6,44 +6,58 @@ export { RpcLimitOrder, RpcRangeOrder } from './parsers.js';
6
6
  import '@chainflip/utils/types';
7
7
 
8
8
  type CfAccountInfo = RpcResult<'cf_account_info'>;
9
+ type CfAccounts = RpcResult<'cf_accounts'>;
10
+ type CfAuctionState = RpcResult<'cf_auction_state'>;
9
11
  type CfBoostPoolDetails = RpcResult<'cf_boost_pool_details'>;
10
12
  type CfBoostPoolPendingFees = RpcResult<'cf_boost_pool_pending_fees'>;
11
13
  type CfBoostPoolsDepth = RpcResult<'cf_boost_pools_depth'>;
12
14
  type CfEnvironment = RpcResult<'cf_environment'>;
15
+ type CfFailedCallArbitrum = RpcResult<'cf_failed_call_arbitrum'>;
16
+ type CfFailedCallEthereum = RpcResult<'cf_failed_call_ethereum'>;
17
+ type CfFlipSupply = RpcResult<'cf_flip_supply'>;
13
18
  type CfFundingEnvironment = RpcResult<'cf_funding_environment'>;
14
19
  type CfIngressEgressEnvironment = RpcResult<'cf_ingress_egress_environment'>;
20
+ type CfPoolDepth = RpcResult<'cf_pool_depth'>;
21
+ type CfPoolOrderbook = RpcResult<'cf_pool_orderbook'>;
15
22
  type CfPoolOrders = RpcResult<'cf_pool_orders'>;
16
23
  type CfPoolPriceV2 = RpcResult<'cf_pool_price_v2'>;
17
24
  type CfPoolsEnvironment = RpcResult<'cf_pools_environment'>;
25
+ type CfRequestSwapParameterEncoding = RpcResult<'cf_request_swap_parameter_encoding'>;
18
26
  type CfSupportedAssets = RpcResult<'cf_supported_assets'>;
19
27
  type CfSwappingEnvironment = RpcResult<'cf_swapping_environment'>;
20
28
  type CfSwapRate = RpcResult<'cf_swap_rate'>;
21
29
  type CfSwapRateV2 = RpcResult<'cf_swap_rate_v2'>;
22
30
  type CfSwapRateV3 = RpcResult<'cf_swap_rate_v3'>;
23
- type CfPoolDepth = RpcResult<'cf_pool_depth'>;
24
- type CfAccounts = RpcResult<'cf_accounts'>;
25
- type CfRequestSwapParameterEncoding = RpcResult<'cf_request_swap_parameter_encoding'>;
31
+ type CfGetTradingStrategies = RpcResult<'cf_get_trading_strategies'>;
26
32
  type CfAccountInfoResponse = RpcResponse<'cf_account_info'>;
33
+ type CfAccountsResponse = RpcResponse<'cf_accounts'>;
34
+ type CfAuctionStateResponse = RpcResponse<'cf_auction_state'>;
27
35
  type CfBoostPoolDetailsResponse = RpcResponse<'cf_boost_pool_details'>;
28
36
  type CfBoostPoolPendingFeesResponse = RpcResponse<'cf_boost_pool_pending_fees'>;
29
37
  type CfBoostPoolsDepthResponse = RpcResponse<'cf_boost_pools_depth'>;
30
38
  type CfEnvironmentResponse = RpcResponse<'cf_environment'>;
39
+ type CfFailedCallArbitrumResponse = RpcResponse<'cf_failed_call_arbitrum'>;
40
+ type CfFailedCallEthereumResponse = RpcResponse<'cf_failed_call_ethereum'>;
41
+ type CfFlipSupplyResponse = RpcResponse<'cf_flip_supply'>;
31
42
  type CfFundingEnvironmentResponse = RpcResponse<'cf_funding_environment'>;
32
43
  type CfIngressEgressEnvironmentResponse = RpcResponse<'cf_ingress_egress_environment'>;
44
+ type CfPoolDepthResponse = RpcResponse<'cf_pool_depth'>;
45
+ type CfPoolOrderbookResponse = RpcResponse<'cf_pool_orderbook'>;
33
46
  type CfPoolOrdersResponse = RpcResponse<'cf_pool_orders'>;
34
47
  type CfPoolPriceV2Response = RpcResponse<'cf_pool_price_v2'>;
35
48
  type CfPoolsEnvironmentResponse = RpcResponse<'cf_pools_environment'>;
49
+ type CfRequestSwapParameterEncodingResponse = RpcResponse<'cf_request_swap_parameter_encoding'>;
36
50
  type CfSupportedAssetsResponse = RpcResponse<'cf_supported_assets'>;
37
51
  type CfSwappingEnvironmentResponse = RpcResponse<'cf_swapping_environment'>;
38
52
  type CfSwapRateResponse = RpcResponse<'cf_swap_rate'>;
39
53
  type CfSwapRateV2Response = RpcResponse<'cf_swap_rate_v2'>;
40
54
  type CfSwapRateV3Response = RpcResponse<'cf_swap_rate_v3'>;
41
- type CfPoolDepthResponse = RpcResponse<'cf_pool_depth'>;
42
- type CfAccountsResponse = RpcResponse<'cf_accounts'>;
43
- type CfRequestSwapParameterEncodingResponse = RpcResponse<'cf_request_swap_parameter_encoding'>;
55
+ type CfGetTradingStrategiesResponse = RpcResponse<'cf_get_trading_strategies'>;
44
56
  type CfUnregisteredAccount = z.output<typeof unregistered>;
45
57
  type CfBrokerAccount = z.output<typeof broker>;
46
58
  type CfValidatorAccount = z.output<typeof validator>;
47
59
  type CfLiquidityProviderAccount = z.output<typeof liquidityProvider>;
60
+ type LpTotalBalances = RpcResult<'lp_total_balances'>;
61
+ type LpTotalBalancesResponse = RpcResponse<'lp_total_balances'>;
48
62
 
49
- export { type CfAccountInfo, type CfAccountInfoResponse, type CfAccounts, type CfAccountsResponse, type CfBoostPoolDetails, type CfBoostPoolDetailsResponse, type CfBoostPoolPendingFees, type CfBoostPoolPendingFeesResponse, type CfBoostPoolsDepth, type CfBoostPoolsDepthResponse, type CfBrokerAccount, type CfEnvironment, type CfEnvironmentResponse, type CfFundingEnvironment, type CfFundingEnvironmentResponse, type CfIngressEgressEnvironment, type CfIngressEgressEnvironmentResponse, type CfLiquidityProviderAccount, type CfPoolDepth, type CfPoolDepthResponse, type CfPoolOrders, type CfPoolOrdersResponse, type CfPoolPriceV2, type CfPoolPriceV2Response, type CfPoolsEnvironment, type CfPoolsEnvironmentResponse, type CfRequestSwapParameterEncoding, type CfRequestSwapParameterEncodingResponse, type CfSupportedAssets, type CfSupportedAssetsResponse, type CfSwapRate, type CfSwapRateResponse, type CfSwapRateV2, type CfSwapRateV2Response, type CfSwapRateV3, type CfSwapRateV3Response, type CfSwappingEnvironment, type CfSwappingEnvironmentResponse, type CfUnregisteredAccount, type CfValidatorAccount, RpcResult };
63
+ export { type CfAccountInfo, type CfAccountInfoResponse, type CfAccounts, type CfAccountsResponse, type CfAuctionState, type CfAuctionStateResponse, type CfBoostPoolDetails, type CfBoostPoolDetailsResponse, type CfBoostPoolPendingFees, type CfBoostPoolPendingFeesResponse, type CfBoostPoolsDepth, type CfBoostPoolsDepthResponse, type CfBrokerAccount, type CfEnvironment, type CfEnvironmentResponse, type CfFailedCallArbitrum, type CfFailedCallArbitrumResponse, type CfFailedCallEthereum, type CfFailedCallEthereumResponse, type CfFlipSupply, type CfFlipSupplyResponse, type CfFundingEnvironment, type CfFundingEnvironmentResponse, type CfGetTradingStrategies, type CfGetTradingStrategiesResponse, type CfIngressEgressEnvironment, type CfIngressEgressEnvironmentResponse, type CfLiquidityProviderAccount, type CfPoolDepth, type CfPoolDepthResponse, type CfPoolOrderbook, type CfPoolOrderbookResponse, type CfPoolOrders, type CfPoolOrdersResponse, type CfPoolPriceV2, type CfPoolPriceV2Response, type CfPoolsEnvironment, type CfPoolsEnvironmentResponse, type CfRequestSwapParameterEncoding, type CfRequestSwapParameterEncodingResponse, type CfSupportedAssets, type CfSupportedAssetsResponse, type CfSwapRate, type CfSwapRateResponse, type CfSwapRateV2, type CfSwapRateV2Response, type CfSwapRateV3, type CfSwapRateV3Response, type CfSwappingEnvironment, type CfSwappingEnvironmentResponse, type CfUnregisteredAccount, type CfValidatorAccount, type LpTotalBalances, type LpTotalBalancesResponse, RpcResult };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "1.9.0-assethub.2",
3
+ "version": "1.9.2",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "0.7.0",
7
7
  "zod": "^3.24.2"
8
8
  },
9
9
  "devDependencies": {
10
- "@types/node": "^22.13.10",
10
+ "@types/node": "^22.13.14",
11
11
  "@types/ws": "^8.18.0",
12
12
  "ws": "^8.18.1"
13
13
  },