@ledgerhq/revault-api 1.88.0 → 1.90.0

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.
@@ -1,4 +1,4 @@
1
- import { $a as LesWalletRegistrableSummary, $i as RequestView, Bi as SortOrder, Bo as RequestType$1, Br as RequestListFilters, Co as GatePolicyType, Do as GateWorkspaceRuleType, Eo as GateWhitelistType, Fo as PsdModel, G as TrpcMeta, Go as UserRegistrationState, Ho as RevaultMode, Io as ReportStatus$1, Jo as WebhookStatus$1, K as RuntimeApiCapabilities, Ko as UserRole, Lo as ReportType$1, Mi as HsmWorkspaceComparison, Mo as OnboardingStep, Ni as AccountAssetFilter, No as OutgoingTransactionStatus$1, Oi as HsmComparator, Oo as HsmHostingMode, Pi as AccountWorkspaceScope, Qi as WebhookDeliveryStats, Rr as BackofficeAuditLogInput, So as GateGroupType, To as GateUserType, Uo as ReviewConfigType, Vr as startOnboarding, Wo as UserDeviceType, Xa as Note, Yo as WhitelistType, Yr as HsmCertificate, _o as AuditLogType$1, ao as zOidcConfig, bo as EventAction$1, do as AccountGovernanceType, fo as AccountType$1, ho as AdminPermission$1, ht as RequestReview, ia as SendOnlyTransactionData, jo as OnboardedUserRole, ko as MaintenanceMode, mo as AddressDerivationMode, no as BackofficeClaims, oa as TransactionData, oo as ExtendedPrismaClient, po as ActivationStatus$1, qo as WebhookRetryStrategy$1, so as BackofficePermission, to as LesWalletRegistrationScope, ut as ActivityTracer, vt as VaultRequestResponse, wo as GateReviewConfigType, xo as GateAccountType, yo as ClaimedRole, zr as WhitelistSortBy } from "../../app-lib-CXsb87de.mjs";
1
+ import { $r as WhitelistSortBy, Ai as TransactionData, Ao as AdminPermission$1, Bo as GateUserType, Ci as RequestView, Do as AccountType$1, Dt as VaultRequestResponse, Eo as AccountGovernanceType, Fo as EventAction$1, Ho as GateWorkspaceRuleType, Io as GateAccountType, Ja as HsmCertificate, Jo as OutgoingTransactionStatus$1, Ko as OnboardedUserRole, Lo as GateGroupType, Mo as AuditLogType$1, Oa as SortOrder, Oi as SendOnlyTransactionData, Oo as ActivationStatus$1, Po as ClaimedRole, Qo as ReportType$1, Qr as BackofficeAuditLogInput, Ro as GatePolicyType, Si as WebhookDeliveryStats, So as BackofficePermission, Uo as HsmHostingMode, Vo as GateWhitelistType, Wo as MaintenanceMode, X as RuntimeApiCapabilities, Xo as PsdModel, Y as TrpcMeta, Zo as ReportStatus$1, _o as BackofficeClaims, as as UserDeviceType, bi as AccountAssetFilter, bo as zOidcConfig, cs as WebhookRetryStrategy$1, ei as RequestListFilters, go as LesWalletRegistrationScope, hi as HsmComparator, ht as ActivityTracer, is as ReviewConfigType, ko as AddressDerivationMode, ls as WebhookStatus$1, mo as LesWalletRegistrableSummary, os as UserRegistrationState, qo as OnboardingStep, rs as RevaultMode, ss as UserRole, ti as startOnboarding, ts as RequestType$1, us as WhitelistType, wt as RequestReview, xa as Note, xi as AccountWorkspaceScope, xo as ExtendedPrismaClient, yi as HsmWorkspaceComparison, zo as GateReviewConfigType } from "../../app-lib-CskXGk_W.mjs";
2
2
  import z from "zod";
3
3
  import { AllowedAction, PrismaClient } from "@/generated/prisma/client";
