@ledgerhq/revault-api 1.40.1 → 1.40.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.
@@ -184,6 +184,10 @@ declare const zTransactionData: z__default.ZodDiscriminatedUnion<[z__default.Zod
184
184
  maxFeePerGas: z__default.ZodString;
185
185
  gasLimit: z__default.ZodString;
186
186
  }, z__default.core.$strip>]>;
187
+ }, z__default.core.$strip>, z__default.ZodObject<{
188
+ type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
189
+ currency: z__default.ZodString;
190
+ rawTx: z__default.ZodString;
187
191
  }, z__default.core.$strip>, z__default.ZodObject<{
188
192
  type: z__default.ZodLiteral<"POLKADOT_LIKE_ADDPROXY">;
189
193
  currency: z__default.ZodString;
@@ -537,10 +541,6 @@ declare const zTransactionData: z__default.ZodDiscriminatedUnion<[z__default.Zod
537
541
  FAST: "FAST";
538
542
  }>;
539
543
  }, z__default.core.$strip>;
540
- }, z__default.core.$strip>, z__default.ZodObject<{
541
- type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
542
- currency: z__default.ZodString;
543
- rawTx: z__default.ZodString;
544
544
  }, z__default.core.$strip>], "type">;
545
545
  type TransactionData = z__default.infer<typeof zTransactionData>;
546
546
  declare const zTransactionResponse: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
@@ -830,6 +830,28 @@ declare const zTransactionResponse: z__default.ZodDiscriminatedUnion<[z__default
830
830
  TEZOS_LIKE_DELEGATE: "TEZOS_LIKE_DELEGATE";
831
831
  TEZOS_LIKE_UNDELEGATE: "TEZOS_LIKE_UNDELEGATE";
832
832
  }>;
833
+ }, z__default.core.$strip>, z__default.ZodObject<{
834
+ id: z__default.ZodString;
835
+ hash: z__default.ZodString;
836
+ block: z__default.ZodObject<{
837
+ height: z__default.ZodNullable<z__default.ZodString>;
838
+ time: z__default.ZodNullable<z__default.ZodString>;
839
+ }, z__default.core.$strip>;
840
+ status: z__default.ZodEnum<{
841
+ SUCCESSFUL: "SUCCESSFUL";
842
+ FAILED: "FAILED";
843
+ }>;
844
+ confirmations: z__default.ZodString;
845
+ amount: z__default.ZodString;
846
+ fee: z__default.ZodString;
847
+ senders: z__default.ZodArray<z__default.ZodString>;
848
+ recipients: z__default.ZodArray<z__default.ZodString>;
849
+ type: z__default.ZodEnum<{
850
+ TRON_LIKE_SEND: "TRON_LIKE_SEND";
851
+ TRON_LIKE_RECEIVE: "TRON_LIKE_RECEIVE";
852
+ TRON_LIKE_SEND_TOKEN: "TRON_LIKE_SEND_TOKEN";
853
+ TRON_LIKE_RECEIVE_TOKEN: "TRON_LIKE_RECEIVE_TOKEN";
854
+ }>;
833
855
  }, z__default.core.$strip>], "type">;
834
856
  type TransactionResponse = z__default.infer<typeof zTransactionResponse>;
835
857
 
