@chainflip/rpc 2.1.8 → 2.1.10

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.cjs CHANGED
@@ -653,8 +653,8 @@ const cfSafeModeStatuses = zod.z.object({
653
653
  borrowing: cfSupportedAssets,
654
654
  add_lender_funds: cfSupportedAssets,
655
655
  withdraw_lender_funds: cfSupportedAssets,
656
- add_collateral: cfSupportedAssets,
657
- remove_collateral: cfSupportedAssets,
656
+ add_collateral: cfSupportedAssets.optional(),
657
+ remove_collateral: cfSupportedAssets.optional(),
658
658
  liquidations_enabled: zod.z.boolean()
659
659
  }),
660
660
  broadcast_ethereum: broadcastPalletSafeModeStatuses,
@@ -725,7 +725,7 @@ const cfLendingConfig = zod.z.object({
725
725
  minimum_loan_amount_usd: numberOrHex,
726
726
  minimum_supply_amount_usd: numberOrHex,
727
727
  minimum_update_loan_amount_usd: numberOrHex,
728
- minimum_update_collateral_amount_usd: numberOrHex
728
+ minimum_update_collateral_amount_usd: numberOrHex.optional()
729
729
  });
730
730
  const cfLoanAccount = zod.z.object({
731
731
  account: accountId,
@@ -795,7 +795,7 @@ const ingressEgressVaultDeposit = zod.z.object({
795
795
  ss58Format: _chainflip_utils_consts.CHAINFLIP_SS58_PREFIX
796
796
  })),
797
797
  bps: zod.z.number()
798
- }).optional(),
798
+ }).nullable().optional(),
799
799
  affiliate_fees: zod.z.array(zod.z.object({
800
800
  account: zod.z.string().transform((v) => _chainflip_utils_ss58.encode({
801
801
  data: _chainflip_utils_ss58.decode(v).data,