4
4
  import "trpc-to-openapi";
@@ -229,6 +229,7 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
229
229
  groupIds?: string[];
230
230
  lesWalletRegistrable?: boolean;
231
231
  addressBackfillable?: boolean;
232
+ lesWalletNativeSegwitBitcoin?: boolean;
232
233
  gateSynced?: boolean;
233
234
  sortBy: "name" | "currency" | "index" | "createdAt" | "updatedAt";
234
235
  }) => Promise<{
@@ -383,7 +384,7 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
383
384
  workspaceName: string;
384
385
  currency: string;
385
386
  contractAddress: string | null;
386
- status: "BACKFILLED" | "FAILED" | "REGISTERED";
387
+ status: "BACKFILLED" | "DELETED" | "FAILED" | "REGISTERED";
387
388
  detail?: string | undefined;
388
389
  }[];
389
390
  numFixed: number;
@@ -1645,6 +1646,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1645
1646
  stack?: string;
1646
1647
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
1647
1648
  maintenance?: boolean | undefined;
1649
+ errorCode?: string | undefined;
1650
+ errorContext?: Record<string, string> | undefined;
1648
1651
  };
1649
1652
  };
1650
1653
  transformer: true;
@@ -1695,6 +1698,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1695
1698
  stack?: string;
1696
1699
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
1697
1700
  maintenance?: boolean | undefined;
1701
+ errorCode?: string | undefined;
1702
+ errorContext?: Record<string, string> | undefined;
1698
1703
  };
1699
1704
  };
1700
1705
  transformer: true;
@@ -1754,6 +1759,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1754
1759
  stack?: string;
1755
1760
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
1756
1761
  maintenance?: boolean | undefined;
1762
+ errorCode?: string | undefined;
1763
+ errorContext?: Record<string, string> | undefined;
1757
1764
  };
1758
1765
  };
1759
1766
  transformer: true;
@@ -1908,6 +1915,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1908
1915
  stack?: string;
1909
1916
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
1910
1917
  maintenance?: boolean | undefined;
1918
+ errorCode?: string | undefined;
1919
+ errorContext?: Record<string, string> | undefined;
1911
1920
  };
1912
1921
  };
1913
1922
  transformer: true;
@@ -2338,6 +2347,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2338
2347
  stack?: string;
2339
2348
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
2340
2349
  maintenance?: boolean | undefined;
2350
+ errorCode?: string | undefined;
2351
+ errorContext?: Record<string, string> | undefined;
2341
2352
  };
2342
2353
  };
2343
2354
  transformer: true;
@@ -2423,6 +2434,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2423
2434
  stack?: string;
2424
2435
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
2425
2436
  maintenance?: boolean | undefined;
2437
+ errorCode?: string | undefined;
2438
+ errorContext?: Record<string, string> | undefined;
2426
2439
  };
2427
2440
  };
2428
2441
  transformer: true;
@@ -2533,6 +2546,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2533
2546
  stack?: string;
2534
2547
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
2535
2548
  maintenance?: boolean | undefined;
2549
+ errorCode?: string | undefined;
2550
+ errorContext?: Record<string, string> | undefined;
2536
2551
  };
2537
2552
  };
2538
2553
  transformer: true;
@@ -2627,6 +2642,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2627
2642
  stack?: string;
2628
2643
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
2629
2644
  maintenance?: boolean | undefined;
2645
+ errorCode?: string | undefined;
2646
+ errorContext?: Record<string, string> | undefined;
2630
2647
  };
2631
2648
  };
2632
2649
  transformer: true;
@@ -2658,6 +2675,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2658
2675
  support?: "legacy" | "standalone" | undefined;
2659
2676
  lesWalletRegistrable?: boolean | undefined;
2660
2677
  addressBackfillable?: boolean | undefined;
2678
+ lesWalletNativeSegwitBitcoin?: boolean | undefined;
2661
2679
  gateSynced?: boolean | undefined;
