import { ApiV2 , UserManager } from './internal' ; export async function sendAsync ( recipient , url_ , allowUnauthed = true ) { const user = await UserManager . ensureLoggedInAsync ( ) ; const api = ApiV2 . clientForUser ( user ) ; return await api . postAsync ( 'send-project' , { emailOrPhone : recipient , url : url_ , includeExpoLinks : allowUnauthed } ) ; }