UNPKG

@trlogic/tracker-web

Version:
16 lines (15 loc) 545 B
import { CachedDataCollector } from "src/core/base/CachedDataCollector"; import { TrackerVariableType } from "src/core/model/TrackerVariableType"; /** * Collects network-related information. * Mirrors Android NetworkCollector — adapted for web. */ export declare class NetworkCollector extends CachedDataCollector { private resolvedIp; collect(): Map<TrackerVariableType, unknown>; /** * Fetch the client's public IP address. * Called during initialization; result is cached. */ fetchIp(): Promise<string>; }