@chainflip/rpc 1.8.12 → 1.8.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
@@ -595,7 +595,7 @@ declare const rpcResult: {
595
595
  };
596
596
  }>;
597
597
  btc_vault_deposit_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
598
- affiliates: z.ZodArray<z.ZodObject<{
598
+ affiliates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
599
599
  account_id: z.ZodString;
600
600
  short_id: z.ZodNumber;
601
601
  withdrawal_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -607,7 +607,7 @@ declare const rpcResult: {
607
607
  account_id: string;
608
608
  short_id: number;
609
609
  withdrawal_address: string;
610
- }>, "many">;
610
+ }>, "many">>>;
611
611
  }, "strip", z.ZodTypeAny, {
612
612
  role: "broker";
613
613
  flip_balance: bigint;
@@ -666,12 +666,12 @@ declare const rpcResult: {
666
666
  DOT: string | number;
667
667
  };
668
668
  };
669
- affiliates: {
669
+ btc_vault_deposit_address?: string | null | undefined;
670
+ affiliates?: {
670
671
  account_id: string;
671
672
  short_id: number;
672
673
  withdrawal_address: string;
673
- }[];
674
- btc_vault_deposit_address?: string | null | undefined;
674
+ }[] | undefined;
675
675
  }>, z.ZodObject<{
676
676
  role: z.ZodLiteral<"liquidity_provider">;
677
677
  balances: z.ZodObject<{
package/dist/common.d.ts CHANGED
@@ -595,7 +595,7 @@ declare const rpcResult: {
595
595
  };
596
596
  }>;
597
597
  btc_vault_deposit_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
598
- affiliates: z.ZodArray<z.ZodObject<{
598
+ affiliates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
599
599
  account_id: z.ZodString;
600
600
  short_id: z.ZodNumber;
601
601
  withdrawal_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -607,7 +607,7 @@ declare const rpcResult: {
607
607
  account_id: string;
608
608
  short_id: number;
609
609
  withdrawal_address: string;
610
- }>, "many">;
610
+ }>, "many">>>;
611
611
  }, "strip", z.ZodTypeAny, {
612
612
  role: "broker";
613
613
  flip_balance: bigint;
@@ -666,12 +666,12 @@ declare const rpcResult: {
666
666
  DOT: string | number;
667
667
  };
668
668
  };
669
- affiliates: {
669
+ btc_vault_deposit_address?: string | null | undefined;
670
+ affiliates?: {
670
671
  account_id: string;
671
672
  short_id: number;
672
673
  withdrawal_address: string;
673
- }[];
674
- btc_vault_deposit_address?: string | null | undefined;
674
+ }[] | undefined;
675
675
  }>, z.ZodObject<{
676
676
  role: z.ZodLiteral<"liquidity_provider">;
677
677
  balances: z.ZodObject<{
package/dist/parsers.cjs CHANGED
@@ -197,7 +197,7 @@ var broker = _zod.z.object({
197
197
  btc_vault_deposit_address: _zod.z.string().nullable().optional(),
198
198
  affiliates: _zod.z.array(
199
199
  _zod.z.object({ account_id: _zod.z.string(), short_id: _zod.z.number(), withdrawal_address: hexString })
200
- )
200
+ ).optional().default([])
201
201
  });
202
202
  var boostBalances = _zod.z.array(
203
203
  _zod.z.object({
@@ -12019,7 +12019,7 @@ declare const broker: z.ZodObject<{
12019
12019
  };
12020
12020
  }>;
12021
12021
  btc_vault_deposit_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12022
- affiliates: z.ZodArray<z.ZodObject<{
12022
+ affiliates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
12023
12023
  account_id: z.ZodString;
12024
12024
  short_id: z.ZodNumber;
12025
12025
  withdrawal_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -12031,7 +12031,7 @@ declare const broker: z.ZodObject<{
12031
12031
  account_id: string;
12032
12032
  short_id: number;
12033
12033
  withdrawal_address: string;
12034
- }>, "many">;
12034
+ }>, "many">>>;
12035
12035
  }, "strip", z.ZodTypeAny, {
12036
12036
  role: "broker";
12037
12037
  flip_balance: bigint;
@@ -12090,12 +12090,12 @@ declare const broker: z.ZodObject<{
12090
12090
  DOT: string | number;
12091
12091
  };
12092
12092
  };
12093
- affiliates: {
12093
+ btc_vault_deposit_address?: string | null | undefined;
12094
+ affiliates?: {
12094
12095
  account_id: string;
12095
12096
  short_id: number;
12096
12097
  withdrawal_address: string;
12097
- }[];
12098
- btc_vault_deposit_address?: string | null | undefined;
12098
+ }[] | undefined;
12099
12099
  }>;
12100
12100
  declare const liquidityProvider: z.ZodObject<{
12101
12101
  role: z.ZodLiteral<"liquidity_provider">;
@@ -13386,7 +13386,7 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
13386
13386
  };
13387
13387
  }>;
