@argent/x-shared 1.27.0 → 1.28.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.
- package/dist/features/simulation/activity/schema.d.ts +338 -338
- package/dist/features/simulation/activity/utils/createNativeActivity.d.ts +10 -10
- package/dist/features/simulation/transactionReview/schema.d.ts +1562 -1562
- package/dist/index.d.ts +10 -9
- package/dist/index.js +3 -3
- package/dist/index.mjs +3937 -2230
- package/dist/knownDapps/schema.d.ts +22 -22
- package/dist/knownDapps/utils/getDapplandUrl.d.ts +1 -1
- package/dist/nameResolution/ResolveNameService.d.ts +1 -1
- package/dist/nameResolution/schema.d.ts +4 -4
- package/dist/onchainRecovery/IOnchainRecoveryService.d.ts +13 -0
- package/dist/onchainRecovery/OnchainRecoveryService.d.ts +18 -0
- package/dist/onchainRecovery/index.d.ts +3 -0
- package/dist/onchainRecovery/schema.d.ts +73 -0
- package/dist/{schema-THcYC9Pj.mjs → schema-3qaq9ugL.mjs} +141 -141
- package/dist/{schema-CtZY8-Gm.js → schema-C-_pmcO7.js} +1 -1
- package/dist/simulation.js +1 -1
- package/dist/simulation.mjs +10 -10
- package/dist/tokens/service/implementation.d.ts +1 -1
- package/dist/tokens/service/types/backend.model.d.ts +20 -20
- package/dist/tokens/service/types/defiPosition.model.d.ts +236 -236
- package/dist/tokens/service/types/token.model.d.ts +24 -24
- package/dist/tokens/service/types/unclaimedRewards.model.d.ts +8 -8
- package/dist/transactions/errors.d.ts +4 -4
- package/dist/transactions/useTransactionReviewV2web.d.ts +56 -56
- package/dist/utils/starknet/starknetSchemas.d.ts +212 -212
- package/package.json +2 -1
|
@@ -77,10 +77,10 @@ export declare const apiTokenInfoSchema: z.ZodObject<{
|
|
|
77
77
|
listed: boolean;
|
|
78
78
|
tradable: boolean;
|
|
79
79
|
category: "tokens" | "currencies" | "savings";
|
|
80
|
+
dappId?: string | undefined;
|
|
80
81
|
brandColor?: string | undefined;
|
|
81
82
|
iconUrl?: string | undefined;
|
|
82
83
|
pricingId?: number | undefined;
|
|
83
|
-
dappId?: string | undefined;
|
|
84
84
|
marketData?: {
|
|
85
85
|
marketCap: number;
|
|
86
86
|
marketCap24hChange: number;
|
|
@@ -100,10 +100,10 @@ export declare const apiTokenInfoSchema: z.ZodObject<{
|
|
|
100
100
|
listed: boolean;
|
|
101
101
|
tradable: boolean;
|
|
102
102
|
category: "tokens" | "currencies" | "savings";
|
|
103
|
+
dappId?: string | undefined;
|
|
103
104
|
brandColor?: string | undefined;
|
|
104
105
|
iconUrl?: string | undefined;
|
|
105
106
|
pricingId?: number | undefined;
|
|
106
|
-
dappId?: string | undefined;
|
|
107
107
|
marketData?: {
|
|
108
108
|
marketCap: number;
|
|
109
109
|
marketCap24hChange: number;
|
|
@@ -159,10 +159,10 @@ export declare const apiTokensInfoResponseSchema: z.ZodObject<{
|
|
|
159
159
|
listed: boolean;
|
|
160
160
|
tradable: boolean;
|
|
161
161
|
category: "tokens" | "currencies" | "savings";
|
|
162
|
+
dappId?: string | undefined;
|
|
162
163
|
brandColor?: string | undefined;
|
|
163
164
|
iconUrl?: string | undefined;
|
|
164
165
|
pricingId?: number | undefined;
|
|
165
|
-
dappId?: string | undefined;
|
|
166
166
|
marketData?: {
|
|
167
167
|
marketCap: number;
|
|
168
168
|
marketCap24hChange: number;
|
|
@@ -182,10 +182,10 @@ export declare const apiTokensInfoResponseSchema: z.ZodObject<{
|
|
|
182
182
|
listed: boolean;
|
|
183
183
|
tradable: boolean;
|
|
184
184
|
category: "tokens" | "currencies" | "savings";
|
|
185
|
+
dappId?: string | undefined;
|
|
185
186
|
brandColor?: string | undefined;
|
|
186
187
|
iconUrl?: string | undefined;
|
|
187
188
|
pricingId?: number | undefined;
|
|
188
|
-
dappId?: string | undefined;
|
|
189
189
|
marketData?: {
|
|
190
190
|
marketCap: number;
|
|
191
191
|
marketCap24hChange: number;
|
|
@@ -207,10 +207,10 @@ export declare const apiTokensInfoResponseSchema: z.ZodObject<{
|
|
|
207
207
|
listed: boolean;
|
|
208
208
|
tradable: boolean;
|
|
209
209
|
category: "tokens" | "currencies" | "savings";
|
|
210
|
+
dappId?: string | undefined;
|
|
210
211
|
brandColor?: string | undefined;
|
|
211
212
|
iconUrl?: string | undefined;
|
|
212
213
|
pricingId?: number | undefined;
|
|
213
|
-
dappId?: string | undefined;
|
|
214
214
|
marketData?: {
|
|
215
215
|
marketCap: number;
|
|
216
216
|
marketCap24hChange: number;
|
|
@@ -232,10 +232,10 @@ export declare const apiTokensInfoResponseSchema: z.ZodObject<{
|
|
|
232
232
|
listed: boolean;
|
|
233
233
|
tradable: boolean;
|
|
234
234
|
category: "tokens" | "currencies" | "savings";
|
|
235
|
+
dappId?: string | undefined;
|
|
235
236
|
brandColor?: string | undefined;
|
|
236
237
|
iconUrl?: string | undefined;
|
|
237
238
|
pricingId?: number | undefined;
|
|
238
|
-
dappId?: string | undefined;
|
|
239
239
|
marketData?: {
|
|
240
240
|
marketCap: number;
|
|
241
241
|
marketCap24hChange: number;
|
|
@@ -290,10 +290,10 @@ export declare const apiTokenInfoResponseSchema: z.ZodObject<{
|
|
|
290
290
|
listed: boolean;
|
|
291
291
|
tradable: boolean;
|
|
292
292
|
category: "tokens" | "currencies" | "savings";
|
|
293
|
+
dappId?: string | undefined;
|
|
293
294
|
brandColor?: string | undefined;
|
|
294
295
|
iconUrl?: string | undefined;
|
|
295
296
|
pricingId?: number | undefined;
|
|
296
|
-
dappId?: string | undefined;
|
|
297
297
|
marketData?: {
|
|
298
298
|
marketCap: number;
|
|
299
299
|
marketCap24hChange: number;
|
|
@@ -313,10 +313,10 @@ export declare const apiTokenInfoResponseSchema: z.ZodObject<{
|
|
|
313
313
|
listed: boolean;
|
|
314
314
|
tradable: boolean;
|
|
315
315
|
category: "tokens" | "currencies" | "savings";
|
|
316
|
+
dappId?: string | undefined;
|
|
316
317
|
brandColor?: string | undefined;
|
|
317
318
|
iconUrl?: string | undefined;
|
|
318
319
|
pricingId?: number | undefined;
|
|
319
|
-
dappId?: string | undefined;
|
|
320
320
|
marketData?: {
|
|
321
321
|
marketCap: number;
|
|
322
322
|
marketCap24hChange: number;
|
|
@@ -1157,8 +1157,8 @@ export declare const apiDefiDecompositionProduct: z.ZodObject<{
|
|
|
1157
1157
|
tokenAddress?: string | undefined;
|
|
1158
1158
|
}>]>, "many">;
|
|
1159
1159
|
}, "strip", z.ZodTypeAny, {
|
|
1160
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1161
1160
|
name: string;
|
|
1161
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1162
1162
|
manageUrl: string;
|
|
1163
1163
|
positions: ({
|
|
1164
1164
|
data: {
|
|
@@ -1200,8 +1200,8 @@ export declare const apiDefiDecompositionProduct: z.ZodObject<{
|
|
|
1200
1200
|
healthRatio?: string | undefined;
|
|
1201
1201
|
}> | undefined;
|
|
1202
1202
|
}, {
|
|
1203
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1204
1203
|
name: string;
|
|
1204
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1205
1205
|
manageUrl: string;
|
|
1206
1206
|
positions: ({
|
|
1207
1207
|
data: {
|
|
@@ -1443,8 +1443,8 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
1443
1443
|
tokenAddress?: string | undefined;
|
|
1444
1444
|
}>]>, "many">;
|
|
1445
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1446
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1447
1446
|
name: string;
|
|
1447
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1448
1448
|
manageUrl: string;
|
|
1449
1449
|
positions: ({
|
|
1450
1450
|
data: {
|
|
@@ -1486,8 +1486,8 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
1486
1486
|
healthRatio?: string | undefined;
|
|
1487
1487
|
}> | undefined;
|
|
1488
1488
|
}, {
|
|
1489
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1490
1489
|
name: string;
|
|
1490
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1491
1491
|
manageUrl: string;
|
|
1492
1492
|
positions: ({
|
|
1493
1493
|
data: {
|
|
@@ -1532,8 +1532,8 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
1532
1532
|
}, "strip", z.ZodTypeAny, {
|
|
1533
1533
|
dappId: string;
|
|
1534
1534
|
products: {
|
|
1535
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1536
1535
|
name: string;
|
|
1536
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1537
1537
|
manageUrl: string;
|
|
1538
1538
|
positions: ({
|
|
1539
1539
|
data: {
|
|
@@ -1578,8 +1578,8 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
1578
1578
|
}, {
|
|
1579
1579
|
dappId: string;
|
|
1580
1580
|
products: {
|
|
1581
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1582
1581
|
name: string;
|
|
1582
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1583
1583
|
manageUrl: string;
|
|
1584
1584
|
positions: ({
|
|
1585
1585
|
data: {
|
|
@@ -1823,8 +1823,8 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
1823
1823
|
tokenAddress?: string | undefined;
|
|
1824
1824
|
}>]>, "many">;
|
|
1825
1825
|
}, "strip", z.ZodTypeAny, {
|
|
1826
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1827
1826
|
name: string;
|
|
1827
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1828
1828
|
manageUrl: string;
|
|
1829
1829
|
positions: ({
|
|
1830
1830
|
data: {
|
|
@@ -1866,8 +1866,8 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
1866
1866
|
healthRatio?: string | undefined;
|
|
1867
1867
|
}> | undefined;
|
|
1868
1868
|
}, {
|
|
1869
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1870
1869
|
name: string;
|
|
1870
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1871
1871
|
manageUrl: string;
|
|
1872
1872
|
positions: ({
|
|
1873
1873
|
data: {
|
|
@@ -1912,8 +1912,8 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
1912
1912
|
}, "strip", z.ZodTypeAny, {
|
|
1913
1913
|
dappId: string;
|
|
1914
1914
|
products: {
|
|
1915
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1916
1915
|
name: string;
|
|
1916
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1917
1917
|
manageUrl: string;
|
|
1918
1918
|
positions: ({
|
|
1919
1919
|
data: {
|
|
@@ -1958,8 +1958,8 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
1958
1958
|
}, {
|
|
1959
1959
|
dappId: string;
|
|
1960
1960
|
products: {
|
|
1961
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1962
1961
|
name: string;
|
|
1962
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
1963
1963
|
manageUrl: string;
|
|
1964
1964
|
positions: ({
|
|
1965
1965
|
data: {
|
|
@@ -2006,8 +2006,8 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
2006
2006
|
dapps: {
|
|
2007
2007
|
dappId: string;
|
|
2008
2008
|
products: {
|
|
2009
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
2010
2009
|
name: string;
|
|
2010
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
2011
2011
|
manageUrl: string;
|
|
2012
2012
|
positions: ({
|
|
2013
2013
|
data: {
|
|
@@ -2054,8 +2054,8 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
2054
2054
|
dapps: {
|
|
2055
2055
|
dappId: string;
|
|
2056
2056
|
products: {
|
|
2057
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
2058
2057
|
name: string;
|
|
2058
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
|
|
2059
2059
|
manageUrl: string;
|
|
2060
2060
|
positions: ({
|
|
2061
2061
|
data: {
|