@chainflip/rpc 1.11.12 → 1.11.13

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
@@ -26400,19 +26400,19 @@ declare const rpcResult: {
26400
26400
  loan_id: number;
26401
26401
  swap_request_id: number;
26402
26402
  }>, "many">;
26403
- is_hard: z.ZodBoolean;
26403
+ liquidation_type: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
26404
26404
  }, "strip", z.ZodTypeAny, {
26405
26405
  liquidation_swaps: {
26406
26406
  loan_id: number;
26407
26407
  swap_request_id: number;
26408
26408
  }[];
26409
- is_hard: boolean;
26409
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
26410
26410
  }, {
26411
26411
  liquidation_swaps: {
26412
26412
  loan_id: number;
26413
26413
  swap_request_id: number;
26414
26414
  }[];
26415
- is_hard: boolean;
26415
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
26416
26416
  }>>;
26417
26417
  }, "strip", z.ZodTypeAny, {
26418
26418
  account: `cF${string}`;
@@ -26548,7 +26548,7 @@ declare const rpcResult: {
26548
26548
  loan_id: number;
26549
26549
  swap_request_id: number;
26550
26550
  }[];
26551
- is_hard: boolean;
26551
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
26552
26552
  } | null;
26553
26553
  }, {
26554
26554
  account: string;
@@ -26684,7 +26684,7 @@ declare const rpcResult: {
26684
26684
  loan_id: number;
26685
26685
  swap_request_id: number;
26686
26686
  }[];
26687
- is_hard: boolean;
26687
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
26688
26688
  } | null;
26689
26689
  }>, "many">;
26690
26690
  readonly cf_lending_pool_supply_balances: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
package/dist/common.d.ts CHANGED
@@ -26400,19 +26400,19 @@ declare const rpcResult: {
26400
26400
  loan_id: number;
26401
26401
  swap_request_id: number;
26402
26402
  }>, "many">;
26403
- is_hard: z.ZodBoolean;
26403
+ liquidation_type: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
26404
26404
  }, "strip", z.ZodTypeAny, {
26405
26405
  liquidation_swaps: {
26406
26406
  loan_id: number;
26407
26407
  swap_request_id: number;
26408
26408
  }[];
26409
- is_hard: boolean;
26409
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
26410
26410
  }, {
26411
26411
  liquidation_swaps: {
26412
26412
  loan_id: number;
26413
26413
  swap_request_id: number;
26414
26414
  }[];
26415
- is_hard: boolean;
26415
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
26416
26416
  }>>;
26417
26417
  }, "strip", z.ZodTypeAny, {
26418
26418
  account: `cF${string}`;
@@ -26548,7 +26548,7 @@ declare const rpcResult: {
26548
26548
  loan_id: number;
26549
26549
  swap_request_id: number;
26550
26550
  }[];
26551
- is_hard: boolean;
26551
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
26552
26552
  } | null;
26553
26553
  }, {
26554
26554
  account: string;
@@ -26684,7 +26684,7 @@ declare const rpcResult: {
26684
26684
  loan_id: number;
26685
26685
  swap_request_id: number;
26686
26686
  }[];
26687
- is_hard: boolean;
26687
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
26688
26688
  } | null;
26689
26689
  }>, "many">;
26690
26690
  readonly cf_lending_pool_supply_balances: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
package/dist/parsers.cjs CHANGED
@@ -652,7 +652,7 @@ var cfLoanAccount = _zod.z.object({
652
652
  loan_id: _zod.z.number()
653
653
  })
654
654
  ),
655
- is_hard: _zod.z.boolean()
655
+ liquidation_type: _zod.z.enum(["SoftVoluntary", "Soft", "Hard"])
656
656
  }).nullable()
657
657
  });
658
658
  var cfLoanAccounts = _zod.z.array(cfLoanAccount);
@@ -30718,19 +30718,19 @@ declare const cfLoanAccount: z.ZodObject<{
30718
30718
  loan_id: number;
30719
30719
  swap_request_id: number;
30720
30720
  }>, "many">;
30721
- is_hard: z.ZodBoolean;
30721
+ liquidation_type: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
30722
30722
  }, "strip", z.ZodTypeAny, {
30723
30723
  liquidation_swaps: {
30724
30724
  loan_id: number;
30725
30725
  swap_request_id: number;
30726
30726
  }[];
30727
- is_hard: boolean;
30727
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
30728
30728
  }, {
30729
30729
  liquidation_swaps: {
30730
30730
  loan_id: number;
30731
30731
  swap_request_id: number;
30732
30732
  }[];
30733
- is_hard: boolean;
30733
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
30734
30734
  }>>;
30735
30735
  }, "strip", z.ZodTypeAny, {
30736
30736
  account: `cF${string}`;
@@ -30866,7 +30866,7 @@ declare const cfLoanAccount: z.ZodObject<{
30866
30866
  loan_id: number;
30867
30867
  swap_request_id: number;
30868
30868
  }[];
30869
- is_hard: boolean;
30869
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
30870
30870
  } | null;
30871
30871
  }, {
30872
30872
  account: string;
@@ -31002,7 +31002,7 @@ declare const cfLoanAccount: z.ZodObject<{
31002
31002
  loan_id: number;
31003
31003
  swap_request_id: number;
31004
31004
  }[];
31005
- is_hard: boolean;
31005
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
31006
31006
  } | null;
