Commit Graph

11 Commits

Author SHA1 Message Date
Brandon Vandegrift
6b7301a963 (wasm) Improved memory management, track by struct so drop works, use --weak-ref for wasm-bindgen 2023-09-04 17:34:49 -04:00
Vanya Agnesandra
e75af7d9b4
Redact usernames and user project structure from wasm panic messages 2023-08-30 13:07:48 -04:00
Christien Rioux
e504da2564 xfer 2023-08-22 15:11:45 -04:00
Brandon Vandegrift
fae12b234d Fix veilid-wasm errors so it compiles, emit TypeScript types.
- `wrap_api_future` function did not exist, so I used `wrap_api_future_plain` since the return type appears to be a base64 encoded string.
- Argument order for `create_dht_record` was incorrectly swapped.
- `veilid_core::json_as_base64` does not exist, don't exactly know what to replace it with for serde serialization, but I commented it out for now.
- Removed `--no-typescript` flag from `wasm-buildgen` so that TypeScript types are emitted.
2023-08-15 13:47:26 -04:00
John Smith
e9da652e9a scripts 2022-12-25 11:46:32 -05:00
John Smith
f409c84778 fix wasm 2022-06-29 22:17:19 -04:00
John Smith
17ea0ccf3c wasm fixes 2022-06-15 23:29:45 -04:00
John Smith
0d7ba1485d swap around some build thingies 2022-03-17 19:03:42 -04:00
John Smith
5298fc3fcf checkpoint 2022-03-17 10:31:10 -04:00
John Smith
736e7a0cb0 fix wasm build, remove from native veilid-flutter rust 2022-03-15 10:02:20 -04:00
John Smith
ca85b555aa WASM work 2022-03-15 09:33:34 -04:00