@authhero/kysely-adapter 10.60.0 → 10.62.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/kysely-adapter.cjs +18 -18
- package/dist/kysely-adapter.d.ts +3 -2
- package/dist/kysely-adapter.mjs +177 -177
- package/package.json +1 -1
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -7672,10 +7672,11 @@ export interface GeoInfo {
|
|
|
7672
7672
|
}
|
|
7673
7673
|
export interface GeoAdapter {
|
|
7674
7674
|
/**
|
|
7675
|
-
* Get geo information from
|
|
7675
|
+
* Get geo information from request headers
|
|
7676
|
+
* @param headers - Record of HTTP headers (lowercase keys)
|
|
7676
7677
|
* @returns Geo information or null if not available
|
|
7677
7678
|
*/
|
|
7678
|
-
getGeoInfo(): Promise<GeoInfo | null>;
|
|
7679
|
+
getGeoInfo(headers: Record<string, string>): Promise<GeoInfo | null>;
|
|
7679
7680
|
}
|
|
7680
7681
|
export interface DataAdapters {
|
|
7681
7682
|
branding: BrandingAdapter;
|