@chainflip/rpc 1.9.3 → 1.9.4
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/common.cjs +3 -1
- package/dist/common.d.cts +293 -0
- package/dist/common.d.ts +293 -0
- package/dist/common.mjs +4 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/parsers.cjs +10 -1
- package/dist/parsers.d.cts +293 -1
- package/dist/parsers.d.ts +293 -1
- package/dist/parsers.mjs +9 -0
- package/dist/types.d.cts +3 -1
- package/dist/types.d.ts +3 -1
- package/package.json +4 -4
package/dist/types.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ type CfSwapRate = RpcResult<'cf_swap_rate'>;
|
|
|
29
29
|
type CfSwapRateV2 = RpcResult<'cf_swap_rate_v2'>;
|
|
30
30
|
type CfSwapRateV3 = RpcResult<'cf_swap_rate_v3'>;
|
|
31
31
|
type CfGetTradingStrategies = RpcResult<'cf_get_trading_strategies'>;
|
|
32
|
+
type CfAvailablePools = RpcResult<'cf_available_pools'>;
|
|
32
33
|
type CfAccountInfoResponse = RpcResponse<'cf_account_info'>;
|
|
33
34
|
type CfAccountsResponse = RpcResponse<'cf_accounts'>;
|
|
34
35
|
type CfAuctionStateResponse = RpcResponse<'cf_auction_state'>;
|
|
@@ -53,6 +54,7 @@ type CfSwapRateResponse = RpcResponse<'cf_swap_rate'>;
|
|
|
53
54
|
type CfSwapRateV2Response = RpcResponse<'cf_swap_rate_v2'>;
|
|
54
55
|
type CfSwapRateV3Response = RpcResponse<'cf_swap_rate_v3'>;
|
|
55
56
|
type CfGetTradingStrategiesResponse = RpcResponse<'cf_get_trading_strategies'>;
|
|
57
|
+
type CfAvailablePoolsResponse = RpcResponse<'cf_available_pools'>;
|
|
56
58
|
type CfUnregisteredAccount = z.output<typeof unregistered>;
|
|
57
59
|
type CfBrokerAccount = z.output<typeof broker>;
|
|
58
60
|
type CfValidatorAccount = z.output<typeof validator>;
|
|
@@ -60,4 +62,4 @@ type CfLiquidityProviderAccount = z.output<typeof liquidityProvider>;
|
|
|
60
62
|
type LpTotalBalances = RpcResult<'lp_total_balances'>;
|
|
61
63
|
type LpTotalBalancesResponse = RpcResponse<'lp_total_balances'>;
|
|
62
64
|
|
|
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 };
|
|
65
|
+
export { type CfAccountInfo, type CfAccountInfoResponse, type CfAccounts, type CfAccountsResponse, type CfAuctionState, type CfAuctionStateResponse, type CfAvailablePools, type CfAvailablePoolsResponse, 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,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainflip/rpc",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@chainflip/utils": "0.8.
|
|
6
|
+
"@chainflip/utils": "0.8.3",
|
|
7
7
|
"zod": "^3.24.2"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"@types/node": "^22.
|
|
11
|
-
"@types/ws": "^8.18.
|
|
10
|
+
"@types/node": "^22.14.0",
|
|
11
|
+
"@types/ws": "^8.18.1",
|
|
12
12
|
"ws": "^8.18.1"
|
|
13
13
|
},
|
|
14
14
|
"files": [
|