@chainflip/rpc 1.4.4 → 1.4.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/dist/Client.d.cts +1 -1
- package/dist/Client.d.ts +1 -1
- package/dist/HttpClient.d.cts +1 -1
- package/dist/HttpClient.d.ts +1 -1
- package/dist/WsClient.d.cts +1 -1
- package/dist/WsClient.d.ts +1 -1
- package/dist/common.cjs +8 -0
- package/dist/common.d.cts +5251 -396
- package/dist/common.d.ts +5251 -396
- package/dist/common.mjs +8 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/parsers.cjs +110 -2
- package/dist/parsers.d.cts +5438 -1
- package/dist/parsers.d.ts +5438 -1
- package/dist/parsers.mjs +110 -2
- package/dist/types.d.cts +14 -3
- package/dist/types.d.ts +14 -3
- package/package.json +1 -1
package/dist/Client.d.cts
CHANGED
package/dist/Client.d.ts
CHANGED
package/dist/HttpClient.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Client from './Client.cjs';
|
|
2
2
|
import { RpcMethod, JsonRpcRequest } from './common.cjs';
|
|
3
|
+
import '@chainflip/utils/types';
|
|
3
4
|
import 'zod';
|
|
4
5
|
import './parsers.cjs';
|
|
5
|
-
import '@chainflip/utils/types';
|
|
6
6
|
|
|
7
7
|
declare class HttpClient extends Client {
|
|
8
8
|
protected send<const T extends RpcMethod>(request: JsonRpcRequest<T>): Promise<{
|
package/dist/HttpClient.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Client from './Client.js';
|
|
2
2
|
import { RpcMethod, JsonRpcRequest } from './common.js';
|
|
3
|
+
import '@chainflip/utils/types';
|
|
3
4
|
import 'zod';
|
|
4
5
|
import './parsers.js';
|
|
5
|
-
import '@chainflip/utils/types';
|
|
6
6
|
|
|
7
7
|
declare class HttpClient extends Client {
|
|
8
8
|
protected send<const T extends RpcMethod>(request: JsonRpcRequest<T>): Promise<{
|
package/dist/WsClient.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Client from './Client.cjs';
|
|
2
2
|
import { RpcMethod, JsonRpcRequest } from './common.cjs';
|
|
3
|
+
import '@chainflip/utils/types';
|
|
3
4
|
import 'zod';
|
|
4
5
|
import './parsers.cjs';
|
|
5
|
-
import '@chainflip/utils/types';
|
|
6
6
|
|
|
7
7
|
declare class WsClient extends Client {
|
|
8
8
|
private readonly WebSocket;
|
package/dist/WsClient.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Client from './Client.js';
|
|
2
2
|
import { RpcMethod, JsonRpcRequest } from './common.js';
|
|
3
|
+
import '@chainflip/utils/types';
|
|
3
4
|
import 'zod';
|
|
4
5
|
import './parsers.js';
|
|
5
|
-
import '@chainflip/utils/types';
|
|
6
6
|
|
|
7
7
|
declare class WsClient extends Client {
|
|
8
8
|
private readonly WebSocket;
|
package/dist/common.cjs
CHANGED
|
@@ -12,14 +12,22 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
15
19
|
var _parserscjs = require('./parsers.cjs');
|
|
16
20
|
|
|
17
21
|
var rpcResult = {
|
|
18
22
|
broker_requestSwapDepositAddress: _parserscjs.brokerRequestSwapDepositAddress,
|
|
23
|
+
cf_account_info: _parserscjs.cfAccountInfo,
|
|
19
24
|
cf_boost_pools_depth: _parserscjs.cfBoostPoolsDepth,
|
|
20
25
|
cf_environment: _parserscjs.cfEnvironment,
|
|
21
26
|
cf_funding_environment: _parserscjs.cfFundingEnvironment,
|
|
22
27
|
cf_ingress_egress_environment: _parserscjs.cfIngressEgressEnvironment,
|
|
28
|
+
cf_pool_orders: _parserscjs.cfPoolOrders,
|
|
29
|
+
cf_pool_price_v2: _parserscjs.cfPoolPriceV2,
|
|
30
|
+
cf_pools_environment: _parserscjs.cfPoolsEnvironment,
|
|
23
31
|
cf_supported_assets: _parserscjs.cfSupportedAsssets,
|
|
24
32
|
cf_swap_rate: _parserscjs.cfSwapRate,
|
|
25
33
|
cf_swap_rate_v2: _parserscjs.cfSwapRateV2,
|