@chainflip/rpc 2.0.7 → 2.1.0-beta.1
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/Client.cjs +88 -91
- package/dist/Client.d.cts +30 -33
- package/dist/Client.d.mts +40 -0
- package/dist/Client.mjs +87 -90
- package/dist/HttpClient.cjs +33 -32
- package/dist/HttpClient.d.cts +5 -10
- package/dist/HttpClient.d.mts +9 -0
- package/dist/HttpClient.mjs +32 -31
- package/dist/WsClient.cjs +119 -124
- package/dist/WsClient.d.cts +22 -24
- package/dist/WsClient.d.mts +26 -0
- package/dist/WsClient.mjs +117 -122
- package/dist/_virtual/rolldown_runtime.cjs +19 -0
- package/dist/_virtual/rolldown_runtime.mjs +18 -0
- package/dist/common.cjs +55 -98
- package/dist/common.d.cts +30509 -26329
- package/dist/common.d.mts +31128 -0
- package/dist/common.mjs +54 -98
- package/dist/constants.cjs +16 -7
- package/dist/constants.d.cts +11 -1
- package/dist/constants.d.mts +11 -0
- package/dist/constants.mjs +12 -9
- package/dist/index.cjs +12 -10
- package/dist/index.d.cts +7 -11
- package/dist/index.d.mts +7 -0
- package/dist/index.mjs +5 -10
- package/dist/parsers.cjs +794 -750
- package/dist/parsers.d.cts +36279 -31216
- package/dist/parsers.d.mts +37053 -0
- package/dist/parsers.mjs +738 -746
- package/dist/types.cjs +0 -1
- package/dist/types.d.cts +6 -9
- package/dist/{types.d.ts → types.d.mts} +6 -9
- package/dist/types.mjs +1 -0
- package/package.json +6 -6
- package/dist/Client.d.ts +0 -43
- package/dist/HttpClient.d.ts +0 -13
- package/dist/WsClient.d.ts +0 -27
- package/dist/common.d.ts +0 -26948
- package/dist/constants-jLrn-AnI.d.cts +0 -13
- package/dist/constants-jLrn-AnI.d.ts +0 -13
- package/dist/constants.d.ts +0 -1
- package/dist/index.d.ts +0 -11
- package/dist/parsers.d.ts +0 -31990
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const PUBLIC_RPC_ENDPOINTS: {
|
|
2
|
-
mainnet: string;
|
|
3
|
-
perseverance: string;
|
|
4
|
-
sisyphos: string;
|
|
5
|
-
backspin: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
declare const constants_PUBLIC_RPC_ENDPOINTS: typeof PUBLIC_RPC_ENDPOINTS;
|
|
9
|
-
declare namespace constants {
|
|
10
|
-
export { constants_PUBLIC_RPC_ENDPOINTS as PUBLIC_RPC_ENDPOINTS };
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { PUBLIC_RPC_ENDPOINTS as P, constants as c };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const PUBLIC_RPC_ENDPOINTS: {
|
|
2
|
-
mainnet: string;
|
|
3
|
-
perseverance: string;
|
|
4
|
-
sisyphos: string;
|
|
5
|
-
backspin: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
declare const constants_PUBLIC_RPC_ENDPOINTS: typeof PUBLIC_RPC_ENDPOINTS;
|
|
9
|
-
declare namespace constants {
|
|
10
|
-
export { constants_PUBLIC_RPC_ENDPOINTS as PUBLIC_RPC_ENDPOINTS };
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { PUBLIC_RPC_ENDPOINTS as P, constants as c };
|
package/dist/constants.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { P as PUBLIC_RPC_ENDPOINTS } from './constants-jLrn-AnI.js';
|
package/dist/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { default as HttpClient } from './HttpClient.js';
|
|
2
|
-
export { default as WsClient } from './WsClient.js';
|
|
3
|
-
export { CfAccountInfo, CfAccountInfoResponse, CfAccounts, CfAccountsResponse, CfAuctionState, CfAuctionStateResponse, CfAvailablePools, CfAvailablePoolsResponse, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEncodeCfParameters, CfEncodeCfParametersResponse, CfEnvironment, CfEnvironmentResponse, CfFailedCallArbitrum, CfFailedCallArbitrumResponse, CfFailedCallEthereum, CfFailedCallEthereumResponse, CfFlipSupply, CfFlipSupplyResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfGetTradingStrategies, CfGetTradingStrategiesResponse, CfGetTradingStrategyLimits, CfGetTradingStrategyLimitsResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLendingConfig, CfLendingConfigResponse, CfLendingPoolSupplyBalances, CfLendingPoolSupplyBalancesResponse, CfLendingPools, CfLendingPoolsResponse, CfLiquidityProviderAccount, CfLoanAccounts, CfLoanAccountsResponse, CfMonitoringSimulateAuction, CfMonitoringSimulateAuctionResponse, CfOperatorAccount, CfOraclePrices, CfOraclePricesResponse, CfPoolDepth, CfPoolDepthResponse, CfPoolOrderbook, CfPoolOrderbookResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfRequestSwapParameterEncoding, CfRequestSwapParameterEncodingResponse, CfSafeModeStatuses, CfSafeModeStatusesResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwapRateV3, CfSwapRateV3Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount, CfVaultAddresses, CfVaultAddressesResponse, LpTotalBalances, LpTotalBalancesResponse } from './types.js';
|
|
4
|
-
export { c as constants } from './constants-jLrn-AnI.js';
|
|
5
|
-
export { RpcLimitOrder, RpcRangeOrder } from './parsers.js';
|
|
6
|
-
export { RpcMethod, RpcRequest as RpcParams, RpcResult } from './common.js';
|
|
7
|
-
import './Client.js';
|
|
8
|
-
import '@chainflip/utils/async';
|
|
9
|
-
import 'zod';
|
|
10
|
-
import '@chainflip/utils/chainflip';
|
|
11
|
-
import '@chainflip/utils/types';
|