@fedify/fedify 2.0.0-pr.434.1662 → 2.0.0-pr.435.1667
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-Dd2E4F9C.cjs → actor-C3gJhZJj.cjs} +187 -187
- package/dist/{actor-Dsla85Uq.js → actor-CnVfp1Hp.js} +187 -187
- package/dist/{actor-By5NMImS.js → actor-Cpal85xW.js} +1 -1
- package/dist/{assert_rejects-DiIiJbZn.js → assert_rejects-7UF4R_Qs.js} +1 -1
- package/dist/{assert_throws-BOO88avQ.js → assert_throws-53_pKeP3.js} +1 -1
- package/dist/{authdocloader-B28UEZlz.cjs → authdocloader-DPCGwidE.cjs} +3 -3
- package/dist/{authdocloader-CpmdBiRe.js → authdocloader-DWnwkjvZ.js} +3 -3
- package/dist/{authdocloader-lhbaj4KA.js → authdocloader-Df2BFefL.js} +3 -3
- package/dist/{builder-B6AupxqD.js → builder-CMxichO9.js} +4 -4
- package/dist/{client-KUXReLjS.js → client-BqyuOGiQ.js} +1 -1
- package/dist/compat/mod.d.cts +2 -2
- package/dist/compat/mod.d.ts +2 -2
- package/dist/compat/transformers.test.js +17 -18
- package/dist/{context-CQsAT7xk.d.ts → context-CDSZdQHD.d.ts} +1 -0
- package/dist/{context-tVOQ76fi.d.cts → context-Dq8aCtMH.d.cts} +1 -0
- package/dist/{docloader-NJZ5ADV3.cjs → docloader-B1O1Z5OK.cjs} +2 -2
- package/dist/{docloader-ZGKS1Zy-.js → docloader-xJVzq9O0.js} +2 -2
- package/dist/{esm-CIFbziGC.js → esm-BBznxjVc.js} +1 -1
- package/dist/federation/builder.test.js +10 -10
- package/dist/federation/collection.test.js +8 -8
- package/dist/federation/handler.test.js +145 -26
- package/dist/federation/inbox.test.js +6 -6
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +8 -8
- package/dist/federation/middleware.test.js +38 -255
- package/dist/federation/mod.cjs +10 -10
- package/dist/federation/mod.d.cts +1 -1
- package/dist/federation/mod.d.ts +1 -1
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +10 -10
- package/dist/federation/retry.test.js +5 -5
- package/dist/federation/router.test.js +8 -8
- package/dist/federation/send.test.js +15 -15
- package/dist/{http-BqSkbrGv.js → http-CovAm6we.js} +3 -3
- package/dist/{http-DH8DQz2-.cjs → http-Hw9HJp9i.cjs} +3 -3
- package/dist/{http-CCydyMoV.js → http-y7khnX5Q.js} +2 -2
- package/dist/{inbox-DH8TXk1f.js → inbox-DpcYOzs8.js} +1 -1
- package/dist/{key-cn3BcQaB.js → key-BRmlopJL.js} +2 -2
- package/dist/key-CV3FT32G.cjs +10 -0
- package/dist/{key-CYrKbGH0.cjs → key-CzF9SAEI.cjs} +2 -2
- package/dist/{key-B057bXm0.js → key-DORX19Bl.js} +2 -2
- package/dist/{key-3cqchRKs.js → key-jf6dIIF-.js} +3 -3
- package/dist/{key-HjvDY-QJ.js → key-lapZwBwG.js} +4 -4
- package/dist/{keycache-CB_VjDe0.js → keycache-AH1uj1j-.js} +1 -1
- package/dist/{keys-Dz9o2VwW.js → keys-B3fzLXBG.js} +1 -1
- package/dist/{ld-CxJe2x7_.js → ld-D3cq9xO1.js} +2 -2
- package/dist/{lookup-BZzUCUat.cjs → lookup-7u217Q3H.cjs} +1 -1
- package/dist/{lookup-q8DeFAjR.js → lookup-BrhURkmj.js} +1 -1
- package/dist/{lookup-Cc-KXO2K.js → lookup-CfU0DgLr.js} +1 -1
- package/dist/{middleware-DxS7Csvz.js → middleware-BDN7YoYJ.js} +130 -35
- package/dist/middleware-CV-OPMlZ.js +17 -0
- package/dist/middleware-DGqnaAbp.cjs +17 -0
- package/dist/{middleware-BvEwDOJ5.js → middleware-DXWUGrBQ.js} +63 -32
- package/dist/{middleware-DGvzxKjo.cjs → middleware-Gsxukxs5.cjs} +63 -32
- package/dist/middleware-cCdfTTMv.js +25 -0
- package/dist/{mod-DBQAI4v9.d.cts → mod-BhMnAkFX.d.cts} +1 -1
- package/dist/{mod-B26zRlH1.d.ts → mod-RI3-KvUI.d.ts} +1 -1
- package/dist/mod.cjs +10 -10
- package/dist/mod.d.cts +2 -2
- package/dist/mod.d.ts +2 -2
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +10 -10
- package/dist/nodeinfo/handler.test.js +22 -23
- package/dist/nodeinfo/mod.cjs +2 -2
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/types.test.js +8 -8
- package/dist/{owner-jwXilm3L.js → owner-NFlQJyvM.js} +2 -2
- package/dist/{proof-BE1A6Ct1.js → proof-Be1oOYEh.js} +3 -3
- package/dist/{proof-BzKiLsN7.cjs → proof-Gip91fK7.cjs} +3 -3
- package/dist/{proof-CHi36V0T.js → proof-ar9xgPWi.js} +2 -2
- package/dist/runtime/authdocloader.test.js +14 -14
- package/dist/runtime/docloader.test.js +9 -9
- package/dist/runtime/key.test.js +10 -10
- package/dist/runtime/langstr.test.js +8 -8
- package/dist/runtime/link.test.js +3 -3
- package/dist/runtime/mod.cjs +6 -6
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +8 -8
- package/dist/runtime/url.test.js +5 -5
- package/dist/{send-CwVrwo7j.js → send-DkwkMFjJ.js} +2 -2
- package/dist/sig/http.test.js +13 -13
- package/dist/sig/key.test.js +11 -11
- package/dist/sig/ld.test.js +10 -10
- package/dist/sig/mod.cjs +6 -6
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +12 -12
- package/dist/sig/proof.test.js +12 -12
- package/dist/testing/docloader.test.js +8 -8
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-Cqwzq9nj.js → testing-BMBhkcz9.js} +2 -2
- package/dist/{type-BSR-vRXo.js → type-FCer_9yh.js} +187 -187
- package/dist/{types-XMA_ABYQ.js → types-CNWeAz8v.js} +1 -1
- package/dist/{types-zwVAf9LF.cjs → types-CZ_qo9KW.cjs} +1 -1
- package/dist/vocab/actor.test.js +10 -10
- package/dist/vocab/lookup.test.js +9 -9
- package/dist/vocab/mod.cjs +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +9 -9
- package/dist/{vocab-Bj8iyEkG.cjs → vocab-9MjZjuZb.cjs} +3 -3
- package/dist/{vocab-BlOQWNvd.js → vocab-gpwUU9fc.js} +3 -3
- package/dist/webfinger/handler.test.js +22 -23
- package/dist/webfinger/lookup.test.js +9 -9
- package/dist/webfinger/mod.cjs +2 -2
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +8 -8
- package/dist/x/hono.d.cts +1 -1
- package/dist/x/hono.d.ts +1 -1
- package/dist/x/sveltekit.d.cts +1 -1
- package/dist/x/sveltekit.d.ts +1 -1
- package/package.json +1 -1
- package/dist/federation/negotiation.test.d.ts +0 -3
- package/dist/federation/negotiation.test.js +0 -28
- package/dist/key-Bom4W546.cjs +0 -10
- package/dist/middleware-B7yi4Uls.cjs +0 -17
- package/dist/middleware-DCdrZPxz.js +0 -17
- package/dist/middleware-DTjhpVrj.js +0 -26
- package/dist/negotiation-5NPJL6zp.js +0 -71
- /package/dist/{assert_is_error-BPGph1Jx.js → assert_is_error-B035L3om.js} +0 -0
- /package/dist/{assert_not_equals-f3m3epl3.js → assert_not_equals-C80BG-_5.js} +0 -0
- /package/dist/{denokv-Bv33Xxea.js → denokv-jZ0Z2h0M.js} +0 -0
- /package/dist/{retry-D4GJ670a.js → retry-CfF8Gn4d.js} +0 -0
- /package/dist/{std__assert-X-_kMxKM.js → std__assert-DWivtrGR.js} +0 -0
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-xJVzq9O0.js";
|
6
|
+
import "../actor-CnVfp1Hp.js";
|
7
|
+
import "../lookup-CfU0DgLr.js";
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-BRmlopJL.js";
|
9
|
+
import { signRequest, verifyRequest } from "../http-CovAm6we.js";
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-Be1oOYEh.js";
|
11
11
|
import "../sig-Cj3tk-ig.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-FCer_9yh.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-
|
15
|
-
import "../std__assert-
|
16
|
-
import { assertFalse } from "../assert_rejects-
|
17
|
-
import "../assert_is_error-
|
18
|
-
import "../assert_not_equals-
|
19
|
-
import "../assert_throws-
|
20
|
-
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-
|
10
|
+
import { lookupObject } from "../lookup-BrhURkmj.js";
|
11
|
+
import "../actor-Cpal85xW.js";
|
12
|
+
import "../key-DORX19Bl.js";
|
13
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-NFlQJyvM.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-BMBhkcz9.js";
|
15
|
+
import "../std__assert-DWivtrGR.js";
|
16
|
+
import { assertFalse } from "../assert_rejects-7UF4R_Qs.js";
|
17
|
+
import "../assert_is_error-B035L3om.js";
|
18
|
+
import "../assert_not_equals-C80BG-_5.js";
|
19
|
+
import "../assert_throws-53_pKeP3.js";
|
20
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-B3fzLXBG.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-FCer_9yh.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-
|
15
|
-
import "../std__assert-
|
16
|
-
import { assertRejects } from "../assert_rejects-
|
17
|
-
import "../assert_is_error-
|
18
|
-
import "../assert_not_equals-
|
19
|
-
import "../assert_throws-
|
20
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
10
|
+
import "../lookup-BrhURkmj.js";
|
11
|
+
import "../actor-Cpal85xW.js";
|
12
|
+
import "../key-DORX19Bl.js";
|
13
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-ar9xgPWi.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-BMBhkcz9.js";
|
15
|
+
import "../std__assert-DWivtrGR.js";
|
16
|
+
import { assertRejects } from "../assert_rejects-7UF4R_Qs.js";
|
17
|
+
import "../assert_is_error-B035L3om.js";
|
18
|
+
import "../assert_not_equals-C80BG-_5.js";
|
19
|
+
import "../assert_throws-53_pKeP3.js";
|
20
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-B3fzLXBG.js";
|
21
21
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
22
22
|
|
23
23
|
//#region src/sig/proof.test.ts
|
@@ -3,17 +3,17 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-FCer_9yh.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-
|
12
|
-
import "../std__assert-
|
13
|
-
import "../assert_rejects-
|
14
|
-
import "../assert_is_error-
|
15
|
-
import "../assert_not_equals-
|
16
|
-
import "../assert_throws-
|
10
|
+
import "../lookup-BrhURkmj.js";
|
11
|
+
import { mockDocumentLoader, test } from "../testing-BMBhkcz9.js";
|
12
|
+
import "../std__assert-DWivtrGR.js";
|
13
|
+
import "../assert_rejects-7UF4R_Qs.js";
|
14
|
+
import "../assert_is_error-B035L3om.js";
|
15
|
+
import "../assert_not_equals-C80BG-_5.js";
|
16
|
+
import "../assert_throws-53_pKeP3.js";
|
17
17
|
|
18
18
|
//#region src/testing/docloader.test.ts
|
19
19
|
test("mockDocumentLoader()", async () => {
|
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-FCer_9yh.js";
|
7
|
+
import "../lookup-BrhURkmj.js";
|
8
|
+
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-BMBhkcz9.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-FCer_9yh.js";
|
7
|
+
import { RouterError, lookupObject, traverseCollection } from "./lookup-BrhURkmj.js";
|
8
8
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
9
9
|
import { trace } from "@opentelemetry/api";
|
10
10
|
|