@interchain-kit/react 0.3.38 → 0.3.39
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/README.md +6 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -38,9 +38,9 @@ import { keplrWallet } from "@interchain-kit/keplr-extension";
|
|
|
38
38
|
import { ThemeProvider } from "@interchain-ui/react";
|
|
39
39
|
import "@interchain-ui/react/styles";
|
|
40
40
|
|
|
41
|
-
import { chain as junoChain, assetList as junoAssetList } from "
|
|
42
|
-
import { chain as osmosisChain,assetList as osmosisAssetList } from "
|
|
43
|
-
import { chain as cosmoshubChain, assetList as cosmoshubAssetList } from "
|
|
41
|
+
import { chain as junoChain, assetList as junoAssetList } from "chain-registry/mainnet/juno";
|
|
42
|
+
import { chain as osmosisChain,assetList as osmosisAssetList } from "chain-registry/mainnet/osmosis";
|
|
43
|
+
import { chain as cosmoshubChain, assetList as cosmoshubAssetList } from "chain-registry/mainnet/cosmoshub";
|
|
44
44
|
|
|
45
45
|
const Show = () => {
|
|
46
46
|
const {address} = useChain('osmosis');
|
|
@@ -73,7 +73,7 @@ import { ChainProvider, useChain } from "@interchain-kit/react";
|
|
|
73
73
|
import { keplrWallet } from "@interchain-kit/keplr-extension";
|
|
74
74
|
import { ThemeProvider } from "@interchain-ui/react";
|
|
75
75
|
import "@interchain-ui/react/styles";
|
|
76
|
-
import { chains, assetLists } from '
|
|
76
|
+
import { chains, assetLists } from 'chain-registry/mainnet'
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
const Show = () => {
|
|
@@ -116,8 +116,8 @@ console.log(address) // address for cosmoshub in keplr-extension wallet
|
|
|
116
116
|
|
|
117
117
|
### useChainWallet
|
|
118
118
|
```js
|
|
119
|
-
import { chain as junoChain, assetList as junoAssetList } from "
|
|
120
|
-
import { chain as stargazeChain,assetList as stargazeAssetList } from "
|
|
119
|
+
import { chain as junoChain, assetList as junoAssetList } from "chain-registry/mainnet/juno";
|
|
120
|
+
import { chain as stargazeChain,assetList as stargazeAssetList } from "chain-registry/mainnet/stargaze";
|
|
121
121
|
import { keplrWallet } from "@interchain-kit/keplr-extension";
|
|
122
122
|
import { leapWallet } from "@interchain-kit/leap-extension";
|
|
123
123
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interchain-kit/react",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.39",
|
|
4
4
|
"author": "Hyperweb <developers@hyperweb.io>",
|
|
5
5
|
"description": "interchain-kit wallet connector react package",
|
|
6
6
|
"main": "index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"keywords": [],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@chain-registry/types": "^2.0.1",
|
|
37
|
-
"@interchain-kit/core": "0.3.
|
|
37
|
+
"@interchain-kit/core": "0.3.39",
|
|
38
38
|
"@interchain-ui/react": "1.26.1",
|
|
39
39
|
"@interchainjs/cosmos": "1.11.11",
|
|
40
40
|
"@interchainjs/cosmos-types": "1.11.11",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"react": "^19.0.0",
|
|
65
65
|
"react-dom": "^19.0.0"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "6d15334332593527ac814686795a486a4805570e"
|
|
68
68
|
}
|