fix(wasm,stats): surface replay errors to JS, deduplicate win events per frame (#65, #69)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
funman300
2026-05-27 21:53:15 -07:00
parent dbe728fef7
commit 8cb4c9808e
4 changed files with 260 additions and 121 deletions
+1
View File
@@ -24,6 +24,7 @@ console_error_panic_hook = { version = "0.1", optional = true }
# `solitaire_core`'s deps with wasm-only flags.
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.3", features = ["wasm_js"] }
web-sys = { version = "0.3", features = ["console"] }
[features]
default = ["console_error_panic_hook"]