Commit Graph

32 Commits

Author SHA1 Message Date
dafuga 8047c6df32 enhancement: making data param on readonly method optional 2024-01-16 17:11:39 -08:00
Aaron Cox b3d9398861 Updated contract kit 2024-01-16 12:12:47 -08:00
Aaron Cox a43b105c3e Version 2.5.1 2024-01-12 15:20:35 -08:00
Aaron Cox b54e94ed91 Version 2.5.0 2024-01-12 12:26:04 -08:00
Aaron Cox 66f45af5fe Version 2.4.0 2023-12-18 11:02:51 -08:00
Aaron Cox 603687b9e0 Version 2.3.0 2023-12-12 16:13:41 -08:00
Aaron Cox 0d956bfac1 Version 2.2.0 2023-12-06 15:26:01 -08:00
Vance Chi 6e2fcb91eb Fix variant type generation (#20)
* Fix variant type generation

* Fix format of generated contract code

* Add base eslint config

* Use optional eslintrc file
2023-12-06 15:25:02 -08:00
Aaron Cox afb1b126b1 Version 2.1.0 2023-11-22 13:10:30 -08:00
Daniel Fugere 5e7c787716 Fixing table return types and other issues (#18)
* fix: importing Asset when Symbol is needed

* fix: handling cases where two structs have same names with different casing

* fix: using casing when looking for struct dependencies

* enhancement: exporting TableMap

* enhancement: exporting actions and tables as types

* chore: added boid contract to tests

* debug: setup working generics for table method

* chore: added table names with . to interface to break ts typing

* Updating to wharfkit/contract RC1

* enhancement: optimized generated contracts

* style: linted

* cleanup: code cleanup

* chore: updated contract kit

* fix: renamed generated variables and fixed table typing

* cleanup: code cleanup

* chore: updated contract kit

---------

Co-authored-by: Aaron Cox <aaron@greymass.com>
2023-11-22 13:09:46 -08:00
Aaron Cox d71dd06055 Version 2.0.0 2023-11-07 12:56:16 -08:00
Aaron Cox ded61514fe Updating dependencies for new releases 2023-11-07 12:56:00 -08:00
Aaron Cox 5d0738e388 Version 1.9.1 2023-11-06 18:28:09 -08:00
Aaron Cox f3c42d0d2c Version 1.9.0 2023-11-06 18:27:22 -08:00
Aaron Cox 80252b79ef Version 1.8.0 2023-10-20 09:44:46 -07:00
Aaron Cox 3b5756b13f Embedding node-fetch to support older nodejs 2023-10-20 09:44:29 -07:00
Aaron Cox beb3a9ba3b Version 1.7.0 2023-10-19 22:57:05 -07:00
Aaron Cox 20cb5e9cb3 Version 1.6.0 2023-10-19 22:35:49 -07:00
Aaron Cox d2d3e3fa14 Merge branch 'master' of https://github.com/wharfkit/cli 2023-10-19 22:35:34 -07:00
Aaron Cox 7847663758 Version 1.5.0 2023-10-19 22:35:25 -07:00
Daniel Fugere e4f5f0014b Added keys and account creation to wharfkit command (#12)
* chore: added keys and account creation to wharfkit command

* chore: added keys and account creation implementations

* chore: getting commands working

* enhancement: added params validation

* refactor: sharing log function
2023-10-19 22:29:13 -07:00
Aaron Cox 3250f20a4c Version 1.4.0 2023-09-27 09:49:24 -07:00
Daniel Fugere 88f2265702 Determining type imports in script as opposed to using eslint (#10)
* fix: determining type imports in script as opposed to using eslint

* fix: preventing infinite loop

chore: adding hegemon unit test

* style: linted
2023-09-27 09:48:57 -07:00
Aaron Cox b92358140b Version 1.3.0 2023-09-26 10:20:44 -07:00
Aaron Cox 1a655bd345 Moving eslint to dependencies since its used during runtime 2023-09-26 10:19:31 -07:00
Daniel Fugere e8691b9a1f Fixes for more complex contracts (#9)
* fix: checking aliases when generating list of core imports

closes #7

* chore: upped dep versions

* fix: got tests passing

* fix: looking up aliases when generating abi type

closes #8

* style: linted

* fix: handling variants properly

* fix: looking at aliases when ordering structs

* fix: getting tests passing

* fix: using the Variant core class when applicable

* chore: formatted atomicassets JSON abi
2023-09-25 13:22:59 -07:00
Aaron Cox 5b3656f7fa Version 1.2.0 2023-09-08 17:06:14 -07:00
Daniel Fugere 00a182b6a1 Fixes and enhancements (#6)
* chore: added -j option

closes #2

* chore: added contract command tests

* fix: using proper bool field type

closes issue #5

* fix: handle binary extensions

closes issue #4

* enhancement: removed root namespace

* style: linted

* fix: using type imports when applicable

* fix: preventing infinite loop in findDependency function
2023-09-08 17:05:15 -07:00
Aaron Cox 1a2a1339b5 Version 1.0.1 2023-08-28 17:11:32 -07:00
Aaron Cox c54b17f68b Version 1.0.0 2023-08-28 16:59:48 -07:00
Daniel Fugere d91ee1965f Adding contract command (#1)
* chore: added contract command

* chore: added make check and make format

* chore: getting the generate command to work

* chore: added the --file option to the generate command

* fix: got tests passing

* chore: got rid of deprecation warnings

* chore: added ci check

* Bumping requirement to v18

* Use stdout instead of stderr

* Reworked shebang to disable experimental warnings

* Made logging less verbose

* Removed v16 testing

* Inverted logging logic to debug by default

---------

Co-authored-by: Aaron Cox <aaron@greymass.com>
2023-08-28 16:59:18 -07:00
Aaron Cox 95be4285d8 Initial commit 2023-08-21 17:28:58 -07:00