@ledgerhq/revault-api 1.37.0 → 1.37.1
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.
|
@@ -2755,6 +2755,7 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
2755
2755
|
}>, z__default.ZodObject<{
|
|
2756
2756
|
type: z__default.ZodLiteral<"SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT">;
|
|
2757
2757
|
currency: z__default.ZodString;
|
|
2758
|
+
maxFee: z__default.ZodNullable<z__default.ZodString>;
|
|
2758
2759
|
feeStrategy: z__default.ZodObject<{
|
|
2759
2760
|
type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
|
|
2760
2761
|
}, "strip", z__default.ZodTypeAny, {
|
|
@@ -2765,12 +2766,14 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
2765
2766
|
}, "strip", z__default.ZodTypeAny, {
|
|
2766
2767
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
2767
2768
|
currency: string;
|
|
2769
|
+
maxFee: string | null;
|
|
2768
2770
|
feeStrategy: {
|
|
2769
2771
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
2770
2772
|
};
|
|
2771
2773
|
}, {
|
|
2772
2774
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
2773
2775
|
currency: string;
|
|
2776
|
+
maxFee: string | null;
|
|
2774
2777
|
feeStrategy: {
|
|
2775
2778
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
2776
2779
|
};
|
|
@@ -3369,6 +3372,7 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
3369
3372
|
} | {
|
|
3370
3373
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
3371
3374
|
currency: string;
|
|
3375
|
+
maxFee: string | null;
|
|
3372
3376
|
feeStrategy: {
|
|
3373
3377
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
3374
3378
|
};
|
|
@@ -3718,6 +3722,7 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
3718
3722
|
} | {
|
|
3719
3723
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
3720
3724
|
currency: string;
|
|
3725
|
+
maxFee: string | null;
|
|
3721
3726
|
feeStrategy: {
|
|
3722
3727
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
3723
3728
|
};
|
|
@@ -4088,6 +4093,7 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
4088
4093
|
} | {
|
|
4089
4094
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
4090
4095
|
currency: string;
|
|
4096
|
+
maxFee: string | null;
|
|
4091
4097
|
feeStrategy: {
|
|
4092
4098
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
4093
4099
|
};
|
|
@@ -4447,6 +4453,7 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
4447
4453
|
} | {
|
|
4448
4454
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
4449
4455
|
currency: string;
|
|
4456
|
+
maxFee: string | null;
|
|
4450
4457
|
feeStrategy: {
|
|
4451
4458
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
4452
4459
|
};
|
|
@@ -10461,6 +10468,7 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
10461
10468
|
}>, z__default.ZodObject<{
|
|
10462
10469
|
type: z__default.ZodLiteral<"SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT">;
|
|
10463
10470
|
currency: z__default.ZodString;
|
|
10471
|
+
maxFee: z__default.ZodNullable<z__default.ZodString>;
|
|
10464
10472
|
feeStrategy: z__default.ZodObject<{
|
|
10465
10473
|
type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
|
|
10466
10474
|
}, "strip", z__default.ZodTypeAny, {
|
|
@@ -10471,12 +10479,14 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
10471
10479
|
}, "strip", z__default.ZodTypeAny, {
|
|
10472
10480
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
10473
10481
|
currency: string;
|
|
10482
|
+
maxFee: string | null;
|
|
10474
10483
|
feeStrategy: {
|
|
10475
10484
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
10476
10485
|
};
|
|
10477
10486
|
}, {
|
|
10478
10487
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
10479
10488
|
currency: string;
|
|
10489
|
+
maxFee: string | null;
|
|
10480
10490
|
feeStrategy: {
|
|
10481
10491
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
10482
10492
|
};
|
|
@@ -11075,6 +11085,7 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
11075
11085
|
} | {
|
|
11076
11086
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
11077
11087
|
currency: string;
|
|
11088
|
+
maxFee: string | null;
|
|
11078
11089
|
feeStrategy: {
|
|
11079
11090
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
11080
11091
|
};
|
|
@@ -11424,6 +11435,7 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
11424
11435
|
} | {
|
|
11425
11436
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
11426
11437
|
currency: string;
|
|
11438
|
+
maxFee: string | null;
|
|
11427
11439
|
feeStrategy: {
|
|
11428
11440
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
11429
11441
|
};
|
|
@@ -11794,6 +11806,7 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
11794
11806
|
} | {
|
|
11795
11807
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
11796
11808
|
currency: string;
|
|
11809
|
+
maxFee: string | null;
|
|
11797
11810
|
feeStrategy: {
|
|
11798
11811
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
11799
11812
|
};
|
|
@@ -12153,6 +12166,7 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
12153
12166
|
} | {
|
|
12154
12167
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
12155
12168
|
currency: string;
|
|
12169
|
+
maxFee: string | null;
|
|
12156
12170
|
feeStrategy: {
|
|
12157
12171
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
12158
12172
|
};
|
|
@@ -17527,6 +17541,7 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
17527
17541
|
} | {
|
|
17528
17542
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
17529
17543
|
currency: string;
|
|
17544
|
+
maxFee: string | null;
|
|
17530
17545
|
feeStrategy: {
|
|
17531
17546
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
17532
17547
|
};
|
|
@@ -18641,6 +18656,7 @@ declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
|
18641
18656
|
} | {
|
|
18642
18657
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
18643
18658
|
currency: string;
|
|
18659
|
+
maxFee: string | null;
|
|
18644
18660
|
feeStrategy: {
|
|
18645
18661
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
18646
18662
|
};
|
|
@@ -20400,6 +20416,7 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<"type", [z
|
|
|
20400
20416
|
}>, z__default.ZodObject<{
|
|
20401
20417
|
type: z__default.ZodLiteral<"SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT">;
|
|
20402
20418
|
currency: z__default.ZodString;
|
|
20419
|
+
maxFee: z__default.ZodNullable<z__default.ZodString>;
|
|
20403
20420
|
feeStrategy: z__default.ZodObject<{
|
|
20404
20421
|
type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
|
|
20405
20422
|
}, "strip", z__default.ZodTypeAny, {
|
|
@@ -20410,12 +20427,14 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<"type", [z
|
|
|
20410
20427
|
}, "strip", z__default.ZodTypeAny, {
|
|
20411
20428
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
20412
20429
|
currency: string;
|
|
20430
|
+
maxFee: string | null;
|
|
20413
20431
|
feeStrategy: {
|
|
20414
20432
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
20415
20433
|
};
|
|
20416
20434
|
}, {
|
|
20417
20435
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
20418
20436
|
currency: string;
|
|
20437
|
+
maxFee: string | null;
|
|
20419
20438
|
feeStrategy: {
|
|
20420
20439
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
20421
20440
|
};
|
|
@@ -21014,6 +21033,7 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<"type", [z
|
|
|
21014
21033
|
} | {
|
|
21015
21034
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
21016
21035
|
currency: string;
|
|
21036
|
+
maxFee: string | null;
|
|
21017
21037
|
feeStrategy: {
|
|
21018
21038
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
21019
21039
|
};
|
|
@@ -21363,6 +21383,7 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<"type", [z
|
|
|
21363
21383
|
} | {
|
|
21364
21384
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
21365
21385
|
currency: string;
|
|
21386
|
+
maxFee: string | null;
|
|
21366
21387
|
feeStrategy: {
|
|
21367
21388
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
21368
21389
|
};
|
|
@@ -21803,6 +21824,7 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<"type", [z
|
|
|
21803
21824
|
} | {
|
|
21804
21825
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
21805
21826
|
currency: string;
|
|
21827
|
+
maxFee: string | null;
|
|
21806
21828
|
feeStrategy: {
|
|
21807
21829
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
21808
21830
|
};
|
|
@@ -22188,6 +22210,7 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<"type", [z
|
|
|
22188
22210
|
} | {
|
|
22189
22211
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
22190
22212
|
currency: string;
|
|
22213
|
+
maxFee: string | null;
|
|
22191
22214
|
feeStrategy: {
|
|
22192
22215
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
22193
22216
|
};
|
|
@@ -33858,6 +33881,7 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<"type", [z
|
|
|
33858
33881
|
}>, z__default.ZodObject<{
|
|
33859
33882
|
type: z__default.ZodLiteral<"SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT">;
|
|
33860
33883
|
currency: z__default.ZodString;
|
|
33884
|
+
maxFee: z__default.ZodNullable<z__default.ZodString>;
|
|
33861
33885
|
feeStrategy: z__default.ZodObject<{
|
|
33862
33886
|
type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
|
|
33863
33887
|
}, "strip", z__default.ZodTypeAny, {
|
|
@@ -33868,12 +33892,14 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<"type", [z
|
|
|
33868
33892
|
}, "strip", z__default.ZodTypeAny, {
|
|
33869
33893
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
33870
33894
|
currency: string;
|
|
33895
|
+
maxFee: string | null;
|
|
33871
33896
|
feeStrategy: {
|
|
33872
33897
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
33873
33898
|
};
|
|
33874
33899
|
}, {
|
|
33875
33900
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
33876
33901
|
currency: string;
|
|
33902
|
+
maxFee: string | null;
|
|
33877
33903
|
feeStrategy: {
|
|
33878
33904
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
33879
33905
|
};
|
|
@@ -34472,6 +34498,7 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<"type", [z
|
|
|
34472
34498
|
} | {
|
|
34473
34499
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
34474
34500
|
currency: string;
|
|
34501
|
+
maxFee: string | null;
|
|
34475
34502
|
feeStrategy: {
|
|
34476
34503
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
34477
34504
|
};
|
|
@@ -34821,6 +34848,7 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<"type", [z
|
|
|
34821
34848
|
} | {
|
|
34822
34849
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
34823
34850
|
currency: string;
|
|
34851
|
+
maxFee: string | null;
|
|
34824
34852
|
feeStrategy: {
|
|
34825
34853
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
34826
34854
|
};
|
|
@@ -35261,6 +35289,7 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<"type", [z
|
|
|
35261
35289
|
} | {
|
|
35262
35290
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
35263
35291
|
currency: string;
|
|
35292
|
+
maxFee: string | null;
|
|
35264
35293
|
feeStrategy: {
|
|
35265
35294
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
35266
35295
|
};
|
|
@@ -35646,6 +35675,7 @@ declare const zVaultRequestResponse: z__default.ZodDiscriminatedUnion<"type", [z
|
|
|
35646
35675
|
} | {
|
|
35647
35676
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
35648
35677
|
currency: string;
|
|
35678
|
+
maxFee: string | null;
|
|
35649
35679
|
feeStrategy: {
|
|
35650
35680
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
35651
35681
|
};
|
package/lib/fakes.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RequestType, VaultRequest, VaultRequestReview, Account } from '@prisma/client';
|
|
2
|
-
import { C as CurrencyResponse, T as TokenResponse, I as UserChallenge, A as AccountResponse, D as VaultRequestResponse } from './app-types-
|
|
2
|
+
import { C as CurrencyResponse, T as TokenResponse, I as UserChallenge, A as AccountResponse, D as VaultRequestResponse } from './app-types-BYRSuEx3.mjs';
|
|
3
3
|
import z__default from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -911,6 +911,7 @@ declare const zCreateTransactionRequestData: z__default.ZodObject<{
|
|
|
911
911
|
}>, z__default.ZodObject<{
|
|
912
912
|
type: z__default.ZodLiteral<"SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT">;
|
|
913
913
|
currency: z__default.ZodString;
|
|
914
|
+
maxFee: z__default.ZodNullable<z__default.ZodString>;
|
|
914
915
|
feeStrategy: z__default.ZodObject<{
|
|
915
916
|
type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
|
|
916
917
|
}, "strip", z__default.ZodTypeAny, {
|
|
@@ -921,12 +922,14 @@ declare const zCreateTransactionRequestData: z__default.ZodObject<{
|
|
|
921
922
|
}, "strip", z__default.ZodTypeAny, {
|
|
922
923
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
923
924
|
currency: string;
|
|
925
|
+
maxFee: string | null;
|
|
924
926
|
feeStrategy: {
|
|
925
927
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
926
928
|
};
|
|
927
929
|
}, {
|
|
928
930
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
929
931
|
currency: string;
|
|
932
|
+
maxFee: string | null;
|
|
930
933
|
feeStrategy: {
|
|
931
934
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
932
935
|
};
|
|
@@ -1525,6 +1528,7 @@ declare const zCreateTransactionRequestData: z__default.ZodObject<{
|
|
|
1525
1528
|
} | {
|
|
1526
1529
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
1527
1530
|
currency: string;
|
|
1531
|
+
maxFee: string | null;
|
|
1528
1532
|
feeStrategy: {
|
|
1529
1533
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
1530
1534
|
};
|
|
@@ -1874,6 +1878,7 @@ declare const zCreateTransactionRequestData: z__default.ZodObject<{
|
|
|
1874
1878
|
} | {
|
|
1875
1879
|
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
1876
1880
|
currency: string;
|
|
1881
|
+
maxFee: string | null;
|
|
1877
1882
|
feeStrategy: {
|
|
1878
1883
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
1879
1884
|
};
|
package/lib/fakes.mjs
CHANGED
|
@@ -553,6 +553,7 @@ var zSolanaLikeFundAndSendTokenData = zCommonTransactionData.extend({
|
|
|
553
553
|
var zSolanaLikeCreateTokenAccountData = z7.object({
|
|
554
554
|
type: z7.literal(zSolanaLikeTransactionType.enum.SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT),
|
|
555
555
|
currency: zCurrencyString.describe("Transaction currency"),
|
|
556
|
+
maxFee: zUnsignedIntString.nullable().describe("Transaction max fee"),
|
|
556
557
|
feeStrategy: zFeeStrategy.describe("Solana-like fee strategy")
|
|
557
558
|
}).describe("Solana-like create token account");
|
|
558
559
|
var zSolanaLikeTransactionData = z7.discriminatedUnion("type", [
|