Loading CHANGES.md +2 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,8 @@ To be released. - Added `integrateHandler()` function. - Added `integrateHandlerOptions()` function. - Added `getActorHandle()` function. - Now `loookupWebFinger()` follows redirections. [Fresh]: https://fresh.deno.dev/ Loading deno.json +1 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ "fast-check": "npm:fast-check@^3.16.0", "jose": "npm:jose@^5.2.3", "jsonld": "npm:jsonld@^8.3.2", "mock_fetch": "https://deno.land/x/mock_fetch@0.3.0/mod.ts", "uri-template-router": "npm:uri-template-router@^0.0.16", "url-template": "npm:url-template@^3.1.1" }, Loading examples/blog/federation/mod.ts +2 −2 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ import { Create, Endpoints, Follow, getActorHandle, getActorTypeName, isActor, Link, Loading Loading @@ -151,8 +152,7 @@ federation.setInboxListeners("/users/{handle}/inbox", "/inbox") recipient.preferredUsername == null || recipient.inboxId == null ) return; const handle = `@${recipient.preferredUsername.toString()}@${recipient.id.host}`; const handle = await getActorHandle(recipient); await addFollower({ activityId: follow.id.href, id: recipient.id.href, Loading examples/blog/import_map.g.json +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ "fast-check": "npm:fast-check@^3.16.0", "jose": "npm:jose@^5.2.3", "jsonld": "npm:jsonld@^8.3.2", "mock_fetch": "https://deno.land/x/mock_fetch@0.3.0/mod.ts", "uri-template-router": "npm:uri-template-router@^0.0.16", "url-template": "npm:url-template@^3.1.1", "$fresh/": "https://deno.land/x/fresh@1.6.5/", Loading federation/send.test.ts +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ import { assertRejects, assertStrictEquals, } from "@std/assert"; import * as mf from "https://deno.land/x/mock_fetch@0.3.0/mod.ts"; import * as mf from "mock_fetch"; import { doesActorOwnKey, verify } from "../httpsig/mod.ts"; import { mockDocumentLoader } from "../testing/docloader.ts"; import { privateKey2, publicKey2 } from "../testing/keys.ts"; Loading Loading
CHANGES.md +2 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,8 @@ To be released. - Added `integrateHandler()` function. - Added `integrateHandlerOptions()` function. - Added `getActorHandle()` function. - Now `loookupWebFinger()` follows redirections. [Fresh]: https://fresh.deno.dev/ Loading
deno.json +1 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ "fast-check": "npm:fast-check@^3.16.0", "jose": "npm:jose@^5.2.3", "jsonld": "npm:jsonld@^8.3.2", "mock_fetch": "https://deno.land/x/mock_fetch@0.3.0/mod.ts", "uri-template-router": "npm:uri-template-router@^0.0.16", "url-template": "npm:url-template@^3.1.1" }, Loading
examples/blog/federation/mod.ts +2 −2 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ import { Create, Endpoints, Follow, getActorHandle, getActorTypeName, isActor, Link, Loading Loading @@ -151,8 +152,7 @@ federation.setInboxListeners("/users/{handle}/inbox", "/inbox") recipient.preferredUsername == null || recipient.inboxId == null ) return; const handle = `@${recipient.preferredUsername.toString()}@${recipient.id.host}`; const handle = await getActorHandle(recipient); await addFollower({ activityId: follow.id.href, id: recipient.id.href, Loading
examples/blog/import_map.g.json +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ "fast-check": "npm:fast-check@^3.16.0", "jose": "npm:jose@^5.2.3", "jsonld": "npm:jsonld@^8.3.2", "mock_fetch": "https://deno.land/x/mock_fetch@0.3.0/mod.ts", "uri-template-router": "npm:uri-template-router@^0.0.16", "url-template": "npm:url-template@^3.1.1", "$fresh/": "https://deno.land/x/fresh@1.6.5/", Loading
federation/send.test.ts +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ import { assertRejects, assertStrictEquals, } from "@std/assert"; import * as mf from "https://deno.land/x/mock_fetch@0.3.0/mod.ts"; import * as mf from "mock_fetch"; import { doesActorOwnKey, verify } from "../httpsig/mod.ts"; import { mockDocumentLoader } from "../testing/docloader.ts"; import { privateKey2, publicKey2 } from "../testing/keys.ts"; Loading