wasm-ast-types 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,
@@ -2,6 +2,9 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
2
  import deepmerge from "deepmerge"; /// Plugin Types
3
3
 
4
4
  export const defaultOptions = {
5
+ tsClient: {
6
+ aliasExecuteMsg: false
7
+ },
5
8
  reactQuery: {
6
9
  optionalClient: false,
7
10
  v4: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wasm-ast-types",
3
- "version": "0.6.1",
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": "8c35eebc33e7109da33ecb5f5bdeffc9a1b0d9af"
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;