Skip to main content
This release is 6 versions behind 1.4.6 — the latest version of @fedify/fedify. Jump to latest

@fedify/fedify@1.4.0-dev.599+72b4d6d0
Built and signed on GitHub Actions

An ActivityPub/fediverse server framework

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
94%
Published
2 months ago (1.4.0-dev.599+72b4d6d0)
function verifyProof
verifyProof(
jsonLd: unknown,
): Promise<Multikey | null>

Verifies the given proof for the object.

Parameters

jsonLd: unknown

The JSON-LD object to verify the proof for. If it contains any proofs, they will be ignored.

The proof to verify.

optional
options: VerifyProofOptions

Additional options. See also VerifyProofOptions.

Return Type

The public key that was used to sign the proof, or null if the proof is invalid.

Add Package

deno add jsr:@fedify/fedify

Import symbol

import { verifyProof } from "@fedify/fedify";

---- OR ----

Import directly with a jsr specifier

import { verifyProof } from "jsr:@fedify/fedify";

Add Package

npx jsr add @fedify/fedify

Import symbol

import { verifyProof } from "@fedify/fedify";

Add Package

yarn dlx jsr add @fedify/fedify

Import symbol

import { verifyProof } from "@fedify/fedify";

Add Package

pnpm dlx jsr add @fedify/fedify

Import symbol

import { verifyProof } from "@fedify/fedify";

Add Package

bunx jsr add @fedify/fedify

Import symbol

import { verifyProof } from "@fedify/fedify";