@fedify/fedify 1.7.5-pr.293.995 → 1.8.0-dev.1003
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/README.md +33 -0
- package/dist/{actor-CPpvuBKU.d.ts → actor-B4TBtqRP.d.ts} +2 -2
- package/dist/{actor-DpOCWBU2.js → actor-CESvGo9c.js} +179 -179
- package/dist/{actor-DCfCQoKy.js → actor-CqSuisvH.js} +3 -3
- 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-C8ocs8WK.js → authdocloader-QSRLyapW.js} +3 -3
- package/dist/{authdocloader-u7iRvJI6.js → authdocloader-rYXZAJDf.js} +3 -3
- package/dist/{builder-CoMaHOSj.js → builder-rGWE83Jn.js} +4 -4
- package/dist/{client-ve1fySOk.js → client-B3xo9NFO.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-DPggmpB4.d.ts → context-CrSyJrIa.d.ts} +9 -9
- package/dist/{context-DJ0lZffc.js → context-T6ATmy_o.js} +3 -3
- package/dist/{denokv-CvROlGYX.js → denokv-QWKsIqML.js} +2 -0
- package/dist/{docloader-Q42SMRIB.d.ts → docloader-BeCtcTOJ.d.ts} +1 -1
- package/dist/{docloader-CWnRyKZz.js → docloader-Coh6BBtD.js} +5 -13
- package/dist/{docloader-0f763awu.js → docloader-DP2c5RKR.js} +5 -13
- 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 +644 -630
- 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-B8EiSgi2.d.ts → http-CP2ZUALI.d.ts} +2 -2
- package/dist/{http-C2jYH3Wj.js → http-CkfVl7ql.js} +29 -21
- package/dist/{http-Ctrc1mTY.js → http-lmPPO2Eo.js} +29 -21
- package/dist/{inbox-C0lZZQrn.js → inbox-CF21yedu.js} +2 -2
- package/dist/{key-w62j0nN_.js → key-BLqpPTN_.js} +3 -3
- package/dist/{key-Du7Mtz6c.js → key-BjUOfK1Q.js} +2 -2
- package/dist/{key-DdzidiHt.js → key-CSLD2uRf.js} +4 -4
- package/dist/{key-DaROeJaM.js → key-NY6yQihW.js} +5 -5
- package/dist/{keycache-HV9rL4Zg.js → keycache-yqwT_M3m.js} +1 -1
- package/dist/{keys-CLKmoYUK.js → keys-D9Gc5bvV.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-d8SMvc77.js → ld-zsHn8nfn.js} +3 -3
- package/dist/{lookup-C0QZwcNp.js → lookup-BYgWjDk7.js} +4 -3
- package/dist/{lookup-vqz66SuH.js → lookup-BlRxqykX.js} +62 -10
- package/dist/{lookup-BhjMJsQq.js → lookup-DU2MRGYe.js} +4 -3
- package/dist/{lookup-Bf-K85bV.d.ts → lookup-J_m4YZg0.d.ts} +7 -1
- package/dist/{middleware-CaLPAUX8.js → middleware-BmxgK7wV.js} +11 -11
- package/dist/middleware-CILojq-d.js +17 -0
- package/dist/{middleware-z6PAl2ao.js → middleware-CkV-ui-y.js} +16 -16
- package/dist/middleware-NVGAT7X_.js +33 -0
- package/dist/{mod-CDzlVCUF.d.ts → mod-BFwgZ7_K.d.ts} +77 -3
- 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-CbjCOiVh.d.ts → mod-DpE8T10I.d.ts} +2 -2
- package/dist/mod.d.ts +14 -14
- package/dist/mod.js +12 -12
- 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-B681rcfZ.js → owner-yriwUrxg.js} +3 -3
- package/dist/{proof-Ckfj_lUB.js → proof-B0keqm8m.js} +3 -3
- package/dist/{proof-R1Gw5CZB.js → proof-CTzg7mvj.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-C3nUuiVP.js → send-CdU_Vjiy.js} +2 -2
- package/dist/sig/http.test.js +41 -16
- 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-NuyNm5jf.js → types-D9EP9eEB.js} +1 -1
- package/dist/vocab/actor.test.js +197 -190
- package/dist/vocab/lookup.test.js +13 -13
- package/dist/vocab/mod.d.ts +6 -6
- package/dist/vocab/mod.js +5 -5
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +128 -110
- package/dist/{vocab-BIEZj4Uc.js → vocab-BFfwVBw7.js} +84 -11
- package/dist/{vocab-CzEfWQk2.d.ts → vocab-By6mpzr-.d.ts} +1 -1
- package/dist/{vocab-CJVgR_C2.js → vocab-Df91ohvp.js} +178 -178
- package/dist/webfinger/handler.test.js +28 -28
- package/dist/webfinger/lookup.test.js +30 -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 +7 -6
- package/dist/middleware-0Gslab3l.js +0 -33
- package/dist/middleware-DTBS4kbm.js +0 -17
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-DP2c5RKR.js";
|
6
|
+
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "../types-D9EP9eEB.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-Coh6BBtD.js";
|
7
|
+
import { CryptographicKey, Object as Object$1 } from "./vocab-Df91ohvp.js";
|
8
|
+
import { isActor } from "./actor-CqSuisvH.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-DP2c5RKR.js";
|
6
|
+
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-CESvGo9c.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-BjUOfK1Q.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-Coh6BBtD.js";
|
7
|
+
import { Activity, DataIntegrityProof, Multikey } from "./vocab-Df91ohvp.js";
|
8
8
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
9
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
9
|
+
import { fetchKey, validateCryptoKey } from "./key-BLqpPTN_.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-Coh6BBtD.js";
|
10
10
|
import { UrlError } from "../url-kTAI6_KP.js";
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
12
|
-
import "../vocab-
|
12
|
+
import "../vocab-Df91ohvp.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-DU2MRGYe.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-CqSuisvH.js";
|
17
|
+
import "../key-BLqpPTN_.js";
|
18
|
+
import { verifyRequest } from "../http-CkfVl7ql.js";
|
19
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-rYXZAJDf.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-D9Gc5bvV.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-Coh6BBtD.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-Coh6BBtD.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-Df91ohvp.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-DU2MRGYe.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import "../actor-
|
17
|
-
import { exportJwk, importJwk } from "../key-
|
16
|
+
import "../actor-CqSuisvH.js";
|
17
|
+
import { exportJwk, importJwk } from "../key-BLqpPTN_.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-DP2c5RKR.js";
|
6
|
+
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-CESvGo9c.js";
|
7
|
+
import "../lookup-BYgWjDk7.js";
|
8
|
+
import "../key-BjUOfK1Q.js";
|
9
|
+
import "../http-lmPPO2Eo.js";
|
10
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-QSRLyapW.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-Coh6BBtD.js";
|
7
|
+
import { doubleKnock } from "./http-CkfVl7ql.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-Coh6BBtD.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
12
|
-
import { exportSpki } from "../vocab-
|
12
|
+
import { exportSpki } from "../vocab-Df91ohvp.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-DU2MRGYe.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-CqSuisvH.js";
|
17
|
+
import { exportJwk } from "../key-BLqpPTN_.js";
|
18
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-CkfVl7ql.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 { assertThrows } from "../assert_throws-
|
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 { assertThrows } from "../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-D9Gc5bvV.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
|
@@ -1134,5 +1134,30 @@ test("verifyRequest() [rfc9421] error handling for invalid signature base creati
|
|
1134
1134
|
});
|
1135
1135
|
assertEquals(result, null, "Verification should fail gracefully for malformed signature inputs");
|
1136
1136
|
});
|
1137
|
+
test("doubleKnock() regression test for TypeError: unusable bug #294", async () => {
|
1138
|
+
esm_default.spyGlobal();
|
1139
|
+
let requestCount = 0;
|
1140
|
+
esm_default.post("https://example.com/inbox-retry-redirect", (_cl) => {
|
1141
|
+
requestCount++;
|
1142
|
+
if (requestCount === 1) return new Response("Unauthorized", { status: 401 });
|
1143
|
+
else if (requestCount === 2) return Response.redirect("https://example.com/final-destination", 302);
|
1144
|
+
return new Response("Should not reach here", { status: 500 });
|
1145
|
+
});
|
1146
|
+
esm_default.post("https://example.com/final-destination", () => {
|
1147
|
+
return new Response("Success", { status: 200 });
|
1148
|
+
});
|
1149
|
+
const request = new Request("https://example.com/inbox-retry-redirect", {
|
1150
|
+
method: "POST",
|
1151
|
+
body: "Test activity content",
|
1152
|
+
headers: { "Content-Type": "application/activity+json" }
|
1153
|
+
});
|
1154
|
+
const response = await doubleKnock(request, {
|
1155
|
+
keyId: rsaPublicKey2.id,
|
1156
|
+
privateKey: rsaPrivateKey2
|
1157
|
+
});
|
1158
|
+
assertEquals(response.status, 200);
|
1159
|
+
assertEquals(requestCount, 2, "Should make 2 requests before redirect");
|
1160
|
+
esm_default.hardReset();
|
1161
|
+
});
|
1137
1162
|
|
1138
1163
|
//#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-Coh6BBtD.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-Df91ohvp.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-DU2MRGYe.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import "../actor-
|
17
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
16
|
+
import "../actor-CqSuisvH.js";
|
17
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-BLqpPTN_.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-D9Gc5bvV.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-Coh6BBtD.js";
|
9
9
|
import "../url-kTAI6_KP.js";
|
10
10
|
import "../multibase-DeCHcK8L.js";
|
11
|
-
import { CryptographicKey } from "../vocab-
|
11
|
+
import { CryptographicKey } from "../vocab-Df91ohvp.js";
|
12
12
|
import "../langstr-DbWheeIS.js";
|
13
|
-
import "../lookup-
|
13
|
+
import "../lookup-DU2MRGYe.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-CqSuisvH.js";
|
16
|
+
import { generateCryptoKeyPair } from "../key-BLqpPTN_.js";
|
17
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-zsHn8nfn.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-D9Gc5bvV.js";
|
24
24
|
import { encodeBase64 } from "byte-encodings/base64";
|
25
25
|
|
26
26
|
//#region sig/ld.test.ts
|
package/dist/sig/mod.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import "../kv-
|
4
|
-
import "../docloader-
|
5
|
-
import "../vocab-
|
6
|
-
import "../actor-
|
7
|
-
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-
|
8
|
-
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "../owner-
|
9
|
-
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../mod-
|
3
|
+
import "../kv-DDdb1hMa.js";
|
4
|
+
import "../docloader-BeCtcTOJ.js";
|
5
|
+
import "../vocab-By6mpzr-.js";
|
6
|
+
import "../actor-B4TBtqRP.js";
|
7
|
+
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-CP2ZUALI.js";
|
8
|
+
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "../owner-CEv_PfyK.js";
|
9
|
+
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../mod-D2uPZuP-.js";
|
10
10
|
export { CreateProofOptions, CreateSignatureOptions, DoesActorOwnKeyOptions, FetchKeyOptions, FetchKeyResult, GetKeyOwnerOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
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-DP2c5RKR.js";
|
6
|
+
import "../actor-CESvGo9c.js";
|
7
|
+
import "../lookup-BYgWjDk7.js";
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-BjUOfK1Q.js";
|
9
|
+
import { signRequest, verifyRequest } from "../http-lmPPO2Eo.js";
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-B0keqm8m.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 };
|