@embarkai/ui-kit 0.4.60 → 0.4.61
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 +5 -6
- package/dist/index.js +5 -6
- 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.61</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.61";
|
|
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 () => {
|
|
@@ -24596,7 +24595,7 @@ var init_package = __esm({
|
|
|
24596
24595
|
"package.json"() {
|
|
24597
24596
|
package_default = {
|
|
24598
24597
|
name: "@embarkai/ui-kit",
|
|
24599
|
-
version: "0.4.
|
|
24598
|
+
version: "0.4.61",
|
|
24600
24599
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
24601
24600
|
type: "module",
|
|
24602
24601
|
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 () => {
|
|
@@ -24502,7 +24501,7 @@ var init_package = __esm({
|
|
|
24502
24501
|
"package.json"() {
|
|
24503
24502
|
package_default = {
|
|
24504
24503
|
name: "@embarkai/ui-kit",
|
|
24505
|
-
version: "0.4.
|
|
24504
|
+
version: "0.4.61",
|
|
24506
24505
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
24507
24506
|
type: "module",
|
|
24508
24507
|
main: "./dist/index.cjs",
|