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.
@@ -28,7 +28,8 @@ var defaultOptions = {
28
28
  aliasExecuteMsg: false
29
29
  },
30
30
  client: {
31
- enabled: true
31
+ enabled: true,
32
+ execExtendsQuery: true
32
33
  },
33
34
  recoil: {
34
35
  enabled: false
@@ -14,7 +14,8 @@ export const defaultOptions = {
14
14
  aliasExecuteMsg: false
15
15
  },
16
16
  client: {
17
- enabled: true
17
+ enabled: true,
18
+ execExtendsQuery: true
18
19
  },
19
20
  recoil: {
20
21
  enabled: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wasm-ast-types",
3
- "version": "0.12.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": "59dcc054d241c6bf43d5a617b31c3cd5c4ecff6e"
91
+ "gitHead": "e46828bd476d30465a35a8021e611938abf89846"
92
92
  }
@@ -346,7 +346,7 @@ export const createExecuteClass = (
346
346
  context: RenderContext,
347
347
  className: string,
348
348
  implementsClassName: string,
349
- extendsClassName: string,
349
+ extendsClassName: string | null,
350
350
  execMsg: ExecuteMsg
351
351
  ) => {
352
352
 
@@ -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
@@ -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;
@@ -9,6 +9,7 @@ export interface ReactQueryOptions {
9
9
  }
10
10
  export interface TSClientOptions {
11
11
  enabled?: boolean;
12
+ execExtendsQuery?: boolean;
12
13
  }
13
14
  export interface MessageComposerOptions {
14
15
  enabled?: boolean;