@chainflip/rpc 2.0.5 → 2.0.6-wbtc-dev.1
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 +1074 -570
- package/dist/common.d.ts +1074 -570
- package/dist/parsers.cjs +2 -1
- package/dist/parsers.d.cts +1388 -698
- package/dist/parsers.d.ts +1388 -698
- package/dist/parsers.mjs +2 -1
- package/package.json +16 -16
package/dist/parsers.cjs
CHANGED
|
@@ -40,6 +40,7 @@ var rpcAssetSchema = _zod.z.union([
|
|
|
40
40
|
_zod.z.object({ chain: _zod.z.literal("Ethereum"), asset: _zod.z.literal("ETH") }),
|
|
41
41
|
_zod.z.object({ chain: _zod.z.literal("Ethereum"), asset: _zod.z.literal("USDC") }),
|
|
42
42
|
_zod.z.object({ chain: _zod.z.literal("Ethereum"), asset: _zod.z.literal("USDT") }),
|
|
43
|
+
_zod.z.object({ chain: _zod.z.literal("Ethereum"), asset: _zod.z.literal("WBTC") }),
|
|
43
44
|
_zod.z.object({ chain: _zod.z.literal("Arbitrum"), asset: _zod.z.literal("ETH") }),
|
|
44
45
|
_zod.z.object({ chain: _zod.z.literal("Arbitrum"), asset: _zod.z.literal("USDC") }),
|
|
45
46
|
_zod.z.object({ chain: _zod.z.literal("Solana"), asset: _zod.z.literal("SOL") }),
|
|
@@ -639,7 +640,7 @@ var cfLendingConfig = _zod.z.object({
|
|
|
639
640
|
});
|
|
640
641
|
var cfLoanAccount = _zod.z.object({
|
|
641
642
|
account: accountId,
|
|
642
|
-
collateral_topup_asset: rpcAssetSchema,
|
|
643
|
+
collateral_topup_asset: rpcAssetSchema.nullable(),
|
|
643
644
|
ltv_ratio: numberOrHex.nullable(),
|
|
644
645
|
collateral: _zod.z.array(
|
|
645
646
|
_zod.z.intersection(
|