@chainflip/rpc 2.1.11 → 2.2.0-dev.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/common.d.cts CHANGED
@@ -30451,7 +30451,7 @@ declare const rpcResult: {
30451
30451
  readonly cf_lending_config: z.ZodObject<{
30452
30452
  ltv_thresholds: z.ZodObject<{
30453
30453
  target: z.ZodNumber;
30454
- topup: z.ZodNullable<z.ZodNumber>;
30454
+ topup: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30455
30455
  soft_liquidation: z.ZodNumber;
30456
30456
  soft_liquidation_abort: z.ZodNumber;
30457
30457
  hard_liquidation: z.ZodNumber;
@@ -30459,20 +30459,20 @@ declare const rpcResult: {
30459
30459
  low_ltv: z.ZodNullable<z.ZodNumber>;
30460
30460
  }, "strip", z.ZodTypeAny, {
30461
30461
  target: number;
30462
- topup: number | null;
30463
30462
  soft_liquidation: number;
30464
30463
  soft_liquidation_abort: number;
30465
30464
  hard_liquidation: number;
30466
30465
  hard_liquidation_abort: number;
30467
30466
  low_ltv: number | null;
30467
+ topup?: number | null | undefined;
30468
30468
  }, {
30469
30469
  target: number;
30470
- topup: number | null;
30471
30470
  soft_liquidation: number;
30472
30471
  soft_liquidation_abort: number;
30473
30472
  hard_liquidation: number;
30474
30473
  hard_liquidation_abort: number;
30475
30474
  low_ltv: number | null;
30475
+ topup?: number | null | undefined;
30476
30476
  }>;
30477
30477
  network_fee_contributions: z.ZodObject<{
30478
30478
  extra_interest: z.ZodNumber;
@@ -30506,12 +30506,12 @@ declare const rpcResult: {
30506
30506
  }, "strip", z.ZodTypeAny, {
30507
30507
  ltv_thresholds: {
30508
30508
  target: number;
30509
- topup: number | null;
30510
30509
  soft_liquidation: number;
30511
30510
  soft_liquidation_abort: number;
30512
30511
  hard_liquidation: number;
30513
30512
  hard_liquidation_abort: number;
30514
30513
  low_ltv: number | null;
30514
+ topup?: number | null | undefined;
30515
30515
  };
30516
30516
  network_fee_contributions: {
30517
30517
  extra_interest: number;
@@ -30535,12 +30535,12 @@ declare const rpcResult: {
30535
30535
  }, {
30536
30536
  ltv_thresholds: {
30537
30537
  target: number;
30538
- topup: number | null;
30539
30538
  soft_liquidation: number;
30540
30539
  soft_liquidation_abort: number;
30541
30540
  hard_liquidation: number;
30542
30541
  hard_liquidation_abort: number;
30543
30542
  low_ltv: number | null;
30543
+ topup?: number | null | undefined;
30544
30544
  };
30545
30545
  network_fee_contributions: {
30546
30546
  extra_interest: number;
package/dist/common.d.mts CHANGED
@@ -30451,7 +30451,7 @@ declare const rpcResult: {
30451
30451
  readonly cf_lending_config: z.ZodObject<{
30452
30452
  ltv_thresholds: z.ZodObject<{
30453
30453
  target: z.ZodNumber;
30454
- topup: z.ZodNullable<z.ZodNumber>;
30454
+ topup: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30455
30455
  soft_liquidation: z.ZodNumber;
30456
30456
  soft_liquidation_abort: z.ZodNumber;
30457
30457
  hard_liquidation: z.ZodNumber;
@@ -30459,20 +30459,20 @@ declare const rpcResult: {
30459
30459
  low_ltv: z.ZodNullable<z.ZodNumber>;
30460
30460
  }, "strip", z.ZodTypeAny, {
30461
30461
  target: number;
30462
- topup: number | null;
30463
30462
  soft_liquidation: number;
30464
30463
  soft_liquidation_abort: number;
30465
30464
  hard_liquidation: number;
30466
30465
  hard_liquidation_abort: number;
30467
30466
  low_ltv: number | null;
30467
+ topup?: number | null | undefined;
30468
30468
  }, {
30469
30469
  target: number;
30470
- topup: number | null;
30471
30470
  soft_liquidation: number;
30472
30471
  soft_liquidation_abort: number;
30473
30472
  hard_liquidation: number;
30474
30473
  hard_liquidation_abort: number;
30475
30474
  low_ltv: number | null;
30475
+ topup?: number | null | undefined;
30476
30476
  }>;
30477
30477
  network_fee_contributions: z.ZodObject<{
30478
30478
  extra_interest: z.ZodNumber;
@@ -30506,12 +30506,12 @@ declare const rpcResult: {
30506
30506
  }, "strip", z.ZodTypeAny, {
30507
30507
  ltv_thresholds: {
30508
30508
  target: number;
30509
- topup: number | null;
30510
30509
  soft_liquidation: number;
30511
30510
  soft_liquidation_abort: number;
30512
30511
  hard_liquidation: number;
30513
30512
  hard_liquidation_abort: number;
30514
30513
  low_ltv: number | null;
30514
+ topup?: number | null | undefined;
30515
30515
  };
30516
30516
  network_fee_contributions: {
30517
30517
  extra_interest: number;
@@ -30535,12 +30535,12 @@ declare const rpcResult: {
30535
30535
  }, {
30536
30536
  ltv_thresholds: {
30537
30537
  target: number;
30538
- topup: number | null;
30539
30538
  soft_liquidation: number;
30540
30539
  soft_liquidation_abort: number;
30541
30540
  hard_liquidation: number;
30542
30541
  hard_liquidation_abort: number;
30543
30542
  low_ltv: number | null;
30543
+ topup?: number | null | undefined;
30544
30544
  };
30545
30545
  network_fee_contributions: {
30546
30546
  extra_interest: number;
package/dist/parsers.cjs CHANGED
@@ -700,7 +700,7 @@ const cfLendingPools = zod.z.array(zod.z.object({
700
700
  const cfLendingConfig = zod.z.object({
701
701
  ltv_thresholds: zod.z.object({
702
702
  target: zod.z.number(),
703
- topup: zod.z.number().nullable(),
703
+ topup: zod.z.number().nullish(),
704
704
  soft_liquidation: zod.z.number(),
705
705
  soft_liquidation_abort: zod.z.number(),
706
706
  hard_liquidation: zod.z.number(),
@@ -36216,7 +36216,7 @@ declare const cfLendingPools: z.ZodArray<z.ZodObject<{
36216
36216
  declare const cfLendingConfig: z.ZodObject<{
36217
36217
  ltv_thresholds: z.ZodObject<{
36218
36218
  target: z.ZodNumber;
36219
- topup: z.ZodNullable<z.ZodNumber>;
36219
+ topup: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36220
36220
  soft_liquidation: z.ZodNumber;
36221
36221
  soft_liquidation_abort: z.ZodNumber;
36222
36222
  hard_liquidation: z.ZodNumber;
@@ -36224,20 +36224,20 @@ declare const cfLendingConfig: z.ZodObject<{
36224
36224
  low_ltv: z.ZodNullable<z.ZodNumber>;
36225
36225
  }, "strip", z.ZodTypeAny, {
36226
36226
  target: number;
36227
- topup: number | null;
36228
36227
  soft_liquidation: number;
36229
36228
  soft_liquidation_abort: number;
36230
36229
  hard_liquidation: number;
36231
36230
  hard_liquidation_abort: number;
36232
36231
  low_ltv: number | null;
36232
+ topup?: number | null | undefined;
36233
36233
  }, {
36234
36234
  target: number;
36235
- topup: number | null;
36236
36235
  soft_liquidation: number;
36237
36236
  soft_liquidation_abort: number;
36238
36237
  hard_liquidation: number;
36239
36238
  hard_liquidation_abort: number;
36240
36239
  low_ltv: number | null;
36240
+ topup?: number | null | undefined;
36241
36241
  }>;
36242
36242
  network_fee_contributions: z.ZodObject<{
36243
36243
  extra_interest: z.ZodNumber;
@@ -36271,12 +36271,12 @@ declare const cfLendingConfig: z.ZodObject<{
36271
36271
  }, "strip", z.ZodTypeAny, {
36272
36272
  ltv_thresholds: {
36273
36273
  target: number;
36274
- topup: number | null;
36275
36274
  soft_liquidation: number;
36276
36275
  soft_liquidation_abort: number;
36277
36276
  hard_liquidation: number;
36278
36277
  hard_liquidation_abort: number;
36279
36278
  low_ltv: number | null;
36279
+ topup?: number | null | undefined;
36280
36280
  };
36281
36281
  network_fee_contributions: {
36282
36282
  extra_interest: number;
@@ -36300,12 +36300,12 @@ declare const cfLendingConfig: z.ZodObject<{
36300
36300
  }, {
36301
36301
  ltv_thresholds: {
36302
36302
  target: number;
36303
- topup: number | null;
36304
36303
  soft_liquidation: number;
36305
36304
  soft_liquidation_abort: number;
36306
36305
  hard_liquidation: number;
36307
36306
  hard_liquidation_abort: number;
36308
36307
  low_ltv: number | null;
36308
+ topup?: number | null | undefined;
36309
36309
  };
36310
36310
  network_fee_contributions: {
36311
36311
  extra_interest: number;
@@ -36216,7 +36216,7 @@ declare const cfLendingPools: z.ZodArray<z.ZodObject<{
36216
36216
  declare const cfLendingConfig: z.ZodObject<{
36217
36217
  ltv_thresholds: z.ZodObject<{
36218
36218
  target: z.ZodNumber;
36219
- topup: z.ZodNullable<z.ZodNumber>;
36219
+ topup: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36220
36220
  soft_liquidation: z.ZodNumber;
36221
36221
  soft_liquidation_abort: z.ZodNumber;
36222
36222
  hard_liquidation: z.ZodNumber;
@@ -36224,20 +36224,20 @@ declare const cfLendingConfig: z.ZodObject<{
36224
36224
  low_ltv: z.ZodNullable<z.ZodNumber>;
36225
36225
  }, "strip", z.ZodTypeAny, {
36226
36226
  target: number;
36227
- topup: number | null;
36228
36227
  soft_liquidation: number;
36229
36228
  soft_liquidation_abort: number;
36230
36229
  hard_liquidation: number;
36231
36230
  hard_liquidation_abort: number;
36232
36231
  low_ltv: number | null;
36232
+ topup?: number | null | undefined;
36233
36233
  }, {
36234
36234
  target: number;
36235
- topup: number | null;
36236
36235
  soft_liquidation: number;
36237
36236
  soft_liquidation_abort: number;
36238
36237
  hard_liquidation: number;
36239
36238
  hard_liquidation_abort: number;
36240
36239
  low_ltv: number | null;
36240
+ topup?: number | null | undefined;
36241
36241
  }>;
36242
36242
  network_fee_contributions: z.ZodObject<{
36243
36243
  extra_interest: z.ZodNumber;
@@ -36271,12 +36271,12 @@ declare const cfLendingConfig: z.ZodObject<{
36271
36271
  }, "strip", z.ZodTypeAny, {
36272
36272
  ltv_thresholds: {
36273
36273
  target: number;
36274
- topup: number | null;
36275
36274
  soft_liquidation: number;
36276
36275
  soft_liquidation_abort: number;
36277
36276
  hard_liquidation: number;
36278
36277
  hard_liquidation_abort: number;
36279
36278
  low_ltv: number | null;
36279
+ topup?: number | null | undefined;
36280
36280
  };
36281
36281
  network_fee_contributions: {
36282
36282
  extra_interest: number;
@@ -36300,12 +36300,12 @@ declare const cfLendingConfig: z.ZodObject<{
36300
36300
  }, {
36301
36301
  ltv_thresholds: {
36302
36302
  target: number;
36303
- topup: number | null;
36304
36303
  soft_liquidation: number;
36305
36304
  soft_liquidation_abort: number;
36306
36305
  hard_liquidation: number;
36307
36306
  hard_liquidation_abort: number;
36308
36307
  low_ltv: number | null;
36308
+ topup?: number | null | undefined;
36309
36309
  };
36310
36310
  network_fee_contributions: {
36311
36311
  extra_interest: number;
package/dist/parsers.mjs CHANGED
@@ -697,7 +697,7 @@ const cfLendingPools = z.array(z.object({
697
697
  const cfLendingConfig = z.object({
698
698
  ltv_thresholds: z.object({
699
699
  target: z.number(),
700
- topup: z.number().nullable(),
700
+ topup: z.number().nullish(),
701
701
  soft_liquidation: z.number(),
702
702
  soft_liquidation_abort: z.number(),
703
703
  hard_liquidation: z.number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "2.1.11",
3
+ "version": "2.2.0-dev.2",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "2.1.2",