wasm-ast-types 0.6.1 → 0.6.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/main/context/context.js
CHANGED
@@ -16,6 +16,9 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
16
16
|
var _deepmerge = _interopRequireDefault(require("deepmerge"));
|
17
17
|
|
18
18
|
var defaultOptions = {
|
19
|
+
tsClient: {
|
20
|
+
aliasExecuteMsg: false
|
21
|
+
},
|
19
22
|
reactQuery: {
|
20
23
|
optionalClient: false,
|
21
24
|
v4: false,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "wasm-ast-types",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.2",
|
4
4
|
"description": "CosmWasm TypeScript AST generation",
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
6
6
|
"homepage": "https://github.com/pyramation/cosmwasm-typescript-gen/tree/master/packages/wasm-ast-types#readme",
|
@@ -86,5 +86,5 @@
|
|
86
86
|
"case": "1.6.3",
|
87
87
|
"deepmerge": "4.2.2"
|
88
88
|
},
|
89
|
-
"gitHead": "
|
89
|
+
"gitHead": "a737503b0e3a69a25cb8f6e9c1950c92de9b1c74"
|
90
90
|
}
|
@@ -5,7 +5,11 @@ export interface ReactQueryOptions {
|
|
5
5
|
mutations?: boolean;
|
6
6
|
camelize?: boolean;
|
7
7
|
}
|
8
|
+
export interface TSClientOptions {
|
9
|
+
aliasExecuteMsg?: boolean;
|
10
|
+
}
|
8
11
|
export interface RenderOptions {
|
12
|
+
tsClient: TSClientOptions;
|
9
13
|
reactQuery: ReactQueryOptions;
|
10
14
|
}
|
11
15
|
export interface RenderContext {
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import * as t from '@babel/types';
|
2
2
|
import { ExecuteMsg } from '../types';
|
3
|
+
import { RenderContext } from '../context';
|
3
4
|
export declare const createFromPartialClass: (context: RenderContext, className: string, implementsClassName: string, execMsg: ExecuteMsg) => t.ExportNamedDeclaration;
|
4
5
|
export declare const createFromPartialInterface: (context: RenderContext, className: string, execMsg: ExecuteMsg) => t.ExportNamedDeclaration;
|