UNPKG

@aviarytech/didcomm-protocols.trust-ping

Version:
19 lines (18 loc) 638 B
import { IDIDComm, IDIDCommMessage, IDIDCommMessageHandler } from "@aviarytech/didcomm-messaging"; export declare const TRUST_PING_RESPONSE_PING_TYPE = "https://didcomm.org/trust_ping/1.0/ping_response"; export interface TrustPingResponseMessage extends IDIDCommMessage { payload: { id: string; type: string; thid: string; from?: string; to?: string[]; }; } export declare class DefaultTrustPingResponseMessageHandler implements IDIDCommMessageHandler { type: string; handle(props: { message: TrustPingResponseMessage; didcomm: IDIDComm; }): Promise<boolean>; }