2662
2680
  type?: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE" | undefined;
2663
2681
  policyIds?: string[] | undefined;
@@ -2698,12 +2716,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2698
2716
  } | {
2699
2717
  type: "ETHEREUM_LIKE";
2700
2718
  address: string | null;
2719
+ } | {
2720
+ type: "GENERIC_LIKE";
2701
2721
  } | {
2702
2722
  type: "HEDERA_LIKE";
2703
2723
  address: string | null;
2704
2724
  isActivated: boolean;
2705
- } | {
2706
- type: "GENERIC_LIKE";
2707
2725
  } | {
2708
2726
  type: "POLKADOT_LIKE";
2709
2727
  address: string | null;
@@ -2781,12 +2799,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2781
2799
  } | {
2782
2800
  type: "ETHEREUM_LIKE";
2783
2801
  address: string | null;
2802
+ } | {
2803
+ type: "GENERIC_LIKE";
2784
2804
  } | {
2785
2805
  type: "HEDERA_LIKE";
2786
2806
  address: string | null;
2787
2807
  isActivated: boolean;
2788
- } | {
2789
- type: "GENERIC_LIKE";
2790
2808
  } | {
2791
2809
  type: "POLKADOT_LIKE";
2792
2810
  address: string | null;
@@ -2837,7 +2855,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2837
2855
  input: {
2838
2856
  workspaceNames?: string[] | undefined;
2839
2857
  currencies?: string[] | undefined;
2840
- target?: "ADDRESS" | "LES_WALLET_ID" | undefined;
2858
+ target?: "ADDRESS" | "DELETE_BITCOIN_NATIVE_SEGWIT" | "LES_WALLET_ID" | undefined;
2841
2859
  };
2842
2860
  output: {
2843
2861
  total: number;
@@ -2852,7 +2870,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2852
2870
  input: {
2853
2871
  workspaceNames?: string[] | undefined;
2854
2872
  currencies?: string[] | undefined;
2855
- target?: "ADDRESS" | "LES_WALLET_ID" | undefined;
2873
+ target?: "ADDRESS" | "DELETE_BITCOIN_NATIVE_SEGWIT" | "LES_WALLET_ID" | undefined;
2856
2874
  limit: number;
2857
2875
  };
2858
2876
  output: {
@@ -2867,7 +2885,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2867
2885
  scope: {
2868
2886
  workspaceNames: string[];
2869
2887
  currencies: string[];
2870
- target: "ADDRESS" | "LES_WALLET_ID";
2888
+ target: "ADDRESS" | "DELETE_BITCOIN_NATIVE_SEGWIT" | "LES_WALLET_ID";
2871
2889
  };
2872
2890
  } | null;
2873
2891
  meta: TrpcMeta;
@@ -2889,7 +2907,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2889
2907
  workspaceName: string;
2890
2908
  currency: string;
2891
2909
  contractAddress: string | null;
2892
- status: "BACKFILLED" | "FAILED" | "REGISTERED";
2910
+ status: "BACKFILLED" | "DELETED" | "FAILED" | "REGISTERED";
2893
2911
  detail?: string | undefined;
2894
2912
  }[];
2895
2913
  numFixed: number;
@@ -2951,6 +2969,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2951
2969
  stack?: string;
2952
2970
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
2953
2971
  maintenance?: boolean | undefined;
2972
+ errorCode?: string | undefined;
2973
+ errorContext?: Record<string, string> | undefined;
2954
2974
  };
2955
2975
  };
2956
2976
  transformer: true;
@@ -3082,6 +3102,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
3082
3102
  stack?: string;
3083
3103
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
3084
3104
  maintenance?: boolean | undefined;
3105
+ errorCode?: string | undefined;
3106
+ errorContext?: Record<string, string> | undefined;
3085
3107
  };
3086
3108
  };
3087
3109
  transformer: true;
