Add TX device-verification region to debug config

Add a US-TX region to the debug config with verificationMethods
['device', 'kws'], plus a useRealDeviceSignalsAPI escape hatch (default
off) so the real native age API can be exercised in debug mode instead of
the faked deviceSignals.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Eric Bailey
2026-06-23 16:32:31 -05:00
parent 18f8d360cb
commit 2bfc1e6166
2 changed files with 13 additions and 6 deletions
+2 -1
View File
@@ -503,7 +503,8 @@ export function createDeviceSignalsQueryKey({did}: {did: string}) {
export async function getDeviceSignals(): Promise<
AgeRange.AgeRangeResponse | undefined
> {
if (debug.enabled) return debug.resolve(debug.deviceSignals)
if (debug.enabled && !debug.useRealDeviceSignalsAPI)
return debug.resolve(debug.deviceSignals)
if (!IS_NATIVE) return undefined
try {
return await AgeRange.requestAgeRangeAsync({