Something went wrong. Try again.
Bluesky app fork with some witchin' additions 💫 forked from jollywhoppers.com/witchsky.app
Something went wrong. Try again.
694 B · 25 lines
TypeScript
at main
1234567891011121314151617181920212223242526import * as aaDebug from '#/ageAssurance/debug'import {IS_DEV} from '#/env'import {type Geolocation} from '#/geolocation/types'
const localEnabled = falseexport const enabled = IS_DEV && (localEnabled || aaDebug.geolocation)export const geolocation: Geolocation = aaDebug.geolocation ?? { countryCode: 'US', regionCode: 'TX',}
const deviceLocalEnabled = falseexport const deviceGeolocation: Geolocation | undefined = aaDebug.deviceGeolocation || (deviceLocalEnabled ? { countryCode: 'US', regionCode: 'TX', } : undefined)
export async function resolve<T>(data: T) { await new Promise(y => setTimeout(y, 500)) // simulate network return data}