@fedify/fedify 0.15.2 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGES.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
Fedify changelog
|
|
4
4
|
================
|
|
5
5
|
|
|
6
|
+
Version 0.15.3
|
|
7
|
+
--------------
|
|
8
|
+
|
|
9
|
+
Released on October 23, 2024.
|
|
10
|
+
|
|
11
|
+
- The `fetchDocumentLoader()` function now preloads the following JSON-LD
|
|
12
|
+
context: <https://purl.archive.org/socialweb/webfinger>.
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
Version 0.15.2
|
|
7
16
|
--------------
|
|
8
17
|
|
package/esm/runtime/contexts.js
CHANGED
|
@@ -625,5 +625,15 @@ const preloadedContexts = {
|
|
|
625
625
|
},
|
|
626
626
|
},
|
|
627
627
|
},
|
|
628
|
+
"https://purl.archive.org/socialweb/webfinger": {
|
|
629
|
+
"@context": {
|
|
630
|
+
"wf": "https://purl.archive.org/socialweb/webfinger#",
|
|
631
|
+
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
632
|
+
"webfinger": {
|
|
633
|
+
"@id": "wf:webfinger",
|
|
634
|
+
"@type": "xsd:string",
|
|
635
|
+
},
|
|
636
|
+
},
|
|
637
|
+
},
|
|
628
638
|
};
|
|
629
639
|
export default preloadedContexts;
|
package/esm/webfinger/handler.js
CHANGED
|
@@ -24,7 +24,7 @@ export async function handleWebFinger(request, { context, actorDispatcher, actor
|
|
|
24
24
|
if (e instanceof TypeError) {
|
|
25
25
|
return new Response("Invalid resource URL.", { status: 400 });
|
|
26
26
|
}
|
|
27
|
-
throw
|
|
27
|
+
throw e;
|
|
28
28
|
}
|
|
29
29
|
if (actorDispatcher == null) {
|
|
30
30
|
logger.error("Actor dispatcher is not set.");
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../src/runtime/contexts.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../src/runtime/contexts.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CA+nB9C,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|