13388
13388
  btc_vault_deposit_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13389
- affiliates: z.ZodArray<z.ZodObject<{
13389
+ affiliates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
13390
13390
  account_id: z.ZodString;
13391
13391
  short_id: z.ZodNumber;
13392
13392
  withdrawal_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -13398,7 +13398,7 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
13398
13398
  account_id: string;
13399
13399
  short_id: number;
13400
13400
  withdrawal_address: string;
13401
- }>, "many">;
13401
+ }>, "many">>>;
13402
13402
  }, "strip", z.ZodTypeAny, {
13403
13403
  role: "broker";
13404
13404
  flip_balance: bigint;
@@ -13457,12 +13457,12 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
13457
13457
  DOT: string | number;
13458
13458
  };
13459
13459
  };
13460
- affiliates: {
13460
+ btc_vault_deposit_address?: string | null | undefined;
13461
+ affiliates?: {
13461
13462
  account_id: string;
13462
13463
  short_id: number;
13463
13464
  withdrawal_address: string;
13464
- }[];
13465
- btc_vault_deposit_address?: string | null | undefined;
13465
+ }[] | undefined;
13466
13466
  }>, z.ZodObject<{
13467
13467
  role: z.ZodLiteral<"liquidity_provider">;
13468
13468
  balances: z.ZodObject<{
package/dist/parsers.d.ts CHANGED
@@ -12019,7 +12019,7 @@ declare const broker: z.ZodObject<{
12019
12019
  };
12020
12020
  }>;
12021
12021
  btc_vault_deposit_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12022
- affiliates: z.ZodArray<z.ZodObject<{
12022
+ affiliates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
12023
12023
  account_id: z.ZodString;
12024
12024
  short_id: z.ZodNumber;
12025
12025
  withdrawal_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -12031,7 +12031,7 @@ declare const broker: z.ZodObject<{
12031
12031
  account_id: string;
12032
12032
  short_id: number;
12033
12033
  withdrawal_address: string;
12034
- }>, "many">;
12034
+ }>, "many">>>;
12035
12035
  }, "strip", z.ZodTypeAny, {
12036
12036
  role: "broker";
12037
12037
  flip_balance: bigint;
@@ -12090,12 +12090,12 @@ declare const broker: z.ZodObject<{
12090
12090
  DOT: string | number;
12091
12091
  };
12092
12092
  };
12093
- affiliates: {
12093
+ btc_vault_deposit_address?: string | null | undefined;
12094
+ affiliates?: {
12094
12095
  account_id: string;
12095
12096
  short_id: number;
12096
12097
  withdrawal_address: string;
12097
- }[];
12098
- btc_vault_deposit_address?: string | null | undefined;
12098
+ }[] | undefined;
12099
12099
  }>;
12100
12100
  declare const liquidityProvider: z.ZodObject<{
12101
12101
  role: z.ZodLiteral<"liquidity_provider">;
@@ -13386,7 +13386,7 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
13386
13386
  };
13387
13387
  }>;
13388
13388
  btc_vault_deposit_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13389
- affiliates: z.ZodArray<z.ZodObject<{
13389
+ affiliates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
13390
13390
  account_id: z.ZodString;
13391
13391
  short_id: z.ZodNumber;
13392
13392
  withdrawal_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -13398,7 +13398,7 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
13398
13398
  account_id: string;
13399
13399
  short_id: number;
13400
13400
  withdrawal_address: string;
13401
- }>, "many">;
13401
+ }>, "many">>>;
13402
13402
  }, "strip", z.ZodTypeAny, {
13403
13403
  role: "broker";
13404
13404
  flip_balance: bigint;
@@ -13457,12 +13457,12 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
13457
13457
  DOT: string | number;
13458
13458
  };
13459
13459
  };
13460
- affiliates: {
13460
+ btc_vault_deposit_address?: string | null | undefined;
13461
+ affiliates?: {
13461
13462
  account_id: string;
13462
13463
  short_id: number;
13463
13464
  withdrawal_address: string;
13464
- }[];
13465
- btc_vault_deposit_address?: string | null | undefined;
13465
+ }[] | undefined;
13466
13466
  }>, z.ZodObject<{
13467
13467
  role: z.ZodLiteral<"liquidity_provider">;
13468
13468
  balances: z.ZodObject<{
package/dist/parsers.mjs CHANGED
@@ -197,7 +197,7 @@ var broker = z.object({
197
197
  btc_vault_deposit_address: z.string().nullable().optional(),
198
198
  affiliates: z.array(
199
199
  z.object({ account_id: z.string(), short_id: z.number(), withdrawal_address: hexString })
200
- )
200
+ ).optional().default([])
201
201
  });
202
202
  var boostBalances = z.array(
203
203
  z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "1.8.12",
3
+ "version": "1.8.13",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "0.7.0",