Skip to content

fix: ttl/bor should be parsed as int - #28

Merged
bhrju merged 1 commit into
masterfrom
fix-ttl-bor
Dec 30, 2025
Merged

bhrju merged 1 commit into
masterfrom
fix-ttl-bor

Conversation

@dwickr

@dwickr dwickr commented Dec 29, 2025

Copy link
Copy Markdown
Contributor

When sent as JSON to the WickrIO bus, the ttl and bor values should be integers, not strings. To facilitate this, I added helper functions parseTtl and parseBor which parse the value, throw an error, or return undefined.

When sent as JSON to the WickrIO bus, the `ttl` and `bor` values should
be integers, not strings. To facilitate this, I added helper functions
`parseTtl` and `parseBor` which parse the value, throw an error, or
return undefined.
@dwickr
dwickr marked this pull request as ready for review December 29, 2025 22:29
@dwickr dwickr added the bug Something isn't working label Dec 29, 2025
@dwickr dwickr assigned dwickr and bhrju and unassigned dwickr Dec 29, 2025
@bhrju
bhrju merged commit 868c66c into master Dec 30, 2025
6 checks passed
@dwickr
dwickr deleted the fix-ttl-bor branch December 30, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants