Skip to content

Commit

Permalink
chore: live by semver, die by semver
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain authored Feb 5, 2025
1 parent 4066c96 commit 25cea5f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/auto-tls/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 25cea5f

Please sign in to comment.