@sloppyvoice/sdk/discovery
API reference for the @sloppyvoice/sdk/discovery entry point.
Discovery (@sloppyvoice/sdk/discovery, 02): the _sloppyv TXT record and .well-known
fallback, normalizeBaseUrl(), GET /v1/resolve and the pin admin endpoints, ServerMetadata
validation, server keys, KeyRotation continuity, delegation evidence, pinning, caching rules and
the DiscoveryResolver that ties them together. Wire types are in ../wire/discovery.ts.
DNS TXT lookups need a TxtResolver: nodeTxtResolver() from @sloppyvoice/sdk/node
on Node, Deno and Bun, or dohTxtResolver for web clients.
import { … } from '@sloppyvoice/sdk/discovery'Re-exports
Also exported from this entry point; documented where they are defined.
AddressLookupResultbaseUrlHostBaseUrlParseBaseUrlProblemChainAcceptancechainAcceptsChainHeadChainMetadataViewChainPinViewChainStatuscheckKeySetcheckQueriedDomaincheckServerKeyclampFreshnessSecclassifyEvidenceclassifyTxtRecordclientUpdateRequiredcreatePindecodeDnsMessagedecodeTxtRdatadiscoveryErrorDiscoveryErrorOptionsdiscoveryErrorPresentationDiscoveryErrorPresentationdiscoveryRecordNameDiscoveryResolverDiscoveryResolverOptionsDiscoveryResultDiscoveryTimersdnsFreshnessSecDnsMessageDnsRecordDnssecStatusDohResolverOptionsdohTxtResolverencodeDnsQueryevaluatePinChangeEvidenceInputfetchMetadataFetchMetadataOptionsfetchWellKnownFetchWellKnownOptionshasFeaturehttpFreshnessSecinterpretAddressResponseinterpretTxtResponseisDefinitiveDiscoveryFailureisDiscoveryErrorisHttpsUrlisNormalizedBaseUrlisQueriedDomainisSameOrSubdomainisSameSiteisServerKeyIdForisSpecialUseDomainisStrongEvidenceisTemporaryDiscoveryFailureisValidJoinTemplatekeyRotationHashKeySetCheckKeyTimeskeyUnusableReasonKeyUsabilityInputlastChainHeadMANDATORY_FEATURESMemoryServerPinStoreMetadataFetchmetadataLimitneedsWellKnownChecknegativeLifetimeSecNO_PUBLIC_SUFFIX_LISTnonCanonicalErrornormalizeBaseUrlnormalizeEvidencenormalizeSourceoctetLengthparseBaseUrlParsedKeyRotationparseKeyChainparseKeyRotationparsePublicSuffixListparseServerKeyIdparseWellKnownDocumentpeerPinKeysPinCandidatePinChangeInfoPinConflictInfoPinEvaluationPinnedKeyPinOutcomeprocessTxtRRsetproviderTypePublicSuffixListpublicSuffixListFromRulespushGatewayAllowedpushGatewayPolicyQueriedDomainOptionsqueriedDomainProblemreadBodyCappedreadDnsNameregistrableDomainregistrationPolicyrequireBaseUrlResolveApiResolveOptionsResolveRequestOptionsServerKeyCheckServerKeyLookupserverKeyThumbprintServerPinRecordServerPinStoreSPECIAL_USE_DOMAINSstaleUsablestaticTxtResolvertoPeerPinTrustedKeyTxtLookupResultTxtRecordTxtRecordClasstxtRecordTextTxtResolverTxtRRsetOutcomeunsupportedVersionErrorValidateMetadataOptionsvalidateServerMetadatawebClientOriginWellKnownFetchWellKnownParse