Skip to content

EnvironmentInfo

Interface representing environment information

browser: null | LooseAutocomplete<"Chrome" | "Firefox" | "Safari" | "Edge" | "Opera" | "IE" | "Other">

User Browser name (when applicable)


generateId: () => string

Generates a unique ID

string


now: () => number

Current timestamp in ms

number


os: null | LooseAutocomplete<"MacOS" | "Windows" | "Linux" | "iOS" | "Android" | "Unknown">

User Operating system name


runtime: null | LooseAutocomplete<"node" | "web" | "other">

Platform identity for high-level adapter routing