UNPKG

@fnlb-project/stanza

Version:

Modern XMPP in the browser, with a JSON API

21 lines (20 loc) 403 B
import { DefinitionOptions } from '../jxt'; declare module './' { interface Message { bits?: Bits[]; } interface Presence { bits?: Bits[]; } interface IQPayload { bits?: Bits; } } export interface Bits { data?: Buffer; cid: string; maxAge?: number; mediaType?: string; } declare const Protocol: DefinitionOptions; export default Protocol;