@@ -879,10 +901,10 @@ declare const zAccountResponse: z__default.ZodObject<{
879
901
  type: z__default.ZodLiteral<"STELLAR_LIKE">;
880
902
  address: z__default.ZodNullable<z__default.ZodString>;
881
903
  }, z__default.core.$strip>, z__default.ZodObject<{
882
- type: z__default.ZodLiteral<"TEZOS_LIKE">;
904
+ type: z__default.ZodLiteral<"SUI_LIKE">;
883
905
  address: z__default.ZodNullable<z__default.ZodString>;
884
906
  }, z__default.core.$strip>, z__default.ZodObject<{
885
- type: z__default.ZodLiteral<"SUI_LIKE">;
907
+ type: z__default.ZodLiteral<"TEZOS_LIKE">;
886
908
  address: z__default.ZodNullable<z__default.ZodString>;
887
909
  }, z__default.core.$strip>, z__default.ZodObject<{
888
910
  type: z__default.ZodLiteral<"TRON_LIKE">;
@@ -905,9 +927,9 @@ declare const zAccountResponse: z__default.ZodObject<{
905
927
  type AccountResponse = z__default.infer<typeof zAccountResponse>;
906
928
  declare const zAccountSortBy: z__default.ZodDefault<z__default.ZodEnum<{
907
929
  currency: "currency";
908
- createdAt: "createdAt";
909
- index: "index";
910
930
  name: "name";
931
+ index: "index";
932
+ createdAt: "createdAt";
911
933
  updatedAt: "updatedAt";
912
934
  }>>;
913
935
  type AccountSortBy = z__default.infer<typeof zAccountSortBy>;
@@ -1117,9 +1139,9 @@ declare const zStake: z__default.ZodObject<{
1117
1139
  id: z__default.ZodString;
1118
1140
  validator: z__default.ZodString;
1119
1141
  state: z__default.ZodEnum<{
1120
- UNKNOWN: "UNKNOWN";
1121
1142
  ACTIVE: "ACTIVE";
1122
1143
  INACTIVE: "INACTIVE";
1144
+ UNKNOWN: "UNKNOWN";
1123
1145
  ACTIVATING: "ACTIVATING";
1124
1146
  DEACTIVATING: "DEACTIVATING";
1125
1147
  }>;
@@ -2142,6 +2164,10 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
2142
2164
  maxFeePerGas: z__default.ZodString;
2143
2165
  gasLimit: z__default.ZodString;
2144
2166
  }, z__default.core.$strip>]>;
2167
+ }, z__default.core.$strip>, z__default.ZodObject<{
2168
+ type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
2169
+ currency: z__default.ZodString;
2170
+ rawTx: z__default.ZodString;
2145
2171
  }, z__default.core.$strip>, z__default.ZodObject<{
2146
2172
  type: z__default.ZodLiteral<"POLKADOT_LIKE_ADDPROXY">;
2147
2173
  currency: z__default.ZodString;
@@ -2495,10 +2521,6 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
2495
2521
  FAST: "FAST";
2496
2522
  }>;
2497
2523
  }, z__default.core.$strip>;
2498
- }, z__default.core.$strip>, z__default.ZodObject<{
2499
- type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
2500
- currency: z__default.ZodString;
2501
- rawTx: z__default.ZodString;
2502
2524
  }, z__default.core.$strip>], "type">;
2503
2525
  }, z__default.core.$strip>;
2504
2526
  meta: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodObject<{
@@ -3619,6 +3641,10 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
3619
3641
  maxFeePerGas: z__default.ZodString;
3620
3642
  gasLimit: z__default.ZodString;
3621
3643
  }, z__default.core.$strip>]>;
3644
+ }, z__default.core.$strip>, z__default.ZodObject<{
3645
+ type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
3646
+ currency: z__default.ZodString;
3647
+ rawTx: z__default.ZodString;
3622
3648
  }, z__default.core.$strip>, z__default.ZodObject<{
3623
3649
  type: z__default.ZodLiteral<"POLKADOT_LIKE_ADDPROXY">;
3624
3650
  currency: z__default.ZodString;
@@ -3972,10 +3998,6 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
3972
3998
  FAST: "FAST";
3973
3999
  }>;
3974
4000
  }, z__default.core.$strip>;
3975
- }, z__default.core.$strip>, z__default.ZodObject<{
3976
- type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
3977
- currency: z__default.ZodString;
3978
- rawTx: z__default.ZodString;
3979
4001
  }, z__default.core.$strip>], "type">;
3980
4002
  }, z__default.core.$strip>;
3981
4003
  meta: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodObject<{
@@ -5697,6 +5719,10 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<[z__defaul
5697
5719
  maxFeePerGas: z__default.ZodString;
5698
5720
  gasLimit: z__default.ZodString;
5699
5721
  }, z__default.core.$strip>]>;
