Merge branch 'feature/fix-watchvalue-timestamp-result' into 'main'

fix(wasm): Format watchDhtValue result timestamp as u64 before formatting as string

See merge request veilid/veilid!389
This commit is contained in:
Brandon Vandegrift 2025-04-06 17:24:07 +00:00
commit cdd44fb68e
2 changed files with 2 additions and 2 deletions

View File

@ -628,7 +628,7 @@ pub fn routing_context_watch_dht_values(
let res = routing_context
.watch_dht_values(key, subkeys, expiration, count)
.await?;
APIResult::Ok(res.to_string())
APIResult::Ok(res.as_u64().to_string())
})
}

View File

@ -379,7 +379,7 @@ impl VeilidRoutingContext {
let res = routing_context
.watch_dht_values(key, subkeys, expiration, count)
.await?;
APIResult::Ok(res.to_string())
APIResult::Ok(res.as_u64().to_string())
}
/// Cancels a watch early