@embarkai/ui-kit 0.4.60 → 0.4.62
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 +14 -11
- package/dist/index.js +14 -11
- package/package.json +1 -1
package/dist/iframe/index.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<meta http-equiv="X-Content-Type-Options" content="nosniff" />
|
|
16
16
|
<meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin" />
|
|
17
17
|
|
|
18
|
-
<title>EmbarkAI Secure Wallet - iframe version 0.4.
|
|
18
|
+
<title>EmbarkAI Secure Wallet - iframe version 0.4.62</title>
|
|
19
19
|
|
|
20
20
|
<!-- Styles will be injected by build process -->
|
|
21
21
|
<style>
|
package/dist/iframe/main.js
CHANGED
|
@@ -6398,7 +6398,7 @@ var SigningManager = class extends TokenRefreshApiClient {
|
|
|
6398
6398
|
};
|
|
6399
6399
|
|
|
6400
6400
|
// src/iframe/main.ts
|
|
6401
|
-
var IFRAME_VERSION = "0.4.
|
|
6401
|
+
var IFRAME_VERSION = "0.4.62";
|
|
6402
6402
|
var IframeWallet = class {
|
|
6403
6403
|
constructor() {
|
|
6404
6404
|
console.log("=".repeat(60));
|
package/dist/index.cjs
CHANGED
|
@@ -1036,11 +1036,10 @@ function BalanceFeedProvider() {
|
|
|
1036
1036
|
}, [isProjectAssetBalanceEnabled, projectAssetBalance]);
|
|
1037
1037
|
const isCustomAssetBalanceEnabled = !isNativeBalanceFeedEnabled && !isProjectAssetBalanceEnabled;
|
|
1038
1038
|
const { data: customBalance } = (0, import_react_query.useQuery)({
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
//
|
|
1043
|
-
staleTime: 0,
|
|
1039
|
+
enabled: !!isCustomAssetBalanceEnabled && !!balanceSymbol && !!chainConfig?.id && !!address && !!publicClient,
|
|
1040
|
+
retry: false,
|
|
1041
|
+
refetchInterval: BALANCE_POLLING_INTERVAL,
|
|
1042
|
+
// staleTime: 0,
|
|
1044
1043
|
queryKey: [CUSTOM_BALANCE_QUERY_KEY, chainConfig?.id, address, balanceSymbol],
|
|
1045
1044
|
// Include chainId in query key to refetch when chain changes
|
|
1046
1045
|
queryFn: async () => {
|
|
@@ -1098,7 +1097,7 @@ var init_BalanceFeedProvider = __esm({
|
|
|
1098
1097
|
NATIVE_BALANCE_QUERY_KEY = "embarkai-native-balance-query-key";
|
|
1099
1098
|
CUSTOM_BALANCE_QUERY_KEY = "embarkai-custom-balance-query-key";
|
|
1100
1099
|
LUMIA_RATE_QUERY_KEY = "lembarkai-root-balance-rate-query-key";
|
|
1101
|
-
SKIP_SYMBOLS = ["TEST", "USDT", "P"];
|
|
1100
|
+
SKIP_SYMBOLS = ["TEST", "USDT", "P", "$P USDT"];
|
|
1102
1101
|
}
|
|
1103
1102
|
});
|
|
1104
1103
|
|
|
@@ -18160,11 +18159,15 @@ var init_BalanceView = __esm({
|
|
|
18160
18159
|
import_viem9 = require("viem");
|
|
18161
18160
|
import_jsx_runtime81 = require("react/jsx-runtime");
|
|
18162
18161
|
BALANCE_PREFIXES = {
|
|
18163
|
-
|
|
18162
|
+
/** PARLAY */
|
|
18163
|
+
"$P USDT": "$P\xA0",
|
|
18164
|
+
// Special case for the P token, with a space
|
|
18165
|
+
"P": "$P\xA0",
|
|
18164
18166
|
// Special case for the P token, with a space
|
|
18165
|
-
|
|
18166
|
-
|
|
18167
|
-
|
|
18167
|
+
/** COMMON */
|
|
18168
|
+
"USD": "$",
|
|
18169
|
+
"EUR": "\u20AC",
|
|
18170
|
+
"GBP": "\xA3"
|
|
18168
18171
|
};
|
|
18169
18172
|
}
|
|
18170
18173
|
});
|
|
@@ -24596,7 +24599,7 @@ var init_package = __esm({
|
|
|
24596
24599
|
"package.json"() {
|
|
24597
24600
|
package_default = {
|
|
24598
24601
|
name: "@embarkai/ui-kit",
|
|
24599
|
-
version: "0.4.
|
|
24602
|
+
version: "0.4.62",
|
|
24600
24603
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
24601
24604
|
type: "module",
|
|
24602
24605
|
main: "./dist/index.cjs",
|
package/dist/index.js
CHANGED
|
@@ -1029,11 +1029,10 @@ function BalanceFeedProvider() {
|
|
|
1029
1029
|
}, [isProjectAssetBalanceEnabled, projectAssetBalance]);
|
|
1030
1030
|
const isCustomAssetBalanceEnabled = !isNativeBalanceFeedEnabled && !isProjectAssetBalanceEnabled;
|
|
1031
1031
|
const { data: customBalance } = useQuery({
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
//
|
|
1036
|
-
staleTime: 0,
|
|
1032
|
+
enabled: !!isCustomAssetBalanceEnabled && !!balanceSymbol && !!chainConfig?.id && !!address && !!publicClient,
|
|
1033
|
+
retry: false,
|
|
1034
|
+
refetchInterval: BALANCE_POLLING_INTERVAL,
|
|
1035
|
+
// staleTime: 0,
|
|
1037
1036
|
queryKey: [CUSTOM_BALANCE_QUERY_KEY, chainConfig?.id, address, balanceSymbol],
|
|
1038
1037
|
// Include chainId in query key to refetch when chain changes
|
|
1039
1038
|
queryFn: async () => {
|
|
@@ -1087,7 +1086,7 @@ var init_BalanceFeedProvider = __esm({
|
|
|
1087
1086
|
NATIVE_BALANCE_QUERY_KEY = "embarkai-native-balance-query-key";
|
|
1088
1087
|
CUSTOM_BALANCE_QUERY_KEY = "embarkai-custom-balance-query-key";
|
|
1089
1088
|
LUMIA_RATE_QUERY_KEY = "lembarkai-root-balance-rate-query-key";
|
|
1090
|
-
SKIP_SYMBOLS = ["TEST", "USDT", "P"];
|
|
1089
|
+
SKIP_SYMBOLS = ["TEST", "USDT", "P", "$P USDT"];
|
|
1091
1090
|
}
|
|
1092
1091
|
});
|
|
1093
1092
|
|
|
@@ -18089,11 +18088,15 @@ var init_BalanceView = __esm({
|
|
|
18089
18088
|
init_utils2();
|
|
18090
18089
|
init_ProviderContext();
|
|
18091
18090
|
BALANCE_PREFIXES = {
|
|
18092
|
-
|
|
18091
|
+
/** PARLAY */
|
|
18092
|
+
"$P USDT": "$P\xA0",
|
|
18093
|
+
// Special case for the P token, with a space
|
|
18094
|
+
"P": "$P\xA0",
|
|
18093
18095
|
// Special case for the P token, with a space
|
|
18094
|
-
|
|
18095
|
-
|
|
18096
|
-
|
|
18096
|
+
/** COMMON */
|
|
18097
|
+
"USD": "$",
|
|
18098
|
+
"EUR": "\u20AC",
|
|
18099
|
+
"GBP": "\xA3"
|
|
18097
18100
|
};
|
|
18098
18101
|
}
|
|
18099
18102
|
});
|
|
@@ -24502,7 +24505,7 @@ var init_package = __esm({
|
|
|
24502
24505
|
"package.json"() {
|
|
24503
24506
|
package_default = {
|
|
24504
24507
|
name: "@embarkai/ui-kit",
|
|
24505
|
-
version: "0.4.
|
|
24508
|
+
version: "0.4.62",
|
|
24506
24509
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
24507
24510
|
type: "module",
|
|
24508
24511
|
main: "./dist/index.cjs",
|