add watchvalue test and some more routing context convenience functions

This commit is contained in:
Christien Rioux 2024-03-17 16:00:34 -04:00
parent 30cc4a814b
commit b51c660b9c
7 changed files with 174 additions and 19 deletions

View file

@ -207,7 +207,7 @@ class VeilidRoutingContextJS extends VeilidRoutingContext {
Timestamp? expiration,
int? count}) async {
subkeys ??= [];
expiration ??= Timestamp(value: BigInt.zero);
expiration ??= Timestamp.zero();
count ??= 0xFFFFFFFF;
final id = _ctx.requireId();