fishhook-ant - v0.1.0
    Preparing search index...

    Type Alias ToleranceChoice

    ToleranceChoice:
        | { tolerance: number; unsafeTolerance?: never }
        | { tolerance?: never; unsafeTolerance: number }
        | { tolerance?: never; unsafeTolerance?: never }

    How far a signed timestamp may be from now. One of the two, or neither for a scheme without a timestamp.

    Type Declaration

    • { tolerance: number; unsafeTolerance?: never }
      • tolerance: number

        How far the signed timestamp may be from now, either way, in whole seconds, 1 to 300. Required for a scheme with a timestamp and refused for one without. Allow for clock drift between you and the sender plus their delivery delay; providers recommend 300.

      • OptionalunsafeTolerance?: never
    • { tolerance?: never; unsafeTolerance: number }
      • Optionaltolerance?: never
      • unsafeTolerance: number

        A tolerance above 300 seconds, in seconds. Every captured delivery stays replayable for this long, so rememberReplayKey has to keep keys at least twice as long.

    • { tolerance?: never; unsafeTolerance?: never }