@embarkai/ui-kit 0.4.52 → 0.4.54
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 +540 -480
- package/dist/index.d.cts +20 -9
- package/dist/index.d.ts +20 -9
- package/dist/index.js +344 -285
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -169,16 +169,17 @@ interface SocialProvider {
|
|
|
169
169
|
comingSoon?: boolean;
|
|
170
170
|
meta?: Record<string, any>;
|
|
171
171
|
}
|
|
172
|
+
interface ProjectAssetBalance {
|
|
173
|
+
cryptoFormatted: number;
|
|
174
|
+
cryptoFiatRate: number;
|
|
175
|
+
cryptoSymbol: string;
|
|
176
|
+
fiatFormatted: number;
|
|
177
|
+
fiatSymbol: string;
|
|
178
|
+
}
|
|
172
179
|
interface ProjectAsset extends Omit<Asset, 'type'> {
|
|
173
180
|
type: 'project';
|
|
174
181
|
balanceQueryKey: string[];
|
|
175
|
-
balanceQuery: () => Promise<
|
|
176
|
-
cryptoFormatted: number;
|
|
177
|
-
cryptoFiatRate: number;
|
|
178
|
-
cryptoSymbol: string;
|
|
179
|
-
fiatFormatted: number;
|
|
180
|
-
fiatSymbol: string;
|
|
181
|
-
}>;
|
|
182
|
+
balanceQuery: () => Promise<ProjectAssetBalance>;
|
|
182
183
|
hideInPortfolio?: boolean;
|
|
183
184
|
}
|
|
184
185
|
interface AssetRateQueryInput {
|
|
@@ -1051,9 +1052,7 @@ declare enum PageKey {
|
|
|
1051
1052
|
DEVICE_MANAGE = "device-manage",
|
|
1052
1053
|
DEVICE_RESTORE = "device-restore"
|
|
1053
1054
|
}
|
|
1054
|
-
/** WIP: need to develop page options typeset, i.e options: AuthOpenOptions | BuyOpenOption etc */
|
|
1055
1055
|
interface PageOpenParams {
|
|
1056
|
-
key: PageKey;
|
|
1057
1056
|
[option: string]: unknown;
|
|
1058
1057
|
}
|
|
1059
1058
|
|
|
@@ -2492,6 +2491,10 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2492
2491
|
nicknameAvailable: string;
|
|
2493
2492
|
nicknameNotAvailable: string;
|
|
2494
2493
|
};
|
|
2494
|
+
initialUser: {
|
|
2495
|
+
welcome: string;
|
|
2496
|
+
message: string;
|
|
2497
|
+
};
|
|
2495
2498
|
};
|
|
2496
2499
|
profilesMenu: {
|
|
2497
2500
|
title: string;
|
|
@@ -2822,6 +2825,10 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2822
2825
|
nicknameAvailable: string;
|
|
2823
2826
|
nicknameNotAvailable: string;
|
|
2824
2827
|
};
|
|
2828
|
+
initialUser: {
|
|
2829
|
+
welcome: string;
|
|
2830
|
+
message: string;
|
|
2831
|
+
};
|
|
2825
2832
|
};
|
|
2826
2833
|
profilesMenu: {
|
|
2827
2834
|
title: string;
|
|
@@ -3152,6 +3159,10 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3152
3159
|
nicknameAvailable: string;
|
|
3153
3160
|
nicknameNotAvailable: string;
|
|
3154
3161
|
};
|
|
3162
|
+
initialUser: {
|
|
3163
|
+
welcome: string;
|
|
3164
|
+
message: string;
|
|
3165
|
+
};
|
|
3155
3166
|
};
|
|
3156
3167
|
profilesMenu: {
|
|
3157
3168
|
title: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -169,16 +169,17 @@ interface SocialProvider {
|
|
|
169
169
|
comingSoon?: boolean;
|
|
170
170
|
meta?: Record<string, any>;
|
|
171
171
|
}
|
|
172
|
+
interface ProjectAssetBalance {
|
|
173
|
+
cryptoFormatted: number;
|
|
174
|
+
cryptoFiatRate: number;
|
|
175
|
+
cryptoSymbol: string;
|
|
176
|
+
fiatFormatted: number;
|
|
177
|
+
fiatSymbol: string;
|
|
178
|
+
}
|
|
172
179
|
interface ProjectAsset extends Omit<Asset, 'type'> {
|
|
173
180
|
type: 'project';
|
|
174
181
|
balanceQueryKey: string[];
|
|
175
|
-
balanceQuery: () => Promise<
|
|
176
|
-
cryptoFormatted: number;
|
|
177
|
-
cryptoFiatRate: number;
|
|
178
|
-
cryptoSymbol: string;
|
|
179
|
-
fiatFormatted: number;
|
|
180
|
-
fiatSymbol: string;
|
|
181
|
-
}>;
|
|
182
|
+
balanceQuery: () => Promise<ProjectAssetBalance>;
|
|
182
183
|
hideInPortfolio?: boolean;
|
|
183
184
|
}
|
|
184
185
|
interface AssetRateQueryInput {
|
|
@@ -1051,9 +1052,7 @@ declare enum PageKey {
|
|
|
1051
1052
|
DEVICE_MANAGE = "device-manage",
|
|
1052
1053
|
DEVICE_RESTORE = "device-restore"
|
|
1053
1054
|
}
|
|
1054
|
-
/** WIP: need to develop page options typeset, i.e options: AuthOpenOptions | BuyOpenOption etc */
|
|
1055
1055
|
interface PageOpenParams {
|
|
1056
|
-
key: PageKey;
|
|
1057
1056
|
[option: string]: unknown;
|
|
1058
1057
|
}
|
|
1059
1058
|
|
|
@@ -2492,6 +2491,10 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2492
2491
|
nicknameAvailable: string;
|
|
2493
2492
|
nicknameNotAvailable: string;
|
|
2494
2493
|
};
|
|
2494
|
+
initialUser: {
|
|
2495
|
+
welcome: string;
|
|
2496
|
+
message: string;
|
|
2497
|
+
};
|
|
2495
2498
|
};
|
|
2496
2499
|
profilesMenu: {
|
|
2497
2500
|
title: string;
|
|
@@ -2822,6 +2825,10 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2822
2825
|
nicknameAvailable: string;
|
|
2823
2826
|
nicknameNotAvailable: string;
|
|
2824
2827
|
};
|
|
2828
|
+
initialUser: {
|
|
2829
|
+
welcome: string;
|
|
2830
|
+
message: string;
|
|
2831
|
+
};
|
|
2825
2832
|
};
|
|
2826
2833
|
profilesMenu: {
|
|
2827
2834
|
title: string;
|
|
@@ -3152,6 +3159,10 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3152
3159
|
nicknameAvailable: string;
|
|
3153
3160
|
nicknameNotAvailable: string;
|
|
3154
3161
|
};
|
|
3162
|
+
initialUser: {
|
|
3163
|
+
welcome: string;
|
|
3164
|
+
message: string;
|
|
3165
|
+
};
|
|
3155
3166
|
};
|
|
3156
3167
|
profilesMenu: {
|
|
3157
3168
|
title: string;
|