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.
- package/dist/authhero.cjs +34 -34
- package/dist/authhero.d.ts +3 -2
- package/dist/authhero.mjs +2444 -2432
- package/dist/stats.html +1 -1
- package/package.json +4 -4
package/dist/authhero.d.ts
CHANGED
|
@@ -17312,10 +17312,11 @@ export interface GeoInfo {
|
|
|
17312
17312
|
}
|
|
17313
17313
|
export interface GeoAdapter {
|
|
17314
17314
|
/**
|
|
17315
|
-
* Get geo information from
|
|
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;
|