UNPKG

@jmcanterafonseca-iota/anchoring-channels

Version:

Powered by IOTA Streams, Anchor Channels is an easy to be used library that allows to anchor messages to the Tangle.

8 lines (7 loc) 473 B
import { IJsonSignedDocument } from "../models/IJsonSignedDocument"; export default class JsonHelper { static getDocument(doc: Record<string, unknown> | string): Record<string, unknown>; static getSignedDocument(doc: Record<string, unknown> | string): IJsonSignedDocument; static getJsonLdDocument(doc: Record<string, unknown> | string): Record<string, unknown>; static getSignedJsonLdDocument(doc: Record<string, unknown> | string): IJsonSignedDocument; }