This commit is contained in:
2023-08-11 10:45:20 +08:00
commit 161ca982f3
31850 changed files with 2706500 additions and 0 deletions

14
node_modules/bonjour-service/dist/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,14 @@
import Browser, { BrowserConfig } from './lib/browser';
import Service, { ServiceConfig, ServiceReferer } from './lib/service';
export declare class Bonjour {
private server;
private registry;
constructor(opts?: ServiceConfig | undefined, errorCallback?: Function | undefined);
publish(opts: ServiceConfig): Service;
unpublishAll(callback?: CallableFunction | undefined): void;
find(opts?: BrowserConfig | undefined, onup?: (service: Service) => void): Browser;
findOne(opts?: BrowserConfig | undefined, timeout?: number, callback?: CallableFunction): Browser;
destroy(): void;
}
export { Service, ServiceReferer, ServiceConfig, Browser, BrowserConfig };
export default Bonjour;