forked from
jollywhoppers.com/witchsky.app
Bluesky app fork with some witchin' additions 馃挮
1import * as aaDebug from '#/ageAssurance/debug'
2import {IS_DEV} from '#/env'
3import {type Geolocation} from '#/geolocation/types'
4
5const localEnabled = false
6export const enabled = IS_DEV && (localEnabled || aaDebug.geolocation)
7export const geolocation: Geolocation = aaDebug.geolocation ?? {
8 countryCode: 'AU',
9 regionCode: undefined,
10}
11export const deviceGeolocation: Geolocation = aaDebug.deviceGeolocation ?? {
12 countryCode: 'AU',
13 regionCode: undefined,
14}
15
16export async function resolve<T>(data: T) {
17 await new Promise(y => setTimeout(y, 500)) // simulate network
18 return data
19}