@@ -3201,6 +3223,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
3201
3223
  stack?: string;
3202
3224
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
3203
3225
  maintenance?: boolean | undefined;
3226
+ errorCode?: string | undefined;
3227
+ errorContext?: Record<string, string> | undefined;
3204
3228
  };
3205
3229
  };
3206
3230
  transformer: true;
@@ -3229,7 +3253,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
3229
3253
  status: "BROKEN" | "DISABLED" | "ENABLED";
3230
3254
  rules: {
3231
3255
  id: string;
3232
- actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "TransactionUnknown" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
3256
+ actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScanCompleted" | "TransactionScanEscalated" | "TransactionScheduled" | "TransactionSubmitted" | "TransactionUnknown" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
3233
3257
  requestTypes: ("CREATE_ACCOUNT" | "CREATE_API_KEY" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "CREATE_ENTITY" | "CREATE_GROUP" | "CREATE_POLICY" | "CREATE_PSD_USER" | "CREATE_SCICONFIG" | "CREATE_TRANSACTION" | "CREATE_WHITELIST" | "EDIT_ACCOUNT" | "EDIT_API_KEY" | "EDIT_ENTITY" | "EDIT_EXTERNAL_SIGNER_PUBKEYS" | "EDIT_GROUP" | "EDIT_POLICY" | "EDIT_SCICONFIG" | "EDIT_TOKEN_RULE" | "EDIT_WHITELIST" | "EDIT_WORKSPACE_RULE" | "REVOKE_API_KEY" | "REVOKE_ENTITY" | "REVOKE_GROUP" | "REVOKE_USER" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "TRADELINK_ACTIVATE_ACCOUNT" | "TRADELINK_ADJUST_PLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_CREATE_ASSET_MANAGER" | "TRADELINK_CREATE_CUSTODIAN" | "TRADELINK_CREATE_EXCHANGE" | "TRADELINK_CREATE_SETTLEMENT" | "TRADELINK_EDIT_ASSET_MANAGER" | "TRADELINK_EDIT_CUSTODIAN" | "TRADELINK_EDIT_EXCHANGE" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_REPLEDGE" | "TRADELINK_WITHDRAW" | "UPDATE_QUORUM")[];
3234
3258
  }[];
3235
3259
  scopeUserIds: string[];
@@ -3298,6 +3322,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
3298
3322
  stack?: string;
3299
3323
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
3300
3324
  maintenance?: boolean | undefined;
3325
+ errorCode?: string | undefined;
3326
+ errorContext?: Record<string, string> | undefined;
3301
3327
  };
3302
3328
  };
3303
3329
  transformer: true;
@@ -3629,6 +3655,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
3629
3655
  stack?: string;
3630
3656
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
3631
3657
  maintenance?: boolean | undefined;
3658
+ errorCode?: string | undefined;
3659
+ errorContext?: Record<string, string> | undefined;
3632
3660
  };
3633
3661
  };
3634
3662
  transformer: true;
@@ -3707,6 +3735,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
3707
3735
  stack?: string;
3708
3736
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
3709
3737
  maintenance?: boolean | undefined;
3738
+ errorCode?: string | undefined;
3739
+ errorContext?: Record<string, string> | undefined;
3710
3740
  };
3711
3741
  };
3712
3742
  transformer: true;
@@ -3854,6 +3884,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
3854
3884
  stack?: string;
3855
3885
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
3856
3886
  maintenance?: boolean | undefined;
3887
+ errorCode?: string | undefined;
3888
+ errorContext?: Record<string, string> | undefined;
3857
3889
  };
3858
3890
  };
3859
3891
  transformer: true;
@@ -5539,6 +5571,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5539
5571
  stack?: string;
5540
5572
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
5541
5573
  maintenance?: boolean | undefined;
5574
+ errorCode?: string | undefined;
5575
+ errorContext?: Record<string, string> | undefined;
5542
5576
  };
5543
5577
  };
