Christien Rioux
d34801ad42
Log split
2025-02-18 23:42:04 +00:00
Christien Rioux
69378ca9b0
update api surface for create_dht_record with owner
2025-02-17 18:04:54 +00:00
Brandon Vandegrift
44918f2587
fix(wasm)!: Update createDhtRecord with optional owner/kind to match veilid-core
2025-02-17 15:22:25 +00:00
Christien Rioux
a2b0214b8e
checkpoint merge of network-shim branch
2025-02-10 03:06:41 +00:00
Evelyn Hobert
abfa5b12e8
adding the ability to create dht records with a specified owner keypair
2025-01-20 17:26:32 +00:00
Christien Rioux
cc2d656071
Improved Address Detection
2024-10-11 00:16:39 +00:00
Christien Rioux
7eff6d12cc
add namespacing to WASM TableStore
2024-08-17 01:01:30 +00:00
Christien Rioux
1e83cd1349
make timestamp / timestampduration their own newtypes
2024-08-01 20:02:27 -05:00
Christien Rioux
05180252e4
* API Breaking Change: CryptoSystem.verify() should return bool, and reserve errors for error cases, not validation failures.
...
* API Breaking Change: VeilidAPI.verify_signatures() returns Option<TypedKeySet> now
Fixes #313
2024-05-31 16:20:58 -04:00
Christien Rioux
98786ca827
fix wasm log ignore bug
2024-04-07 10:54:24 -04:00
Christien Rioux
ad085ed15e
improve logging
...
dart ffi has duration measurements for veilid_api calls
2024-04-04 14:12:54 -04:00
Sashanoraa
b5cf325c5a
Make VeilidAPI::parse_as_target a sync function
...
VeilidAPI::parse_as_target doesn't perform any async operations so it
should be a sync function.
2024-03-30 10:40:29 -04:00
Christien Rioux
800348451e
improve route selection and add generate_shared_secret
2024-03-27 17:53:51 -05:00
Christien Rioux
3970b6f294
fix flutter/dart wasm
2024-03-27 17:53:51 -05:00
Christien Rioux
6a8c0830d2
flutter unit/integration tests
2024-03-27 17:53:51 -05:00
Christien Rioux
d586748333
add inspect test to wasm
2024-03-27 17:53:51 -05:00
Christien Rioux
ee54358c27
wasm unit tests work and attachment manager fix
2024-03-27 17:53:51 -05:00
Christien Rioux
ff28273a59
wasm support for inspect and watchvalue
...
(needs tests)
2024-03-27 17:53:51 -05:00
Christien Rioux
6455aff14a
make change_log_ignore a thing
2024-03-27 17:53:51 -05:00
Christien Rioux
8818e63dc0
add default veilid config to the api
2024-03-27 17:53:50 -05:00
Christien Rioux
ad45660db9
fix tests
2024-03-27 17:53:50 -05:00
Christien Rioux
ef6ecdab79
logging improvements
2024-03-27 17:53:50 -05:00
Christien Rioux
0c3271b3b9
add writer to set_dht_value, allow multiple open_dht_record
2024-03-27 17:53:50 -05:00
Christien Rioux
ee375ad430
safety by default
2023-11-05 18:38:05 -05:00
Christien Rioux
97be49a9a7
clean up handling of errors in route spec store
2023-10-20 22:39:09 -04:00
Christien Rioux
e40975104e
wasm fixes
2023-10-14 20:18:37 -04:00
Haley Weslin
1587633064
Fix "bytes afer" comment typo veilid_crypto_js.rs
...
This fixes a typo of "bytes afer" for "bytes after" in a comment
in veilid-wasm/src/veilid_crypto_js.rs.
2023-10-14 17:27:31 +00:00
Brandon Vandegrift
1af71e7154
(wasm) re-export helpful length constants
2023-09-24 14:47:22 -04:00
Brandon Vandegrift
80afa19678
(wasm) Treat arbitrary byte data as Uint8Array, instead of base64url marshalling.
2023-09-20 00:46:45 -04:00
Christien Rioux
20451af880
more clippy
2023-09-18 19:49:57 -04:00
Christien Rioux
6438a64fc7
clippy work
2023-09-17 19:37:02 -04:00
Brandon Vandegrift
ac8bbe9a83
Replace .unwrap() with ? operator
2023-09-12 08:06:49 -04:00
Brandon Vandegrift
c2c607efac
(wasm) Better TS types for serialized structs, RoutingContext++, more crypto fns
2023-09-11 18:42:05 -04:00
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
Brandon Vandegrift
93963e9d08
(wasm) Cleanup and refactoring, add TableDB transactions, copy over docs for JSDoc.
2023-09-04 14:04:57 -04:00
Brandon Vandegrift
ca11f6075d
(wasm) Add VeilidCrypto class, refine interfaces for VeilidRoutingContext
2023-09-03 23:27:20 -04:00
Brandon Vandegrift
c5d7922fc5
Add VeilidRoutingContext class for WASM
2023-09-03 23:27:20 -04:00
Christien Rioux
9aeec3cfa8
build fixes and cleanup
2023-09-03 23:27:20 -04:00
Brandon Vandegrift
779532b624
Add new VeilidTable and VeilidClient to WASM API
...
These new interfaces have been reworked (compared to the original API) to emit (mostly) proper TypeScript types.
2023-09-03 23:27:08 -04:00
Brandon Vandegrift
0abc9a8b45
Revert breaking changes to WASM API
2023-09-03 23:27:08 -04:00
Brandon Vandegrift
1b20037053
Setup for TypeScript type gen for WASM using Tsify
...
- Includes breaking changes to the WASM API surface, since it now accepts objects instead of stringified JSON.
2023-09-03 23:27:08 -04:00
Christien Rioux
c8fd523a91
fix wasm
2023-08-29 15:52:47 -05:00
Brandon Vandegrift
18dfe99e09
use as_human_base64 to serialize VeilidRouteBlob
2023-08-16 10:29:59 -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
Christien Rioux
00aad2c728
bugfixes
2023-07-25 01:04:22 -04:00
Christien Rioux
19f384ab33
refactor create dht value
2023-07-15 19:35:22 -04:00
John Smith
b5906a52bc
fix wasm
2023-07-04 15:34:48 -05:00
John Smith
b6e055e47d
test work
2023-06-18 18:47:39 -04:00
John Smith
14ba85efda
fixes
2023-06-16 11:57:55 -04:00
John Smith
0a890c8707
removing dev branch, many changes
2023-05-29 19:24:57 +00:00