message-template.ts (389B)
1 import { 2 messageToWireParts, 3 type MessageWireParts 4 } from '../contracts/message-v1/index.ts'; 5 // Detached unsigned14 parts only. The subsequent rumor owner binds the actual 6 // author, timestamp and SDK hash. This is never a public signing/publish token. 7 export function buildUnsignedMessageTemplate( 8 raw: unknown 9 ): MessageWireParts | undefined { 10 return messageToWireParts(raw); 11 }