@chainflip/rpc 1.11.6 → 1.11.8

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
@@ -107,7 +107,11 @@ var cfIngressEgressEnvironment = z.object({
107
107
  egress_fees: chainAssetMapFactory(numberOrHex.nullable(), null),
108
108
  witness_safety_margins: chainMapFactory(z.number().nullable(), null),
109
109
  egress_dust_limits: chainAssetMapFactory(numberOrHex, 0),
110
- channel_opening_fees: chainMapFactory(numberOrHex, 0)
110
+ channel_opening_fees: chainMapFactory(numberOrHex, 0),
111
+ ingress_delays: chainMapFactory(z.number(), 0).optional(),
112
+ // TODO(1.12): remove after all networks upgraded
113
+ boost_delays: chainMapFactory(z.number(), 0).optional()
114
+ // TODO(1.12): remove after all networks upgraded
111
115
  }).transform(rename({ egress_dust_limits: "minimum_egress_amounts" }));
112
116
  var cfSwappingEnvironment = z.object({
113
117
  maximum_swap_amounts: chainAssetMapFactory(numberOrHex.nullable(), null),
@@ -617,7 +621,10 @@ var cfLendingConfig = z.object({
617
621
  liquidation_swap_chunk_size_usd: numberOrHex,
618
622
  soft_liquidation_max_oracle_slippage: z.number(),
619
623
  hard_liquidation_max_oracle_slippage: z.number(),
620
- fee_swap_max_oracle_slippage: z.number()
624
+ fee_swap_max_oracle_slippage: z.number(),
625
+ minimum_loan_amount_usd: numberOrHex,
626
+ minimum_update_loan_amount_usd: numberOrHex,
627
+ minimum_update_collateral_amount_usd: numberOrHex
621
628
  });
622
629
  var cfLoanAccount = z.object({
623
630
  account: accountId,
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "1.11.6",
3
+ "version": "1.11.8",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "0.11.0",
7
7
  "zod": "^3.25.75"
8
8
  },
9
9
  "devDependencies": {
10
- "@types/node": "^24.8.1",
10
+ "@types/node": "^24.10.0",
11
11
  "@types/ws": "^8.18.1",
12
12
  "ws": "^8.18.3"
13
13
  },