@cosmwasm/ts-codegen 0.31.1 → 0.31.2
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
|
@@ -136,11 +136,11 @@ Typescript types and interfaces are generated in separate files so they can be i
|
|
|
136
136
|
|
|
137
137
|
#### Types Options
|
|
138
138
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
139
|
+
| option | description |
|
|
140
|
+
| ------------------------ | ---------------------------------------------------- |
|
|
141
|
+
| `types.enabled` | enable type generation |
|
|
142
|
+
| `types.aliasExecuteMsg` | generate a type alias based on the contract name |
|
|
143
|
+
| `types.aliasEntryPoints` | generate type aliases for the entry points based on the contract name |
|
|
144
144
|
|
|
145
145
|
### Client
|
|
146
146
|
|
|
@@ -150,11 +150,11 @@ The `client` plugin will generate TS client classes for your contracts. This opt
|
|
|
150
150
|
|
|
151
151
|
#### Client Options
|
|
152
152
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
153
|
+
| option | description |
|
|
154
|
+
| --------------------------------------- | --------------------------------------------------- |
|
|
155
|
+
| `client.enabled` | generate TS client classes for your contracts |
|
|
156
|
+
| `client.execExtendsQuery` | execute should extend query message clients |
|
|
157
|
+
| `client.noImplicitOverride` | should match your tsconfig noImplicitOverride option |
|
|
158
158
|
|
|
159
159
|
#### Client via CLI
|
|
160
160
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmwasm/ts-codegen",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.2",
|
|
4
4
|
"description": "@cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code.",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/cosmwasm/ts-codegen",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"shelljs": "0.8.5",
|
|
99
99
|
"wasm-ast-types": "^0.24.0"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "ac5ac9a874b56929f76b052a6a719f5c1015ccab"
|
|
102
102
|
}
|