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.
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.
The
BrowserConfiginterface requirestypebut 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
This should be changed to:
Making this change myself gives me the expected behavior, which is looking for all service types.