@cosmwasm/ts-codegen 1.4.1 → 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.
package/README.md CHANGED
@@ -343,7 +343,7 @@ npm install @cosmwasm/ts-codegen
343
343
  Clone your project and `cd` into your contracts folder
344
344
 
345
345
  ```sh
346
- git clone https://github.com/public-awesome/launchpad.git
346
+ git clone https://github.com/cosmology-tech/launchpad.git
347
347
  cd launchpad/contracts/whitelists/whitelist
348
348
  ```
349
349
 
@@ -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.4.1",
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": "d8c3043ed7655b205faca52eb17c346ca0369f3c"
68
+ "gitHead": "43cbdf2257bd5a86b5fc1bfa577a78a9f18ec7cd"
69
69
  }