@fedify/fedify 1.6.7 → 1.6.9
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-fvEQljsh.js → actor-DY_ediuQ.js} +179 -225
- package/dist/{actor-CJUOVkus.js → actor-qNVQigMJ.js} +3 -3
- package/dist/{authdocloader-UN6bFYqE.js → authdocloader-ColUu5fh.js} +3 -3
- package/dist/{authdocloader-sLr3_CKo.js → authdocloader-DTpSS6vq.js} +3 -3
- package/dist/{builder-Dwwf9LZs.js → builder-CTAic_n3.js} +3 -3
- package/dist/{client-BOQZYjsA.js → client-Bp-TqQI6.js} +1 -1
- package/dist/compat/transformers.test.d.ts +2 -1
- package/dist/compat/transformers.test.js +19 -18
- package/dist/{context-B9H6ypbl.js → context-BAx407GT.js} +2 -2
- package/dist/{docloader-D27WkV2-.js → docloader-NmruKwBX.js} +2 -2
- package/dist/{docloader-BpcD_SLO.js → docloader-UqcHJRjL.js} +2 -2
- package/dist/{esm-CASHO3OR.js → esm-Db4De7AS.js} +5 -7
- 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 +79 -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 +21 -20
- 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 +12 -11
- package/dist/{http-DEMqisx6.js → http-DjFoawa6.js} +3 -3
- package/dist/{http-hhXcurBA.js → http-XWz7prGl.js} +3 -3
- package/dist/{inbox-Dn9cGz72.js → inbox-eAHML3xw.js} +2 -2
- package/dist/{key-BS8tcPCt.js → key-B4UFmNvL.js} +2 -2
- package/dist/{key-heR1cMpe.js → key-ByAyOg3m.js} +5 -5
- package/dist/{key-Djjl3-NI.js → key-C1UhN1LT.js} +4 -4
- package/dist/{key-HZNzd-FS.js → key-CUEyp_yz.js} +3 -3
- package/dist/{keycache-DxrNxDV9.js → keycache-YqFJn7EL.js} +1 -1
- package/dist/{keys-cVHkVfkB.js → keys-Dd_v3HDs.js} +1 -1
- package/dist/{ld-BHlSwz3F.js → ld-D8WCx-VU.js} +3 -3
- package/dist/{lookup-d9KQSGH3.js → lookup-DEN8lvde.js} +1 -1
- package/dist/{lookup-D1UwpzKL.js → lookup-DHlMvC3Q.js} +1 -1
- package/dist/{lookup-DZ5JT-dZ.js → lookup-DggOHyrB.js} +3 -3
- package/dist/middleware-B-ysz1Gc.js +17 -0
- package/dist/middleware-Bmr-V4-W.js +33 -0
- package/dist/{middleware-DbABwSSq.js → middleware-D_j7IO2V.js} +29 -29
- package/dist/{middleware-jYmGxpPU.js → middleware-mmR5eUDI.js} +24 -24
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.d.ts +2 -1
- package/dist/nodeinfo/client.test.js +5 -4
- 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-CY_4qryA.js → owner-lYBh2f5Z.js} +3 -3
- package/dist/{proof-NEDLECyh.js → proof-BAoGg0DQ.js} +3 -3
- package/dist/{proof-ZOvHKN5-.js → proof-CPamyAcG.js} +3 -3
- package/dist/runtime/authdocloader.test.d.ts +2 -1
- package/dist/runtime/authdocloader.test.js +11 -10
- package/dist/runtime/docloader.test.d.ts +2 -1
- package/dist/runtime/docloader.test.js +28 -3
- 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-BrO7rgzl.js → send-CrbpYrfD.js} +2 -2
- package/dist/sig/http.test.d.ts +2 -1
- package/dist/sig/http.test.js +10 -9
- 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-45TSQHsw.js → types-Bl1hBU1t.js} +1 -1
- package/dist/vocab/actor.test.d.ts +2 -1
- package/dist/vocab/actor.test.js +8 -10
- package/dist/vocab/lookup.test.d.ts +2 -1
- package/dist/vocab/lookup.test.js +7 -6
- 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-DzvTuYjm.js → vocab-Cs9KbJAx.js} +178 -224
- package/dist/{vocab-B42jXGwc.js → vocab-DSVoOj6P.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 +5 -4
- 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-YRLKRl1N.js +0 -17
- package/dist/middleware-lqxhBcoT.js +0 -33
|
@@ -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-UqcHJRjL.js";
|
|
7
|
+
import { CryptographicKey, Object as Object$1 } from "./vocab-Cs9KbJAx.js";
|
|
8
|
+
import { isActor } from "./actor-qNVQigMJ.js";
|
|
9
9
|
import { trace } from "@opentelemetry/api";
|
|
10
10
|
|
|
11
11
|
//#region sig/owner.ts
|
|
@@ -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-UqcHJRjL.js";
|
|
7
|
+
import { Activity, DataIntegrityProof, Multikey } from "./vocab-Cs9KbJAx.js";
|
|
8
8
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
|
9
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
9
|
+
import { fetchKey, validateCryptoKey } from "./key-CUEyp_yz.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
12
12
|
import { encodeHex } from "byte-encodings/hex";
|
|
@@ -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-NmruKwBX.js";
|
|
6
|
+
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-DY_ediuQ.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-B4UFmNvL.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import jsonld from "jsonld";
|
|
@@ -6,17 +6,17 @@
|
|
|
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-UqcHJRjL.js";
|
|
10
10
|
import { UrlError } from "../url-kTAI6_KP.js";
|
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
|
12
|
-
import "../vocab-
|
|
12
|
+
import "../vocab-Cs9KbJAx.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-DEN8lvde.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-qNVQigMJ.js";
|
|
17
|
+
import "../key-CUEyp_yz.js";
|
|
18
|
+
import { verifyRequest } from "../http-DjFoawa6.js";
|
|
19
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-DTpSS6vq.js";
|
|
20
20
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
21
21
|
import "../std__assert-vp0TKMS1.js";
|
|
22
22
|
import { assertRejects } from "../assert_rejects-C-sxEMM5.js";
|
|
@@ -24,8 +24,8 @@ 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 { rsaPrivateKey2 } from "../keys-
|
|
28
|
-
import { esm_default } from "../esm-
|
|
27
|
+
import { rsaPrivateKey2 } from "../keys-Dd_v3HDs.js";
|
|
28
|
+
import { esm_default } from "../esm-Db4De7AS.js";
|
|
29
29
|
|
|
30
30
|
//#region runtime/authdocloader.test.ts
|
|
31
31
|
test("getAuthenticatedDocumentLoader()", async (t) => {
|
|
@@ -66,4 +66,5 @@ test("getAuthenticatedDocumentLoader()", async (t) => {
|
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
//#endregion
|
|
69
|
+
//#endregion
|
|
70
|
+
export { };
|
|
@@ -7,7 +7,7 @@ import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
|
|
7
7
|
import "../assert-DmFG7ppO.js";
|
|
8
8
|
import "../assert_instance_of-CF09JHYM.js";
|
|
9
9
|
import { MemoryKvStore } from "../kv-DohFOP2C.js";
|
|
10
|
-
import { FetchError, contexts_default, deno_default, getDocumentLoader, getUserAgent, kvCache } from "../docloader-
|
|
10
|
+
import { FetchError, contexts_default, deno_default, getDocumentLoader, getUserAgent, kvCache } from "../docloader-UqcHJRjL.js";
|
|
11
11
|
import { UrlError } from "../url-kTAI6_KP.js";
|
|
12
12
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
13
13
|
import "../std__assert-vp0TKMS1.js";
|
|
@@ -16,7 +16,7 @@ import "../assert_is_error-nrwA1GeT.js";
|
|
|
16
16
|
import "../assert_not_equals-Dc7y-V5Q.js";
|
|
17
17
|
import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
|
|
18
18
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
19
|
-
import { esm_default } from "../esm-
|
|
19
|
+
import { esm_default } from "../esm-Db4De7AS.js";
|
|
20
20
|
import process from "node:process";
|
|
21
21
|
|
|
22
22
|
//#region runtime/docloader.test.ts
|
|
@@ -159,6 +159,30 @@ test("getDocumentLoader()", async (t) => {
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
});
|
|
162
|
+
esm_default.get("https://example.com/xhtml-link", {
|
|
163
|
+
body: `<html>
|
|
164
|
+
<head>
|
|
165
|
+
<meta charset="utf-8" />
|
|
166
|
+
<link
|
|
167
|
+
rel=alternate
|
|
168
|
+
type="application/activity+json"
|
|
169
|
+
href="https://example.com/object" />
|
|
170
|
+
</head>
|
|
171
|
+
</html>`,
|
|
172
|
+
headers: { "Content-Type": "application/xhtml+xml; charset=utf-8" }
|
|
173
|
+
});
|
|
174
|
+
await t.step("XHTML <link>", async () => {
|
|
175
|
+
assertEquals(await fetchDocumentLoader("https://example.com/xhtml-link"), {
|
|
176
|
+
contextUrl: null,
|
|
177
|
+
documentUrl: "https://example.com/object",
|
|
178
|
+
document: {
|
|
179
|
+
"@context": "https://www.w3.org/ns/activitystreams",
|
|
180
|
+
id: "https://example.com/object",
|
|
181
|
+
name: "Fetched object",
|
|
182
|
+
type: "Object"
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
});
|
|
162
186
|
esm_default.get("https://example.com/html-a", {
|
|
163
187
|
body: `<html>
|
|
164
188
|
<head>
|
|
@@ -440,4 +464,5 @@ test("getUserAgent()", () => {
|
|
|
440
464
|
}
|
|
441
465
|
});
|
|
442
466
|
|
|
443
|
-
//#endregion
|
|
467
|
+
//#endregion
|
|
468
|
+
export { };
|
package/dist/runtime/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-UqcHJRjL.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-Cs9KbJAx.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-DEN8lvde.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import "../actor-
|
|
17
|
-
import { exportJwk, importJwk } from "../key-
|
|
16
|
+
import "../actor-qNVQigMJ.js";
|
|
17
|
+
import { exportJwk, importJwk } from "../key-CUEyp_yz.js";
|
|
18
18
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
19
19
|
import "../std__assert-vp0TKMS1.js";
|
|
20
20
|
import "../assert_rejects-C-sxEMM5.js";
|
|
@@ -105,4 +105,5 @@ test("exportMultibaseKey()", async () => {
|
|
|
105
105
|
assertEquals(ed25519Mb2, "z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK");
|
|
106
106
|
});
|
|
107
107
|
|
|
108
|
-
//#endregion
|
|
108
|
+
//#endregion
|
|
109
|
+
export { };
|
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-NmruKwBX.js";
|
|
6
|
+
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-DY_ediuQ.js";
|
|
7
|
+
import "../lookup-DHlMvC3Q.js";
|
|
8
|
+
import "../key-B4UFmNvL.js";
|
|
9
|
+
import "../http-XWz7prGl.js";
|
|
10
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-ColUu5fh.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-UqcHJRjL.js";
|
|
7
|
+
import { doubleKnock } from "./http-DjFoawa6.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-UqcHJRjL.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { exportSpki } from "../vocab-
|
|
12
|
+
import { exportSpki } from "../vocab-Cs9KbJAx.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-DEN8lvde.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-qNVQigMJ.js";
|
|
17
|
+
import { exportJwk } from "../key-CUEyp_yz.js";
|
|
18
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-DjFoawa6.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,8 +23,8 @@ 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-
|
|
27
|
-
import { esm_default } from "../esm-
|
|
26
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-Dd_v3HDs.js";
|
|
27
|
+
import { esm_default } from "../esm-Db4De7AS.js";
|
|
28
28
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
29
29
|
|
|
30
30
|
//#region sig/http.test.ts
|
|
@@ -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-UqcHJRjL.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-Cs9KbJAx.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-DEN8lvde.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import "../actor-
|
|
17
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
|
16
|
+
import "../actor-qNVQigMJ.js";
|
|
17
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-CUEyp_yz.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-Dd_v3HDs.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-UqcHJRjL.js";
|
|
9
9
|
import "../url-kTAI6_KP.js";
|
|
10
10
|
import "../multibase-DeCHcK8L.js";
|
|
11
|
-
import { CryptographicKey } from "../vocab-
|
|
11
|
+
import { CryptographicKey } from "../vocab-Cs9KbJAx.js";
|
|
12
12
|
import "../langstr-DbWheeIS.js";
|
|
13
|
-
import "../lookup-
|
|
13
|
+
import "../lookup-DEN8lvde.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-qNVQigMJ.js";
|
|
16
|
+
import { generateCryptoKeyPair } from "../key-CUEyp_yz.js";
|
|
17
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-D8WCx-VU.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-Dd_v3HDs.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-NmruKwBX.js";
|
|
6
|
+
import "../actor-DY_ediuQ.js";
|
|
7
|
+
import "../lookup-DHlMvC3Q.js";
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-B4UFmNvL.js";
|
|
9
|
+
import { signRequest, verifyRequest } from "../http-XWz7prGl.js";
|
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-CPamyAcG.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-UqcHJRjL.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { Create } from "../vocab-
|
|
12
|
+
import { Create } from "../vocab-Cs9KbJAx.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-DEN8lvde.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-qNVQigMJ.js";
|
|
17
|
+
import "../key-CUEyp_yz.js";
|
|
18
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-lYBh2f5Z.js";
|
|
19
|
+
import { lookupObject } from "../lookup-DggOHyrB.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-Dd_v3HDs.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-UqcHJRjL.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-Cs9KbJAx.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-DEN8lvde.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import "../actor-
|
|
17
|
-
import "../key-
|
|
18
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
|
16
|
+
import "../actor-qNVQigMJ.js";
|
|
17
|
+
import "../key-CUEyp_yz.js";
|
|
18
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-BAoGg0DQ.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-Dd_v3HDs.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-NmruKwBX.js";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
|
|
8
8
|
//#region nodeinfo/semver.ts
|