nostr-websocket-utils / createTimeValidator
createTimeValidator(
logger
,futureLimitSeconds
,pastLimitSeconds
):TimeValidator
Creates a time validator
Logger instance
number
= DEFAULT_TIME_LIMITS.FUTURE_LIMIT
Future time limit in seconds
number
= DEFAULT_TIME_LIMITS.PAST_LIMIT
Past time limit in seconds
Time validator