@syntrologie/runtime-sdk 2.8.0-canary.23 → 2.8.0-canary.25

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.
@@ -99,6 +99,11 @@ export interface SyntroInitResult {
99
99
  * Only non-empty values are included.
100
100
  */
101
101
  export declare function collectBrowserMetadata(): Record<string, string | string[]>;
102
+ /**
103
+ * Fetch geo data from the Cloudflare Worker, with localStorage caching.
104
+ * Returns cached data immediately on subsequent visits. Best-effort — never blocks init.
105
+ */
106
+ export declare function fetchGeo(geoHost: string): Promise<Record<string, string>>;
102
107
  /**
103
108
  * Initialize the Syntro SDK with a single token.
104
109
  *