@embarkai/ui-kit 0.4.79 → 0.4.80
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 +1 -1
- package/dist/index.cjs +203 -139
- package/dist/index.d.cts +28 -6
- package/dist/index.d.ts +28 -6
- package/dist/index.js +254 -191
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -234,6 +234,10 @@ interface ProviderConfig {
|
|
|
234
234
|
allowedWallets?: string[];
|
|
235
235
|
};
|
|
236
236
|
preferedColorMode?: 'light' | 'dark';
|
|
237
|
+
/**
|
|
238
|
+
* Display header balance as asset supposed to be used by projects' dApp.
|
|
239
|
+
* Unprovided means 'native' for selected chain.
|
|
240
|
+
*/
|
|
237
241
|
showBalanceAs?: Asset['symbol'];
|
|
238
242
|
projectAssets?: {
|
|
239
243
|
assets: ProjectAsset[];
|
|
@@ -310,7 +314,13 @@ interface ProviderConfig {
|
|
|
310
314
|
requestDeduplication: boolean;
|
|
311
315
|
kycNeeded?: boolean;
|
|
312
316
|
displayNameNeeded?: boolean;
|
|
317
|
+
/**
|
|
318
|
+
* Display header balance asset as USD(T) representation via current asset rate from Binance.
|
|
319
|
+
* - Asset can be set by "showBalanceAs" prop & has to be supported by Binance if "showActiveBalanceAsFiat" true.
|
|
320
|
+
*/
|
|
313
321
|
showActiveBalanceAsFiat?: boolean;
|
|
322
|
+
/** Enable/disable asset bridging, default - false */
|
|
323
|
+
showAssetBridge?: boolean;
|
|
314
324
|
};
|
|
315
325
|
warnings: {
|
|
316
326
|
backupWarning: boolean;
|
|
@@ -2665,9 +2675,13 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2665
2675
|
};
|
|
2666
2676
|
receiveMenu: {
|
|
2667
2677
|
title: string;
|
|
2668
|
-
|
|
2678
|
+
scanQR: string;
|
|
2679
|
+
share: {
|
|
2680
|
+
nickname: string;
|
|
2681
|
+
address: string;
|
|
2682
|
+
identity: string;
|
|
2683
|
+
};
|
|
2669
2684
|
warning: string;
|
|
2670
|
-
share: string;
|
|
2671
2685
|
onboarding: {
|
|
2672
2686
|
receiveMenu: {
|
|
2673
2687
|
title: string;
|
|
@@ -3204,9 +3218,13 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3204
3218
|
};
|
|
3205
3219
|
receiveMenu: {
|
|
3206
3220
|
title: string;
|
|
3207
|
-
|
|
3221
|
+
scanQR: string;
|
|
3222
|
+
share: {
|
|
3223
|
+
nickname: string;
|
|
3224
|
+
address: string;
|
|
3225
|
+
identity: string;
|
|
3226
|
+
};
|
|
3208
3227
|
warning: string;
|
|
3209
|
-
share: string;
|
|
3210
3228
|
onboarding: {
|
|
3211
3229
|
receiveMenu: {
|
|
3212
3230
|
title: string;
|
|
@@ -3743,9 +3761,13 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3743
3761
|
};
|
|
3744
3762
|
receiveMenu: {
|
|
3745
3763
|
title: string;
|
|
3746
|
-
|
|
3764
|
+
scanQR: string;
|
|
3765
|
+
share: {
|
|
3766
|
+
nickname: string;
|
|
3767
|
+
address: string;
|
|
3768
|
+
identity: string;
|
|
3769
|
+
};
|
|
3747
3770
|
warning: string;
|
|
3748
|
-
share: string;
|
|
3749
3771
|
onboarding: {
|
|
3750
3772
|
receiveMenu: {
|
|
3751
3773
|
title: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -234,6 +234,10 @@ interface ProviderConfig {
|
|
|
234
234
|
allowedWallets?: string[];
|
|
235
235
|
};
|
|
236
236
|
preferedColorMode?: 'light' | 'dark';
|
|
237
|
+
/**
|
|
238
|
+
* Display header balance as asset supposed to be used by projects' dApp.
|
|
239
|
+
* Unprovided means 'native' for selected chain.
|
|
240
|
+
*/
|
|
237
241
|
showBalanceAs?: Asset['symbol'];
|
|
238
242
|
projectAssets?: {
|
|
239
243
|
assets: ProjectAsset[];
|
|
@@ -310,7 +314,13 @@ interface ProviderConfig {
|
|
|
310
314
|
requestDeduplication: boolean;
|
|
311
315
|
kycNeeded?: boolean;
|
|
312
316
|
displayNameNeeded?: boolean;
|
|
317
|
+
/**
|
|
318
|
+
* Display header balance asset as USD(T) representation via current asset rate from Binance.
|
|
319
|
+
* - Asset can be set by "showBalanceAs" prop & has to be supported by Binance if "showActiveBalanceAsFiat" true.
|
|
320
|
+
*/
|
|
313
321
|
showActiveBalanceAsFiat?: boolean;
|
|
322
|
+
/** Enable/disable asset bridging, default - false */
|
|
323
|
+
showAssetBridge?: boolean;
|
|
314
324
|
};
|
|
315
325
|
warnings: {
|
|
316
326
|
backupWarning: boolean;
|
|
@@ -2665,9 +2675,13 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2665
2675
|
};
|
|
2666
2676
|
receiveMenu: {
|
|
2667
2677
|
title: string;
|
|
2668
|
-
|
|
2678
|
+
scanQR: string;
|
|
2679
|
+
share: {
|
|
2680
|
+
nickname: string;
|
|
2681
|
+
address: string;
|
|
2682
|
+
identity: string;
|
|
2683
|
+
};
|
|
2669
2684
|
warning: string;
|
|
2670
|
-
share: string;
|
|
2671
2685
|
onboarding: {
|
|
2672
2686
|
receiveMenu: {
|
|
2673
2687
|
title: string;
|
|
@@ -3204,9 +3218,13 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3204
3218
|
};
|
|
3205
3219
|
receiveMenu: {
|
|
3206
3220
|
title: string;
|
|
3207
|
-
|
|
3221
|
+
scanQR: string;
|
|
3222
|
+
share: {
|
|
3223
|
+
nickname: string;
|
|
3224
|
+
address: string;
|
|
3225
|
+
identity: string;
|
|
3226
|
+
};
|
|
3208
3227
|
warning: string;
|
|
3209
|
-
share: string;
|
|
3210
3228
|
onboarding: {
|
|
3211
3229
|
receiveMenu: {
|
|
3212
3230
|
title: string;
|
|
@@ -3743,9 +3761,13 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3743
3761
|
};
|
|
3744
3762
|
receiveMenu: {
|
|
3745
3763
|
title: string;
|
|
3746
|
-
|
|
3764
|
+
scanQR: string;
|
|
3765
|
+
share: {
|
|
3766
|
+
nickname: string;
|
|
3767
|
+
address: string;
|
|
3768
|
+
identity: string;
|
|
3769
|
+
};
|
|
3747
3770
|
warning: string;
|
|
3748
|
-
share: string;
|
|
3749
3771
|
onboarding: {
|
|
3750
3772
|
receiveMenu: {
|
|
3751
3773
|
title: string;
|