- Fix "TypeError: Invalid redirect value, must be one of "follow" or "manual" ("error" won't be implemented since it does not make sense at the edge; use "manual" and check the response status code)." that is thrown when trying to use fetch in the edge environment (e.g., workers)
- Cleanup types and variable definitions.
* including nostr types
* including tests for nostr type guard
* fix tests for nostr type guard
* fix linter and add eslint and prettier to devcontainer
* including null in nostr type guard signature
* fix type, ops
* including ncryptsec in nostr type guard
* fix linter for ncryptsec
* including ncryptsec return type for nip49
* fixing names of nostr types and types guards
* fixing names of nostr types and types guards in unit tests descriptions
* fix prettier
* including type guard for nip5
nip05 says `NIP-05 assumes the <local-part> part will be restricted to the characters a-z0-9-_., case insensitive`
So a lot of people is starting the names with uppercase. See here:
`https://nostr-check.com/.well-known/nostr.json`
So I think we should change the regex to accept lowercase or uppercase.
Another way to do it would be to do a `.toLowerCase` at the beginning, but then we would need to do this search ignoring the case:
```
if (!res?.names?.[name])
```
So maybe for now this is enough?