wasm-ast-types 0.12.0 → 0.13.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/main/context/context.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "wasm-ast-types",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.13.0",
|
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",
|
@@ -88,5 +88,5 @@
|
|
88
88
|
"case": "1.6.3",
|
89
89
|
"deepmerge": "4.2.2"
|
90
90
|
},
|
91
|
-
"gitHead": "
|
91
|
+
"gitHead": "e46828bd476d30465a35a8021e611938abf89846"
|
92
92
|
}
|
package/src/client/client.ts
CHANGED
package/src/context/context.ts
CHANGED
@@ -14,6 +14,7 @@ export interface ReactQueryOptions {
|
|
14
14
|
|
15
15
|
export interface TSClientOptions {
|
16
16
|
enabled?: boolean;
|
17
|
+
execExtendsQuery?: boolean;
|
17
18
|
}
|
18
19
|
export interface MessageComposerOptions {
|
19
20
|
enabled?: boolean;
|
@@ -67,7 +68,8 @@ export const defaultOptions: RenderOptions = {
|
|
67
68
|
aliasExecuteMsg: false
|
68
69
|
},
|
69
70
|
client: {
|
70
|
-
enabled: true
|
71
|
+
enabled: true,
|
72
|
+
execExtendsQuery: true
|
71
73
|
},
|
72
74
|
recoil: {
|
73
75
|
enabled: false
|
package/types/client/client.d.ts
CHANGED
@@ -8,7 +8,7 @@ export declare const createWasmQueryMethod: (context: RenderContext, jsonschema:
|
|
8
8
|
export declare const createQueryClass: (context: RenderContext, className: string, implementsClassName: string, queryMsg: QueryMsg) => t.ExportNamedDeclaration;
|
9
9
|
export declare const getWasmMethodArgs: (context: RenderContext, jsonschema: JSONSchema) => t.ObjectProperty[];
|
10
10
|
export declare const createWasmExecMethod: (context: RenderContext, jsonschema: JSONSchema) => t.ClassProperty;
|
11
|
-
export declare const createExecuteClass: (context: RenderContext, className: string, implementsClassName: string, extendsClassName: string, execMsg: ExecuteMsg) => t.ExportNamedDeclaration;
|
11
|
+
export declare const createExecuteClass: (context: RenderContext, className: string, implementsClassName: string, extendsClassName: string | null, execMsg: ExecuteMsg) => t.ExportNamedDeclaration;
|
12
12
|
export declare const createExecuteInterface: (context: RenderContext, className: string, extendsClassName: string | null, execMsg: ExecuteMsg) => t.ExportNamedDeclaration;
|
13
13
|
export declare const createPropertyFunctionWithObjectParams: (context: RenderContext, methodName: string, responseType: string, jsonschema: JSONSchema) => t.TSPropertySignature;
|
14
14
|
export declare const createPropertyFunctionWithObjectParamsForExec: (context: RenderContext, methodName: string, responseType: string, jsonschema: JSONSchema) => t.TSPropertySignature;
|