Skip to content

Commit

Permalink
fix(sozo): adjust typescript bindgen to v1 (#2202)
Browse files Browse the repository at this point in the history
* work on ts v1 bindgen

* work on model def

* formatting

* improve codegen

* add tests

* update enum to string

* fix mapping in systems gen

* remove unneeded filters

* fix imports and errors

* fix: fix tests and fmt

* chore: bump cainome

* chore: move deps to dev deps

---------

Co-authored-by: glihm <[email protected]>
  • Loading branch information
ponderingdemocritus and glihm authored Jul 25, 2024
1 parent 5ee2f05 commit 1da9fff
Show file tree
Hide file tree
Showing 5 changed files with 328 additions and 65 deletions.
48 changes: 25 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ inherits = "release"
lto = "fat"

[workspace.dependencies]
cainome = { git = "https://github.com/cartridge-gg/cainome", tag = "v0.3.0", features = [ "abigen-rs" ] }
cainome = { git = "https://github.com/cartridge-gg/cainome", tag = "v0.3.2", features = [ "abigen-rs" ] }
common = { path = "crates/common" }

# metrics
Expand Down
2 changes: 2 additions & 0 deletions crates/dojo-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ cainome.workspace = true
dojo-world = { path = "../dojo-world", features = [ "manifest" ] }

[dev-dependencies]
assert_matches.workspace = true
dojo-test-utils = { path = "../dojo-test-utils", features = [ "build-examples" ] }
scarb = { workspace = true }
tokio.workspace = true
Loading

0 comments on commit 1da9fff

Please sign in to comment.