Repository navigation
Releases
Releases · smartweaver/slick-contract
2023-12-19 / v0.0.10
Summary
- fix: use
protectedinstead of private (#) members- This ensures
WeakMapandWeakSetare not used when using the CLI to build contracts - This is related to https://esbuild.github.io/content-types/#private-member-performance
- This ensures
2023-12-19 / v0.0.9
Summary
- fix: build command when state files are typescript files
2023-12-19 / v0.0.8
Summary
- refactor: generics for
Contract.build()andcontractInstance.handle()method - BREAKING: Remove
initialState()method onContract.builder(). State typing can be provided viaContract.builder<StateTyping>.
2023-11-08 / v0.0.7
Summary
- Fix CLI output
- Update README instructions to include CLI usage
2023-11-08 / v0.0.6
Summary
Add optional arg to CLI to build state file. Updated CLI usage is below:
USAGE
npx @smartweaver/slick-contract <COMMAND> <CONTRACT_FILE> [STATE_FILE]
EXAMPLE USAGE
npx @smartweaver/slick-contract build src/contract.ts src/state.ts
COMMANDS
The commands for this script are as follows:
build Build your contract's source and state files
2023-11-08 / v0.0.5
Summary
- Add example app
- Update README
2023-11-08 / v0.0.4
Summary
- Fix CLI imports
- Update title
2023-11-08 / v0.0.3
Summary
- Fix README
- Update cli usage
2023-11-07 / v0.0.2
2023-11-07 / v0.0.1
Initial v0.0.1 release on main