@fedify/fedify 1.9.0-pr.407.1534 → 1.9.0-pr.407.1544
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/dist/{actor-BtXVGKP0.js → actor-BY--uubW.js} +187 -187
- package/dist/{actor--RWk8U7y.js → actor-CeBu8hLy.js} +1 -1
- package/dist/{authdocloader-CCEPfYbM.js → authdocloader-C89pKQKE.js} +3 -3
- package/dist/{authdocloader-BvlomghW.js → authdocloader-jHzDqZo2.js} +3 -3
- package/dist/{builder-CyAO64hM.js → builder-ClMKBUks.js} +4 -4
- package/dist/{client-BkJzpfxX.js → client-DB3mC1oJ.js} +1 -1
- package/dist/compat/mod.d.ts +2 -2
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-DVj2muD8.d.ts → context-DFruNLny.d.ts} +2 -1
- package/dist/{docloader-BHz5g5bm.js → docloader-BJTPo7_i.js} +1 -1
- package/dist/{esm-DnhcsUVs.js → esm-BjUpSZdQ.js} +1 -1
- package/dist/federation/builder.test.js +5 -5
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +17 -17
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +3 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/mod.d.ts +1 -1
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/retry.test.js +3 -3
- package/dist/federation/router.test.js +3 -3
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-BIujnZwQ.js → http-3pAI0mqb.js} +2 -2
- package/dist/{http-BpHQueqk.js → http-sU0Wj-tv.js} +3 -3
- package/dist/{inbox-Cd5_U3Lo.js → inbox-Dg825gXU.js} +1 -1
- package/dist/{key-Blr5jERt.js → key-BWgRsIwz.js} +3 -3
- package/dist/{key-BdsVh9ed.js → key-RzI0hV7H.js} +2 -2
- package/dist/{key-BbDSD_oC.js → key-_XZAOE9D.js} +4 -4
- package/dist/{key-DsNVa_ym.js → key-l5QMtRss.js} +2 -2
- package/dist/{keycache-BZuhN3b9.js → keycache-BGlP5YTm.js} +1 -1
- package/dist/{keys-CZ6swT6G.js → keys-BRbwmdDJ.js} +1 -1
- package/dist/{ld-DZOgq57Q.js → ld-C9E9DPBz.js} +2 -2
- package/dist/{lookup-1KgnivW2.js → lookup-CN62_yPh.js} +1 -1
- package/dist/{lookup-CNygDYHo.js → lookup-oZxe6kZr.js} +1 -1
- package/dist/middleware-Ccahu3ql.js +26 -0
- package/dist/{middleware-BK-T6tnP.js → middleware-extU7qDB.js} +10 -10
- package/dist/middleware-fO804EqJ.js +17 -0
- package/dist/{middleware-B8ydIBpr.js → middleware-jQ1GPh2U.js} +13 -13
- package/dist/{mod-03BD3nAN.d.ts → mod-CiXjux2r.d.ts} +1 -1
- package/dist/mod.d.ts +2 -2
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-Cf1mBkTp.js → owner-B836JKuZ.js} +2 -2
- package/dist/{proof-D5ItfS5K.js → proof-D63mA1Rv.js} +2 -2
- package/dist/{proof-DvH9HJ6Z.js → proof-DLwnfKak.js} +3 -3
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-D4iptjnu.js → send-CE9GFSCd.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.d.ts +2 -1
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-Bar9hqvk.js → testing-B2tgn0a4.js} +2 -2
- package/dist/{type-CB3t2wsO.js → type-OboVsUha.js} +186 -186
- package/dist/{types-jcLTjdQt.js → types-BLr6AjjI.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +4 -4
- package/dist/{vocab-uAzM0lRh.js → vocab-Z7alheNv.js} +3 -3
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.ts +1 -1
- package/dist/x/sveltekit.d.ts +1 -1
- package/package.json +1 -1
- package/dist/middleware-BlPjbk-m.js +0 -17
- package/dist/middleware-BoCACPtF.js +0 -26
package/dist/sig/ld.test.js
CHANGED
@@ -3,18 +3,18 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey } from "../type-
|
6
|
+
import { CryptographicKey } from "../type-OboVsUha.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
|
-
import "../lookup-
|
10
|
-
import "../actor
|
11
|
-
import { generateCryptoKeyPair } from "../key-
|
12
|
-
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
9
|
+
import "../lookup-oZxe6kZr.js";
|
10
|
+
import "../actor-CeBu8hLy.js";
|
11
|
+
import { generateCryptoKeyPair } from "../key-RzI0hV7H.js";
|
12
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-C9E9DPBz.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-B2tgn0a4.js";
|
14
14
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
16
16
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
17
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
17
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-BRbwmdDJ.js";
|
18
18
|
import { encodeBase64 } from "byte-encodings/base64";
|
19
19
|
|
20
20
|
//#region src/sig/ld.test.ts
|
package/dist/sig/mod.js
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../docloader-
|
6
|
-
import "../actor-
|
7
|
-
import "../lookup-
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-
|
9
|
-
import { signRequest, verifyRequest } from "../http-
|
10
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-
|
5
|
+
import "../docloader-BJTPo7_i.js";
|
6
|
+
import "../actor-BY--uubW.js";
|
7
|
+
import "../lookup-CN62_yPh.js";
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-l5QMtRss.js";
|
9
|
+
import { signRequest, verifyRequest } from "../http-sU0Wj-tv.js";
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-DLwnfKak.js";
|
11
11
|
import "../sig-BXJO--F9.js";
|
12
12
|
|
13
13
|
export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/sig/owner.test.js
CHANGED
@@ -3,21 +3,21 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create } from "../type-
|
6
|
+
import { Create } from "../type-OboVsUha.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import { lookupObject } from "../lookup-
|
11
|
-
import "../actor
|
12
|
-
import "../key-
|
13
|
-
import { doesActorOwnKey, getKeyOwner } from "../owner-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import { lookupObject } from "../lookup-oZxe6kZr.js";
|
11
|
+
import "../actor-CeBu8hLy.js";
|
12
|
+
import "../key-RzI0hV7H.js";
|
13
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-B836JKuZ.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-B2tgn0a4.js";
|
15
15
|
import "../std__assert-X-_kMxKM.js";
|
16
16
|
import { assertFalse } from "../assert_rejects-DiIiJbZn.js";
|
17
17
|
import "../assert_is_error-BPGph1Jx.js";
|
18
18
|
import "../assert_not_equals-f3m3epl3.js";
|
19
19
|
import "../assert_throws-BOO88avQ.js";
|
20
|
-
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-
|
20
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-BRbwmdDJ.js";
|
21
21
|
|
22
22
|
//#region src/sig/owner.test.ts
|
23
23
|
test("doesActorOwnKey()", async () => {
|
package/dist/sig/proof.test.js
CHANGED
@@ -3,21 +3,21 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create, DataIntegrityProof, Multikey, Note, Place, decode, importMultibaseKey } from "../type-
|
6
|
+
import { Create, DataIntegrityProof, Multikey, Note, Place, decode, importMultibaseKey } from "../type-OboVsUha.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../lookup-
|
11
|
-
import "../actor
|
12
|
-
import "../key-
|
13
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-oZxe6kZr.js";
|
11
|
+
import "../actor-CeBu8hLy.js";
|
12
|
+
import "../key-RzI0hV7H.js";
|
13
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-D63mA1Rv.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-B2tgn0a4.js";
|
15
15
|
import "../std__assert-X-_kMxKM.js";
|
16
16
|
import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
17
17
|
import "../assert_is_error-BPGph1Jx.js";
|
18
18
|
import "../assert_not_equals-f3m3epl3.js";
|
19
19
|
import "../assert_throws-BOO88avQ.js";
|
20
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
20
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-BRbwmdDJ.js";
|
21
21
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
22
22
|
|
23
23
|
//#region src/sig/proof.test.ts
|
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-OboVsUha.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../lookup-
|
11
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-oZxe6kZr.js";
|
11
|
+
import { mockDocumentLoader, test } from "../testing-B2tgn0a4.js";
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
13
13
|
import "../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
package/dist/testing/mod.d.ts
CHANGED
@@ -7085,7 +7085,8 @@ type NodeInfoDispatcher<TContextData> = (context: RequestContext<TContextData>)
|
|
7085
7085
|
* A callback that dispatches a array of {@link Link}.
|
7086
7086
|
*
|
7087
7087
|
* @template TContextData The context data to pass to the {@link Context}.
|
7088
|
-
* @param resource The URL
|
7088
|
+
* @param resource The URL queried via WebFinger.
|
7089
|
+
* @returns Links related to the queried resource.
|
7089
7090
|
*/
|
7090
7091
|
type WebFingerLinksDispatcher<TContextData> = (context: RequestContext<TContextData>, resource: URL) => readonly Link$1[] | Promise<readonly Link$1[]>;
|
7091
7092
|
/**
|
package/dist/testing/mod.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
7
|
-
import "../lookup-
|
8
|
-
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-
|
6
|
+
import "../type-OboVsUha.js";
|
7
|
+
import "../lookup-oZxe6kZr.js";
|
8
|
+
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-B2tgn0a4.js";
|
9
9
|
|
10
10
|
export { createInboxContext, createRequestContext, test, testDefinitions };
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { __require, lookupWebFinger } from "./type-
|
7
|
-
import { RouterError, lookupObject, traverseCollection } from "./lookup-
|
6
|
+
import { __require, lookupWebFinger } from "./type-OboVsUha.js";
|
7
|
+
import { RouterError, lookupObject, traverseCollection } from "./lookup-oZxe6kZr.js";
|
8
8
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
9
9
|
import { trace } from "@opentelemetry/api";
|
10
10
|
|