@chainflip/rpc 2.1.6 → 2.1.7
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.d.cts +494 -475
- package/dist/common.d.mts +494 -475
- package/dist/parsers.cjs +7 -6
- package/dist/parsers.d.cts +651 -613
- package/dist/parsers.d.mts +651 -613
- package/dist/parsers.mjs +6 -5
- package/package.json +2 -2
package/dist/parsers.mjs
CHANGED
|
@@ -191,7 +191,7 @@ const cfIngressEgressEnvironment = z.object({
|
|
|
191
191
|
channel_opening_fees: chainMapFactory(numberOrHex, 0),
|
|
192
192
|
ingress_delays: chainMapFactory(z.number(), 0),
|
|
193
193
|
boost_delays: chainMapFactory(z.number(), 0),
|
|
194
|
-
boost_minimum_add_funds_amounts: chainAssetMapFactory(numberOrHex.nullable(), null)
|
|
194
|
+
boost_minimum_add_funds_amounts: chainAssetMapFactory(numberOrHex.nullable(), null)
|
|
195
195
|
}).transform(rename({ egress_dust_limits: "minimum_egress_amounts" }));
|
|
196
196
|
const cfSwappingEnvironment = z.object({
|
|
197
197
|
maximum_swap_amounts: chainAssetMapFactory(numberOrHex.nullable(), null),
|
|
@@ -201,7 +201,7 @@ const cfSwappingEnvironment = z.object({
|
|
|
201
201
|
max_swap_request_duration_blocks: z.number(),
|
|
202
202
|
minimum_chunk_size: chainAssetMapFactory(numberOrHex.nullable(), null),
|
|
203
203
|
network_fees: networkFees,
|
|
204
|
-
default_oracle_price_protection: chainAssetMapFactory(z.number().nullable(), null)
|
|
204
|
+
default_oracle_price_protection: chainAssetMapFactory(z.number().nullable(), null)
|
|
205
205
|
});
|
|
206
206
|
const cfFundingEnvironment = z.object({
|
|
207
207
|
redemption_tax: numberOrHex,
|
|
@@ -667,8 +667,8 @@ const cfSafeModeStatuses = z.object({
|
|
|
667
667
|
state_chain_gateway_witnessing: z.boolean(),
|
|
668
668
|
key_manager_witnessing: z.boolean(),
|
|
669
669
|
sc_utils_witnessing: z.boolean()
|
|
670
|
-
})
|
|
671
|
-
arbitrum_elections: z.object({ key_manager_witnessing: z.boolean() })
|
|
670
|
+
}),
|
|
671
|
+
arbitrum_elections: z.object({ key_manager_witnessing: z.boolean() }),
|
|
672
672
|
elections_generic: z.object({ oracle_price_elections: z.boolean() })
|
|
673
673
|
});
|
|
674
674
|
const cfLendingPools = z.array(z.object({
|
|
@@ -724,7 +724,8 @@ const cfLoanAccount = z.object({
|
|
|
724
724
|
loans: z.array(z.object({
|
|
725
725
|
loan_id: z.number(),
|
|
726
726
|
asset: rpcAssetSchema,
|
|
727
|
-
principal_amount: numberOrHex
|
|
727
|
+
principal_amount: numberOrHex,
|
|
728
|
+
loan_type: z.object({ User: accountId }).optional()
|
|
728
729
|
})),
|
|
729
730
|
liquidation_status: z.object({
|
|
730
731
|
liquidation_swaps: z.array(z.object({
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainflip/rpc",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@chainflip/utils": "2.1.2",
|
|
7
7
|
"zod": "^3.25.75"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"@types/node": "^25.
|
|
10
|
+
"@types/node": "^25.6.0",
|
|
11
11
|
"@types/ws": "^8.18.1",
|
|
12
12
|
"ws": "^8.20.0"
|
|
13
13
|
},
|