@initia/interwovenkit-react 2.4.5 → 2.4.6
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/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -7
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -233,6 +233,6 @@ export declare function usePortfolio(): {
|
|
|
233
233
|
totalValue: number;
|
|
234
234
|
};
|
|
235
235
|
|
|
236
|
-
export declare function useUsernameQuery(): UseQueryResult<string | null, Error>;
|
|
236
|
+
export declare function useUsernameQuery(address?: string): UseQueryResult<string | null, Error>;
|
|
237
237
|
|
|
238
238
|
export { }
|
package/dist/index.js
CHANGED
|
@@ -2124,12 +2124,12 @@ function kn() {
|
|
|
2124
2124
|
const e = Nn(), t = se(), n = Rs();
|
|
2125
2125
|
return e.metadata?.minitia?.type === "minievm" ? n : t;
|
|
2126
2126
|
}
|
|
2127
|
-
function zh() {
|
|
2128
|
-
const
|
|
2127
|
+
function zh(e) {
|
|
2128
|
+
const t = kn(), n = e ?? t, s = vc();
|
|
2129
2129
|
return ve({
|
|
2130
|
-
queryKey: Uo.username(
|
|
2131
|
-
queryFn: () =>
|
|
2132
|
-
enabled: !!
|
|
2130
|
+
queryKey: Uo.username(s.restUrl, n).queryKey,
|
|
2131
|
+
queryFn: () => s.getUsername(n),
|
|
2132
|
+
enabled: !!n,
|
|
2133
2133
|
staleTime: V.MINUTE
|
|
2134
2134
|
});
|
|
2135
2135
|
}
|
|
@@ -3749,7 +3749,7 @@ function We() {
|
|
|
3749
3749
|
return x(
|
|
3750
3750
|
() => H.create({
|
|
3751
3751
|
prefixUrl: e,
|
|
3752
|
-
headers: { "InterwovenKit-Version": "2.4.
|
|
3752
|
+
headers: { "InterwovenKit-Version": "2.4.6" }
|
|
3753
3753
|
}),
|
|
3754
3754
|
[e]
|
|
3755
3755
|
);
|
|
@@ -9075,7 +9075,7 @@ const Xv = "_countdown_vfms8_1", eN = {
|
|
|
9075
9075
|
version: hN
|
|
9076
9076
|
}, pN = () => /* @__PURE__ */ h("aside", { className: fN.version, children: [
|
|
9077
9077
|
"v",
|
|
9078
|
-
"2.4.
|
|
9078
|
+
"2.4.6"
|
|
9079
9079
|
] }), gN = "_link_se23z_1", _N = "_title_se23z_17", yN = "_subtitle_se23z_23", wN = "_icon_se23z_30", so = {
|
|
9080
9080
|
link: gN,
|
|
9081
9081
|
title: _N,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@initia/interwovenkit-react",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.6",
|
|
4
4
|
"description": "Connect dApps to Initia and Interwoven Rollups",
|
|
5
5
|
"author": "Initia (https://initia.xyz)",
|
|
6
6
|
"repository": "github:initia-labs/interwovenkit",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"jotai": "^2.15.1",
|
|
49
49
|
"ky": "^1.14.0",
|
|
50
50
|
"nanoid": "^5.1.6",
|
|
51
|
-
"qr-code-styling": "^1.9.2",
|
|
52
51
|
"psl": "^1.15.0",
|
|
52
|
+
"qr-code-styling": "^1.9.2",
|
|
53
53
|
"radix-ui": "^1.4.3",
|
|
54
54
|
"ramda": "^0.32.0",
|
|
55
55
|
"react-error-boundary": "^6.0.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"xss": "^1.0.15"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@initia/icons-react": "^2.
|
|
64
|
+
"@initia/icons-react": "^2.1.0",
|
|
65
65
|
"@initia/initia-registry-types": "^1.0.11",
|
|
66
66
|
"@keplr-wallet/types": "^0.12.285",
|
|
67
67
|
"@skip-go/client": "^1.5.9",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@cosmjs/stargate": "0.36.x",
|
|
95
95
|
"@cosmjs/tendermint-rpc": "0.36.x",
|
|
96
96
|
"@initia/amino-converter": ">=1.0.0",
|
|
97
|
-
"@initia/icons-react": ">=2.
|
|
97
|
+
"@initia/icons-react": ">=2.1.0",
|
|
98
98
|
"@initia/opinit.proto": ">=1.0.3",
|
|
99
99
|
"@initia/utils": "2.0.0",
|
|
100
100
|
"@lukemorales/query-key-factory": ">=1.0.0",
|
|
@@ -113,8 +113,8 @@
|
|
|
113
113
|
"jotai": ">=2.0.0",
|
|
114
114
|
"ky": ">=1.0.0",
|
|
115
115
|
"nanoid": ">=5.0.0",
|
|
116
|
-
"qr-code-styling": ">=1.0.0",
|
|
117
116
|
"psl": ">=1.15.0",
|
|
117
|
+
"qr-code-styling": ">=1.0.0",
|
|
118
118
|
"radix-ui": ">=1.0.0",
|
|
119
119
|
"ramda": ">=0.31.0",
|
|
120
120
|
"react": ">=19.2.0",
|