@interchain-kit/react 0.7.1 → 0.10.0
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 +21 -25
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -8,12 +8,6 @@
|
|
|
8
8
|
<a href="https://github.com/hyperweb-io/interchain-kit/actions/workflows/unit-test.yaml">
|
|
9
9
|
<img height="20" src="https://github.com/hyperweb-io/interchain-kit/actions/workflows/unit-test.yaml/badge.svg" />
|
|
10
10
|
</a>
|
|
11
|
-
<a href="https://github.com/constructive-io/lib-count">
|
|
12
|
-
<img height="20" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fconstructive-io%2Flib-count%2Fmain%2Foutput%2Fbadges%2Fproducts%2Fcosmos-kit%2Ftotal.json"/>
|
|
13
|
-
</a>
|
|
14
|
-
<a href="https://github.com/constructive-io/lib-count">
|
|
15
|
-
<img height="20" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fconstructive-io%2Flib-count%2Fmain%2Foutput%2Fbadges%2Fproducts%2Fcosmos-kit%2Fmonthly.json"/>
|
|
16
|
-
</a>
|
|
17
11
|
<br />
|
|
18
12
|
<a href="https://github.com/hyperweb-io/cosmos-kit/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-BSD%203--Clause%20Clear-blue.svg"></a>
|
|
19
13
|
<a href="https://www.npmjs.com/package/cosmos-kit"><img height="20" src="https://img.shields.io/github/package-json/v/hyperweb-io/cosmos-kit?filename=packages%2Fcosmos-kit%2Fpackage.json"></a>
|
|
@@ -24,9 +18,9 @@ Using npm:
|
|
|
24
18
|
```sh
|
|
25
19
|
npm install @interchain-kit/react
|
|
26
20
|
```
|
|
27
|
-
Using
|
|
21
|
+
Using pnpm:
|
|
28
22
|
```sh
|
|
29
|
-
|
|
23
|
+
pnpm add @interchain-kit/react
|
|
30
24
|
```
|
|
31
25
|
|
|
32
26
|
## Usage
|
|
@@ -169,34 +163,36 @@ await wallet.verifyArbitrary(chainId, signAddress, stdDoc)
|
|
|
169
163
|
When first cloning the repo:
|
|
170
164
|
|
|
171
165
|
```sh
|
|
172
|
-
|
|
166
|
+
pnpm
|
|
173
167
|
# build the prod packages. When devs would like to navigate to the source code, this will only navigate from references to their definitions (.d.ts files) between packages.
|
|
174
|
-
|
|
168
|
+
pnpm build
|
|
175
169
|
```
|
|
176
170
|
|
|
177
171
|
Or if you want to make your dev process smoother, you can run:
|
|
178
172
|
|
|
179
173
|
```sh
|
|
180
|
-
|
|
174
|
+
pnpm
|
|
181
175
|
# build the dev packages with .map files, this enables navigation from references to their source code between packages.
|
|
182
|
-
|
|
176
|
+
pnpm watch:dev
|
|
183
177
|
```
|
|
184
178
|
|
|
185
|
-
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
## Interchain JavaScript Stack
|
|
186
182
|
|
|
187
183
|
A unified toolkit for building applications and smart contracts in the Interchain ecosystem ⚛️
|
|
188
184
|
|
|
189
|
-
| Category
|
|
190
|
-
|
|
191
|
-
| **Chain Information**
|
|
192
|
-
| **Wallet Connectors
|
|
193
|
-
| **Signing Clients**
|
|
194
|
-
| **SDK Clients**
|
|
195
|
-
| **Starter Kits**
|
|
196
|
-
| **UI Kits**
|
|
197
|
-
| **Testing Frameworks**
|
|
198
|
-
| **TypeScript Smart Contracts** | [**Create Hyperweb App**](https://github.com/hyperweb-io/create-hyperweb-app)
|
|
199
|
-
| **CosmWasm Contracts**
|
|
185
|
+
| Category | Tools | Description |
|
|
186
|
+
| ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
|
|
187
|
+
| **Chain Information** | [**Chain Registry**](https://github.com/hyperweb-io/chain-registry), [**Utils**](https://www.npmjs.com/package/@chain-registry/utils), [**Client**](https://www.npmjs.com/package/@chain-registry/client) | Everything from token symbols, logos, and IBC denominations for all assets you want to support in your application. |
|
|
188
|
+
| **Wallet Connectors** | [**Interchain Kit**](https://github.com/hyperweb-io/interchain-kit)<sup>beta</sup>, [**Cosmos Kit**](https://github.com/hyperweb-io/cosmos-kit) | Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface. |
|
|
189
|
+
| **Signing Clients** | [**InterchainJS**](https://github.com/hyperweb-io/interchainjs)<sup>beta</sup>, [**CosmJS**](https://github.com/cosmos/cosmjs) | A single, universal signing interface for any network |
|
|
190
|
+
| **SDK Clients** | [**Telescope**](https://github.com/hyperweb-io/telescope) | Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules. |
|
|
191
|
+
| **Starter Kits** | [**Create Interchain App**](https://github.com/hyperweb-io/create-interchain-app)<sup>beta</sup>, [**Create Cosmos App**](https://github.com/hyperweb-io/create-cosmos-app) | Set up a modern Interchain app by running one command. |
|
|
192
|
+
| **UI Kits** | [**Interchain UI**](https://github.com/hyperweb-io/interchain-ui) | The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit. |
|
|
193
|
+
| **Testing Frameworks** | [**Starship**](https://github.com/hyperweb-io/starship) | Unified Testing and Development for the Interchain. |
|
|
194
|
+
| **TypeScript Smart Contracts** | [**Create Hyperweb App**](https://github.com/hyperweb-io/create-hyperweb-app) | Build and deploy full-stack blockchain applications with TypeScript |
|
|
195
|
+
| **CosmWasm Contracts** | [**CosmWasm TS Codegen**](https://github.com/CosmWasm/ts-codegen) | Convert your CosmWasm smart contracts into dev-friendly TypeScript classes. |
|
|
200
196
|
|
|
201
197
|
## Credits
|
|
202
198
|
|
|
@@ -204,6 +200,6 @@ A unified toolkit for building applications and smart contracts in the Interchai
|
|
|
204
200
|
|
|
205
201
|
## Disclaimer
|
|
206
202
|
|
|
207
|
-
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED
|
|
203
|
+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
|
|
208
204
|
|
|
209
205
|
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interchain-kit/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "interchain-kit wallet connector react package",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"module": "esm/index.js",
|
|
8
8
|
"types": "index.d.ts",
|
|
9
9
|
"homepage": "https://github.com/interchain-kit/react",
|
|
10
|
-
"license": "
|
|
10
|
+
"license": "MIT",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public",
|
|
13
13
|
"directory": "dist"
|
|
@@ -21,29 +21,28 @@
|
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build:css": "postcss src/styles.css -o dist/styles.css",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"prepare": "npm run build",
|
|
27
|
-
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy; npm run build:css",
|
|
24
|
+
"clean": "makage clean",
|
|
25
|
+
"build": "makage build && npm run build:css",
|
|
28
26
|
"build:dev": "npm run clean; tsc --declarationMap; tsc -p tsconfig.esm.json; npm run copy",
|
|
29
27
|
"lint": "eslint . --fix",
|
|
30
28
|
"test": "jest",
|
|
31
29
|
"test:watch": "jest --watch",
|
|
32
30
|
"test:coverage": "jest --coverage --watch",
|
|
33
|
-
"watch:dev": "tsc -w -p tsconfig.esm.json & tsc -w"
|
|
31
|
+
"watch:dev": "tsc -w -p tsconfig.esm.json & tsc -w",
|
|
32
|
+
"prepack": "npm run build"
|
|
34
33
|
},
|
|
35
34
|
"keywords": [],
|
|
36
35
|
"dependencies": {
|
|
37
36
|
"@chain-registry/types": "^2.0.1",
|
|
38
|
-
"@interchain-kit/core": "
|
|
39
|
-
"@interchain-kit/store": "
|
|
37
|
+
"@interchain-kit/core": "0.10.0",
|
|
38
|
+
"@interchain-kit/store": "0.9.0",
|
|
40
39
|
"@interchain-ui/react": "^1.26.3",
|
|
41
|
-
"@interchainjs/cosmos": "1.
|
|
42
|
-
"@interchainjs/cosmos-types": "1.
|
|
43
|
-
"@interchainjs/types": "1.
|
|
40
|
+
"@interchainjs/cosmos": "1.21.0",
|
|
41
|
+
"@interchainjs/cosmos-types": "1.21.0",
|
|
42
|
+
"@interchainjs/types": "1.21.0",
|
|
44
43
|
"@react-icons/all-files": "^4.1.0",
|
|
45
44
|
"@walletconnect/types": "^2.17.3",
|
|
46
|
-
"interchainjs": "1.
|
|
45
|
+
"interchainjs": "1.21.0",
|
|
47
46
|
"jest-transform-stub": "^2.0.0",
|
|
48
47
|
"postcss": "^8.5.6",
|
|
49
48
|
"postcss-cli": "^11.0.1",
|
|
@@ -62,6 +61,7 @@
|
|
|
62
61
|
"@testing-library/react-hooks": "^8.0.1",
|
|
63
62
|
"babel-jest": "^29.7.0",
|
|
64
63
|
"jest-environment-jsdom": "^29.7.0",
|
|
64
|
+
"makage": "^0.1.12",
|
|
65
65
|
"ts-jest": "^29.3.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"react": "^19.0.0",
|
|
71
71
|
"react-dom": "^19.0.0"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "dcdabc86f80ea1be9a25919b755fd8b2b9b931b2"
|
|
74
74
|
}
|