@fedify/fedify 1.7.2 → 1.8.0-dev.910
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/LICENSE +20 -0
- package/dist/{actor-CPpvuBKU.d.ts → actor-B4TBtqRP.d.ts} +2 -2
- package/dist/{actor-kNI1Kuu5.js → actor-BniCOS3i.js} +3 -3
- package/dist/{actor-C_sd2LSx.js → actor-W-6h4XlQ.js} +179 -179
- package/dist/{assert-0DSnLFa8.js → assert-DwEa6glZ.js} +2 -2
- package/dist/{assert_equals-XhPMqqO2.js → assert_equals-C5gKCm6A.js} +10 -22
- package/dist/{assert_instance_of-v5adm_-K.js → assert_instance_of-C9QtN-X9.js} +2 -2
- package/dist/{assert_is_error-Drwb_yQp.js → assert_is_error-DQdKoRgb.js} +2 -2
- package/dist/{assert_not_equals-BRPdeJ9D.js → assert_not_equals-7pyUM3Ib.js} +2 -2
- package/dist/{assert_rejects-D_nYI1gs.js → assert_rejects-DceVjUlD.js} +4 -4
- package/dist/{assert_throws-DNuPhPNp.js → assert_throws-DTDC_gwN.js} +3 -3
- package/dist/{authdocloader-B6BfM9cL.js → authdocloader-e8Qhqry3.js} +3 -3
- package/dist/{authdocloader-if5ggdqv.js → authdocloader-o-F5aHAH.js} +3 -3
- package/dist/{builder-BfWHOJkZ.js → builder-6s4wCL2c.js} +4 -4
- package/dist/{client-BiG9LrWB.js → client-37jfjmdY.js} +1 -1
- package/dist/{client-DvtwXO7t.d.ts → client-BQ4AQGKo.d.ts} +1 -1
- package/dist/compat/mod.d.ts +11 -11
- package/dist/compat/transformers.test.js +22 -22
- package/dist/{context-lMHWYYW2.js → context-ByWT6rsc.js} +3 -3
- package/dist/{context-DPggmpB4.d.ts → context-y90aX3KP.d.ts} +9 -9
- package/dist/{denokv-CvROlGYX.js → denokv-QWKsIqML.js} +2 -0
- package/dist/{docloader-Y76fz1QR.js → docloader-BZBrUZeZ.js} +2 -2
- package/dist/{docloader-Q42SMRIB.d.ts → docloader-BeCtcTOJ.d.ts} +1 -1
- package/dist/{docloader-ps0DMWjv.js → docloader-DzoNSY8I.js} +2 -2
- package/dist/{esm-CASHO3OR.js → esm-d-9EVGaP.js} +14 -14
- package/dist/federation/builder.test.js +14 -14
- package/dist/federation/collection.test.js +8 -8
- package/dist/federation/handler.test.js +29 -29
- package/dist/federation/inbox.test.js +6 -6
- package/dist/federation/keycache.test.js +7 -7
- package/dist/federation/kv.test.js +21 -9
- package/dist/federation/middleware.test.js +29 -29
- package/dist/federation/mod.d.ts +10 -10
- package/dist/federation/mod.js +11 -11
- package/dist/federation/mq.test.js +11 -11
- package/dist/federation/retry.test.js +2 -2
- package/dist/federation/router.test.js +9 -9
- package/dist/federation/send.test.js +18 -18
- package/dist/{federation-BRIQn-GV.js → federation-C44ekWNP.js} +28 -6
- package/dist/{http-D2kxx0MM.js → http-BrJcn5xX.js} +8 -22
- package/dist/{http-B8EiSgi2.d.ts → http-CP2ZUALI.d.ts} +2 -2
- package/dist/{http-xny2jgU9.js → http-CWcmmHS3.js} +8 -22
- package/dist/{inbox-DYa89dK3.js → inbox-DXGMgg5A.js} +2 -2
- package/dist/{key-CW6VucYV.js → key-CKQt2QuX.js} +4 -4
- package/dist/{key-CbN6XqfG.js → key-CL8xpd53.js} +5 -5
- package/dist/{key-C4ZA8dqv.js → key-CNh0_4UK.js} +2 -2
- package/dist/{key-B--oybmj.js → key-CQZCHGYL.js} +3 -3
- package/dist/{keycache-B3XsWKuN.js → keycache-2xuv5jk-.js} +1 -1
- package/dist/{keys-CSt26-hj.js → keys-_CuBoyQl.js} +1 -1
- package/dist/{kv-BMY6Qf_A.js → kv-D7Yt6pnB.js} +22 -0
- package/dist/{kv-DRaeSXco.d.ts → kv-DDdb1hMa.d.ts} +14 -0
- package/dist/{ld-liCYh9NF.js → ld-CyHD6QTx.js} +3 -3
- package/dist/{lookup-QgCHmE_h.js → lookup-B3Ji9Hri.js} +1 -1
- package/dist/{lookup-UHy_h_Ub.js → lookup-CO7jWozP.js} +4 -4
- package/dist/{lookup-154aM5KD.js → lookup-CfqMiAUO.js} +1 -1
- package/dist/{lookup-Bf-K85bV.d.ts → lookup-DHNtuVcT.d.ts} +1 -1
- package/dist/middleware-BWBJQC-P.js +17 -0
- package/dist/{middleware-BeTfacPC.js → middleware-BrK09zm5.js} +11 -11
- package/dist/{middleware-CfHPRgJ8.js → middleware-DYZ4sFyx.js} +16 -16
- package/dist/middleware-Dx6oWBGd.js +33 -0
- package/dist/{mod-CDzlVCUF.d.ts → mod-BzLUzgBJ.d.ts} +2 -2
- package/dist/{mod-CbjCOiVh.d.ts → mod-CaGwZaei.d.ts} +2 -2
- package/dist/{mod-C2drFqH8.d.ts → mod-CytXBx8A.d.ts} +2 -2
- package/dist/{mod-sEI6_uZ2.d.ts → mod-D2uPZuP-.d.ts} +3 -3
- package/dist/mod.d.ts +13 -13
- package/dist/mod.js +11 -11
- package/dist/nodeinfo/client.test.js +11 -11
- package/dist/nodeinfo/handler.test.js +28 -28
- package/dist/nodeinfo/mod.d.ts +3 -3
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +8 -8
- package/dist/nodeinfo/types.test.js +8 -8
- package/dist/{owner-D0cOz8R5.d.ts → owner-CEv_PfyK.d.ts} +3 -3
- package/dist/{owner-CrtnBHX7.js → owner-D3kbnehv.js} +3 -3
- package/dist/{proof-DPvYSJvz.js → proof-BIg4cgPU.js} +3 -3
- package/dist/{proof-JaQW7dZG.js → proof-C8Br62yY.js} +3 -3
- package/dist/{router-D_aVZZUc.js → router-D3UybECj.js} +1 -1
- package/dist/runtime/authdocloader.test.js +17 -17
- package/dist/runtime/docloader.test.js +11 -11
- package/dist/runtime/key.test.js +13 -13
- package/dist/runtime/langstr.test.js +8 -8
- package/dist/runtime/mod.d.ts +5 -5
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +8 -8
- package/dist/runtime/url.test.js +4 -4
- package/dist/{send-BHD0sfF3.js → send-rnqPOKSI.js} +2 -2
- package/dist/sig/http.test.js +16 -44
- package/dist/sig/key.test.js +14 -14
- package/dist/sig/ld.test.js +12 -12
- package/dist/sig/mod.d.ts +7 -7
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +16 -16
- package/dist/sig/proof.test.js +15 -15
- package/dist/{std__assert-CmyZxqPw.js → std__assert-B3iAixc-.js} +6 -6
- package/dist/testing/docloader.test.js +8 -8
- package/dist/{types-kUNFKQc-.js → types-CF4796nA.js} +1 -1
- package/dist/vocab/actor.test.js +142 -142
- package/dist/vocab/lookup.test.js +13 -13
- package/dist/vocab/mod.d.ts +5 -5
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +53 -49
- package/dist/{vocab-B-3Rb7jH.js → vocab-BIhg0gCj.js} +178 -178
- package/dist/{vocab-DZnMWLHx.js → vocab-Ba2a4kTo.js} +4 -4
- package/dist/{vocab-CzEfWQk2.d.ts → vocab-By6mpzr-.d.ts} +1 -1
- package/dist/webfinger/handler.test.js +28 -28
- package/dist/webfinger/lookup.test.js +12 -12
- package/dist/webfinger/mod.d.ts +3 -3
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.d.ts +6 -1
- package/dist/x/cfworkers.js +5 -0
- package/dist/x/cfworkers.test.js +14 -9
- package/dist/x/hono.d.ts +10 -10
- package/dist/x/sveltekit.d.ts +10 -10
- package/package.json +3 -3
- package/dist/middleware-DLfV8p8d.js +0 -17
- package/dist/middleware-qG5pwbUh.js +0 -33
@@ -3,44 +3,44 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import "../assert-
|
8
|
-
import "../assert_instance_of-
|
9
|
-
import { MemoryKvStore } from "../kv-
|
10
|
-
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-
|
11
|
-
import "../docloader-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import "../assert-DwEa6glZ.js";
|
8
|
+
import "../assert_instance_of-C9QtN-X9.js";
|
9
|
+
import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
|
10
|
+
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-DYZ4sFyx.js";
|
11
|
+
import "../docloader-BZBrUZeZ.js";
|
12
12
|
import "../url-kTAI6_KP.js";
|
13
13
|
import { parseSemVer } from "../semver-DWClQt_5.js";
|
14
|
-
import "../client-
|
15
|
-
import "../router-
|
14
|
+
import "../client-37jfjmdY.js";
|
15
|
+
import "../router-D3UybECj.js";
|
16
16
|
import "../types-C7C_l-jz.js";
|
17
17
|
import "../multibase-DeCHcK8L.js";
|
18
|
-
import "../vocab-
|
18
|
+
import "../vocab-BIhg0gCj.js";
|
19
19
|
import "../langstr-DbWheeIS.js";
|
20
|
-
import "../lookup-
|
20
|
+
import "../lookup-B3Ji9Hri.js";
|
21
21
|
import "../type-D2s5lmbZ.js";
|
22
|
-
import "../actor-
|
23
|
-
import "../key-
|
24
|
-
import "../http-
|
25
|
-
import "../authdocloader-
|
26
|
-
import "../ld-
|
27
|
-
import "../owner-
|
28
|
-
import "../proof-
|
29
|
-
import "../lookup-
|
30
|
-
import "../inbox-
|
31
|
-
import "../builder-
|
22
|
+
import "../actor-BniCOS3i.js";
|
23
|
+
import "../key-CQZCHGYL.js";
|
24
|
+
import "../http-CWcmmHS3.js";
|
25
|
+
import "../authdocloader-e8Qhqry3.js";
|
26
|
+
import "../ld-CyHD6QTx.js";
|
27
|
+
import "../owner-D3kbnehv.js";
|
28
|
+
import "../proof-C8Br62yY.js";
|
29
|
+
import "../lookup-CO7jWozP.js";
|
30
|
+
import "../inbox-DXGMgg5A.js";
|
31
|
+
import "../builder-6s4wCL2c.js";
|
32
32
|
import "../collection-Dfb0TPno.js";
|
33
|
-
import "../keycache-
|
33
|
+
import "../keycache-2xuv5jk-.js";
|
34
34
|
import "../retry-BiIhZWgD.js";
|
35
|
-
import "../send-
|
35
|
+
import "../send-rnqPOKSI.js";
|
36
36
|
import { test } from "../testing-BZ0dJ4qn.js";
|
37
|
-
import "../std__assert-
|
38
|
-
import "../assert_rejects-
|
39
|
-
import "../assert_is_error-
|
40
|
-
import "../assert_not_equals-
|
41
|
-
import "../assert_throws-
|
37
|
+
import "../std__assert-B3iAixc-.js";
|
38
|
+
import "../assert_rejects-DceVjUlD.js";
|
39
|
+
import "../assert_is_error-DQdKoRgb.js";
|
40
|
+
import "../assert_not_equals-7pyUM3Ib.js";
|
41
|
+
import "../assert_throws-DTDC_gwN.js";
|
42
42
|
import "../docloader-09nVWLAZ.js";
|
43
|
-
import { createRequestContext } from "../context-
|
43
|
+
import { createRequestContext } from "../context-ByWT6rsc.js";
|
44
44
|
|
45
45
|
//#region nodeinfo/handler.test.ts
|
46
46
|
test("handleNodeInfo()", async () => {
|
package/dist/nodeinfo/mod.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import "../kv-
|
4
|
-
import "../docloader-
|
5
|
-
import { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, SemVer, Services, Software, Usage, formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "../client-
|
3
|
+
import "../kv-DDdb1hMa.js";
|
4
|
+
import "../docloader-BeCtcTOJ.js";
|
5
|
+
import { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, SemVer, Services, Software, Usage, formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "../client-BQ4AQGKo.js";
|
6
6
|
import "../mod-1pDWKvUL.js";
|
7
7
|
export { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, SemVer, Services, Software, Usage, formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer };
|
package/dist/nodeinfo/mod.js
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../docloader-
|
6
|
-
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "../types-
|
5
|
+
import "../docloader-DzoNSY8I.js";
|
6
|
+
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "../types-CF4796nA.js";
|
7
7
|
import "../nodeinfo-CyEbLjHs.js";
|
8
8
|
|
9
9
|
export { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer };
|
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import "../assert-
|
8
|
-
import "../assert_instance_of-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import "../assert-DwEa6glZ.js";
|
8
|
+
import "../assert_instance_of-C9QtN-X9.js";
|
9
9
|
import { formatSemVer, parseSemVer } from "../semver-DWClQt_5.js";
|
10
10
|
import { test } from "../testing-BZ0dJ4qn.js";
|
11
|
-
import "../std__assert-
|
12
|
-
import "../assert_rejects-
|
13
|
-
import "../assert_is_error-
|
14
|
-
import "../assert_not_equals-
|
15
|
-
import { assertThrows } from "../assert_throws-
|
11
|
+
import "../std__assert-B3iAixc-.js";
|
12
|
+
import "../assert_rejects-DceVjUlD.js";
|
13
|
+
import "../assert_is_error-DQdKoRgb.js";
|
14
|
+
import "../assert_not_equals-7pyUM3Ib.js";
|
15
|
+
import { assertThrows } from "../assert_throws-DTDC_gwN.js";
|
16
16
|
|
17
17
|
//#region nodeinfo/semver.test.ts
|
18
18
|
test("parseSemVer() handles major", async (t) => {
|
@@ -3,17 +3,17 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import "../assert-
|
8
|
-
import "../assert_instance_of-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import "../assert-DwEa6glZ.js";
|
8
|
+
import "../assert_instance_of-C9QtN-X9.js";
|
9
9
|
import "../semver-DWClQt_5.js";
|
10
10
|
import { nodeInfoToJson } from "../types-C7C_l-jz.js";
|
11
11
|
import { test } from "../testing-BZ0dJ4qn.js";
|
12
|
-
import "../std__assert-
|
13
|
-
import "../assert_rejects-
|
14
|
-
import "../assert_is_error-
|
15
|
-
import "../assert_not_equals-
|
16
|
-
import { assertThrows } from "../assert_throws-
|
12
|
+
import "../std__assert-B3iAixc-.js";
|
13
|
+
import "../assert_rejects-DceVjUlD.js";
|
14
|
+
import "../assert_is_error-DQdKoRgb.js";
|
15
|
+
import "../assert_not_equals-7pyUM3Ib.js";
|
16
|
+
import { assertThrows } from "../assert_throws-DTDC_gwN.js";
|
17
17
|
|
18
18
|
//#region nodeinfo/types.test.ts
|
19
19
|
test("nodeInfoToJson()", () => {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import { DocumentLoader } from "./docloader-
|
4
|
-
import { Activity, CryptographicKey } from "./vocab-
|
5
|
-
import { Actor } from "./actor-
|
3
|
+
import { DocumentLoader } from "./docloader-BeCtcTOJ.js";
|
4
|
+
import { Activity, CryptographicKey } from "./vocab-By6mpzr-.js";
|
5
|
+
import { Actor } from "./actor-B4TBtqRP.js";
|
6
6
|
import { TracerProvider } from "@opentelemetry/api";
|
7
7
|
|
8
8
|
//#region sig/owner.d.ts
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { getDocumentLoader } from "./docloader-
|
7
|
-
import { CryptographicKey, Object as Object$1 } from "./vocab-
|
8
|
-
import { isActor } from "./actor-
|
6
|
+
import { getDocumentLoader } from "./docloader-BZBrUZeZ.js";
|
7
|
+
import { CryptographicKey, Object as Object$1 } from "./vocab-BIhg0gCj.js";
|
8
|
+
import { isActor } from "./actor-BniCOS3i.js";
|
9
9
|
import { trace } from "@opentelemetry/api";
|
10
10
|
|
11
11
|
//#region sig/owner.ts
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
6
|
-
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
5
|
+
import { deno_default, getDocumentLoader } from "./docloader-DzoNSY8I.js";
|
6
|
+
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-W-6h4XlQ.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-CNh0_4UK.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import jsonld from "jsonld";
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default } from "./docloader-
|
7
|
-
import { Activity, DataIntegrityProof, Multikey } from "./vocab-
|
6
|
+
import { deno_default } from "./docloader-BZBrUZeZ.js";
|
7
|
+
import { Activity, DataIntegrityProof, Multikey } from "./vocab-BIhg0gCj.js";
|
8
8
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
9
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
9
|
+
import { fetchKey, validateCryptoKey } from "./key-CQZCHGYL.js";
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
12
12
|
import { encodeHex } from "byte-encodings/hex";
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { cloneDeep } from "
|
6
|
+
import { cloneDeep } from "es-toolkit";
|
7
7
|
import { Router } from "uri-template-router";
|
8
8
|
import { parseTemplate } from "url-template";
|
9
9
|
|
@@ -3,29 +3,29 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import "../assert-
|
8
|
-
import "../assert_instance_of-
|
9
|
-
import "../docloader-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import "../assert-DwEa6glZ.js";
|
8
|
+
import "../assert_instance_of-C9QtN-X9.js";
|
9
|
+
import "../docloader-BZBrUZeZ.js";
|
10
10
|
import { UrlError } from "../url-kTAI6_KP.js";
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
12
|
-
import "../vocab-
|
12
|
+
import "../vocab-BIhg0gCj.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-B3Ji9Hri.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import { verifyRequest } from "../http-
|
19
|
-
import { getAuthenticatedDocumentLoader } from "../authdocloader-
|
16
|
+
import "../actor-BniCOS3i.js";
|
17
|
+
import "../key-CQZCHGYL.js";
|
18
|
+
import { verifyRequest } from "../http-CWcmmHS3.js";
|
19
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-e8Qhqry3.js";
|
20
20
|
import { test } from "../testing-BZ0dJ4qn.js";
|
21
|
-
import "../std__assert-
|
22
|
-
import { assertRejects } from "../assert_rejects-
|
23
|
-
import "../assert_is_error-
|
24
|
-
import "../assert_not_equals-
|
25
|
-
import "../assert_throws-
|
21
|
+
import "../std__assert-B3iAixc-.js";
|
22
|
+
import { assertRejects } from "../assert_rejects-DceVjUlD.js";
|
23
|
+
import "../assert_is_error-DQdKoRgb.js";
|
24
|
+
import "../assert_not_equals-7pyUM3Ib.js";
|
25
|
+
import "../assert_throws-DTDC_gwN.js";
|
26
26
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
27
|
-
import { rsaPrivateKey2 } from "../keys-
|
28
|
-
import { esm_default } from "../esm-
|
27
|
+
import { rsaPrivateKey2 } from "../keys-_CuBoyQl.js";
|
28
|
+
import { esm_default } from "../esm-d-9EVGaP.js";
|
29
29
|
|
30
30
|
//#region runtime/authdocloader.test.ts
|
31
31
|
test("getAuthenticatedDocumentLoader()", async (t) => {
|
@@ -3,20 +3,20 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import "../assert-
|
8
|
-
import "../assert_instance_of-
|
9
|
-
import { MemoryKvStore } from "../kv-
|
10
|
-
import { FetchError, contexts_default, deno_default, getDocumentLoader, getUserAgent, kvCache } from "../docloader-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import "../assert-DwEa6glZ.js";
|
8
|
+
import "../assert_instance_of-C9QtN-X9.js";
|
9
|
+
import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
|
10
|
+
import { FetchError, contexts_default, deno_default, getDocumentLoader, getUserAgent, kvCache } from "../docloader-BZBrUZeZ.js";
|
11
11
|
import { UrlError } from "../url-kTAI6_KP.js";
|
12
12
|
import { test } from "../testing-BZ0dJ4qn.js";
|
13
|
-
import "../std__assert-
|
14
|
-
import { assertRejects } from "../assert_rejects-
|
15
|
-
import "../assert_is_error-
|
16
|
-
import "../assert_not_equals-
|
17
|
-
import { assertThrows } from "../assert_throws-
|
13
|
+
import "../std__assert-B3iAixc-.js";
|
14
|
+
import { assertRejects } from "../assert_rejects-DceVjUlD.js";
|
15
|
+
import "../assert_is_error-DQdKoRgb.js";
|
16
|
+
import "../assert_not_equals-7pyUM3Ib.js";
|
17
|
+
import { assertThrows } from "../assert_throws-DTDC_gwN.js";
|
18
18
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
19
|
-
import { esm_default } from "../esm-
|
19
|
+
import { esm_default } from "../esm-d-9EVGaP.js";
|
20
20
|
import process from "node:process";
|
21
21
|
|
22
22
|
//#region runtime/docloader.test.ts
|
package/dist/runtime/key.test.js
CHANGED
@@ -3,24 +3,24 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import "../assert-
|
8
|
-
import "../assert_instance_of-
|
9
|
-
import "../docloader-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import "../assert-DwEa6glZ.js";
|
8
|
+
import "../assert_instance_of-C9QtN-X9.js";
|
9
|
+
import "../docloader-BZBrUZeZ.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
12
|
-
import { exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../vocab-
|
12
|
+
import { exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../vocab-BIhg0gCj.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-B3Ji9Hri.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import "../actor-
|
17
|
-
import { exportJwk, importJwk } from "../key-
|
16
|
+
import "../actor-BniCOS3i.js";
|
17
|
+
import { exportJwk, importJwk } from "../key-CQZCHGYL.js";
|
18
18
|
import { test } from "../testing-BZ0dJ4qn.js";
|
19
|
-
import "../std__assert-
|
20
|
-
import "../assert_rejects-
|
21
|
-
import "../assert_is_error-
|
22
|
-
import "../assert_not_equals-
|
23
|
-
import "../assert_throws-
|
19
|
+
import "../std__assert-B3iAixc-.js";
|
20
|
+
import "../assert_rejects-DceVjUlD.js";
|
21
|
+
import "../assert_is_error-DQdKoRgb.js";
|
22
|
+
import "../assert_not_equals-7pyUM3Ib.js";
|
23
|
+
import "../assert_throws-DTDC_gwN.js";
|
24
24
|
|
25
25
|
//#region runtime/key.test.ts
|
26
26
|
const rsaSpki = "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxsRuvCkgJtflBTl4OVsm\nnt/J1mQfZasfJtN33dcZ3d1lJroxmgmMu69zjGEAwkNbMQaWNLqC4eogkJaeJ4RR\n5MHYXkL9nNilVoTkjX5BVit3puzs7XJ7WQnKQgQMI+ezn24GHsZ/v1JIo77lerX5\nk4HNwTNVt+yaZVQWaOMR3+6FwziQR6kd0VuG9/a9dgAnz2cEoORRC1i4W7IZaB1s\nZnh1WbHbevlGd72HSXll5rocPIHn8gq6xpBgpHwRphlRsgn4KHaJ6brXDIJjrnQh\nIe/YUBOGj/ImSEXhRwlFerKsoAVnZ0Hwbfa46qk44TAt8CyoPMWmpK6pt0ng4pQ2\nuwIDAQAB\n-----END PUBLIC KEY-----\n";
|
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import "../assert-
|
8
|
-
import "../assert_instance_of-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import "../assert-DwEa6glZ.js";
|
8
|
+
import "../assert_instance_of-C9QtN-X9.js";
|
9
9
|
import { LanguageString } from "../langstr-DbWheeIS.js";
|
10
10
|
import { test } from "../testing-BZ0dJ4qn.js";
|
11
|
-
import "../std__assert-
|
12
|
-
import "../assert_rejects-
|
13
|
-
import "../assert_is_error-
|
14
|
-
import "../assert_not_equals-
|
15
|
-
import "../assert_throws-
|
11
|
+
import "../std__assert-B3iAixc-.js";
|
12
|
+
import "../assert_rejects-DceVjUlD.js";
|
13
|
+
import "../assert_is_error-DQdKoRgb.js";
|
14
|
+
import "../assert_not_equals-7pyUM3Ib.js";
|
15
|
+
import "../assert_throws-DTDC_gwN.js";
|
16
16
|
import { parseLanguageTag } from "@phensley/language-tag";
|
17
17
|
import util from "node:util";
|
18
18
|
|
package/dist/runtime/mod.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import "../kv-
|
4
|
-
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, FetchError, GetDocumentLoaderOptions, GetUserAgentOptions, KvCacheParameters, RemoteDocument, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-
|
5
|
-
import { LanguageString } from "../vocab-
|
6
|
-
import "../http-
|
7
|
-
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "../mod-
|
3
|
+
import "../kv-DDdb1hMa.js";
|
4
|
+
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, FetchError, GetDocumentLoaderOptions, GetUserAgentOptions, KvCacheParameters, RemoteDocument, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-BeCtcTOJ.js";
|
5
|
+
import { LanguageString } from "../vocab-By6mpzr-.js";
|
6
|
+
import "../http-CP2ZUALI.js";
|
7
|
+
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "../mod-CytXBx8A.js";
|
8
8
|
export { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, FetchError, GetAuthenticatedDocumentLoaderOptions, GetDocumentLoaderOptions, GetUserAgentOptions, KvCacheParameters, LanguageString, RemoteDocument, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
|
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-DzoNSY8I.js";
|
6
|
+
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-W-6h4XlQ.js";
|
7
|
+
import "../lookup-CfqMiAUO.js";
|
8
|
+
import "../key-CNh0_4UK.js";
|
9
|
+
import "../http-BrJcn5xX.js";
|
10
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-o-F5aHAH.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 };
|
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../../assert_equals-
|
7
|
-
import "../../assert-
|
8
|
-
import "../../assert_instance_of-
|
6
|
+
import { assertEquals } from "../../assert_equals-C5gKCm6A.js";
|
7
|
+
import "../../assert-DwEa6glZ.js";
|
8
|
+
import "../../assert_instance_of-C9QtN-X9.js";
|
9
9
|
import { codes, decode, decodeText, encode, encodeText, names } from "../../multibase-DeCHcK8L.js";
|
10
10
|
import { test } from "../../testing-BZ0dJ4qn.js";
|
11
|
-
import "../../std__assert-
|
12
|
-
import "../../assert_rejects-
|
13
|
-
import "../../assert_is_error-
|
14
|
-
import "../../assert_not_equals-
|
15
|
-
import "../../assert_throws-
|
11
|
+
import "../../std__assert-B3iAixc-.js";
|
12
|
+
import "../../assert_rejects-DceVjUlD.js";
|
13
|
+
import "../../assert_is_error-DQdKoRgb.js";
|
14
|
+
import "../../assert_not_equals-7pyUM3Ib.js";
|
15
|
+
import "../../assert_throws-DTDC_gwN.js";
|
16
16
|
|
17
17
|
//#region runtime/multibase/multibase.test.ts
|
18
18
|
test("multibase.encode and decode", async (t) => {
|
package/dist/runtime/url.test.js
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import { assert } from "../assert-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import { assert } from "../assert-DwEa6glZ.js";
|
8
8
|
import { UrlError, expandIPv6Address, isValidPublicIPv4Address, isValidPublicIPv6Address, validatePublicUrl } from "../url-kTAI6_KP.js";
|
9
9
|
import { test } from "../testing-BZ0dJ4qn.js";
|
10
|
-
import { assertFalse, assertRejects } from "../assert_rejects-
|
11
|
-
import "../assert_is_error-
|
10
|
+
import { assertFalse, assertRejects } from "../assert_rejects-DceVjUlD.js";
|
11
|
+
import "../assert_is_error-DQdKoRgb.js";
|
12
12
|
|
13
13
|
//#region runtime/url.test.ts
|
14
14
|
test("validatePublicUrl()", async () => {
|
@@ -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-BZBrUZeZ.js";
|
7
|
+
import { doubleKnock } from "./http-CWcmmHS3.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
|
package/dist/sig/http.test.js
CHANGED
@@ -3,28 +3,28 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import { assert } from "../assert-
|
8
|
-
import "../assert_instance_of-
|
9
|
-
import "../docloader-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import { assert } from "../assert-DwEa6glZ.js";
|
8
|
+
import "../assert_instance_of-C9QtN-X9.js";
|
9
|
+
import "../docloader-BZBrUZeZ.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
12
|
-
import { exportSpki } from "../vocab-
|
12
|
+
import { exportSpki } from "../vocab-BIhg0gCj.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-B3Ji9Hri.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-BniCOS3i.js";
|
17
|
+
import { exportJwk } from "../key-CQZCHGYL.js";
|
18
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-CWcmmHS3.js";
|
19
19
|
import { test } from "../testing-BZ0dJ4qn.js";
|
20
|
-
import { assertExists, assertStringIncludes } from "../std__assert-
|
21
|
-
import { assertFalse } from "../assert_rejects-
|
22
|
-
import "../assert_is_error-
|
23
|
-
import "../assert_not_equals-
|
24
|
-
import
|
20
|
+
import { assertExists, assertStringIncludes } from "../std__assert-B3iAixc-.js";
|
21
|
+
import { assertFalse } from "../assert_rejects-DceVjUlD.js";
|
22
|
+
import "../assert_is_error-DQdKoRgb.js";
|
23
|
+
import "../assert_not_equals-7pyUM3Ib.js";
|
24
|
+
import "../assert_throws-DTDC_gwN.js";
|
25
25
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
26
|
-
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-
|
27
|
-
import { esm_default } from "../esm-
|
26
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-_CuBoyQl.js";
|
27
|
+
import { esm_default } from "../esm-d-9EVGaP.js";
|
28
28
|
import { encodeBase64 } from "byte-encodings/base64";
|
29
29
|
|
30
30
|
//#region sig/http.test.ts
|
@@ -1106,33 +1106,5 @@ test("timingSafeEqual()", async (t) => {
|
|
1106
1106
|
});
|
1107
1107
|
});
|
1108
1108
|
});
|
1109
|
-
test("signRequest() [rfc9421] error handling for invalid signature base creation", async () => {
|
1110
|
-
const request = new Request("https://example.com/test", {
|
1111
|
-
method: "POST",
|
1112
|
-
body: "test body"
|
1113
|
-
});
|
1114
|
-
await assertThrows(() => {
|
1115
|
-
createRfc9421SignatureBase(request, ["@unsupported"], "alg=\"rsa-pss-sha256\";keyid=\"https://example.com/key2\";created=1234567890");
|
1116
|
-
}, Error, "Unsupported derived component: @unsupported");
|
1117
|
-
const signedRequest = await signRequest(request, rsaPrivateKey2, new URL("https://example.com/key2"), { spec: "rfc9421" });
|
1118
|
-
assertExists(signedRequest.headers.get("Signature-Input"));
|
1119
|
-
assertExists(signedRequest.headers.get("Signature"));
|
1120
|
-
});
|
1121
|
-
test("verifyRequest() [rfc9421] error handling for invalid signature base creation", async () => {
|
1122
|
-
const request = new Request("https://example.com/test", {
|
1123
|
-
method: "GET",
|
1124
|
-
headers: {
|
1125
|
-
"Accept": "application/json",
|
1126
|
-
"Signature-Input": "sig1=(\"@unsupported\");alg=\"rsa-pss-sha256\";keyid=\"https://example.com/key2\";created=1234567890",
|
1127
|
-
"Signature": "sig1=:invalid_signature_data:"
|
1128
|
-
}
|
1129
|
-
});
|
1130
|
-
const result = await verifyRequest(request, {
|
1131
|
-
spec: "rfc9421",
|
1132
|
-
documentLoader: mockDocumentLoader,
|
1133
|
-
contextLoader: mockDocumentLoader
|
1134
|
-
});
|
1135
|
-
assertEquals(result, null, "Verification should fail gracefully for malformed signature inputs");
|
1136
|
-
});
|
1137
1109
|
|
1138
1110
|
//#endregion
|
package/dist/sig/key.test.js
CHANGED
@@ -3,26 +3,26 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import "../assert-
|
8
|
-
import "../assert_instance_of-
|
9
|
-
import "../docloader-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import "../assert-DwEa6glZ.js";
|
8
|
+
import "../assert_instance_of-C9QtN-X9.js";
|
9
|
+
import "../docloader-BZBrUZeZ.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-BIhg0gCj.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-B3Ji9Hri.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import "../actor-
|
17
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
16
|
+
import "../actor-BniCOS3i.js";
|
17
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-CQZCHGYL.js";
|
18
18
|
import { test } from "../testing-BZ0dJ4qn.js";
|
19
|
-
import "../std__assert-
|
20
|
-
import { assertRejects } from "../assert_rejects-
|
21
|
-
import "../assert_is_error-
|
22
|
-
import "../assert_not_equals-
|
23
|
-
import { assertThrows } from "../assert_throws-
|
19
|
+
import "../std__assert-B3iAixc-.js";
|
20
|
+
import { assertRejects } from "../assert_rejects-DceVjUlD.js";
|
21
|
+
import "../assert_is_error-DQdKoRgb.js";
|
22
|
+
import "../assert_not_equals-7pyUM3Ib.js";
|
23
|
+
import { assertThrows } from "../assert_throws-DTDC_gwN.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-_CuBoyQl.js";
|
26
26
|
|
27
27
|
//#region sig/key.test.ts
|
28
28
|
test("validateCryptoKey()", async () => {
|
package/dist/sig/ld.test.js
CHANGED
@@ -3,24 +3,24 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import { assert } from "../assert-
|
8
|
-
import "../docloader-
|
6
|
+
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
7
|
+
import { assert } from "../assert-DwEa6glZ.js";
|
8
|
+
import "../docloader-BZBrUZeZ.js";
|
9
9
|
import "../url-kTAI6_KP.js";
|
10
10
|
import "../multibase-DeCHcK8L.js";
|
11
|
-
import { CryptographicKey } from "../vocab-
|
11
|
+
import { CryptographicKey } from "../vocab-BIhg0gCj.js";
|
12
12
|
import "../langstr-DbWheeIS.js";
|
13
|
-
import "../lookup-
|
13
|
+
import "../lookup-B3Ji9Hri.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-BniCOS3i.js";
|
16
|
+
import { generateCryptoKeyPair } from "../key-CQZCHGYL.js";
|
17
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-CyHD6QTx.js";
|
18
18
|
import { test } from "../testing-BZ0dJ4qn.js";
|
19
|
-
import { assertFalse, assertRejects } from "../assert_rejects-
|
20
|
-
import "../assert_is_error-
|
21
|
-
import { assertThrows } from "../assert_throws-
|
19
|
+
import { assertFalse, assertRejects } from "../assert_rejects-DceVjUlD.js";
|
20
|
+
import "../assert_is_error-DQdKoRgb.js";
|
21
|
+
import { assertThrows } from "../assert_throws-DTDC_gwN.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-_CuBoyQl.js";
|
24
24
|
import { encodeBase64 } from "byte-encodings/base64";
|
25
25
|
|
26
26
|
//#region sig/ld.test.ts
|