diff --git a/docs/index.md b/docs/index.md index 126eaad1..41d29ceb 100644 --- a/docs/index.md +++ b/docs/index.md @@ -59,7 +59,7 @@ features: NodeInfo server link: /manual/nodeinfo.md - icon: 🤝 - title: Interoparability + title: Interoperability details: >- Special touch for interoperability with Mastodon and few other popular fediverse software diff --git a/docs/manual/access-control.md b/docs/manual/access-control.md index 9d2f514f..e5f11666 100644 --- a/docs/manual/access-control.md +++ b/docs/manual/access-control.md @@ -52,7 +52,7 @@ federation }); ~~~~ -The equivalet method is available for collections as well: +The equivalent method is available for collections as well: ~~~~ typescript{8-10} import { federation } from "./your-federation.ts"; @@ -74,7 +74,7 @@ If the predicate returns `false`, the request is rejected with a Fine-grained access control --------------------------- -You may not want to block everything from an unauthroized user, but only filter +You may not want to block everything from an unauthorized user, but only filter some resources. For example, you may want to show some private posts to a specific group of users. In such cases, you can use the `RequestContext.getSignedKeyOwner()` method to get the actor who signed diff --git a/httpsig/mod.ts b/httpsig/mod.ts index c323aced..375f02f8 100644 --- a/httpsig/mod.ts +++ b/httpsig/mod.ts @@ -231,7 +231,7 @@ export async function doesActorOwnKey( * @param keyId The ID of the key to check, or the key itself. * @param documentLoader The document loader to use for fetching the key and its owner. * @returns The actor that owns the key, or `null` if the key has no known owner. - * @sicne 0.7.0 + * @since 0.7.0 */ export async function getKeyOwner( keyId: URL | CryptographicKey,