@cosmwasm/ts-codegen 1.5.0 → 1.6.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.
@@ -12,9 +12,6 @@ export interface BundleOptions {
12
12
  bundleFile?: string;
13
13
  bundlePath?: string;
14
14
  }
15
- export interface UseContractsOptions {
16
- enabled?: boolean;
17
- }
18
15
  export type TSBuilderOptions = {
19
16
  bundle?: BundleOptions;
20
17
  /**
@@ -22,7 +19,6 @@ export type TSBuilderOptions = {
22
19
  * Default: true
23
20
  */
24
21
  useShorthandCtor?: boolean;
25
- useContractHooks?: UseContractsOptions;
26
22
  } & RenderOptions;
27
23
  export type BuilderFileType = 'type' | 'client' | 'recoil' | 'react-query' | 'message-composer' | 'message-builder' | 'plugin';
28
24
  export interface BuilderFile {
@@ -59,7 +59,6 @@ const defaultOpts = {
59
59
  ;
60
60
  ;
61
61
  ;
62
- ;
63
62
  function getContract(contractOpt) {
64
63
  if (typeof contractOpt === 'string') {
65
64
  const name = (0, path_2.basename)(contractOpt);
@@ -30,7 +30,6 @@ const defaultOpts = {
30
30
  ;
31
31
  ;
32
32
  ;
33
- ;
34
33
  function getContract(contractOpt) {
35
34
  if (typeof contractOpt === 'string') {
36
35
  const name = basename(contractOpt);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmwasm/ts-codegen",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
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",
@@ -57,7 +57,7 @@
57
57
  "parse-package-name": "1.0.0",
58
58
  "rimraf": "3.0.2",
59
59
  "shelljs": "0.8.5",
60
- "wasm-ast-types": "^1.2.0"
60
+ "wasm-ast-types": "^1.3.0"
61
61
  },
62
62
  "keywords": [
63
63
  "cosmwasm",
@@ -65,5 +65,5 @@
65
65
  "smart contracts",
66
66
  "codegen"
67
67
  ],
68
- "gitHead": "80e57b615481898fdec9af3b199c4617f22dc767"
68
+ "gitHead": "43cbdf2257bd5a86b5fc1bfa577a78a9f18ec7cd"
69
69
  }