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.

34 lines (33 loc) 1.75 kB
"use strict"; /* import { IotaAnchoringChannel } from "./iotaAnchoringChannel"; import { IotaSigner } from "./iotaSigner"; */ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.IotaLdProof = void 0; class IotaLdProof { /* constructor(anchorChannel: IotaAnchoringChannel, signer: IotaSigner) { } */ generate() { return __awaiter(this, void 0, void 0, function* () { }); } verify() { return __awaiter(this, void 0, void 0, function* () { }); } verifyChain() { return __awaiter(this, void 0, void 0, function* () { }); } } exports.IotaLdProof = IotaLdProof; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW90YUxkUHJvb2YuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW90YUxkUHJvb2YudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzZDQUM2Qzs7Ozs7Ozs7Ozs7O0FBRTdDLE1BQWEsV0FBVztJQUNwQjs7O1FBR0k7SUFFUyxRQUFROztRQUVyQixDQUFDO0tBQUE7SUFFWSxNQUFNOztRQUVuQixDQUFDO0tBQUE7SUFFWSxXQUFXOztRQUV4QixDQUFDO0tBQUE7Q0FDSjtBQWpCRCxrQ0FpQkMifQ==