31007
31007
  }>;
31008
31008
  declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
@@ -31469,19 +31469,19 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
31469
31469
  loan_id: number;
31470
31470
  swap_request_id: number;
31471
31471
  }>, "many">;
31472
- is_hard: z.ZodBoolean;
31472
+ liquidation_type: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
31473
31473
  }, "strip", z.ZodTypeAny, {
31474
31474
  liquidation_swaps: {
31475
31475
  loan_id: number;
31476
31476
  swap_request_id: number;
31477
31477
  }[];
31478
- is_hard: boolean;
31478
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
31479
31479
  }, {
31480
31480
  liquidation_swaps: {
31481
31481
  loan_id: number;
31482
31482
  swap_request_id: number;
31483
31483
  }[];
31484
- is_hard: boolean;
31484
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
31485
31485
  }>>;
31486
31486
  }, "strip", z.ZodTypeAny, {
31487
31487
  account: `cF${string}`;
@@ -31617,7 +31617,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
31617
31617
  loan_id: number;
31618
31618
  swap_request_id: number;
31619
31619
  }[];
31620
- is_hard: boolean;
31620
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
31621
31621
  } | null;
31622
31622
  }, {
31623
31623
  account: string;
@@ -31753,7 +31753,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
31753
31753
  loan_id: number;
31754
31754
  swap_request_id: number;
31755
31755
  }[];
31756
- is_hard: boolean;
31756
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
31757
31757
  } | null;
31758
31758
  }>, "many">;
31759
31759
  declare const cfLendingPoolSupplyBalances: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
package/dist/parsers.d.ts CHANGED
@@ -30718,19 +30718,19 @@ declare const cfLoanAccount: z.ZodObject<{
30718
30718
  loan_id: number;
30719
30719
  swap_request_id: number;
30720
30720
  }>, "many">;
30721
- is_hard: z.ZodBoolean;
30721
+ liquidation_type: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
30722
30722
  }, "strip", z.ZodTypeAny, {
30723
30723
  liquidation_swaps: {
30724
30724
  loan_id: number;
30725
30725
  swap_request_id: number;
30726
30726
  }[];
30727
- is_hard: boolean;
30727
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
30728
30728
  }, {
30729
30729
  liquidation_swaps: {
30730
30730
  loan_id: number;
30731
30731
  swap_request_id: number;
30732
30732
  }[];
30733
- is_hard: boolean;
30733
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
30734
30734
  }>>;
30735
30735
  }, "strip", z.ZodTypeAny, {
30736
30736
  account: `cF${string}`;
@@ -30866,7 +30866,7 @@ declare const cfLoanAccount: z.ZodObject<{
30866
30866
  loan_id: number;
30867
30867
  swap_request_id: number;
30868
30868
  }[];
30869
- is_hard: boolean;
30869
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
30870
30870
  } | null;
30871
30871
  }, {
30872
30872
  account: string;
@@ -31002,7 +31002,7 @@ declare const cfLoanAccount: z.ZodObject<{
31002
31002
  loan_id: number;
31003
31003
  swap_request_id: number;
31004
31004
  }[];
31005
- is_hard: boolean;
31005
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
31006
31006
  } | null;
31007
31007
  }>;
31008
31008
  declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
@@ -31469,19 +31469,19 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
31469
31469
  loan_id: number;
31470
31470
  swap_request_id: number;
31471
31471
  }>, "many">;
31472
- is_hard: z.ZodBoolean;
31472
+ liquidation_type: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
31473
31473
  }, "strip", z.ZodTypeAny, {
31474
31474
  liquidation_swaps: {
31475
31475
  loan_id: number;
31476
31476
  swap_request_id: number;
31477
31477
  }[];
31478
- is_hard: boolean;
31478
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
31479
31479
  }, {
31480
31480
  liquidation_swaps: {
31481
31481
  loan_id: number;
31482
31482
  swap_request_id: number;
31483
31483
  }[];
31484
- is_hard: boolean;
31484
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
31485
31485
  }>>;
31486
31486
  }, "strip", z.ZodTypeAny, {
31487
31487
  account: `cF${string}`;
@@ -31617,7 +31617,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
31617
31617
  loan_id: number;
31618
31618
  swap_request_id: number;
31619
31619
  }[];
31620
- is_hard: boolean;
31620
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
31621
31621
  } | null;
31622
31622
  }, {
31623
31623
  account: string;
@@ -31753,7 +31753,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
31753
31753
  loan_id: number;
31754
31754
  swap_request_id: number;
31755
31755
  }[];
31756
- is_hard: boolean;
31756
+ liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
31757
31757
  } | null;
31758
31758
  }>, "many">;
31759
31759
  declare const cfLendingPoolSupplyBalances: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
package/dist/parsers.mjs CHANGED
@@ -652,7 +652,7 @@ var cfLoanAccount = z.object({
652
652
  loan_id: z.number()
653
653
  })
654
654
  ),
655
- is_hard: z.boolean()
655
+ liquidation_type: z.enum(["SoftVoluntary", "Soft", "Hard"])
656
656
  }).nullable()
657
657
  });
658
658
  var cfLoanAccounts = z.array(cfLoanAccount);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "1.11.12",
3
+ "version": "1.11.13",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "0.11.0",