import { PopupRoutes } from '@masknet/shared-base' ; import urlcat from 'urlcat' ; import { getRouteURLWithNoParam } from '../utils' ; export interface SignRequest { message : string ; requestID : string ; } export function constructSignRequestURL ( request ) { return urlcat ( getRouteURLWithNoParam ( PopupRoutes . SignRequest ) , { message : request . message , id : request . requestID } ) ; }