@embarkai/ui-kit 0.4.30 → 0.4.32
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/iframe/index.html +1 -1
- package/dist/iframe/main.js +28 -21
- package/dist/index.cjs +1458 -1349
- package/dist/index.d.cts +45 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.js +1138 -1027
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1992,6 +1992,8 @@ declare function getExplorerUrl(): string;
|
|
|
1992
1992
|
interface UseBlockscoutAssetsOptions {
|
|
1993
1993
|
/** Wallet address to query */
|
|
1994
1994
|
address: Address$1 | undefined;
|
|
1995
|
+
/** Chain ID to query. Defaults to the active EmbarkAI chain. */
|
|
1996
|
+
chainId?: number;
|
|
1995
1997
|
/** Whether to enable the query (default: true when address provided) */
|
|
1996
1998
|
enabled?: boolean;
|
|
1997
1999
|
/** Whether to detect ERC3643 security tokens (default: true) */
|
|
@@ -2387,6 +2389,7 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2387
2389
|
advanced: string;
|
|
2388
2390
|
next: string;
|
|
2389
2391
|
prev: string;
|
|
2392
|
+
page: string;
|
|
2390
2393
|
errors: {
|
|
2391
2394
|
oops: string;
|
|
2392
2395
|
};
|
|
@@ -2448,9 +2451,11 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2448
2451
|
labels: {
|
|
2449
2452
|
sender: string;
|
|
2450
2453
|
bridgeAsset: string;
|
|
2454
|
+
selectTokenAndRoute: string;
|
|
2451
2455
|
selectToken: string;
|
|
2452
2456
|
estimations: string;
|
|
2453
2457
|
estimatedFee: string;
|
|
2458
|
+
availableChainPairs: string;
|
|
2454
2459
|
toChain: string;
|
|
2455
2460
|
fromChain: string;
|
|
2456
2461
|
optionalRecipient: string;
|
|
@@ -2474,12 +2479,15 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2474
2479
|
bridge: string;
|
|
2475
2480
|
estimateQuote: string;
|
|
2476
2481
|
bridgeAsset: string;
|
|
2482
|
+
selectAsset: string;
|
|
2477
2483
|
confirmBridge: string;
|
|
2478
2484
|
};
|
|
2479
2485
|
statuses: {
|
|
2480
2486
|
txPrepare: string;
|
|
2481
2487
|
txSending: string;
|
|
2482
2488
|
txSent: string;
|
|
2489
|
+
txWaitingReceipt: string;
|
|
2490
|
+
txPatching: string;
|
|
2483
2491
|
};
|
|
2484
2492
|
consent: {
|
|
2485
2493
|
recipient: string;
|
|
@@ -2487,6 +2495,7 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2487
2495
|
};
|
|
2488
2496
|
errors: {
|
|
2489
2497
|
directWalletWarn: string;
|
|
2498
|
+
noWarpRoutes: string;
|
|
2490
2499
|
routeUnavailable: string;
|
|
2491
2500
|
noConnections: string;
|
|
2492
2501
|
wrongNetwork: string;
|
|
@@ -2694,6 +2703,7 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2694
2703
|
advanced: string;
|
|
2695
2704
|
next: string;
|
|
2696
2705
|
prev: string;
|
|
2706
|
+
page: string;
|
|
2697
2707
|
errors: {
|
|
2698
2708
|
oops: string;
|
|
2699
2709
|
};
|
|
@@ -2753,10 +2763,13 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2753
2763
|
bridgeMenu: {
|
|
2754
2764
|
title: string;
|
|
2755
2765
|
labels: {
|
|
2766
|
+
sender: string;
|
|
2756
2767
|
bridgeAsset: string;
|
|
2768
|
+
selectTokenAndRoute: string;
|
|
2757
2769
|
selectToken: string;
|
|
2758
2770
|
estimations: string;
|
|
2759
2771
|
estimatedFee: string;
|
|
2772
|
+
availableChainPairs: string;
|
|
2760
2773
|
toChain: string;
|
|
2761
2774
|
fromChain: string;
|
|
2762
2775
|
optionalRecipient: string;
|
|
@@ -2773,10 +2786,14 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2773
2786
|
tokenFee: string;
|
|
2774
2787
|
igpSymbol: string;
|
|
2775
2788
|
localSymbol: string;
|
|
2789
|
+
operationHash: string;
|
|
2776
2790
|
};
|
|
2777
2791
|
actions: {
|
|
2792
|
+
connectWallet: string;
|
|
2778
2793
|
bridge: string;
|
|
2794
|
+
estimateQuote: string;
|
|
2779
2795
|
bridgeAsset: string;
|
|
2796
|
+
selectAsset: string;
|
|
2780
2797
|
confirmBridge: string;
|
|
2781
2798
|
};
|
|
2782
2799
|
statuses: {
|
|
@@ -2786,11 +2803,21 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2786
2803
|
txSending: string;
|
|
2787
2804
|
txSent: string;
|
|
2788
2805
|
txExecuting: string;
|
|
2806
|
+
txWaitingReceipt: string;
|
|
2807
|
+
txPatching: string;
|
|
2808
|
+
};
|
|
2809
|
+
consent: {
|
|
2810
|
+
recipient: string;
|
|
2811
|
+
lostFunds: string;
|
|
2789
2812
|
};
|
|
2790
2813
|
errors: {
|
|
2814
|
+
directWalletWarn: string;
|
|
2815
|
+
noWarpRoutes: string;
|
|
2791
2816
|
routeUnavailable: string;
|
|
2792
2817
|
noConnections: string;
|
|
2793
2818
|
wrongNetwork: string;
|
|
2819
|
+
noHistory: string;
|
|
2820
|
+
unsupportedNetwork: string;
|
|
2794
2821
|
};
|
|
2795
2822
|
};
|
|
2796
2823
|
receiveMenu: {
|
|
@@ -2993,6 +3020,7 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2993
3020
|
advanced: string;
|
|
2994
3021
|
next: string;
|
|
2995
3022
|
prev: string;
|
|
3023
|
+
page: string;
|
|
2996
3024
|
errors: {
|
|
2997
3025
|
oops: string;
|
|
2998
3026
|
};
|
|
@@ -3052,10 +3080,13 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3052
3080
|
bridgeMenu: {
|
|
3053
3081
|
title: string;
|
|
3054
3082
|
labels: {
|
|
3083
|
+
sender: string;
|
|
3055
3084
|
bridgeAsset: string;
|
|
3085
|
+
selectTokenAndRoute: string;
|
|
3056
3086
|
selectToken: string;
|
|
3057
3087
|
estimations: string;
|
|
3058
3088
|
estimatedFee: string;
|
|
3089
|
+
availableChainPairs: string;
|
|
3059
3090
|
toChain: string;
|
|
3060
3091
|
fromChain: string;
|
|
3061
3092
|
optionalRecipient: string;
|
|
@@ -3072,10 +3103,14 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3072
3103
|
tokenFee: string;
|
|
3073
3104
|
igpSymbol: string;
|
|
3074
3105
|
localSymbol: string;
|
|
3106
|
+
operationHash: string;
|
|
3075
3107
|
};
|
|
3076
3108
|
actions: {
|
|
3109
|
+
connectWallet: string;
|
|
3077
3110
|
bridge: string;
|
|
3111
|
+
estimateQuote: string;
|
|
3078
3112
|
bridgeAsset: string;
|
|
3113
|
+
selectAsset: string;
|
|
3079
3114
|
confirmBridge: string;
|
|
3080
3115
|
};
|
|
3081
3116
|
statuses: {
|
|
@@ -3085,11 +3120,21 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3085
3120
|
txSending: string;
|
|
3086
3121
|
txSent: string;
|
|
3087
3122
|
txExecuting: string;
|
|
3123
|
+
txWaitingReceipt: string;
|
|
3124
|
+
txPatching: string;
|
|
3125
|
+
};
|
|
3126
|
+
consent: {
|
|
3127
|
+
recipient: string;
|
|
3128
|
+
lostFunds: string;
|
|
3088
3129
|
};
|
|
3089
3130
|
errors: {
|
|
3131
|
+
directWalletWarn: string;
|
|
3132
|
+
noWarpRoutes: string;
|
|
3090
3133
|
routeUnavailable: string;
|
|
3091
3134
|
noConnections: string;
|
|
3092
3135
|
wrongNetwork: string;
|
|
3136
|
+
noHistory: string;
|
|
3137
|
+
unsupportedNetwork: string;
|
|
3093
3138
|
};
|
|
3094
3139
|
};
|
|
3095
3140
|
receiveMenu: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1992,6 +1992,8 @@ declare function getExplorerUrl(): string;
|
|
|
1992
1992
|
interface UseBlockscoutAssetsOptions {
|
|
1993
1993
|
/** Wallet address to query */
|
|
1994
1994
|
address: Address$1 | undefined;
|
|
1995
|
+
/** Chain ID to query. Defaults to the active EmbarkAI chain. */
|
|
1996
|
+
chainId?: number;
|
|
1995
1997
|
/** Whether to enable the query (default: true when address provided) */
|
|
1996
1998
|
enabled?: boolean;
|
|
1997
1999
|
/** Whether to detect ERC3643 security tokens (default: true) */
|
|
@@ -2387,6 +2389,7 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2387
2389
|
advanced: string;
|
|
2388
2390
|
next: string;
|
|
2389
2391
|
prev: string;
|
|
2392
|
+
page: string;
|
|
2390
2393
|
errors: {
|
|
2391
2394
|
oops: string;
|
|
2392
2395
|
};
|
|
@@ -2448,9 +2451,11 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2448
2451
|
labels: {
|
|
2449
2452
|
sender: string;
|
|
2450
2453
|
bridgeAsset: string;
|
|
2454
|
+
selectTokenAndRoute: string;
|
|
2451
2455
|
selectToken: string;
|
|
2452
2456
|
estimations: string;
|
|
2453
2457
|
estimatedFee: string;
|
|
2458
|
+
availableChainPairs: string;
|
|
2454
2459
|
toChain: string;
|
|
2455
2460
|
fromChain: string;
|
|
2456
2461
|
optionalRecipient: string;
|
|
@@ -2474,12 +2479,15 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2474
2479
|
bridge: string;
|
|
2475
2480
|
estimateQuote: string;
|
|
2476
2481
|
bridgeAsset: string;
|
|
2482
|
+
selectAsset: string;
|
|
2477
2483
|
confirmBridge: string;
|
|
2478
2484
|
};
|
|
2479
2485
|
statuses: {
|
|
2480
2486
|
txPrepare: string;
|
|
2481
2487
|
txSending: string;
|
|
2482
2488
|
txSent: string;
|
|
2489
|
+
txWaitingReceipt: string;
|
|
2490
|
+
txPatching: string;
|
|
2483
2491
|
};
|
|
2484
2492
|
consent: {
|
|
2485
2493
|
recipient: string;
|
|
@@ -2487,6 +2495,7 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2487
2495
|
};
|
|
2488
2496
|
errors: {
|
|
2489
2497
|
directWalletWarn: string;
|
|
2498
|
+
noWarpRoutes: string;
|
|
2490
2499
|
routeUnavailable: string;
|
|
2491
2500
|
noConnections: string;
|
|
2492
2501
|
wrongNetwork: string;
|
|
@@ -2694,6 +2703,7 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2694
2703
|
advanced: string;
|
|
2695
2704
|
next: string;
|
|
2696
2705
|
prev: string;
|
|
2706
|
+
page: string;
|
|
2697
2707
|
errors: {
|
|
2698
2708
|
oops: string;
|
|
2699
2709
|
};
|
|
@@ -2753,10 +2763,13 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2753
2763
|
bridgeMenu: {
|
|
2754
2764
|
title: string;
|
|
2755
2765
|
labels: {
|
|
2766
|
+
sender: string;
|
|
2756
2767
|
bridgeAsset: string;
|
|
2768
|
+
selectTokenAndRoute: string;
|
|
2757
2769
|
selectToken: string;
|
|
2758
2770
|
estimations: string;
|
|
2759
2771
|
estimatedFee: string;
|
|
2772
|
+
availableChainPairs: string;
|
|
2760
2773
|
toChain: string;
|
|
2761
2774
|
fromChain: string;
|
|
2762
2775
|
optionalRecipient: string;
|
|
@@ -2773,10 +2786,14 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2773
2786
|
tokenFee: string;
|
|
2774
2787
|
igpSymbol: string;
|
|
2775
2788
|
localSymbol: string;
|
|
2789
|
+
operationHash: string;
|
|
2776
2790
|
};
|
|
2777
2791
|
actions: {
|
|
2792
|
+
connectWallet: string;
|
|
2778
2793
|
bridge: string;
|
|
2794
|
+
estimateQuote: string;
|
|
2779
2795
|
bridgeAsset: string;
|
|
2796
|
+
selectAsset: string;
|
|
2780
2797
|
confirmBridge: string;
|
|
2781
2798
|
};
|
|
2782
2799
|
statuses: {
|
|
@@ -2786,11 +2803,21 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2786
2803
|
txSending: string;
|
|
2787
2804
|
txSent: string;
|
|
2788
2805
|
txExecuting: string;
|
|
2806
|
+
txWaitingReceipt: string;
|
|
2807
|
+
txPatching: string;
|
|
2808
|
+
};
|
|
2809
|
+
consent: {
|
|
2810
|
+
recipient: string;
|
|
2811
|
+
lostFunds: string;
|
|
2789
2812
|
};
|
|
2790
2813
|
errors: {
|
|
2814
|
+
directWalletWarn: string;
|
|
2815
|
+
noWarpRoutes: string;
|
|
2791
2816
|
routeUnavailable: string;
|
|
2792
2817
|
noConnections: string;
|
|
2793
2818
|
wrongNetwork: string;
|
|
2819
|
+
noHistory: string;
|
|
2820
|
+
unsupportedNetwork: string;
|
|
2794
2821
|
};
|
|
2795
2822
|
};
|
|
2796
2823
|
receiveMenu: {
|
|
@@ -2993,6 +3020,7 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2993
3020
|
advanced: string;
|
|
2994
3021
|
next: string;
|
|
2995
3022
|
prev: string;
|
|
3023
|
+
page: string;
|
|
2996
3024
|
errors: {
|
|
2997
3025
|
oops: string;
|
|
2998
3026
|
};
|
|
@@ -3052,10 +3080,13 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3052
3080
|
bridgeMenu: {
|
|
3053
3081
|
title: string;
|
|
3054
3082
|
labels: {
|
|
3083
|
+
sender: string;
|
|
3055
3084
|
bridgeAsset: string;
|
|
3085
|
+
selectTokenAndRoute: string;
|
|
3056
3086
|
selectToken: string;
|
|
3057
3087
|
estimations: string;
|
|
3058
3088
|
estimatedFee: string;
|
|
3089
|
+
availableChainPairs: string;
|
|
3059
3090
|
toChain: string;
|
|
3060
3091
|
fromChain: string;
|
|
3061
3092
|
optionalRecipient: string;
|
|
@@ -3072,10 +3103,14 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3072
3103
|
tokenFee: string;
|
|
3073
3104
|
igpSymbol: string;
|
|
3074
3105
|
localSymbol: string;
|
|
3106
|
+
operationHash: string;
|
|
3075
3107
|
};
|
|
3076
3108
|
actions: {
|
|
3109
|
+
connectWallet: string;
|
|
3077
3110
|
bridge: string;
|
|
3111
|
+
estimateQuote: string;
|
|
3078
3112
|
bridgeAsset: string;
|
|
3113
|
+
selectAsset: string;
|
|
3079
3114
|
confirmBridge: string;
|
|
3080
3115
|
};
|
|
3081
3116
|
statuses: {
|
|
@@ -3085,11 +3120,21 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3085
3120
|
txSending: string;
|
|
3086
3121
|
txSent: string;
|
|
3087
3122
|
txExecuting: string;
|
|
3123
|
+
txWaitingReceipt: string;
|
|
3124
|
+
txPatching: string;
|
|
3125
|
+
};
|
|
3126
|
+
consent: {
|
|
3127
|
+
recipient: string;
|
|
3128
|
+
lostFunds: string;
|
|
3088
3129
|
};
|
|
3089
3130
|
errors: {
|
|
3131
|
+
directWalletWarn: string;
|
|
3132
|
+
noWarpRoutes: string;
|
|
3090
3133
|
routeUnavailable: string;
|
|
3091
3134
|
noConnections: string;
|
|
3092
3135
|
wrongNetwork: string;
|
|
3136
|
+
noHistory: string;
|
|
3137
|
+
unsupportedNetwork: string;
|
|
3093
3138
|
};
|
|
3094
3139
|
};
|
|
3095
3140
|
receiveMenu: {
|