diff --git a/packages/auto-tls/src/index.ts b/packages/auto-tls/src/index.ts index 4a97e61936..384331c537 100644 --- a/packages/auto-tls/src/index.ts +++ b/packages/auto-tls/src/index.ts @@ -182,6 +182,14 @@ export interface AutoTLSInit { * @default false */ autoConfirmAddress?: boolean + + /** + * The User-Agent header sent during HTTP requests + * + * @default "js-libp2p/${version} node/${version}" + * @deprecated Use `nodeInfo.userAgent` in the main libp2p config instead + */ + userAgent?: string } export interface AutoTLS {