@fedify/fedify 1.7.9 → 1.7.10
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-lW38sC2T.js → actor-C9RnX-Fl.js} +3 -3
- package/dist/{actor-BdEyRHSu.js → actor-m_MgQ1Da.js} +179 -179
- package/dist/{authdocloader-DNjankdO.js → authdocloader-7OXAs5XI.js} +3 -3
- package/dist/{authdocloader-DYTQwADG.js → authdocloader-cdK4XSRT.js} +3 -3
- package/dist/{builder-CngxHTRi.js → builder-C7nJE1zO.js} +3 -3
- package/dist/{client-BNeCIx9P.js → client-DXIsEekV.js} +1 -1
- package/dist/compat/transformers.test.d.ts +2 -1
- package/dist/compat/transformers.test.js +19 -18
- package/dist/{context-lumX0ZHV.js → context-Bts52fbz.js} +2 -2
- package/dist/{docloader-C2i2VJR7.js → docloader-BK2Fp3AJ.js} +2 -2
- package/dist/{docloader-BpoDr2rw.js → docloader-CgkbWVNz.js} +2 -2
- package/dist/federation/builder.test.d.ts +2 -1
- package/dist/federation/builder.test.js +6 -5
- package/dist/federation/collection.test.d.ts +2 -1
- package/dist/federation/collection.test.js +2 -1
- package/dist/federation/handler.test.d.ts +2 -1
- package/dist/federation/handler.test.js +21 -20
- package/dist/federation/inbox.test.d.ts +2 -1
- package/dist/federation/inbox.test.js +5 -4
- package/dist/federation/keycache.test.d.ts +2 -1
- package/dist/federation/keycache.test.js +5 -4
- package/dist/federation/kv.test.d.ts +2 -1
- package/dist/federation/kv.test.js +2 -1
- package/dist/federation/middleware.test.d.ts +2 -1
- package/dist/federation/middleware.test.js +20 -19
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.d.ts +2 -1
- package/dist/federation/mq.test.js +2 -1
- package/dist/federation/retry.test.d.ts +2 -1
- package/dist/federation/retry.test.js +2 -1
- package/dist/federation/router.test.d.ts +2 -1
- package/dist/federation/router.test.js +2 -1
- package/dist/federation/send.test.d.ts +2 -1
- package/dist/federation/send.test.js +11 -10
- package/dist/{http-BiXP97Mg.js → http-CwQqD0nE.js} +3 -3
- package/dist/{http-Bf73Pc8n.js → http-D1IBucdD.js} +3 -3
- package/dist/{inbox-B6bABfWF.js → inbox-BrMkm2b5.js} +2 -2
- package/dist/{key-BkcDQGWw.js → key-C6phFgFq.js} +2 -2
- package/dist/{key-B4FI9Pmx.js → key-Do-Pud3s.js} +4 -4
- package/dist/{key-CVu3UHNk.js → key-DtQ4rLnr.js} +3 -3
- package/dist/{key-sU83wJ27.js → key-ZtjFeVO8.js} +5 -5
- package/dist/{keycache-CbYZZGcu.js → keycache-B_99o7Nj.js} +1 -1
- package/dist/{keys-DERJJq0n.js → keys-BgLpfFXK.js} +1 -1
- package/dist/{ld-DwQsszWL.js → ld-AzOj4-js.js} +3 -3
- package/dist/{lookup-Ck4rDA0d.js → lookup-CBbanOdu.js} +3 -3
- package/dist/{lookup-MomtMbVM.js → lookup-ChtUDlB-.js} +1 -1
- package/dist/{lookup-i_xNGJhe.js → lookup-DJgGrigh.js} +1 -1
- package/dist/{middleware-DtP_z9I6.js → middleware-BS_et69x.js} +15 -15
- package/dist/middleware-BVMzYv1x.js +33 -0
- package/dist/middleware-CnpuCK_K.js +17 -0
- package/dist/{middleware-BPdRnvp4.js → middleware-R0UobiAQ.js} +10 -10
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.d.ts +2 -1
- package/dist/nodeinfo/client.test.js +4 -3
- package/dist/nodeinfo/handler.test.d.ts +2 -1
- package/dist/nodeinfo/handler.test.js +20 -19
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.d.ts +2 -1
- package/dist/nodeinfo/semver.test.js +2 -1
- package/dist/nodeinfo/types.test.d.ts +2 -1
- package/dist/nodeinfo/types.test.js +2 -1
- package/dist/{owner-7iBuSVl4.js → owner-Ces3Cs3s.js} +3 -3
- package/dist/{proof-CtoF37-N.js → proof-BKV4HiE8.js} +3 -3
- package/dist/{proof-W7ADUBT9.js → proof-BOQF8Trx.js} +3 -3
- package/dist/runtime/authdocloader.test.d.ts +2 -1
- package/dist/runtime/authdocloader.test.js +10 -9
- package/dist/runtime/docloader.test.d.ts +2 -1
- package/dist/runtime/docloader.test.js +27 -2
- package/dist/runtime/key.test.d.ts +2 -1
- package/dist/runtime/key.test.js +7 -6
- package/dist/runtime/langstr.test.d.ts +2 -1
- package/dist/runtime/langstr.test.js +2 -1
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.d.ts +2 -1
- package/dist/runtime/multibase/multibase.test.js +2 -1
- package/dist/runtime/url.test.d.ts +2 -1
- package/dist/runtime/url.test.js +2 -1
- package/dist/{send-CaHCB-Kf.js → send-aAmnTqe8.js} +2 -2
- package/dist/sig/http.test.d.ts +2 -1
- package/dist/sig/http.test.js +9 -8
- package/dist/sig/key.test.d.ts +2 -1
- package/dist/sig/key.test.js +8 -7
- package/dist/sig/ld.test.d.ts +2 -1
- package/dist/sig/ld.test.js +9 -8
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.d.ts +2 -1
- package/dist/sig/owner.test.js +10 -9
- package/dist/sig/proof.test.d.ts +2 -1
- package/dist/sig/proof.test.js +9 -8
- package/dist/testing/docloader.test.d.ts +2 -1
- package/dist/testing/docloader.test.js +2 -1
- package/dist/{types-CJqlYa9v.js → types-DBIKpLqH.js} +1 -1
- package/dist/vocab/actor.test.d.ts +2 -1
- package/dist/vocab/actor.test.js +6 -6
- package/dist/vocab/lookup.test.d.ts +2 -1
- package/dist/vocab/lookup.test.js +6 -5
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.d.ts +2 -1
- package/dist/vocab/type.test.js +4 -3
- package/dist/vocab/vocab.test.d.ts +2 -1
- package/dist/vocab/vocab.test.js +19 -18
- package/dist/{vocab-b9IZeAzb.js → vocab-BOerhowX.js} +178 -178
- package/dist/{vocab-C9CPkYQi.js → vocab-F6vbRsQh.js} +3 -3
- package/dist/webfinger/handler.test.d.ts +2 -1
- package/dist/webfinger/handler.test.js +20 -19
- package/dist/webfinger/lookup.test.d.ts +2 -1
- package/dist/webfinger/lookup.test.js +4 -3
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.d.ts +2 -1
- package/dist/x/cfworkers.test.js +2 -1
- package/package.json +1 -1
- package/dist/middleware-BXEwpPLe.js +0 -17
- package/dist/middleware-DAbjdD1U.js +0 -33
package/dist/runtime/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 { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-
|
|
6
|
-
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-
|
|
7
|
-
import "../lookup-
|
|
8
|
-
import "../key-
|
|
9
|
-
import "../http-
|
|
10
|
-
import { getAuthenticatedDocumentLoader } from "../authdocloader-
|
|
5
|
+
import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-BK2Fp3AJ.js";
|
|
6
|
+
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-m_MgQ1Da.js";
|
|
7
|
+
import "../lookup-DJgGrigh.js";
|
|
8
|
+
import "../key-C6phFgFq.js";
|
|
9
|
+
import "../http-CwQqD0nE.js";
|
|
10
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-cdK4XSRT.js";
|
|
11
11
|
import "../runtime-BSkOVUWM.js";
|
|
12
12
|
|
|
13
13
|
export { FetchError, LanguageString, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
|
package/dist/runtime/url.test.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./docloader-
|
|
7
|
-
import { doubleKnock } from "./http-
|
|
6
|
+
import { deno_default } from "./docloader-CgkbWVNz.js";
|
|
7
|
+
import { doubleKnock } from "./http-D1IBucdD.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
|
package/dist/sig/http.test.d.ts
CHANGED
package/dist/sig/http.test.js
CHANGED
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
|
7
7
|
import { assert } from "../assert-DmFG7ppO.js";
|
|
8
8
|
import "../assert_instance_of-CF09JHYM.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-CgkbWVNz.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { exportSpki } from "../vocab-
|
|
12
|
+
import { exportSpki } from "../vocab-BOerhowX.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-ChtUDlB-.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import "../actor-
|
|
17
|
-
import { exportJwk } from "../key-
|
|
18
|
-
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-
|
|
16
|
+
import "../actor-C9RnX-Fl.js";
|
|
17
|
+
import { exportJwk } from "../key-DtQ4rLnr.js";
|
|
18
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-D1IBucdD.js";
|
|
19
19
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
20
20
|
import { assertExists, assertStringIncludes } from "../std__assert-vp0TKMS1.js";
|
|
21
21
|
import { assertFalse } from "../assert_rejects-C-sxEMM5.js";
|
|
@@ -23,7 +23,7 @@ import "../assert_is_error-nrwA1GeT.js";
|
|
|
23
23
|
import "../assert_not_equals-Dc7y-V5Q.js";
|
|
24
24
|
import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
|
|
25
25
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
26
|
-
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-
|
|
26
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-BgLpfFXK.js";
|
|
27
27
|
import { esm_default } from "../esm-Db4De7AS.js";
|
|
28
28
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
29
29
|
|
|
@@ -1183,4 +1183,5 @@ test("doubleKnock() regression test for redirect handling bug", async () => {
|
|
|
1183
1183
|
esm_default.hardReset();
|
|
1184
1184
|
});
|
|
1185
1185
|
|
|
1186
|
-
//#endregion
|
|
1186
|
+
//#endregion
|
|
1187
|
+
export { };
|
package/dist/sig/key.test.d.ts
CHANGED
package/dist/sig/key.test.js
CHANGED
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
|
7
7
|
import "../assert-DmFG7ppO.js";
|
|
8
8
|
import "../assert_instance_of-CF09JHYM.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-CgkbWVNz.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { CryptographicKey, Multikey } from "../vocab-
|
|
12
|
+
import { CryptographicKey, Multikey } from "../vocab-BOerhowX.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-ChtUDlB-.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import "../actor-
|
|
17
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
|
16
|
+
import "../actor-C9RnX-Fl.js";
|
|
17
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-DtQ4rLnr.js";
|
|
18
18
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
19
19
|
import "../std__assert-vp0TKMS1.js";
|
|
20
20
|
import { assertRejects } from "../assert_rejects-C-sxEMM5.js";
|
|
@@ -22,7 +22,7 @@ import "../assert_is_error-nrwA1GeT.js";
|
|
|
22
22
|
import "../assert_not_equals-Dc7y-V5Q.js";
|
|
23
23
|
import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
|
|
24
24
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
25
|
-
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
|
25
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-BgLpfFXK.js";
|
|
26
26
|
|
|
27
27
|
//#region sig/key.test.ts
|
|
28
28
|
test("validateCryptoKey()", async () => {
|
|
@@ -252,4 +252,5 @@ test("fetchKey()", async () => {
|
|
|
252
252
|
});
|
|
253
253
|
});
|
|
254
254
|
|
|
255
|
-
//#endregion
|
|
255
|
+
//#endregion
|
|
256
|
+
export { };
|
package/dist/sig/ld.test.d.ts
CHANGED
package/dist/sig/ld.test.js
CHANGED
|
@@ -5,22 +5,22 @@
|
|
|
5
5
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
|
7
7
|
import { assert } from "../assert-DmFG7ppO.js";
|
|
8
|
-
import "../docloader-
|
|
8
|
+
import "../docloader-CgkbWVNz.js";
|
|
9
9
|
import "../url-kTAI6_KP.js";
|
|
10
10
|
import "../multibase-DeCHcK8L.js";
|
|
11
|
-
import { CryptographicKey } from "../vocab-
|
|
11
|
+
import { CryptographicKey } from "../vocab-BOerhowX.js";
|
|
12
12
|
import "../langstr-DbWheeIS.js";
|
|
13
|
-
import "../lookup-
|
|
13
|
+
import "../lookup-ChtUDlB-.js";
|
|
14
14
|
import "../type-D2s5lmbZ.js";
|
|
15
|
-
import "../actor-
|
|
16
|
-
import { generateCryptoKeyPair } from "../key-
|
|
17
|
-
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-
|
|
15
|
+
import "../actor-C9RnX-Fl.js";
|
|
16
|
+
import { generateCryptoKeyPair } from "../key-DtQ4rLnr.js";
|
|
17
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-AzOj4-js.js";
|
|
18
18
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
19
19
|
import { assertFalse, assertRejects } from "../assert_rejects-C-sxEMM5.js";
|
|
20
20
|
import "../assert_is_error-nrwA1GeT.js";
|
|
21
21
|
import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
|
|
22
22
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
23
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
|
23
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-BgLpfFXK.js";
|
|
24
24
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
25
25
|
|
|
26
26
|
//#region sig/ld.test.ts
|
|
@@ -229,4 +229,5 @@ test("verifyJsonLd()", async () => {
|
|
|
229
229
|
assertFalse(verified2);
|
|
230
230
|
});
|
|
231
231
|
|
|
232
|
-
//#endregion
|
|
232
|
+
//#endregion
|
|
233
|
+
export { };
|
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-BK2Fp3AJ.js";
|
|
6
|
+
import "../actor-m_MgQ1Da.js";
|
|
7
|
+
import "../lookup-DJgGrigh.js";
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-C6phFgFq.js";
|
|
9
|
+
import { signRequest, verifyRequest } from "../http-CwQqD0nE.js";
|
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-BKV4HiE8.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.d.ts
CHANGED
package/dist/sig/owner.test.js
CHANGED
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
|
7
7
|
import { assert } from "../assert-DmFG7ppO.js";
|
|
8
8
|
import "../assert_instance_of-CF09JHYM.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-CgkbWVNz.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { Create } from "../vocab-
|
|
12
|
+
import { Create } from "../vocab-BOerhowX.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-ChtUDlB-.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import "../actor-
|
|
17
|
-
import "../key-
|
|
18
|
-
import { doesActorOwnKey, getKeyOwner } from "../owner-
|
|
19
|
-
import { lookupObject } from "../lookup-
|
|
16
|
+
import "../actor-C9RnX-Fl.js";
|
|
17
|
+
import "../key-DtQ4rLnr.js";
|
|
18
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-Ces3Cs3s.js";
|
|
19
|
+
import { lookupObject } from "../lookup-CBbanOdu.js";
|
|
20
20
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
21
21
|
import "../std__assert-vp0TKMS1.js";
|
|
22
22
|
import { assertFalse } from "../assert_rejects-C-sxEMM5.js";
|
|
@@ -24,7 +24,7 @@ import "../assert_is_error-nrwA1GeT.js";
|
|
|
24
24
|
import "../assert_not_equals-Dc7y-V5Q.js";
|
|
25
25
|
import "../assert_throws-Cn9C6Jur.js";
|
|
26
26
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
27
|
-
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-
|
|
27
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-BgLpfFXK.js";
|
|
28
28
|
|
|
29
29
|
//#region sig/owner.test.ts
|
|
30
30
|
test("doesActorOwnKey()", async () => {
|
|
@@ -56,4 +56,5 @@ test("getKeyOwner()", async () => {
|
|
|
56
56
|
assertEquals(noOwner2, null);
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
//#endregion
|
|
59
|
+
//#endregion
|
|
60
|
+
export { };
|
package/dist/sig/proof.test.d.ts
CHANGED
package/dist/sig/proof.test.js
CHANGED
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
|
7
7
|
import "../assert-DmFG7ppO.js";
|
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-CF09JHYM.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-CgkbWVNz.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import { decode } from "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { Create, DataIntegrityProof, Multikey, Note, Place, importMultibaseKey } from "../vocab-
|
|
12
|
+
import { Create, DataIntegrityProof, Multikey, Note, Place, importMultibaseKey } from "../vocab-BOerhowX.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-ChtUDlB-.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import "../actor-
|
|
17
|
-
import "../key-
|
|
18
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
|
16
|
+
import "../actor-C9RnX-Fl.js";
|
|
17
|
+
import "../key-DtQ4rLnr.js";
|
|
18
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-BOQF8Trx.js";
|
|
19
19
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
20
20
|
import "../std__assert-vp0TKMS1.js";
|
|
21
21
|
import { assertRejects } from "../assert_rejects-C-sxEMM5.js";
|
|
@@ -23,7 +23,7 @@ import "../assert_is_error-nrwA1GeT.js";
|
|
|
23
23
|
import "../assert_not_equals-Dc7y-V5Q.js";
|
|
24
24
|
import "../assert_throws-Cn9C6Jur.js";
|
|
25
25
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
26
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
|
26
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-BgLpfFXK.js";
|
|
27
27
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
|
28
28
|
|
|
29
29
|
//#region sig/proof.test.ts
|
|
@@ -272,4 +272,5 @@ test("verifyObject()", async () => {
|
|
|
272
272
|
assertEquals(note.content, "Hello world");
|
|
273
273
|
});
|
|
274
274
|
|
|
275
|
-
//#endregion
|
|
275
|
+
//#endregion
|
|
276
|
+
export { };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { getUserAgent } from "./docloader-
|
|
5
|
+
import { getUserAgent } from "./docloader-BK2Fp3AJ.js";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
|
|
8
8
|
//#region nodeinfo/semver.ts
|
package/dist/vocab/actor.test.js
CHANGED
|
@@ -7,14 +7,14 @@ import { __export } from "../chunk-HsBuZ-b2.js";
|
|
|
7
7
|
import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
|
8
8
|
import { assert } from "../assert-DmFG7ppO.js";
|
|
9
9
|
import "../assert_instance_of-CF09JHYM.js";
|
|
10
|
-
import "../docloader-
|
|
10
|
+
import "../docloader-CgkbWVNz.js";
|
|
11
11
|
import "../url-kTAI6_KP.js";
|
|
12
12
|
import "../multibase-DeCHcK8L.js";
|
|
13
|
-
import { Application, Group, Organization, Person, Service } from "../vocab-
|
|
13
|
+
import { Application, Group, Organization, Person, Service } from "../vocab-BOerhowX.js";
|
|
14
14
|
import "../langstr-DbWheeIS.js";
|
|
15
|
-
import "../lookup-
|
|
15
|
+
import "../lookup-ChtUDlB-.js";
|
|
16
16
|
import "../type-D2s5lmbZ.js";
|
|
17
|
-
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-
|
|
17
|
+
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-C9RnX-Fl.js";
|
|
18
18
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
19
19
|
import { assertStrictEquals } from "../std__assert-vp0TKMS1.js";
|
|
20
20
|
import { assertFalse, assertRejects } from "../assert_rejects-C-sxEMM5.js";
|
|
@@ -5382,7 +5382,6 @@ const safeNegativeInfinity = Number.NEGATIVE_INFINITY;
|
|
|
5382
5382
|
const safePositiveInfinity = Number.POSITIVE_INFINITY;
|
|
5383
5383
|
const safeNaN = NaN;
|
|
5384
5384
|
function safeFloatToIndex(f, constraintsLabel) {
|
|
5385
|
-
const conversionTrick = "you can convert any double to a 32-bit float by using `Math.fround(myDouble)`";
|
|
5386
5385
|
const errorMessage = "fc.float constraints." + constraintsLabel + " must be a 32-bit float - you can convert any double to a 32-bit float by using `Math.fround(myDouble)`";
|
|
5387
5386
|
if (safeNumberIsNaN(f) || safeMathFround(f) !== f) throw new Error(errorMessage);
|
|
5388
5387
|
return floatToIndex(f);
|
|
@@ -5959,4 +5958,5 @@ test("normalizeActorHandle()", () => {
|
|
|
5959
5958
|
assertThrows(() => normalizeActorHandle("@foo@bar.com@baz.com"));
|
|
5960
5959
|
});
|
|
5961
5960
|
|
|
5962
|
-
//#endregion
|
|
5961
|
+
//#endregion
|
|
5962
|
+
export { };
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
|
7
7
|
import "../assert-DmFG7ppO.js";
|
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-CF09JHYM.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-CgkbWVNz.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { Collection, Note, Object as Object$1, Person } from "../vocab-
|
|
12
|
+
import { Collection, Note, Object as Object$1, Person } from "../vocab-BOerhowX.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-ChtUDlB-.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import { lookupObject, traverseCollection } from "../lookup-
|
|
16
|
+
import { lookupObject, traverseCollection } from "../lookup-CBbanOdu.js";
|
|
17
17
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
18
18
|
import "../std__assert-vp0TKMS1.js";
|
|
19
19
|
import "../assert_rejects-C-sxEMM5.js";
|
|
@@ -118,4 +118,5 @@ test("traverseCollection()", async () => {
|
|
|
118
118
|
]);
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
//#endregion
|
|
121
|
+
//#endregion
|
|
122
|
+
export { };
|
package/dist/vocab/mod.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "../docloader-
|
|
6
|
-
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-
|
|
7
|
-
import "../lookup-
|
|
8
|
-
import { PUBLIC_COLLECTION, lookupObject, traverseCollection } from "../vocab-
|
|
5
|
+
import "../docloader-BK2Fp3AJ.js";
|
|
6
|
+
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-m_MgQ1Da.js";
|
|
7
|
+
import "../lookup-DJgGrigh.js";
|
|
8
|
+
import { PUBLIC_COLLECTION, lookupObject, traverseCollection } from "../vocab-F6vbRsQh.js";
|
|
9
9
|
|
|
10
10
|
export { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, lookupObject, normalizeActorHandle, traverseCollection };
|
package/dist/vocab/type.test.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
|
7
|
-
import "../docloader-
|
|
7
|
+
import "../docloader-CgkbWVNz.js";
|
|
8
8
|
import "../url-kTAI6_KP.js";
|
|
9
9
|
import "../multibase-DeCHcK8L.js";
|
|
10
|
-
import { Person } from "../vocab-
|
|
10
|
+
import { Person } from "../vocab-BOerhowX.js";
|
|
11
11
|
import "../langstr-DbWheeIS.js";
|
|
12
12
|
import { getTypeId } from "../type-D2s5lmbZ.js";
|
|
13
13
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
@@ -26,4 +26,5 @@ test("getTypeId()", () => {
|
|
|
26
26
|
assertEquals(getTypeId(obj5), void 0);
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
//#endregion
|
|
29
|
+
//#endregion
|
|
30
|
+
export { };
|
package/dist/vocab/vocab.test.js
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
import { assertEquals, isWindows } from "../assert_equals-CTYbeopb.js";
|
|
7
7
|
import { assert } from "../assert-DmFG7ppO.js";
|
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-CF09JHYM.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-CgkbWVNz.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import { decode } from "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../vocab-
|
|
12
|
+
import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../vocab-BOerhowX.js";
|
|
13
13
|
import { LanguageString } from "../langstr-DbWheeIS.js";
|
|
14
14
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
15
15
|
import "../std__assert-vp0TKMS1.js";
|
|
@@ -18,20 +18,20 @@ import "../assert_is_error-nrwA1GeT.js";
|
|
|
18
18
|
import { assertNotEquals } from "../assert_not_equals-Dc7y-V5Q.js";
|
|
19
19
|
import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
|
|
20
20
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
21
|
-
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-
|
|
21
|
+
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-BgLpfFXK.js";
|
|
22
22
|
import { pascalCase } from "@es-toolkit/es-toolkit";
|
|
23
23
|
import { parseLanguageTag } from "@phensley/language-tag";
|
|
24
24
|
import { Validator } from "@cfworker/json-schema";
|
|
25
25
|
import { readFile, readdir } from "node:fs/promises";
|
|
26
26
|
import { join } from "node:path";
|
|
27
27
|
|
|
28
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
28
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/assert_path.js
|
|
29
29
|
function assertPath(path) {
|
|
30
30
|
if (typeof path !== "string") throw new TypeError(`Path must be a string, received "${JSON.stringify(path)}"`);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
34
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/from_file_url.js
|
|
35
35
|
function assertArg$2(url) {
|
|
36
36
|
url = url instanceof URL ? url : new URL(url);
|
|
37
37
|
if (url.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${url.protocol}"`);
|
|
@@ -39,7 +39,7 @@ function assertArg$2(url) {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
//#endregion
|
|
42
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
42
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/from_file_url.js
|
|
43
43
|
/**
|
|
44
44
|
* Converts a file URL to a path string.
|
|
45
45
|
*
|
|
@@ -59,7 +59,7 @@ function assertArg$2(url) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
//#endregion
|
|
62
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
62
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/strip_trailing_separators.js
|
|
63
63
|
function stripTrailingSeparators(segment, isSep) {
|
|
64
64
|
if (segment.length <= 1) return segment;
|
|
65
65
|
let end = segment.length;
|
|
@@ -69,18 +69,18 @@ function stripTrailingSeparators(segment, isSep) {
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
//#endregion
|
|
72
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
72
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/constants.js
|
|
73
73
|
const CHAR_DOT = 46;
|
|
74
74
|
const CHAR_FORWARD_SLASH = 47;
|
|
75
75
|
|
|
76
76
|
//#endregion
|
|
77
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
77
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/_util.js
|
|
78
78
|
function isPosixPathSeparator(code) {
|
|
79
79
|
return code === CHAR_FORWARD_SLASH;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
//#endregion
|
|
83
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
83
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/windows/from_file_url.js
|
|
84
84
|
/**
|
|
85
85
|
* Converts a file URL to a path string.
|
|
86
86
|
*
|
|
@@ -104,14 +104,14 @@ function isPosixPathSeparator(code) {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
//#endregion
|
|
107
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
107
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/dirname.js
|
|
108
108
|
function assertArg$1(path) {
|
|
109
109
|
assertPath(path);
|
|
110
110
|
if (path.length === 0) return ".";
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
//#endregion
|
|
114
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
114
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/dirname.js
|
|
115
115
|
/**
|
|
116
116
|
* Return the directory path of a `path`.
|
|
117
117
|
*
|
|
@@ -155,7 +155,7 @@ function assertArg$1(path) {
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
//#endregion
|
|
158
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
158
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/from_file_url.js
|
|
159
159
|
/**
|
|
160
160
|
* Converts a file URL to a path string.
|
|
161
161
|
*
|
|
@@ -180,14 +180,14 @@ function assertArg$1(path) {
|
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
//#endregion
|
|
183
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
183
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/normalize.js
|
|
184
184
|
function assertArg(path) {
|
|
185
185
|
assertPath(path);
|
|
186
186
|
if (path.length === 0) return ".";
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
//#endregion
|
|
190
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
190
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/normalize_string.js
|
|
191
191
|
function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
192
192
|
let res = "";
|
|
193
193
|
let lastSegmentLength = 0;
|
|
@@ -240,7 +240,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
//#endregion
|
|
243
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
243
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/normalize.js
|
|
244
244
|
/**
|
|
245
245
|
* Normalize the `path`, resolving `'..'` and `'.'` segments.
|
|
246
246
|
* Note that resolving these segments does not necessarily mean that all will be eliminated.
|
|
@@ -288,7 +288,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
//#endregion
|
|
291
|
-
//#region node_modules/.pnpm/@jsr+std__path@1.1.
|
|
291
|
+
//#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/join.js
|
|
292
292
|
/**
|
|
293
293
|
* Join all given a sequence of `paths`,then normalizes the resulting path.
|
|
294
294
|
*
|
|
@@ -3303,4 +3303,5 @@ for (const typeUri in types) {
|
|
|
3303
3303
|
});
|
|
3304
3304
|
}
|
|
3305
3305
|
|
|
3306
|
-
//#endregion
|
|
3306
|
+
//#endregion
|
|
3307
|
+
export { };
|