@fedify/fedify 2.0.0-pr.467.1877 → 2.0.0-pr.469.1873
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-DMbX2bPf.js → actor-Bo3uuvwH.js} +185 -185
- package/dist/{actor-DslgGxD8.js → actor-DhFfLv7K.js} +1 -1
- package/dist/{actor-BrMdE_1G.cjs → actor-DoaVs0vL.cjs} +185 -185
- package/dist/{builder-DvuChHyB.js → builder-DFaO3_4-.js} +3 -3
- package/dist/compat/mod.d.cts +3 -2
- package/dist/compat/mod.d.ts +3 -2
- package/dist/compat/transformers.test.js +14 -14
- package/dist/{context-V-XS2_6O.d.ts → context-DG0huGW-.d.ts} +3 -140
- package/dist/{context-PxGADCsD.d.cts → context-DJ8aSy2Q.d.cts} +3 -140
- package/dist/denokv-CCssOzMJ.js +57 -0
- package/dist/{docloader-CQCA5QKZ.js → docloader-B1AZ1LMA.js} +2 -2
- package/dist/{esm-DVill8zU.js → esm-CbckHird.js} +1 -1
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/collection.test.js +2 -2
- package/dist/federation/handler.test.js +15 -15
- package/dist/federation/idempotency.test.js +15 -15
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/kv.test.js +2 -2
- package/dist/federation/middleware.test.js +16 -16
- package/dist/federation/mod.cjs +7 -7
- package/dist/federation/mod.d.cts +3 -2
- package/dist/federation/mod.d.ts +3 -2
- package/dist/federation/mod.js +7 -7
- package/dist/federation/mq.test.js +4 -6
- package/dist/federation/negotiation.test.js +2 -2
- package/dist/federation/retry.test.js +2 -2
- package/dist/federation/router.test.js +2 -2
- package/dist/federation/send.test.js +9 -9
- package/dist/{http-GjJOLe0t.cjs → http-D27ZccIJ.cjs} +2 -2
- package/dist/{http-pBJCYh50.js → http-D8SvAGVC.js} +2 -2
- package/dist/{http-W1mkXyFw.js → http-nnaaa9xj.js} +2 -2
- package/dist/{inbox-Bk4PjO2V.js → inbox-C5M1_a0k.js} +1 -1
- package/dist/{key-BlPc80ei.js → key-bc3A8THw.js} +2 -2
- package/dist/{keycache-qku87Evf.js → keycache-CpTjHRpy.js} +1 -1
- package/dist/{keys-CXQWhBgw.js → keys-D6W2Pnoh.js} +1 -1
- package/dist/{kv-cache-BGGmyOF-.js → kv-cache-B_RVzls5.js} +1 -1
- package/dist/{kv-cache-BGfFfQma.cjs → kv-cache-CZcZLaEo.cjs} +1 -1
- package/dist/{ld-CQj76XXM.js → ld-D5Vg307g.js} +2 -2
- package/dist/{lookup-CUj1Ayf2.js → lookup-BBrk-_5k.js} +191 -186
- package/dist/{lookup-ZLHmgBj5.js → lookup-BXY5QJif.js} +7 -2
- package/dist/{lookup-BahLrzT6.cjs → lookup-DO7ZeFb2.cjs} +7 -2
- package/dist/middleware-BU2XnCCI.js +15 -0
- package/dist/{middleware-4BJL-9x8.js → middleware-CU0RJROn.js} +11 -11
- package/dist/middleware-D4qQ6MLq.cjs +15 -0
- package/dist/middleware-DEu9Xuza.js +26 -0
- package/dist/{middleware-CCBsGJcn.cjs → middleware-Dy7xPuu-.cjs} +7 -7
- package/dist/{middleware-DXsuKk_U.js → middleware-RgDZByG7.js} +7 -7
- package/dist/{mod-Cdo6SYlJ.d.ts → mod-BoHnwOCs.d.ts} +1 -1
- package/dist/{mod-BoRKfJPE.d.cts → mod-DJcZDvjA.d.cts} +1 -1
- package/dist/mod.cjs +7 -7
- package/dist/mod.d.cts +6 -5
- package/dist/mod.d.ts +6 -5
- package/dist/mod.js +7 -7
- package/dist/mq-CUKlBw08.d.ts +143 -0
- package/dist/mq-DcJPkXD5.d.cts +140 -0
- package/dist/nodeinfo/client.test.js +3 -3
- package/dist/nodeinfo/handler.test.js +14 -14
- package/dist/nodeinfo/mod.d.cts +1 -1
- package/dist/nodeinfo/mod.d.ts +1 -1
- package/dist/nodeinfo/types.test.js +2 -2
- package/dist/{owner-Buqg_Myf.js → owner-DSDpCSms.js} +2 -2
- package/dist/{proof-DJjdTnEN.js → proof-4L3D-iT4.js} +3 -3
- package/dist/{proof-AxiARBr_.js → proof-Bvu8zaM1.js} +2 -2
- package/dist/{proof-DizHNX8y.cjs → proof-C1-VSUNW.cjs} +3 -3
- package/dist/{send-B9ByF5wN.js → send-Cr3PSs0N.js} +2 -2
- package/dist/sig/http.test.js +7 -7
- package/dist/sig/key.test.js +5 -5
- package/dist/sig/ld.test.js +6 -6
- package/dist/sig/mod.cjs +4 -4
- package/dist/sig/mod.d.cts +1 -1
- package/dist/sig/mod.d.ts +1 -1
- package/dist/sig/mod.js +4 -4
- package/dist/sig/owner.test.js +6 -6
- package/dist/sig/proof.test.js +6 -6
- package/dist/testing/docloader.test.js +2 -2
- package/dist/testing/mod.js +2 -2
- package/dist/{testing-vN3EpiIw.js → testing-Bw9AfLxQ.js} +1 -1
- package/dist/utils/docloader.test.js +8 -8
- package/dist/utils/kv-cache.test.js +2 -2
- package/dist/utils/mod.cjs +4 -4
- package/dist/utils/mod.d.cts +1 -1
- package/dist/utils/mod.d.ts +1 -1
- package/dist/utils/mod.js +4 -4
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +3 -3
- package/dist/vocab/mod.cjs +3 -3
- package/dist/vocab/mod.js +3 -3
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +3 -3
- package/dist/{vocab-CdguqeJf.js → vocab-B74bq08l.js} +2 -2
- package/dist/{vocab-DEaLWwSP.cjs → vocab-HJLl6-1F.cjs} +2 -2
- package/dist/webfinger/handler.test.js +14 -14
- package/dist/webfinger/lookup.test.js +3 -3
- package/dist/webfinger/mod.cjs +1 -1
- package/dist/webfinger/mod.js +1 -1
- package/dist/x/cfworkers.cjs +100 -0
- package/dist/x/cfworkers.d.cts +59 -0
- package/dist/x/cfworkers.d.ts +61 -0
- package/dist/x/cfworkers.js +98 -0
- package/dist/x/cfworkers.test.d.ts +3 -0
- package/dist/x/cfworkers.test.js +177 -0
- package/dist/x/hono.cjs +61 -0
- package/dist/x/hono.d.cts +53 -0
- package/dist/x/hono.d.ts +55 -0
- package/dist/x/hono.js +60 -0
- package/dist/x/sveltekit.cjs +69 -0
- package/dist/x/sveltekit.d.cts +45 -0
- package/dist/x/sveltekit.d.ts +47 -0
- package/dist/x/sveltekit.js +68 -0
- package/package.json +34 -3
- package/dist/middleware-BLZsPbCt.js +0 -15
- package/dist/middleware-D8qnhAFG.cjs +0 -15
- package/dist/middleware-Dw-pChHQ.js +0 -26
- /package/dist/{mod-DMpuiKXi.d.cts → mod-0noXw66R.d.cts} +0 -0
- /package/dist/{mod-D5Z2tISD.d.ts → mod-B2iOw50L.d.ts} +0 -0
- /package/dist/{mod-aAE2wOWV.d.ts → mod-B9M-8jm2.d.ts} +0 -0
- /package/dist/{mod-CcDPcLJW.d.cts → mod-C2tOeRkN.d.cts} +0 -0
- /package/dist/{mod-DgxG-byT.d.cts → mod-DgdBYYa0.d.cts} +0 -0
- /package/dist/{mod-bjzj5QIb.d.ts → mod-xIj-IT58.d.ts} +0 -0
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../lookup-
|
|
6
|
+
import "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
10
|
import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-pY7-3icS.js";
|
|
11
|
-
import { test } from "../testing-
|
|
11
|
+
import { test } from "../testing-Bw9AfLxQ.js";
|
|
12
12
|
import "../std__assert-DWivtrGR.js";
|
|
13
13
|
import "../assert_rejects-Ce45JcFg.js";
|
|
14
14
|
import "../assert_throws-BNXdRGWP.js";
|
|
15
15
|
import "../assert_not_equals-C80BG-_5.js";
|
|
16
|
-
import { esm_default } from "../esm-
|
|
16
|
+
import { esm_default } from "../esm-CbckHird.js";
|
|
17
17
|
|
|
18
18
|
//#region src/nodeinfo/client.test.ts
|
|
19
19
|
test("getNodeInfo()", async (t) => {
|
|
@@ -3,30 +3,30 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../lookup-
|
|
6
|
+
import "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
|
11
|
-
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-
|
|
11
|
+
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-CU0RJROn.js";
|
|
12
12
|
import "../client-pY7-3icS.js";
|
|
13
13
|
import "../types-C2XVl6gj.js";
|
|
14
|
-
import "../actor-
|
|
15
|
-
import "../key-
|
|
16
|
-
import "../http-
|
|
17
|
-
import "../ld-
|
|
18
|
-
import "../owner-
|
|
19
|
-
import "../proof-
|
|
20
|
-
import "../docloader-
|
|
14
|
+
import "../actor-DhFfLv7K.js";
|
|
15
|
+
import "../key-bc3A8THw.js";
|
|
16
|
+
import "../http-D8SvAGVC.js";
|
|
17
|
+
import "../ld-D5Vg307g.js";
|
|
18
|
+
import "../owner-DSDpCSms.js";
|
|
19
|
+
import "../proof-Bvu8zaM1.js";
|
|
20
|
+
import "../docloader-B1AZ1LMA.js";
|
|
21
21
|
import "../kv-cache-DN9pfMBe.js";
|
|
22
|
-
import "../inbox-
|
|
23
|
-
import "../builder-
|
|
22
|
+
import "../inbox-C5M1_a0k.js";
|
|
23
|
+
import "../builder-DFaO3_4-.js";
|
|
24
24
|
import "../collection-BzWsN9pB.js";
|
|
25
|
-
import "../keycache-
|
|
25
|
+
import "../keycache-CpTjHRpy.js";
|
|
26
26
|
import "../negotiation-C4nFufNk.js";
|
|
27
27
|
import "../retry-CfF8Gn4d.js";
|
|
28
|
-
import "../send-
|
|
29
|
-
import { createRequestContext, test } from "../testing-
|
|
28
|
+
import "../send-Cr3PSs0N.js";
|
|
29
|
+
import { createRequestContext, test } from "../testing-Bw9AfLxQ.js";
|
|
30
30
|
import "../std__assert-DWivtrGR.js";
|
|
31
31
|
import "../assert_rejects-Ce45JcFg.js";
|
|
32
32
|
import "../assert_throws-BNXdRGWP.js";
|
package/dist/nodeinfo/mod.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo } from "../client-94iWEfQa.cjs";
|
|
2
|
-
import "../mod-
|
|
2
|
+
import "../mod-C2tOeRkN.cjs";
|
|
3
3
|
export { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo };
|
package/dist/nodeinfo/mod.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo } from "../client-BsGzbnV-.js";
|
|
4
|
-
import "../mod-
|
|
4
|
+
import "../mod-xIj-IT58.js";
|
|
5
5
|
export { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo };
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../lookup-
|
|
6
|
+
import "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
10
|
import { nodeInfoToJson } from "../types-C2XVl6gj.js";
|
|
11
|
-
import { test } from "../testing-
|
|
11
|
+
import { test } from "../testing-Bw9AfLxQ.js";
|
|
12
12
|
import "../std__assert-DWivtrGR.js";
|
|
13
13
|
import "../assert_rejects-Ce45JcFg.js";
|
|
14
14
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey, Object as Object$1 } from "./lookup-
|
|
7
|
-
import { isActor } from "./actor-
|
|
6
|
+
import { CryptographicKey, Object as Object$1 } from "./lookup-BBrk-_5k.js";
|
|
7
|
+
import { isActor } from "./actor-DhFfLv7K.js";
|
|
8
8
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
9
9
|
import { trace } from "@opentelemetry/api";
|
|
10
10
|
|
|
@@ -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 } from "./lookup-
|
|
6
|
-
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./http-
|
|
5
|
+
import { deno_default } from "./lookup-BXY5QJif.js";
|
|
6
|
+
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-Bo3uuvwH.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./http-nnaaa9xj.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import jsonld from "jsonld";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Activity, DataIntegrityProof, Multikey, deno_default, getTypeId } from "./lookup-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
6
|
+
import { Activity, DataIntegrityProof, Multikey, deno_default, getTypeId } from "./lookup-BBrk-_5k.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-bc3A8THw.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import { encodeHex } from "byte-encodings/hex";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
5
|
const require_chunk = require('./chunk-DqRYRqnO.cjs');
|
|
6
|
-
const require_lookup = require('./lookup-
|
|
7
|
-
const require_actor = require('./actor-
|
|
8
|
-
const require_http = require('./http-
|
|
6
|
+
const require_lookup = require('./lookup-DO7ZeFb2.cjs');
|
|
7
|
+
const require_actor = require('./actor-DoaVs0vL.cjs');
|
|
8
|
+
const require_http = require('./http-D27ZccIJ.cjs');
|
|
9
9
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
|
10
10
|
const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
|
|
11
11
|
const jsonld = require_chunk.__toESM(require("jsonld"));
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./lookup-
|
|
7
|
-
import { doubleKnock } from "./http-
|
|
6
|
+
import { deno_default } from "./lookup-BBrk-_5k.js";
|
|
7
|
+
import { doubleKnock } from "./http-D8SvAGVC.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,20 +3,20 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../lookup-
|
|
6
|
+
import "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../actor-
|
|
11
|
-
import { exportJwk } from "../key-
|
|
12
|
-
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-
|
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import "../actor-DhFfLv7K.js";
|
|
11
|
+
import { exportJwk } from "../key-bc3A8THw.js";
|
|
12
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-D8SvAGVC.js";
|
|
13
|
+
import { mockDocumentLoader, test } from "../testing-Bw9AfLxQ.js";
|
|
14
14
|
import { assertExists, assertStringIncludes } from "../std__assert-DWivtrGR.js";
|
|
15
15
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
16
16
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
|
17
17
|
import "../assert_not_equals-C80BG-_5.js";
|
|
18
|
-
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-
|
|
19
|
-
import { esm_default } from "../esm-
|
|
18
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-D6W2Pnoh.js";
|
|
19
|
+
import { esm_default } from "../esm-CbckHird.js";
|
|
20
20
|
import { exportSpki } from "@fedify/vocab-runtime";
|
|
21
21
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
22
22
|
|
package/dist/sig/key.test.js
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey, Multikey } from "../lookup-
|
|
6
|
+
import { CryptographicKey, Multikey } from "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../actor-
|
|
11
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
|
12
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import "../actor-DhFfLv7K.js";
|
|
11
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-bc3A8THw.js";
|
|
12
|
+
import { mockDocumentLoader, test } from "../testing-Bw9AfLxQ.js";
|
|
13
13
|
import "../std__assert-DWivtrGR.js";
|
|
14
14
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
15
15
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
|
16
16
|
import "../assert_not_equals-C80BG-_5.js";
|
|
17
|
-
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
|
17
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-D6W2Pnoh.js";
|
|
18
18
|
|
|
19
19
|
//#region src/sig/key.test.ts
|
|
20
20
|
test("validateCryptoKey()", async () => {
|
package/dist/sig/ld.test.js
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey } from "../lookup-
|
|
6
|
+
import { CryptographicKey } from "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
|
-
import "../actor-
|
|
10
|
-
import { generateCryptoKeyPair } from "../key-
|
|
11
|
-
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-
|
|
12
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
9
|
+
import "../actor-DhFfLv7K.js";
|
|
10
|
+
import { generateCryptoKeyPair } from "../key-bc3A8THw.js";
|
|
11
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-D5Vg307g.js";
|
|
12
|
+
import { mockDocumentLoader, test } from "../testing-Bw9AfLxQ.js";
|
|
13
13
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
14
14
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
|
15
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
|
15
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-D6W2Pnoh.js";
|
|
16
16
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
17
17
|
|
|
18
18
|
//#region src/sig/ld.test.ts
|
package/dist/sig/mod.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
require('../lookup-
|
|
6
|
-
require('../actor-
|
|
7
|
-
const require_http = require('../http-
|
|
8
|
-
const require_proof = require('../proof-
|
|
5
|
+
require('../lookup-DO7ZeFb2.cjs');
|
|
6
|
+
require('../actor-DoaVs0vL.cjs');
|
|
7
|
+
const require_http = require('../http-D27ZccIJ.cjs');
|
|
8
|
+
const require_proof = require('../proof-C1-VSUNW.cjs');
|
|
9
9
|
require('../sig-YYj5tCnr.cjs');
|
|
10
10
|
|
|
11
11
|
exports.attachSignature = require_proof.attachSignature;
|
package/dist/sig/mod.d.cts
CHANGED
|
@@ -2,5 +2,5 @@ import "../vocab-CeDBzu-f.cjs";
|
|
|
2
2
|
import "../actor-f2NtjyCg.cjs";
|
|
3
3
|
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-M8k5mKc0.cjs";
|
|
4
4
|
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "../owner-B4HbyP8s.cjs";
|
|
5
|
-
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../mod-
|
|
5
|
+
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../mod-DgdBYYa0.cjs";
|
|
6
6
|
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.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ import "../vocab-BCWe1Ih5.js";
|
|
|
4
4
|
import "../actor-DqFajh9s.js";
|
|
5
5
|
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-BbO0ejuk.js";
|
|
6
6
|
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "../owner-kQRGVXG1.js";
|
|
7
|
-
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../mod-
|
|
7
|
+
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../mod-B2iOw50L.js";
|
|
8
8
|
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,10 +2,10 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "../lookup-
|
|
6
|
-
import "../actor-
|
|
7
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-
|
|
8
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-
|
|
5
|
+
import "../lookup-BXY5QJif.js";
|
|
6
|
+
import "../actor-Bo3uuvwH.js";
|
|
7
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-nnaaa9xj.js";
|
|
8
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-4L3D-iT4.js";
|
|
9
9
|
import "../sig-C34-oHBl.js";
|
|
10
10
|
|
|
11
11
|
export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/sig/owner.test.js
CHANGED
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Create, lookupObject } from "../lookup-
|
|
6
|
+
import { Create, lookupObject } from "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../actor-
|
|
11
|
-
import "../key-
|
|
12
|
-
import { doesActorOwnKey, getKeyOwner } from "../owner-
|
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import "../actor-DhFfLv7K.js";
|
|
11
|
+
import "../key-bc3A8THw.js";
|
|
12
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-DSDpCSms.js";
|
|
13
|
+
import { mockDocumentLoader, test } from "../testing-Bw9AfLxQ.js";
|
|
14
14
|
import "../std__assert-DWivtrGR.js";
|
|
15
15
|
import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
|
|
16
16
|
import "../assert_throws-BNXdRGWP.js";
|
|
17
17
|
import "../assert_not_equals-C80BG-_5.js";
|
|
18
|
-
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-
|
|
18
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-D6W2Pnoh.js";
|
|
19
19
|
|
|
20
20
|
//#region src/sig/owner.test.ts
|
|
21
21
|
test("doesActorOwnKey()", async () => {
|
package/dist/sig/proof.test.js
CHANGED
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Create, DataIntegrityProof, Multikey, Note, Place } from "../lookup-
|
|
6
|
+
import { Create, DataIntegrityProof, Multikey, Note, Place } from "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../actor-
|
|
11
|
-
import "../key-
|
|
12
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import "../actor-DhFfLv7K.js";
|
|
11
|
+
import "../key-bc3A8THw.js";
|
|
12
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-Bvu8zaM1.js";
|
|
13
|
+
import { mockDocumentLoader, test } from "../testing-Bw9AfLxQ.js";
|
|
14
14
|
import "../std__assert-DWivtrGR.js";
|
|
15
15
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
16
16
|
import "../assert_throws-BNXdRGWP.js";
|
|
17
17
|
import "../assert_not_equals-C80BG-_5.js";
|
|
18
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
|
18
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-D6W2Pnoh.js";
|
|
19
19
|
import { decodeMultibase, importMultibaseKey } from "@fedify/vocab-runtime";
|
|
20
20
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
|
21
21
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../lookup-
|
|
6
|
+
import "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import { mockDocumentLoader, test } from "../testing-Bw9AfLxQ.js";
|
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
|
12
12
|
import "../assert_rejects-Ce45JcFg.js";
|
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|
package/dist/testing/mod.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../lookup-
|
|
7
|
-
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-
|
|
6
|
+
import "../lookup-BBrk-_5k.js";
|
|
7
|
+
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-Bw9AfLxQ.js";
|
|
8
8
|
|
|
9
9
|
export { createInboxContext, createRequestContext, test, testDefinitions };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { RouterError, __require, lookupObject, lookupWebFinger, traverseCollection } from "./lookup-
|
|
6
|
+
import { RouterError, __require, lookupObject, lookupWebFinger, traverseCollection } from "./lookup-BBrk-_5k.js";
|
|
7
7
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
|
8
8
|
import { trace } from "@opentelemetry/api";
|
|
9
9
|
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../lookup-
|
|
6
|
+
import "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../actor-
|
|
11
|
-
import "../key-
|
|
12
|
-
import { verifyRequest } from "../http-
|
|
13
|
-
import { getAuthenticatedDocumentLoader } from "../docloader-
|
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import "../actor-DhFfLv7K.js";
|
|
11
|
+
import "../key-bc3A8THw.js";
|
|
12
|
+
import { verifyRequest } from "../http-D8SvAGVC.js";
|
|
13
|
+
import { getAuthenticatedDocumentLoader } from "../docloader-B1AZ1LMA.js";
|
|
14
|
+
import { mockDocumentLoader, test } from "../testing-Bw9AfLxQ.js";
|
|
15
15
|
import "../std__assert-DWivtrGR.js";
|
|
16
16
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
17
17
|
import "../assert_throws-BNXdRGWP.js";
|
|
18
18
|
import "../assert_not_equals-C80BG-_5.js";
|
|
19
|
-
import { rsaPrivateKey2 } from "../keys-
|
|
20
|
-
import { esm_default } from "../esm-
|
|
19
|
+
import { rsaPrivateKey2 } from "../keys-D6W2Pnoh.js";
|
|
20
|
+
import { esm_default } from "../esm-CbckHird.js";
|
|
21
21
|
import { UrlError } from "@fedify/vocab-runtime";
|
|
22
22
|
|
|
23
23
|
//#region src/utils/docloader.test.ts
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../lookup-
|
|
6
|
+
import "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { MockKvStore, kvCache } from "../kv-cache-DN9pfMBe.js";
|
|
8
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
8
|
+
import { mockDocumentLoader, test } from "../testing-Bw9AfLxQ.js";
|
|
9
9
|
import { preloadedContexts } from "@fedify/vocab-runtime";
|
|
10
10
|
import { deepStrictEqual, throws } from "node:assert";
|
|
11
11
|
|
package/dist/utils/mod.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
require('../lookup-
|
|
6
|
-
require('../actor-
|
|
7
|
-
require('../http-
|
|
8
|
-
const require_kv_cache = require('../kv-cache-
|
|
5
|
+
require('../lookup-DO7ZeFb2.cjs');
|
|
6
|
+
require('../actor-DoaVs0vL.cjs');
|
|
7
|
+
require('../http-D27ZccIJ.cjs');
|
|
8
|
+
const require_kv_cache = require('../kv-cache-CZcZLaEo.cjs');
|
|
9
9
|
require('../utils-DyRU1gdZ.cjs');
|
|
10
10
|
|
|
11
11
|
exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
|
package/dist/utils/mod.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../vocab-CeDBzu-f.cjs";
|
|
2
2
|
import "../http-M8k5mKc0.cjs";
|
|
3
3
|
import "../kv-Bxr0Q87_.cjs";
|
|
4
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-
|
|
4
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-0noXw66R.cjs";
|
|
5
5
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/utils/mod.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import { URLPattern } from "urlpattern-polyfill";
|
|
|
3
3
|
import "../vocab-BCWe1Ih5.js";
|
|
4
4
|
import "../http-BbO0ejuk.js";
|
|
5
5
|
import "../kv-BKNZ-Tb-.js";
|
|
6
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-
|
|
6
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-B9M-8jm2.js";
|
|
7
7
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/utils/mod.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "../lookup-
|
|
6
|
-
import "../actor-
|
|
7
|
-
import "../http-
|
|
8
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-
|
|
5
|
+
import "../lookup-BXY5QJif.js";
|
|
6
|
+
import "../actor-Bo3uuvwH.js";
|
|
7
|
+
import "../http-nnaaa9xj.js";
|
|
8
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-B_RVzls5.js";
|
|
9
9
|
import "../utils-D-Va7aXC.js";
|
|
10
10
|
|
|
11
11
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/vocab/actor.test.js
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Application, Group, Organization, Person, Service, __export } from "../lookup-
|
|
6
|
+
import { Application, Group, Organization, Person, Service, __export } from "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-
|
|
11
|
-
import { test } from "../testing-
|
|
10
|
+
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-DhFfLv7K.js";
|
|
11
|
+
import { test } from "../testing-Bw9AfLxQ.js";
|
|
12
12
|
import { assertStrictEquals } from "../std__assert-DWivtrGR.js";
|
|
13
13
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
14
14
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
|
15
15
|
import "../assert_not_equals-C80BG-_5.js";
|
|
16
|
-
import { esm_default } from "../esm-
|
|
16
|
+
import { esm_default } from "../esm-CbckHird.js";
|
|
17
17
|
|
|
18
18
|
//#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
|
|
19
19
|
var PreconditionFailure = class PreconditionFailure extends Error {
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Collection, Note, Object as Object$1, Person, lookupObject, traverseCollection } from "../lookup-
|
|
6
|
+
import { Collection, Note, Object as Object$1, Person, lookupObject, traverseCollection } from "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import { mockDocumentLoader, test } from "../testing-Bw9AfLxQ.js";
|
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
|
12
12
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|
|
14
14
|
import "../assert_not_equals-C80BG-_5.js";
|
|
15
|
-
import { esm_default } from "../esm-
|
|
15
|
+
import { esm_default } from "../esm-CbckHird.js";
|
|
16
16
|
|
|
17
17
|
//#region src/vocab/lookup.test.ts
|
|
18
18
|
test("lookupObject()", {
|
package/dist/vocab/mod.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
require('../lookup-
|
|
6
|
-
const require_actor = require('../actor-
|
|
7
|
-
const require_vocab = require('../vocab-
|
|
5
|
+
require('../lookup-DO7ZeFb2.cjs');
|
|
6
|
+
const require_actor = require('../actor-DoaVs0vL.cjs');
|
|
7
|
+
const require_vocab = require('../vocab-HJLl6-1F.cjs');
|
|
8
8
|
|
|
9
9
|
exports.Accept = require_actor.Accept;
|
|
10
10
|
exports.Activity = require_actor.Activity;
|
package/dist/vocab/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 "../lookup-
|
|
6
|
-
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-
|
|
7
|
-
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-
|
|
5
|
+
import "../lookup-BXY5QJif.js";
|
|
6
|
+
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-Bo3uuvwH.js";
|
|
7
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-B74bq08l.js";
|
|
8
8
|
|
|
9
9
|
export { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
|
package/dist/vocab/type.test.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Person, getTypeId } from "../lookup-
|
|
6
|
+
import { Person, getTypeId } from "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
|
-
import { test } from "../testing-
|
|
8
|
+
import { test } from "../testing-Bw9AfLxQ.js";
|
|
9
9
|
|
|
10
10
|
//#region src/vocab/type.test.ts
|
|
11
11
|
test("getTypeId()", () => {
|
package/dist/vocab/vocab.test.js
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, Link, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, __commonJS, __require, __toESM, vocab_exports } from "../lookup-
|
|
6
|
+
import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, Link, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, __commonJS, __require, __toESM, vocab_exports } from "../lookup-BBrk-_5k.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import { mockDocumentLoader, test } from "../testing-Bw9AfLxQ.js";
|
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
|
12
12
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
13
13
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
|
14
14
|
import { assertNotEquals } from "../assert_not_equals-C80BG-_5.js";
|
|
15
|
-
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-
|
|
15
|
+
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-D6W2Pnoh.js";
|
|
16
16
|
import { pascalCase } from "es-toolkit";
|
|
17
17
|
import { LanguageString, decodeMultibase } from "@fedify/vocab-runtime";
|
|
18
18
|
import { fileURLToPath } from "node:url";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { deno_default, lookupWebFinger } from "./lookup-
|
|
6
|
-
import { Object as Object$1, getTypeId } from "./actor-
|
|
5
|
+
import { deno_default, lookupWebFinger } from "./lookup-BXY5QJif.js";
|
|
6
|
+
import { Object as Object$1, getTypeId } from "./actor-Bo3uuvwH.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
9
9
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|