@exodus/analytics-validation
Why
This helps prevent that we do not accidentally collect any sensitive and/or private information, therefore all events must pass a validation layer.
🚫
Example of what could go wrong: Slope Finance sending 12-word mnemonics to Sentry 💀
List of string formats
Schemasafe ships with a bunch of default formats, you can find the implementation of these here!
- hostname
- uuid
- date
- time
- date-time
- duration
- ipv4
- ipv6
- uri
- uri-reference
- uri-template
- alpha
- alphanumeric
- base64
- hex-digits
- hex-digits-prefixed
- hex-bytes
- hex-bytes-prefixed
- json-pointer
- relative-json-pointer
Last updated on