import Twilio from "twilio" ; const twilioClient = Twilio ( process . env . TWILIO_SID , process . env . TWILIO_TOKEN ) ; const sendSMS = ( to , body ) => { return twilioClient . messages . create ( { body , to , from : process . env . TWILIO_PHONE } ) ; } ; export const sendVerificationSMS = ( to , key ) => sendSMS ( to , `Your verification key is: ${ key }` ) ;