5544
5578
  transformer: true;
@@ -5654,6 +5688,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5654
5688
  stack?: string;
5655
5689
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
5656
5690
  maintenance?: boolean | undefined;
5691
+ errorCode?: string | undefined;
5692
+ errorContext?: Record<string, string> | undefined;
5657
5693
  };
5658
5694
  };
5659
5695
  transformer: true;
@@ -5805,6 +5841,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5805
5841
  stack?: string;
5806
5842
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
5807
5843
  maintenance?: boolean | undefined;
5844
+ errorCode?: string | undefined;
5845
+ errorContext?: Record<string, string> | undefined;
5808
5846
  };
5809
5847
  };
5810
5848
  transformer: true;
@@ -5896,6 +5934,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5896
5934
  stack?: string;
5897
5935
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
5898
5936
  maintenance?: boolean | undefined;
5937
+ errorCode?: string | undefined;
5938
+ errorContext?: Record<string, string> | undefined;
5899
5939
  };
5900
5940
  };
5901
5941
  transformer: true;
@@ -6005,6 +6045,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
6005
6045
  stack?: string;
6006
6046
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
6007
6047
  maintenance?: boolean | undefined;
6048
+ errorCode?: string | undefined;
6049
+ errorContext?: Record<string, string> | undefined;
6008
6050
  };
6009
6051
  };
6010
6052
  transformer: true;
@@ -6128,6 +6170,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
6128
6170
  stack?: string;
6129
6171
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
6130
6172
  maintenance?: boolean | undefined;
6173
+ errorCode?: string | undefined;
6174
+ errorContext?: Record<string, string> | undefined;
6131
6175
  };
6132
6176
  };
6133
6177
  transformer: true;
@@ -6254,6 +6298,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
6254
6298
  stack?: string;
6255
6299
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
6256
6300
  maintenance?: boolean | undefined;
6301
+ errorCode?: string | undefined;
6302
+ errorContext?: Record<string, string> | undefined;
6257
6303
  };
6258
6304
  };
6259
6305
  transformer: true;
@@ -7946,6 +7992,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
7946
7992
  stack?: string;
7947
7993
  maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
7948
7994
  maintenance?: boolean | undefined;
7995
+ errorCode?: string | undefined;
7996
+ errorContext?: Record<string, string> | undefined;
7949
7997
  };
7950
7998
  };
7951
7999
  transformer: true;
package/lib/fakes.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { Ao as MessageType, Bn as GroupResponse, Or as WebhookResponse, _t as VaultRequestCreateInput, fo as AccountType, l as WhitelistResponse, mt as RequestDataOf, na as AccountStakingFields, rr as AccountResponse, sa as TransactionDataOf, v as UserResponse, vt as VaultRequestResponse } from "./app-lib-CXsb87de.mjs";
1
+ import { $n as GroupResponse, Ct as RequestDataOf, Do as AccountType, Dt as VaultRequestResponse, Ei as AccountStakingFields, Et as VaultRequestCreateInput, Go as MessageType, Hr as WebhookResponse, _r as AccountResponse, b as UserResponse, ji as TransactionDataOf, u as WhitelistResponse } from "./app-lib-CskXGk_W.mjs";
2
2
  //#region src/__fakes__/trpc/inputs.d.ts
3
3
  type RequestInputDataOf<T extends VaultRequestCreateInput["request"]["type"]> = Extract<VaultRequestCreateInput["request"], {
4
4
  type: T;
package/lib/fakes.mjs CHANGED
@@ -339,7 +339,10 @@ const genBitcoinLikeSendData = () => ({
339
339
  { type: "FAST" },
340
340
  {
341
341
  type: "CUSTOM",
342
- feePerByte: faker.number.bigInt({ min: 1 }).toString()
342
+ feePerByte: faker.number.int({
343
+ min: 1,
344
+ max: 2147483
345
+ }).toString()
343
346
  }
344
347
  ])
345
348
  });