authhero 0.284.0 → 0.286.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17312,10 +17312,11 @@ export interface GeoInfo {
17312
17312
  }
17313
17313
  export interface GeoAdapter {
17314
17314
  /**
17315
- * Get geo information from the current request
17315
+ * Get geo information from request headers
17316
+ * @param headers - Record of HTTP headers (lowercase keys)
17316
17317
  * @returns Geo information or null if not available
17317
17318
  */
17318
- getGeoInfo(): Promise<GeoInfo | null>;
17319
+ getGeoInfo(headers: Record<string, string>): Promise<GeoInfo | null>;
17319
17320
  }
17320
17321
  export interface DataAdapters {
17321
17322
  branding: BrandingAdapter;