@cosmwasm/ts-codegen 0.4.0 → 0.4.1
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 +10 -10
- package/package.json +2 -2
package/README.md
CHANGED
@@ -7,12 +7,12 @@ A Transpiler for CosmWasm Smart Contracts
|
|
7
7
|
</p>
|
8
8
|
|
9
9
|
<p align="center" width="100%">
|
10
|
-
<a href="https://github.com/CosmWasm/
|
11
|
-
<img height="20" src="https://github.com/CosmWasm/
|
10
|
+
<a href="https://github.com/CosmWasm/ts-codegen/actions/workflows/run-tests.yaml">
|
11
|
+
<img height="20" src="https://github.com/CosmWasm/ts-codegen/actions/workflows/run-tests.yaml/badge.svg" />
|
12
12
|
</a>
|
13
|
-
<a href="https://github.com/CosmWasm/
|
14
|
-
<a href="https://github.com/CosmWasm/
|
15
|
-
<a href="https://www.npmjs.com/package/
|
13
|
+
<a href="https://github.com/CosmWasm/ts-codegen/blob/main/LICENSE-MIT"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
|
14
|
+
<a href="https://github.com/CosmWasm/ts-codegen/blob/main/LICENSE-Apache"><img height="20" src="https://img.shields.io/badge/license-Apache-blue.svg"></a>
|
15
|
+
<a href="https://www.npmjs.com/package/@cosmwasm/ts-codegen"><img height="20" src="https://img.shields.io/github/package-json/v/CosmWasm/ts-codegen?filename=packages%2Fts-codegen%2Fpackage.json"></a>
|
16
16
|
</p>
|
17
17
|
|
18
18
|
```
|
@@ -35,7 +35,7 @@ CosmWasm Typescript codegen tooling to convert your CosmWasm smart contracts int
|
|
35
35
|
```
|
36
36
|
git clone git@github.com:public-awesome/stargaze-contracts.git
|
37
37
|
cd stargaze-contracts/contracts/sg721/
|
38
|
-
cosmwasm-
|
38
|
+
cosmwasm-ts-codegen generate --schema ./schema --out ./ts --name SG721
|
39
39
|
```
|
40
40
|
|
41
41
|
### JSON Schema Generation
|
@@ -55,19 +55,19 @@ cargo schema
|
|
55
55
|
|
56
56
|
### Example Output
|
57
57
|
|
58
|
-
- `cosmwasm-
|
58
|
+
- `cosmwasm-ts-codegen generate`
|
59
59
|
|
60
60
|
https://gist.github.com/pyramation/ba67ec56e4e2a39cadea55430f9993e5
|
61
61
|
|
62
|
-
- `cosmwasm-
|
62
|
+
- `cosmwasm-ts-codegen from-partial`
|
63
63
|
|
64
64
|
https://gist.github.com/pyramation/f50869d1ecdb6d6ced2bc0a44c6ff492
|
65
65
|
|
66
|
-
- `cosmwasm-
|
66
|
+
- `cosmwasm-ts-codegen react-query`
|
67
67
|
|
68
68
|
https://gist.github.com/pyramation/a3bf4aa7b60a31287d0720ca1bb5473b
|
69
69
|
|
70
|
-
- `cosmwasm-
|
70
|
+
- `cosmwasm-ts-codegen recoil`
|
71
71
|
|
72
72
|
https://gist.github.com/pyramation/48b28a75def1a16b233b369297f05f0e
|
73
73
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cosmwasm/ts-codegen",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.1",
|
4
4
|
"description": "A TypeScript Transpiler for CosmWasm Smart Contracts",
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
6
6
|
"homepage": "https://github.com/pyramation/cosmwasm-typescript-gen",
|
@@ -92,5 +92,5 @@
|
|
92
92
|
"shelljs": "0.8.5",
|
93
93
|
"wasm-ast-types": "^0.3.7"
|
94
94
|
},
|
95
|
-
"gitHead": "
|
95
|
+
"gitHead": "4c5521454e8165736421b3ebdab1be002d0bdf41"
|
96
96
|
}
|