@chainflip/rpc 1.11.14 → 1.11.15

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 CHANGED
@@ -26059,7 +26059,7 @@ declare const rpcResult: {
26059
26059
  chain: "Assethub";
26060
26060
  asset: "USDT";
26061
26061
  }>]>;
26062
- ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
26062
+ ltv_ratio: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
26063
26063
  collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
26064
26064
  chain: z.ZodLiteral<"Bitcoin">;
26065
26065
  asset: z.ZodLiteral<"BTC">;
@@ -26459,7 +26459,7 @@ declare const rpcResult: {
26459
26459
  chain: "Assethub";
26460
26460
  asset: "USDT";
26461
26461
  };
26462
- ltv_ratio: bigint;
26462
+ ltv_ratio: bigint | null;
26463
26463
  collateral: (({
26464
26464
  chain: "Bitcoin";
26465
26465
  asset: "BTC";
@@ -26595,7 +26595,7 @@ declare const rpcResult: {
26595
26595
  chain: "Assethub";
26596
26596
  asset: "USDT";
26597
26597
  };
26598
- ltv_ratio: string | number;
26598
+ ltv_ratio: string | number | null;
26599
26599
  collateral: (({
26600
26600
  chain: "Bitcoin";
26601
26601
  asset: "BTC";
package/dist/common.d.ts CHANGED
@@ -26059,7 +26059,7 @@ declare const rpcResult: {
26059
26059
  chain: "Assethub";
26060
26060
  asset: "USDT";
26061
26061
  }>]>;
26062
- ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
26062
+ ltv_ratio: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
26063
26063
  collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
26064
26064
  chain: z.ZodLiteral<"Bitcoin">;
26065
26065
  asset: z.ZodLiteral<"BTC">;
@@ -26459,7 +26459,7 @@ declare const rpcResult: {
26459
26459
  chain: "Assethub";
26460
26460
  asset: "USDT";
26461
26461
  };
26462
- ltv_ratio: bigint;
26462
+ ltv_ratio: bigint | null;
26463
26463
  collateral: (({
26464
26464
  chain: "Bitcoin";
26465
26465
  asset: "BTC";
@@ -26595,7 +26595,7 @@ declare const rpcResult: {
26595
26595
  chain: "Assethub";
26596
26596
  asset: "USDT";
26597
26597
  };
26598
- ltv_ratio: string | number;
26598
+ ltv_ratio: string | number | null;
26599
26599
  collateral: (({
26600
26600
  chain: "Bitcoin";
26601
26601
  asset: "BTC";
package/dist/parsers.cjs CHANGED
@@ -630,7 +630,7 @@ var cfLendingConfig = _zod.z.object({
630
630
  var cfLoanAccount = _zod.z.object({
631
631
  account: accountId,
632
632
  primary_collateral_asset: rpcAssetSchema,
633
- ltv_ratio: numberOrHex,
633
+ ltv_ratio: numberOrHex.nullable(),
634
634
  collateral: _zod.z.array(
635
635
  _zod.z.intersection(
636
636
  rpcAssetSchema,
@@ -30377,7 +30377,7 @@ declare const cfLoanAccount: z.ZodObject<{
30377
30377
  chain: "Assethub";
30378
30378
  asset: "USDT";
30379
30379
  }>]>;
30380
- ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
30380
+ ltv_ratio: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
30381
30381
  collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
30382
30382
  chain: z.ZodLiteral<"Bitcoin">;
30383
30383
  asset: z.ZodLiteral<"BTC">;
@@ -30777,7 +30777,7 @@ declare const cfLoanAccount: z.ZodObject<{
30777
30777
  chain: "Assethub";
30778
30778
  asset: "USDT";
30779
30779
  };
30780
- ltv_ratio: bigint;
30780
+ ltv_ratio: bigint | null;
30781
30781
  collateral: (({
30782
30782
  chain: "Bitcoin";
30783
30783
  asset: "BTC";
@@ -30913,7 +30913,7 @@ declare const cfLoanAccount: z.ZodObject<{
30913
30913
  chain: "Assethub";
30914
30914
  asset: "USDT";
30915
30915
  };
30916
- ltv_ratio: string | number;
30916
+ ltv_ratio: string | number | null;
30917
30917
  collateral: (({
30918
30918
  chain: "Bitcoin";
30919
30919
  asset: "BTC";
@@ -31128,7 +31128,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
31128
31128
  chain: "Assethub";
31129
31129
  asset: "USDT";
31130
31130
  }>]>;
31131
- ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
31131
+ ltv_ratio: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
31132
31132
  collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
31133
31133
  chain: z.ZodLiteral<"Bitcoin">;
31134
31134
  asset: z.ZodLiteral<"BTC">;
@@ -31528,7 +31528,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
31528
31528
  chain: "Assethub";
31529
31529
  asset: "USDT";
31530
31530
  };
31531
- ltv_ratio: bigint;
31531
+ ltv_ratio: bigint | null;
31532
31532
  collateral: (({
31533
31533
  chain: "Bitcoin";
31534
31534
  asset: "BTC";
@@ -31664,7 +31664,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
31664
31664
  chain: "Assethub";
31665
31665
  asset: "USDT";
31666
31666
  };
31667
- ltv_ratio: string | number;
31667
+ ltv_ratio: string | number | null;
31668
31668
  collateral: (({
31669
31669
  chain: "Bitcoin";
31670
31670
  asset: "BTC";
package/dist/parsers.d.ts CHANGED
@@ -30377,7 +30377,7 @@ declare const cfLoanAccount: z.ZodObject<{
30377
30377
  chain: "Assethub";
30378
30378
  asset: "USDT";
30379
30379
  }>]>;
30380
- ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
30380
+ ltv_ratio: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
30381
30381
  collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
30382
30382
  chain: z.ZodLiteral<"Bitcoin">;
30383
30383
  asset: z.ZodLiteral<"BTC">;
@@ -30777,7 +30777,7 @@ declare const cfLoanAccount: z.ZodObject<{
30777
30777
  chain: "Assethub";
30778
30778
  asset: "USDT";
30779
30779
  };
30780
- ltv_ratio: bigint;
30780
+ ltv_ratio: bigint | null;
30781
30781
  collateral: (({
30782
30782
  chain: "Bitcoin";
30783
30783
  asset: "BTC";
@@ -30913,7 +30913,7 @@ declare const cfLoanAccount: z.ZodObject<{
30913
30913
  chain: "Assethub";
30914
30914
  asset: "USDT";
30915
30915
  };
30916
- ltv_ratio: string | number;
30916
+ ltv_ratio: string | number | null;
30917
30917
  collateral: (({
30918
30918
  chain: "Bitcoin";
30919
30919
  asset: "BTC";
@@ -31128,7 +31128,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
31128
31128
  chain: "Assethub";
31129
31129
  asset: "USDT";
31130
31130
  }>]>;
31131
- ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
31131
+ ltv_ratio: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
31132
31132
  collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
31133
31133
  chain: z.ZodLiteral<"Bitcoin">;
31134
31134
  asset: z.ZodLiteral<"BTC">;
@@ -31528,7 +31528,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
31528
31528
  chain: "Assethub";
31529
31529
  asset: "USDT";
31530
31530
  };
31531
- ltv_ratio: bigint;
31531
+ ltv_ratio: bigint | null;
31532
31532
  collateral: (({
31533
31533
  chain: "Bitcoin";
31534
31534
  asset: "BTC";
@@ -31664,7 +31664,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
31664
31664
  chain: "Assethub";
31665
31665
  asset: "USDT";
31666
31666
  };
31667
- ltv_ratio: string | number;
31667
+ ltv_ratio: string | number | null;
31668
31668
  collateral: (({
31669
31669
  chain: "Bitcoin";
31670
31670
  asset: "BTC";
package/dist/parsers.mjs CHANGED
@@ -630,7 +630,7 @@ var cfLendingConfig = z.object({
630
630
  var cfLoanAccount = z.object({
631
631
  account: accountId,
632
632
  primary_collateral_asset: rpcAssetSchema,
633
- ltv_ratio: numberOrHex,
633
+ ltv_ratio: numberOrHex.nullable(),
634
634
  collateral: z.array(
635
635
  z.intersection(
636
636
  rpcAssetSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "1.11.14",
3
+ "version": "1.11.15",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "0.11.0",