Something went wrong. Try again.
Something went wrong. Try again.
1234567891011import { handleMessage } from '../src/index';
const sample = { author: 'viewer1', text: 'hello little creature what do you think about decentralized streaming?', timestamp: new Date().toISOString()};
const result = await handleMessage(sample);console.log(JSON.stringify({ input: sample, output: result }, null, 2));