forked from watson/bonjour
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
The BrowserConfig interface requires type but I don't think that's really meant to be required. The README says that all options are optional.
bonjour-service/src/lib/browser.ts
Line 15 in 67ed22f
| type : string |
This should be changed to:
export interface BrowserConfig {
type? : string // now optional
name? : string
protocol? : 'tcp' | 'udp'
subtypes? : string[]
txt? : KeyValue
}Making this change myself gives me the expected behavior, which is looking for all service types.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels