import { AuthStorage } from "@/data/storage/auth/auth_storage";

export async function readGuestId(): Promise<string | undefined> {
  const result = await AuthStorage.getInstance().getDeviceId();
  return result.success && result.data != null ? result.data : undefined;
}

export async function readPsid(): Promise<string | undefined> {
  const result = await AuthStorage.getInstance().getPsid();
  return result.success && result.data != null ? result.data : undefined;
}
