UNPKG

@ceramicnetwork/core

Version:

Typescript implementation of the Ceramic protocol

6 lines 356 B
import type { SignedMessage } from '@libp2p/interface-pubsub'; import type { PeerId } from '@libp2p/interface-peer-id'; import type { PubsubMessage } from '../../index.js'; export declare function randomPeerId(): PeerId; export declare function asIpfsMessage(data: PubsubMessage, from?: PeerId): SignedMessage; //# sourceMappingURL=as-ipfs-message.d.ts.map