5722
+ }, z__default.core.$strip>, z__default.ZodObject<{
5723
+ type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
5724
+ currency: z__default.ZodString;
5725
+ rawTx: z__default.ZodString;
5700
5726
  }, z__default.core.$strip>, z__default.ZodObject<{
5701
5727
  type: z__default.ZodLiteral<"POLKADOT_LIKE_ADDPROXY">;
5702
5728
  currency: z__default.ZodString;
@@ -6050,10 +6076,6 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<[z__defaul
6050
6076
  FAST: "FAST";
6051
6077
  }>;
6052
6078
  }, z__default.core.$strip>;
6053
- }, z__default.core.$strip>, z__default.ZodObject<{
6054
- type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
6055
- currency: z__default.ZodString;
6056
- rawTx: z__default.ZodString;
6057
6079
  }, z__default.core.$strip>], "type">;
6058
6080
  }, z__default.core.$strip>;
6059
6081
  meta: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodObject<{
@@ -9044,6 +9066,10 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<[z__defaul
9044
9066
  maxFeePerGas: z__default.ZodString;
9045
9067
  gasLimit: z__default.ZodString;
9046
9068
  }, z__default.core.$strip>]>;
9069
+ }, z__default.core.$strip>, z__default.ZodObject<{
9070
+ type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
9071
+ currency: z__default.ZodString;
9072
+ rawTx: z__default.ZodString;
9047
9073
  }, z__default.core.$strip>, z__default.ZodObject<{
9048
9074
  type: z__default.ZodLiteral<"POLKADOT_LIKE_ADDPROXY">;
9049
9075
  currency: z__default.ZodString;
@@ -9397,10 +9423,6 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<[z__defaul
9397
9423
  FAST: "FAST";
9398
9424
  }>;
9399
9425
  }, z__default.core.$strip>;
9400
- }, z__default.core.$strip>, z__default.ZodObject<{
9401
- type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
9402
- currency: z__default.ZodString;
9403
- rawTx: z__default.ZodString;
9404
9426
  }, z__default.core.$strip>], "type">;
9405
9427
  }, z__default.core.$strip>;
9406
9428
  meta: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodObject<{
package/lib/fakes.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as CurrencyResponse, T as TokenResponse, O as UserChallenge, b as AccountResponse, J as VaultRequestResponse } from './app-types-BuzfKOYN.mjs';
1
+ import { C as CurrencyResponse, T as TokenResponse, O as UserChallenge, b as AccountResponse, J as VaultRequestResponse } from './app-types-Ce7ribhA.mjs';
2
2
  import { VaultRequestReview, RequestType, VaultRequest, Account } from '@prisma/client';
3
3
  import z__default from 'zod';
4
4
 
@@ -169,6 +169,10 @@ declare const zCreateTransactionRequestData: z__default.ZodObject<{
169
169
  maxFeePerGas: z__default.ZodString;
170
170
  gasLimit: z__default.ZodString;
171
171
  }, z__default.core.$strip>]>;
172
+ }, z__default.core.$strip>, z__default.ZodObject<{
173
+ type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
174
+ currency: z__default.ZodString;
175
+ rawTx: z__default.ZodString;
172
176
  }, z__default.core.$strip>, z__default.ZodObject<{
173
177
  type: z__default.ZodLiteral<"POLKADOT_LIKE_ADDPROXY">;
174
178
  currency: z__default.ZodString;
@@ -522,10 +526,6 @@ declare const zCreateTransactionRequestData: z__default.ZodObject<{
522
526
  FAST: "FAST";
523
527
  }>;
524
528
  }, z__default.core.$strip>;
525
- }, z__default.core.$strip>, z__default.ZodObject<{
526
- type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
527
- currency: z__default.ZodString;
528
- rawTx: z__default.ZodString;
529
529
  }, z__default.core.$strip>], "type">;
530
530
  }, z__default.core.$strip>;
531
531
  type CreateTransactionRequestData = z__default.infer<typeof zCreateTransactionRequestData>;