You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Harden modified against corrupt created_at (no throw, no null serialization)
Address Copilot review on #39:
- isoFromUnix returns null for non-safe-integer or out-of-range timestamps
instead of throwing RangeError in the public resolver path.
- Filter stamps with Number.isSafeInteger (Nostr created_at is integer seconds)
and only set modified when isoFromUnix yields a value (never modified: null).
- profile.created_at gate also uses Number.isSafeInteger for consistency.
0 commit comments