@chainflip/rpc 2.2.0-alpha.1 → 2.2.0-alpha.2

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
@@ -726,7 +726,7 @@ const cfLendingPools = z.array(z.object({
726
726
  const cfLendingConfig = z.object({
727
727
  ltv_thresholds: z.object({
728
728
  target: z.number(),
729
- topup: z.number().nullable(),
729
+ topup: z.number().nullish(),
730
730
  soft_liquidation: z.number(),
731
731
  soft_liquidation_abort: z.number(),
732
732
  hard_liquidation: z.number(),
@@ -755,7 +755,7 @@ const cfLendingConfig = z.object({
755
755
  });
756
756
  const cfLoanAccount = z.object({
757
757
  account: accountId,
758
- collateral_topup_asset: rpcAssetSchema.nullable(),
758
+ collateral_topup_asset: rpcAssetSchema.nullish(),
759
759
  ltv_ratio: numberOrHex.nullable(),
760
760
  collateral: z.array(z.intersection(rpcAssetSchema, z.object({ amount: numberOrHex }))),
761
761
  loans: z.array(z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "2.2.0-alpha.1",
3
+ "version": "2.2.0-alpha.2",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "2.2.0-alpha.1",