@interchain-kit/react 0.3.49 → 0.3.51
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/esm/hooks/index.js +1 -0
- package/esm/hooks/useChains.js +8 -0
- package/hooks/index.d.ts +1 -0
- package/hooks/index.js +1 -0
- package/hooks/useChains.d.ts +3 -0
- package/hooks/useChains.js +12 -0
- package/package.json +4 -4
package/esm/hooks/index.js
CHANGED
package/hooks/index.d.ts
CHANGED
package/hooks/index.js
CHANGED
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./useAsync"), exports);
|
|
18
18
|
__exportStar(require("./useChain"), exports);
|
|
19
|
+
__exportStar(require("./useChains"), exports);
|
|
19
20
|
__exportStar(require("./useChainWallet"), exports);
|
|
20
21
|
__exportStar(require("./useSigningClient"), exports);
|
|
21
22
|
__exportStar(require("./useWalletManager"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useChains = void 0;
|
|
4
|
+
const useChain_1 = require("./useChain");
|
|
5
|
+
const useChains = (chainNames) => {
|
|
6
|
+
const results = {};
|
|
7
|
+
chainNames.forEach(chainName => {
|
|
8
|
+
results[chainName] = (0, useChain_1.useChain)(chainName);
|
|
9
|
+
});
|
|
10
|
+
return results;
|
|
11
|
+
};
|
|
12
|
+
exports.useChains = useChains;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interchain-kit/react",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.51",
|
|
4
4
|
"author": "Hyperweb <developers@hyperweb.io>",
|
|
5
5
|
"description": "interchain-kit wallet connector react package",
|
|
6
6
|
"main": "index.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"keywords": [],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@chain-registry/types": "^2.0.1",
|
|
38
|
-
"@interchain-kit/core": "0.3.
|
|
39
|
-
"@interchain-kit/store": "0.3.
|
|
38
|
+
"@interchain-kit/core": "0.3.51",
|
|
39
|
+
"@interchain-kit/store": "0.3.51",
|
|
40
40
|
"@interchain-ui/react": "^1.26.3",
|
|
41
41
|
"@interchainjs/cosmos": "1.17.3",
|
|
42
42
|
"@interchainjs/cosmos-types": "1.17.3",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"react": "^19.0.0",
|
|
71
71
|
"react-dom": "^19.0.0"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "28a61f591ae588b584dcbb85a42999fb8d53ff51"
|
|
74
74
|
}
|