@embarkai/ui-kit 0.4.31 → 0.4.33
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/_headers +3 -3
- package/dist/iframe/index.html +2 -2
- package/dist/iframe/main.js +69 -64
- package/dist/index.cjs +708 -550
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +417 -259
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -150,6 +150,7 @@ declare function useTokenBalance(tokenAddress: `0x${string}`, userAddress?: `0x$
|
|
|
150
150
|
declare global {
|
|
151
151
|
interface Window {
|
|
152
152
|
__EMBARK_SERVICES__?: Partial<{
|
|
153
|
+
assetApiUrl: string;
|
|
153
154
|
tssUrl: string;
|
|
154
155
|
shareVaultUrl: string;
|
|
155
156
|
dashboardApiUrl: string;
|
|
@@ -292,6 +293,7 @@ interface ProviderConfig {
|
|
|
292
293
|
forceChain?: boolean;
|
|
293
294
|
};
|
|
294
295
|
services: {
|
|
296
|
+
assetApiUrl?: string;
|
|
295
297
|
tssUrl: string;
|
|
296
298
|
shareVaultUrl: string;
|
|
297
299
|
dashboardApiUrl?: string;
|
|
@@ -1992,6 +1994,8 @@ declare function getExplorerUrl(): string;
|
|
|
1992
1994
|
interface UseBlockscoutAssetsOptions {
|
|
1993
1995
|
/** Wallet address to query */
|
|
1994
1996
|
address: Address$1 | undefined;
|
|
1997
|
+
/** Chain ID to query. Defaults to the active EmbarkAI chain. */
|
|
1998
|
+
chainId?: number;
|
|
1995
1999
|
/** Whether to enable the query (default: true when address provided) */
|
|
1996
2000
|
enabled?: boolean;
|
|
1997
2001
|
/** Whether to detect ERC3643 security tokens (default: true) */
|
package/dist/index.d.ts
CHANGED
|
@@ -150,6 +150,7 @@ declare function useTokenBalance(tokenAddress: `0x${string}`, userAddress?: `0x$
|
|
|
150
150
|
declare global {
|
|
151
151
|
interface Window {
|
|
152
152
|
__EMBARK_SERVICES__?: Partial<{
|
|
153
|
+
assetApiUrl: string;
|
|
153
154
|
tssUrl: string;
|
|
154
155
|
shareVaultUrl: string;
|
|
155
156
|
dashboardApiUrl: string;
|
|
@@ -292,6 +293,7 @@ interface ProviderConfig {
|
|
|
292
293
|
forceChain?: boolean;
|
|
293
294
|
};
|
|
294
295
|
services: {
|
|
296
|
+
assetApiUrl?: string;
|
|
295
297
|
tssUrl: string;
|
|
296
298
|
shareVaultUrl: string;
|
|
297
299
|
dashboardApiUrl?: string;
|
|
@@ -1992,6 +1994,8 @@ declare function getExplorerUrl(): string;
|
|
|
1992
1994
|
interface UseBlockscoutAssetsOptions {
|
|
1993
1995
|
/** Wallet address to query */
|
|
1994
1996
|
address: Address$1 | undefined;
|
|
1997
|
+
/** Chain ID to query. Defaults to the active EmbarkAI chain. */
|
|
1998
|
+
chainId?: number;
|
|
1995
1999
|
/** Whether to enable the query (default: true when address provided) */
|
|
1996
2000
|
enabled?: boolean;
|
|
1997
2001
|
/** Whether to detect ERC3643 security tokens (default: true) */
|