@ledgerhq/revault-api 1.40.2 → 1.41.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.
|
@@ -1302,9 +1302,47 @@ declare const zPsdPairingData: z.ZodObject<{
|
|
|
1302
1302
|
}, z.core.$strip>;
|
|
1303
1303
|
type PsdPairingData = z.infer<typeof zPsdPairingData>;
|
|
1304
1304
|
|
|
1305
|
+
declare const zAssetResponse: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
|
|
1306
|
+
id: z__default.ZodString;
|
|
1307
|
+
name: z__default.ZodString;
|
|
1308
|
+
ticker: z__default.ZodString;
|
|
1309
|
+
family: z__default.ZodString;
|
|
1310
|
+
units: z__default.ZodArray<z__default.ZodObject<{
|
|
1311
|
+
code: z__default.ZodString;
|
|
1312
|
+
name: z__default.ZodString;
|
|
1313
|
+
magnitude: z__default.ZodNumber;
|
|
1314
|
+
}, z__default.core.$strip>>;
|
|
1315
|
+
network: z__default.ZodString;
|
|
1316
|
+
assetType: z__default.ZodLiteral<"NATIVE">;
|
|
1317
|
+
}, z__default.core.$strip>, z__default.ZodObject<{
|
|
1318
|
+
id: z__default.ZodString;
|
|
1319
|
+
name: z__default.ZodString;
|
|
1320
|
+
ticker: z__default.ZodString;
|
|
1321
|
+
family: z__default.ZodString;
|
|
1322
|
+
units: z__default.ZodArray<z__default.ZodObject<{
|
|
1323
|
+
code: z__default.ZodString;
|
|
1324
|
+
name: z__default.ZodString;
|
|
1325
|
+
magnitude: z__default.ZodNumber;
|
|
1326
|
+
}, z__default.core.$strip>>;
|
|
1327
|
+
network: z__default.ZodString;
|
|
1328
|
+
assetType: z__default.ZodLiteral<"TOKEN">;
|
|
1329
|
+
contractAddress: z__default.ZodString;
|
|
1330
|
+
metaCurrencyId: z__default.ZodNullable<z__default.ZodString>;
|
|
1331
|
+
}, z__default.core.$strip>], "assetType">;
|
|
1332
|
+
type AssetResponse = z__default.infer<typeof zAssetResponse>;
|
|
1333
|
+
declare const zAssetCapabilitiesResponse: z__default.ZodObject<{
|
|
1334
|
+
SEND: z__default.ZodBoolean;
|
|
1335
|
+
STAKE: z__default.ZodBoolean;
|
|
1336
|
+
EXECUTE_CONTRACT: z__default.ZodBoolean;
|
|
1337
|
+
SIGN_MESSAGE: z__default.ZodBoolean;
|
|
1338
|
+
DEPLOY_CONTRACT: z__default.ZodBoolean;
|
|
1339
|
+
ACTIVATE_TOKEN: z__default.ZodBoolean;
|
|
1340
|
+
RECEIVE: z__default.ZodBoolean;
|
|
1341
|
+
}, z__default.core.$strip>;
|
|
1305
1342
|
declare const zCurrencyResponse: z__default.ZodObject<{
|
|
1306
1343
|
id: z__default.ZodString;
|
|
1307
1344
|
name: z__default.ZodString;
|
|
1345
|
+
ticker: z__default.ZodString;
|
|
1308
1346
|
type: z__default.ZodEnum<{
|
|
1309
1347
|
BITCOIN_LIKE: "BITCOIN_LIKE";
|
|
1310
1348
|
CANTON_LIKE: "CANTON_LIKE";
|
|
@@ -1330,6 +1368,7 @@ type CurrencyResponse = z__default.infer<typeof zCurrencyResponse>;
|
|
|
1330
1368
|
declare const zTokenResponse: z__default.ZodObject<{
|
|
1331
1369
|
id: z__default.ZodString;
|
|
1332
1370
|
name: z__default.ZodString;
|
|
1371
|
+
ticker: z__default.ZodString;
|
|
1333
1372
|
type: z__default.ZodEnum<{
|
|
1334
1373
|
BITCOIN_LIKE: "BITCOIN_LIKE";
|
|
1335
1374
|
CANTON_LIKE: "CANTON_LIKE";
|
|
@@ -1354,15 +1393,6 @@ declare const zTokenResponse: z__default.ZodObject<{
|
|
|
1354
1393
|
currency: z__default.ZodString;
|
|
1355
1394
|
}, z__default.core.$strip>;
|
|
1356
1395
|
type TokenResponse = z__default.infer<typeof zTokenResponse>;
|
|
1357
|
-
declare const zCurrencyCapabilitiesResponse: z__default.ZodObject<{
|
|
1358
|
-
SEND: z__default.ZodBoolean;
|
|
1359
|
-
STAKE: z__default.ZodBoolean;
|
|
1360
|
-
EXECUTE_CONTRACT: z__default.ZodBoolean;
|
|
1361
|
-
SIGN_MESSAGE: z__default.ZodBoolean;
|
|
1362
|
-
DEPLOY_CONTRACT: z__default.ZodBoolean;
|
|
1363
|
-
ACTIVATE_TOKEN: z__default.ZodBoolean;
|
|
1364
|
-
RECEIVE: z__default.ZodBoolean;
|
|
1365
|
-
}, z__default.core.$strip>;
|
|
1366
1396
|
|
|
1367
1397
|
declare const zVaultRequestCreateInput: z__default.ZodObject<{
|
|
1368
1398
|
request: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
|
|
@@ -11112,4 +11142,4 @@ declare const genTransactionSchemas: <T extends TransactionData>(innerSchema: z_
|
|
|
11112
11142
|
}, z__default.core.$strip>;
|
|
11113
11143
|
};
|
|
11114
11144
|
|
|
11115
|
-
export { type
|
|
11145
|
+
export { type AssetResponse as A, zPsdPairingInputData as B, type CurrencyResponse as C, zPsdSignature as D, zPubKey as E, zUserRegistrationChallenge as F, zUserRegistrationChallengeResponse as G, type HsmCertificate as H, zUserRegistrationDeviceData as I, zVaultRequestCreateInput as J, zVaultRequestResponse as K, type VaultRequestResponse as L, zRequestSortBy as M, zUserChallengeResponse as N, type UserChallengeResponse as O, type PsdChallenge as P, genTransactionSchemas as Q, type RequestSortBy as R, type UserChallenge as S, type TransactionResponse as T, type UserRegistrationChallenge as U, type VaultRequestCreateInput as V, type AccountFreshAddress as a, type AccountResponse as b, type AccountSortBy as c, zAccountLiveDataResponse as d, zAccountResponse as e, zAccountSortBy as f, zBalance as g, zStake as h, zStakeSortBy as i, zStakingValidator as j, zStakingValidatorSortBy as k, zEstimatedFees as l, type TokenResponse as m, zAssetCapabilitiesResponse as n, zAssetResponse as o, zCurrencyResponse as p, zTokenResponse as q, type ApiChallenge as r, type PsdPairingData as s, type PsdPairingInputData as t, type PsdSignature as u, type PubKey as v, type UserRegistrationChallengeResponse as w, type UserRegistrationDeviceData as x, zPsdPairingData as y, zAccountFreshAddress as z };
|
package/lib/fakes.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as AssetResponse, S as UserChallenge, b as AccountResponse, L as VaultRequestResponse } from './app-types-BCPeZhFD.mjs';
|
|
2
2
|
import { VaultRequestReview, RequestType, VaultRequest, Account } from '@prisma/client';
|
|
3
3
|
import z__default from 'zod';
|
|
4
4
|
|
|
@@ -751,8 +751,9 @@ declare const zEditSciConfigRequestData: z__default.ZodObject<{
|
|
|
751
751
|
type EditSciConfigRequestData = z__default.infer<typeof zEditSciConfigRequestData>;
|
|
752
752
|
|
|
753
753
|
type AllAssets = {
|
|
754
|
-
currencies:
|
|
755
|
-
tokens:
|
|
754
|
+
currencies: AssetResponse[];
|
|
755
|
+
tokens: AssetResponse[];
|
|
756
|
+
hash: string;
|
|
756
757
|
};
|
|
757
758
|
declare global {
|
|
758
759
|
var _allAssetsPromise: Promise<AllAssets> | undefined;
|