import * as M from '@meetalva/message' ; import { MessageHandlerContext , MessageHandler } from '../create-handlers' ; export function appRequest ( { app } ) { return m => { app . send ( { id : m . id , type : M . MessageType . AppResponse , transaction : m . transaction , payload : { app : app . toJSON ( ) } } ) ; } ; }