@fedify/fedify 1.6.13 → 1.6.15
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-CcchiJa2.js → actor-C92GiVtr.js} +3 -3
- package/dist/{actor-5yLVgYbM.d.ts → actor.d.ts} +2 -2
- package/dist/{actor-_hg-8_KF.js → actor.js} +179 -179
- package/dist/{authdocloader-1Ja0Him4.js → authdocloader-D6yaLhIk.js} +3 -3
- package/dist/{authdocloader-D0Ds92Vk.js → authdocloader.js} +3 -3
- package/dist/{builder-MOXlzktX.js → builder-BxA2MvN4.js} +3 -3
- package/dist/{client-C0yKnQtt.js → client-CwG-8F8w.js} +1 -1
- package/dist/{client-BvbhJik1.d.ts → client.d.ts} +1 -1
- package/dist/compat/{mod-MHHm8HmK.d.ts → mod.d.ts} +2 -2
- package/dist/compat/mod.js +1 -1
- package/dist/compat/transformers.test.js +17 -17
- package/dist/{context-D7ltDKkC.js → context-p_zzA2HO.js} +2 -2
- package/dist/{context-C0X9n1tC.d.ts → context.d.ts} +9 -9
- package/dist/{docloader-C8QMM0lt.js → docloader-BHWMnBPo.js} +1 -1
- package/dist/{docloader-DecYq5GI.d.ts → docloader.d.ts} +1 -1
- package/dist/{docloader-M1Np6SYc.js → docloader.js} +1 -1
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/handler.test.js +19 -19
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/{mod-CLkToKJa.d.ts → mod.d.ts} +3 -3
- package/dist/federation/mod.js +11 -11
- package/dist/federation/send.test.js +9 -9
- package/dist/{http-BHjHzW-Y.js → http-CDlvJGv-.js} +3 -3
- package/dist/{http-ByqMVN52.d.ts → http.d.ts} +2 -2
- package/dist/{http-BDLuDcCk.js → http.js} +3 -3
- package/dist/{inbox-FoFUUhTd.js → inbox-ABTFAUzE.js} +2 -2
- package/dist/{key-BABKdX0W.js → key-B3u1GQO0.js} +3 -3
- package/dist/{key-CragWqc4.js → key-CFRooZ-5.js} +5 -5
- package/dist/key.js +10 -0
- package/dist/{key-Bj3ZyKd0.js → key2.js} +2 -2
- package/dist/{keycache-DONR-3XM.js → keycache-cqA-vzFY.js} +1 -1
- package/dist/{keys-KKGS1cpG.js → keys-Bf_ChvLf.js} +1 -1
- package/dist/{ld-DWSCvUJ-.js → ld-BqMJ-pvL.js} +3 -3
- package/dist/{lookup-DZBZTzld.js → lookup-BjvH6B6r.js} +3 -3
- package/dist/{lookup-C2TcPqxv.js → lookup-DYr8tISP.js} +1 -1
- package/dist/{lookup-BULfTwGb.d.ts → lookup.d.ts} +1 -1
- package/dist/{lookup-DIQCWtDD.js → lookup.js} +1 -1
- package/dist/{middleware-BdpSheEs.js → middleware-BqxvDftt.js} +17 -17
- package/dist/{middleware-C9cbWvtY.js → middleware-DrkMfeD5.js} +15 -15
- package/dist/{middleware-DRRaBIs3.js → middleware.js} +11 -11
- package/dist/middleware2.js +17 -0
- package/dist/{mod-zMq7BLOW.d.ts → mod.d.ts} +17 -17
- package/dist/mod.js +11 -11
- package/dist/{mod-CMpqcqIz.d.ts → mod2.d.ts} +2 -2
- package/dist/{mod-C3OG1oK4.d.ts → mod3.d.ts} +3 -3
- package/dist/nodeinfo/client.test.js +2 -2
- package/dist/nodeinfo/handler.test.js +18 -18
- package/dist/nodeinfo/{mod-DY5OWSvB.d.ts → mod.d.ts} +1 -1
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/{owner-BSBuyxV4.js → owner-DmM37H3z.js} +3 -3
- package/dist/{owner-BPGFI8Z3.d.ts → owner.d.ts} +3 -3
- package/dist/{proof-CBHYxfh3.js → proof-DAyY3Emw.js} +3 -3
- package/dist/{proof-B8LPOkvZ.js → proof.js} +3 -3
- package/dist/runtime/authdocloader.test.js +8 -8
- package/dist/runtime/docloader.test.js +1 -1
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/{mod-C4NyJ6RS.d.ts → mod.d.ts} +3 -3
- package/dist/runtime/mod.js +6 -6
- package/dist/{send-Cah-Z3UO.js → send-D8zkuKY4.js} +2 -2
- package/dist/sig/http.test.js +7 -7
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/{mod-DM0ceGER.d.ts → mod.d.ts} +3 -3
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +8 -8
- package/dist/sig/proof.test.js +7 -7
- package/dist/{types-BXvx0wJm.js → types.js} +1 -1
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/{mod-CgB887se.d.ts → mod.d.ts} +3 -3
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +3 -3
- package/dist/{vocab-B0flx0SI.js → vocab-Cj-MrEWI.js} +178 -178
- package/dist/{vocab-BQaYsnhp.d.ts → vocab.d.ts} +1 -1
- package/dist/{vocab-BXeM76FR.js → vocab.js} +3 -3
- package/dist/webfinger/handler.test.js +18 -18
- package/dist/webfinger/lookup.test.js +2 -2
- package/dist/webfinger/{mod-CE5bmzpH.d.ts → mod.d.ts} +1 -1
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/{cfworkers-D_9uuXWs.d.ts → cfworkers.d.ts} +2 -2
- package/dist/x/{hono-TxxAGdy4.d.ts → hono.d.ts} +1 -1
- package/dist/x/{sveltekit-KCF9gOdN.d.ts → sveltekit.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/key-OMbKIYLU.js +0 -10
- package/dist/middleware-CZQPvn1Y.js +0 -17
- /package/dist/{kv-CyvhW67T.d.ts → kv.d.ts} +0 -0
- /package/dist/{mq-CITHOe0n.d.ts → mq.d.ts} +0 -0
- /package/dist/{transformers-CFSWUhNi.js → transformers.js} +0 -0
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { a as getRemoteDocument, c as logRequest, n as createRequest } from "./docloader-
|
|
6
|
+
import { a as getRemoteDocument, c as logRequest, n as createRequest } from "./docloader-BHWMnBPo.js";
|
|
7
7
|
import { a as validatePublicUrl, t as UrlError } from "./url-BdNvnK9P.js";
|
|
8
|
-
import { a as validateCryptoKey } from "./key-
|
|
9
|
-
import { n as doubleKnock } from "./http-
|
|
8
|
+
import { a as validateCryptoKey } from "./key-B3u1GQO0.js";
|
|
9
|
+
import { n as doubleKnock } from "./http-CDlvJGv-.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
11
11
|
|
|
12
12
|
//#region runtime/authdocloader.ts
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { a as getRemoteDocument, c as logRequest, l as UrlError, n as createRequest, u as validatePublicUrl } from "./docloader
|
|
6
|
-
import { a as validateCryptoKey } from "./
|
|
7
|
-
import { t as doubleKnock } from "./http
|
|
5
|
+
import { a as getRemoteDocument, c as logRequest, l as UrlError, n as createRequest, u as validatePublicUrl } from "./docloader.js";
|
|
6
|
+
import { a as validateCryptoKey } from "./key2.js";
|
|
7
|
+
import { t as doubleKnock } from "./http.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
|
|
10
10
|
//#region runtime/authdocloader.ts
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { d as version, u as name } from "./docloader-
|
|
6
|
+
import { d as version, u as name } from "./docloader-BHWMnBPo.js";
|
|
7
7
|
import { n as RouterError, t as Router } from "./router-BuDkN4RQ.js";
|
|
8
8
|
import { t as getTypeId } from "./type-DFsmi-p1.js";
|
|
9
|
-
import { t as InboxListenerSet } from "./inbox-
|
|
9
|
+
import { t as InboxListenerSet } from "./inbox-ABTFAUzE.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
11
11
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
12
12
|
|
|
@@ -34,7 +34,7 @@ var FederationBuilderImpl = class {
|
|
|
34
34
|
this.objectTypeIds = {};
|
|
35
35
|
}
|
|
36
36
|
async build(options) {
|
|
37
|
-
const { FederationImpl } = await import("./middleware-
|
|
37
|
+
const { FederationImpl } = await import("./middleware-BqxvDftt.js");
|
|
38
38
|
const f = new FederationImpl(options);
|
|
39
39
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
|
40
40
|
f.router = this.router.clone();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { o as getUserAgent } from "./docloader-
|
|
6
|
+
import { o as getUserAgent } from "./docloader-BHWMnBPo.js";
|
|
7
7
|
import { n as parseSemVer } from "./semver-D9d-VO-_.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { s as GetUserAgentOptions } from "./docloader
|
|
3
|
+
import { s as GetUserAgentOptions } from "./docloader.js";
|
|
4
4
|
|
|
5
5
|
//#region nodeinfo/semver.d.ts
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { n as Activity } from "../vocab
|
|
4
|
-
import { it as ActivityTransformer, n as Context } from "../context
|
|
3
|
+
import { n as Activity } from "../vocab.js";
|
|
4
|
+
import { it as ActivityTransformer, n as Context } from "../context.js";
|
|
5
5
|
|
|
6
6
|
//#region compat/transformers.d.ts
|
|
7
7
|
|
package/dist/compat/mod.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { n as autoIdAssigner, r as getDefaultActivityTransformers, t as actorDehydrator } from "../transformers
|
|
5
|
+
import { n as autoIdAssigner, r as getDefaultActivityTransformers, t as actorDehydrator } from "../transformers.js";
|
|
6
6
|
|
|
7
7
|
export { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
|
|
@@ -8,30 +8,30 @@ import { t as assertEquals } from "../assert_equals-Dy0MG_Zw.js";
|
|
|
8
8
|
import { t as assert } from "../assert-C-mZuSQl.js";
|
|
9
9
|
import { t as assertInstanceOf } from "../assert_instance_of-lS0Jr2iu.js";
|
|
10
10
|
import { t as MemoryKvStore } from "../kv-DosGYGwV.js";
|
|
11
|
-
import { _ as autoIdAssigner, g as actorDehydrator, n as FederationImpl } from "../middleware-
|
|
12
|
-
import "../docloader-
|
|
11
|
+
import { _ as autoIdAssigner, g as actorDehydrator, n as FederationImpl } from "../middleware-DrkMfeD5.js";
|
|
12
|
+
import "../docloader-BHWMnBPo.js";
|
|
13
13
|
import "../url-BdNvnK9P.js";
|
|
14
14
|
import "../semver-D9d-VO-_.js";
|
|
15
|
-
import "../client-
|
|
15
|
+
import "../client-CwG-8F8w.js";
|
|
16
16
|
import "../router-BuDkN4RQ.js";
|
|
17
17
|
import "../types-CB_2uuCA.js";
|
|
18
18
|
import "../multibase-DBcKTV2a.js";
|
|
19
|
-
import { S as Person, l as Follow } from "../vocab-
|
|
19
|
+
import { S as Person, l as Follow } from "../vocab-Cj-MrEWI.js";
|
|
20
20
|
import "../langstr-pFHBDU4y.js";
|
|
21
|
-
import "../lookup-
|
|
22
|
-
import "../actor-
|
|
23
|
-
import "../key-
|
|
24
|
-
import "../http-
|
|
25
|
-
import "../authdocloader-
|
|
26
|
-
import "../ld-
|
|
27
|
-
import "../owner-
|
|
28
|
-
import "../proof-
|
|
29
|
-
import "../lookup-
|
|
30
|
-
import "../inbox-
|
|
31
|
-
import "../builder-
|
|
21
|
+
import "../lookup-DYr8tISP.js";
|
|
22
|
+
import "../actor-C92GiVtr.js";
|
|
23
|
+
import "../key-B3u1GQO0.js";
|
|
24
|
+
import "../http-CDlvJGv-.js";
|
|
25
|
+
import "../authdocloader-D6yaLhIk.js";
|
|
26
|
+
import "../ld-BqMJ-pvL.js";
|
|
27
|
+
import "../owner-DmM37H3z.js";
|
|
28
|
+
import "../proof-DAyY3Emw.js";
|
|
29
|
+
import "../lookup-BjvH6B6r.js";
|
|
30
|
+
import "../inbox-ABTFAUzE.js";
|
|
31
|
+
import "../builder-BxA2MvN4.js";
|
|
32
32
|
import "../collection-XNLQhehO.js";
|
|
33
|
-
import "../keycache-
|
|
34
|
-
import "../send-
|
|
33
|
+
import "../keycache-cqA-vzFY.js";
|
|
34
|
+
import "../send-D8zkuKY4.js";
|
|
35
35
|
import { t as test } from "../testing-qaAD4B0t.js";
|
|
36
36
|
|
|
37
37
|
//#region compat/transformers.test.ts
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
6
|
import { n as RouterError } from "./router-BuDkN4RQ.js";
|
|
7
|
-
import { t as lookupWebFinger } from "./lookup-
|
|
8
|
-
import { n as traverseCollection, t as lookupObject } from "./lookup-
|
|
7
|
+
import { t as lookupWebFinger } from "./lookup-DYr8tISP.js";
|
|
8
|
+
import { n as traverseCollection, t as lookupObject } from "./lookup-BjvH6B6r.js";
|
|
9
9
|
import { t as mockDocumentLoader } from "./docloader-BDSHZfTJ.js";
|
|
10
10
|
import { trace } from "@opentelemetry/api";
|
|
11
11
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { n as KvStore, t as KvKey } from "./kv
|
|
4
|
-
import { n as DocumentLoader, r as DocumentLoaderFactory, s as GetUserAgentOptions, t as AuthenticatedDocumentLoaderFactory } from "./docloader
|
|
5
|
-
import { o as JsonValue, s as NodeInfo, t as GetNodeInfoOptions } from "./client
|
|
6
|
-
import { B as Multikey, H as Object$1, I as Link, O as Hashtag, d as Collection, m as CryptographicKey, n as Activity } from "./vocab
|
|
7
|
-
import { a as Recipient, t as Actor } from "./actor
|
|
8
|
-
import { n as GetKeyOwnerOptions } from "./owner
|
|
9
|
-
import { i as TraverseCollectionOptions, r as LookupObjectOptions } from "./
|
|
10
|
-
import { i as ResourceDescriptor, t as LookupWebFingerOptions } from "./lookup
|
|
11
|
-
import { r as MessageQueue } from "./mq
|
|
3
|
+
import { n as KvStore, t as KvKey } from "./kv.js";
|
|
4
|
+
import { n as DocumentLoader, r as DocumentLoaderFactory, s as GetUserAgentOptions, t as AuthenticatedDocumentLoaderFactory } from "./docloader.js";
|
|
5
|
+
import { o as JsonValue, s as NodeInfo, t as GetNodeInfoOptions } from "./client.js";
|
|
6
|
+
import { B as Multikey, H as Object$1, I as Link, O as Hashtag, d as Collection, m as CryptographicKey, n as Activity } from "./vocab.js";
|
|
7
|
+
import { a as Recipient, t as Actor } from "./actor.js";
|
|
8
|
+
import { n as GetKeyOwnerOptions } from "./owner.js";
|
|
9
|
+
import { i as TraverseCollectionOptions, r as LookupObjectOptions } from "./mod2.js";
|
|
10
|
+
import { i as ResourceDescriptor, t as LookupWebFingerOptions } from "./lookup.js";
|
|
11
|
+
import { r as MessageQueue } from "./mq.js";
|
|
12
12
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
|
13
13
|
|
|
14
14
|
//#region compat/types.d.ts
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
import "../chunk-DvTpRkcT.js";
|
|
7
7
|
import { t as assertEquals } from "../assert_equals-Dy0MG_Zw.js";
|
|
8
8
|
import { t as MemoryKvStore } from "../kv-DosGYGwV.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-BHWMnBPo.js";
|
|
10
10
|
import "../url-BdNvnK9P.js";
|
|
11
11
|
import { n as parseSemVer } from "../semver-D9d-VO-_.js";
|
|
12
12
|
import "../router-BuDkN4RQ.js";
|
|
13
13
|
import "../multibase-DBcKTV2a.js";
|
|
14
|
-
import { S as Person, g as Note, t as Activity } from "../vocab-
|
|
14
|
+
import { S as Person, g as Note, t as Activity } from "../vocab-Cj-MrEWI.js";
|
|
15
15
|
import "../langstr-pFHBDU4y.js";
|
|
16
|
-
import "../inbox-
|
|
17
|
-
import { n as createFederationBuilder } from "../builder-
|
|
16
|
+
import "../inbox-ABTFAUzE.js";
|
|
17
|
+
import { n as createFederationBuilder } from "../builder-BxA2MvN4.js";
|
|
18
18
|
import { t as test } from "../testing-qaAD4B0t.js";
|
|
19
19
|
import { a as assertExists } from "../std__assert-BdP_WkD-.js";
|
|
20
20
|
import "../assert_rejects-Bkh5lA1a.js";
|
|
@@ -7,38 +7,38 @@ import "../chunk-DvTpRkcT.js";
|
|
|
7
7
|
import { t as assertEquals } from "../assert_equals-Dy0MG_Zw.js";
|
|
8
8
|
import { t as assert } from "../assert-C-mZuSQl.js";
|
|
9
9
|
import { t as MemoryKvStore } from "../kv-DosGYGwV.js";
|
|
10
|
-
import { a as createFederation, c as handleCollection, d as respondWithObject, f as respondWithObjectIfAcceptable, l as handleInbox, o as acceptsJsonLd, s as handleActor, u as handleObject } from "../middleware-
|
|
11
|
-
import "../docloader-
|
|
10
|
+
import { a as createFederation, c as handleCollection, d as respondWithObject, f as respondWithObjectIfAcceptable, l as handleInbox, o as acceptsJsonLd, s as handleActor, u as handleObject } from "../middleware-DrkMfeD5.js";
|
|
11
|
+
import "../docloader-BHWMnBPo.js";
|
|
12
12
|
import "../url-BdNvnK9P.js";
|
|
13
13
|
import "../semver-D9d-VO-_.js";
|
|
14
|
-
import "../client-
|
|
14
|
+
import "../client-CwG-8F8w.js";
|
|
15
15
|
import "../router-BuDkN4RQ.js";
|
|
16
16
|
import "../types-CB_2uuCA.js";
|
|
17
17
|
import "../multibase-DBcKTV2a.js";
|
|
18
|
-
import { S as Person, a as Create, g as Note } from "../vocab-
|
|
18
|
+
import { S as Person, a as Create, g as Note } from "../vocab-Cj-MrEWI.js";
|
|
19
19
|
import "../langstr-pFHBDU4y.js";
|
|
20
|
-
import "../lookup-
|
|
21
|
-
import "../actor-
|
|
22
|
-
import "../key-
|
|
23
|
-
import { s as signRequest } from "../http-
|
|
24
|
-
import "../authdocloader-
|
|
25
|
-
import "../ld-
|
|
26
|
-
import "../owner-
|
|
27
|
-
import "../proof-
|
|
28
|
-
import "../lookup-
|
|
29
|
-
import { t as InboxListenerSet } from "../inbox-
|
|
30
|
-
import "../builder-
|
|
20
|
+
import "../lookup-DYr8tISP.js";
|
|
21
|
+
import "../actor-C92GiVtr.js";
|
|
22
|
+
import "../key-B3u1GQO0.js";
|
|
23
|
+
import { s as signRequest } from "../http-CDlvJGv-.js";
|
|
24
|
+
import "../authdocloader-D6yaLhIk.js";
|
|
25
|
+
import "../ld-BqMJ-pvL.js";
|
|
26
|
+
import "../owner-DmM37H3z.js";
|
|
27
|
+
import "../proof-DAyY3Emw.js";
|
|
28
|
+
import "../lookup-BjvH6B6r.js";
|
|
29
|
+
import { t as InboxListenerSet } from "../inbox-ABTFAUzE.js";
|
|
30
|
+
import "../builder-BxA2MvN4.js";
|
|
31
31
|
import "../collection-XNLQhehO.js";
|
|
32
|
-
import "../keycache-
|
|
33
|
-
import "../send-
|
|
32
|
+
import "../keycache-cqA-vzFY.js";
|
|
33
|
+
import "../send-D8zkuKY4.js";
|
|
34
34
|
import { t as test } from "../testing-qaAD4B0t.js";
|
|
35
35
|
import "../std__assert-BdP_WkD-.js";
|
|
36
36
|
import { n as assertFalse } from "../assert_rejects-Bkh5lA1a.js";
|
|
37
37
|
import "../assert_is_error-CIYFACrT.js";
|
|
38
38
|
import "../assert_throws-CmpfkWEM.js";
|
|
39
39
|
import { t as mockDocumentLoader } from "../docloader-BDSHZfTJ.js";
|
|
40
|
-
import { n as createRequestContext, t as createInboxContext } from "../context-
|
|
41
|
-
import { a as rsaPrivateKey3, c as rsaPublicKey3, s as rsaPublicKey2 } from "../keys-
|
|
40
|
+
import { n as createRequestContext, t as createInboxContext } from "../context-p_zzA2HO.js";
|
|
41
|
+
import { a as rsaPrivateKey3, c as rsaPublicKey3, s as rsaPublicKey2 } from "../keys-Bf_ChvLf.js";
|
|
42
42
|
|
|
43
43
|
//#region federation/handler.test.ts
|
|
44
44
|
test("acceptsJsonLd()", () => {
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
import "../chunk-DvTpRkcT.js";
|
|
7
7
|
import { t as assertEquals } from "../assert_equals-Dy0MG_Zw.js";
|
|
8
|
-
import "../docloader-
|
|
8
|
+
import "../docloader-BHWMnBPo.js";
|
|
9
9
|
import "../url-BdNvnK9P.js";
|
|
10
10
|
import "../multibase-DBcKTV2a.js";
|
|
11
|
-
import { D as Update, a as Create, p as Invite, t as Activity, v as Offer } from "../vocab-
|
|
11
|
+
import { D as Update, a as Create, p as Invite, t as Activity, v as Offer } from "../vocab-Cj-MrEWI.js";
|
|
12
12
|
import "../langstr-pFHBDU4y.js";
|
|
13
|
-
import { t as InboxListenerSet } from "../inbox-
|
|
13
|
+
import { t as InboxListenerSet } from "../inbox-ABTFAUzE.js";
|
|
14
14
|
import { t as test } from "../testing-qaAD4B0t.js";
|
|
15
15
|
import "../assert_is_error-CIYFACrT.js";
|
|
16
16
|
import { t as assertThrows } from "../assert_throws-CmpfkWEM.js";
|
|
@@ -8,12 +8,12 @@ import { t as assertEquals } from "../assert_equals-Dy0MG_Zw.js";
|
|
|
8
8
|
import { t as assert } from "../assert-C-mZuSQl.js";
|
|
9
9
|
import { t as assertInstanceOf } from "../assert_instance_of-lS0Jr2iu.js";
|
|
10
10
|
import { t as MemoryKvStore } from "../kv-DosGYGwV.js";
|
|
11
|
-
import "../docloader-
|
|
11
|
+
import "../docloader-BHWMnBPo.js";
|
|
12
12
|
import "../url-BdNvnK9P.js";
|
|
13
13
|
import "../multibase-DBcKTV2a.js";
|
|
14
|
-
import { h as Multikey, o as CryptographicKey } from "../vocab-
|
|
14
|
+
import { h as Multikey, o as CryptographicKey } from "../vocab-Cj-MrEWI.js";
|
|
15
15
|
import "../langstr-pFHBDU4y.js";
|
|
16
|
-
import { t as KvKeyCache } from "../keycache-
|
|
16
|
+
import { t as KvKeyCache } from "../keycache-cqA-vzFY.js";
|
|
17
17
|
import { t as test } from "../testing-qaAD4B0t.js";
|
|
18
18
|
|
|
19
19
|
//#region federation/keycache.test.ts
|
|
@@ -8,31 +8,31 @@ import { t as assertEquals } from "../assert_equals-Dy0MG_Zw.js";
|
|
|
8
8
|
import { t as assert } from "../assert-C-mZuSQl.js";
|
|
9
9
|
import { t as assertInstanceOf } from "../assert_instance_of-lS0Jr2iu.js";
|
|
10
10
|
import { t as MemoryKvStore } from "../kv-DosGYGwV.js";
|
|
11
|
-
import { a as createFederation, n as FederationImpl, r as InboxContextImpl, t as ContextImpl } from "../middleware-
|
|
12
|
-
import { r as fetchDocumentLoader, t as FetchError } from "../docloader-
|
|
11
|
+
import { a as createFederation, n as FederationImpl, r as InboxContextImpl, t as ContextImpl } from "../middleware-DrkMfeD5.js";
|
|
12
|
+
import { r as fetchDocumentLoader, t as FetchError } from "../docloader-BHWMnBPo.js";
|
|
13
13
|
import "../url-BdNvnK9P.js";
|
|
14
14
|
import "../semver-D9d-VO-_.js";
|
|
15
|
-
import "../client-
|
|
15
|
+
import "../client-CwG-8F8w.js";
|
|
16
16
|
import { n as RouterError } from "../router-BuDkN4RQ.js";
|
|
17
17
|
import "../types-CB_2uuCA.js";
|
|
18
18
|
import "../multibase-DBcKTV2a.js";
|
|
19
|
-
import { S as Person, _ as Object$1, a as Create, g as Note, h as Multikey, n as Announce, p as Invite, t as Activity, v as Offer } from "../vocab-
|
|
19
|
+
import { S as Person, _ as Object$1, a as Create, g as Note, h as Multikey, n as Announce, p as Invite, t as Activity, v as Offer } from "../vocab-Cj-MrEWI.js";
|
|
20
20
|
import "../langstr-pFHBDU4y.js";
|
|
21
|
-
import "../lookup-
|
|
21
|
+
import "../lookup-DYr8tISP.js";
|
|
22
22
|
import { t as getTypeId } from "../type-DFsmi-p1.js";
|
|
23
|
-
import "../actor-
|
|
24
|
-
import "../key-
|
|
25
|
-
import { l as verifyRequest, s as signRequest } from "../http-
|
|
26
|
-
import { t as getAuthenticatedDocumentLoader } from "../authdocloader-
|
|
27
|
-
import { a as signJsonLd, o as verifyJsonLd, r as detachSignature } from "../ld-
|
|
28
|
-
import { t as doesActorOwnKey } from "../owner-
|
|
29
|
-
import { n as signObject, r as verifyObject } from "../proof-
|
|
30
|
-
import { t as lookupObject } from "../lookup-
|
|
31
|
-
import "../inbox-
|
|
32
|
-
import "../builder-
|
|
23
|
+
import "../actor-C92GiVtr.js";
|
|
24
|
+
import "../key-B3u1GQO0.js";
|
|
25
|
+
import { l as verifyRequest, s as signRequest } from "../http-CDlvJGv-.js";
|
|
26
|
+
import { t as getAuthenticatedDocumentLoader } from "../authdocloader-D6yaLhIk.js";
|
|
27
|
+
import { a as signJsonLd, o as verifyJsonLd, r as detachSignature } from "../ld-BqMJ-pvL.js";
|
|
28
|
+
import { t as doesActorOwnKey } from "../owner-DmM37H3z.js";
|
|
29
|
+
import { n as signObject, r as verifyObject } from "../proof-DAyY3Emw.js";
|
|
30
|
+
import { t as lookupObject } from "../lookup-BjvH6B6r.js";
|
|
31
|
+
import "../inbox-ABTFAUzE.js";
|
|
32
|
+
import "../builder-BxA2MvN4.js";
|
|
33
33
|
import "../collection-XNLQhehO.js";
|
|
34
|
-
import "../keycache-
|
|
35
|
-
import "../send-
|
|
34
|
+
import "../keycache-cqA-vzFY.js";
|
|
35
|
+
import "../send-D8zkuKY4.js";
|
|
36
36
|
import { t as test } from "../testing-qaAD4B0t.js";
|
|
37
37
|
import { n as assertStrictEquals } from "../std__assert-BdP_WkD-.js";
|
|
38
38
|
import { n as assertFalse, t as assertRejects } from "../assert_rejects-Bkh5lA1a.js";
|
|
@@ -40,7 +40,7 @@ import "../assert_is_error-CIYFACrT.js";
|
|
|
40
40
|
import { t as assertNotEquals } from "../assert_not_equals-C1azCAB0.js";
|
|
41
41
|
import { t as assertThrows } from "../assert_throws-CmpfkWEM.js";
|
|
42
42
|
import { t as mockDocumentLoader } from "../docloader-BDSHZfTJ.js";
|
|
43
|
-
import { a as rsaPrivateKey3, c as rsaPublicKey3, i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-
|
|
43
|
+
import { a as rsaPrivateKey3, c as rsaPublicKey3, i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-Bf_ChvLf.js";
|
|
44
44
|
import { t as esm_default } from "../esm-BRXvTSrx.js";
|
|
45
45
|
|
|
46
46
|
//#region testing/fixtures/example.com/person.json
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { i as MemoryKvStore, n as KvStore, r as KvStoreSetOptions, t as KvKey } from "../kv
|
|
4
|
-
import { $ as SharedInboxKeyDispatcher, A as Message, B as ActorDispatcher, C as FederationOrigin, D as RetryContext, E as CreateExponentialBackoffPolicyOptions, F as RouterRouteResult, G as CollectionCursor, H as ActorKeyPairsDispatcher, I as RespondWithObjectOptions, J as InboxListener, K as CollectionDispatcher, L as respondWithObject, M as Router, N as RouterError, O as RetryPolicy, P as RouterOptions, Q as OutboxErrorHandler, R as respondWithObjectIfAcceptable, S as FederationKvPrefixes, T as createFederation, U as AuthorizePredicate, V as ActorHandleMapper, W as CollectionCounter, X as ObjectAuthorizePredicate, Y as NodeInfoDispatcher, Z as ObjectDispatcher, _ as FederationOptions, a as InboxContext, b as ObjectCallbackSetters, c as RouteActivityOptions, d as ActorCallbackSetters, et as SenderKeyPair, f as CollectionCallbackSetters, g as FederationFetchOptions, h as FederationBuilder, i as GetSignedKeyOptions, j as createFederationBuilder, k as createExponentialBackoffPolicy, l as SendActivityOptions, m as Federation, n as Context, nt as buildCollectionSynchronizationHeader, o as ParseUriResult, p as Federatable, q as InboxErrorHandler, r as ForwardActivityOptions, rt as digest, s as RequestContext, t as ActorKeyPair, tt as PageItems, u as SendActivityOptionsForCollection, v as FederationStartQueueOptions, w as FederationQueueOptions, x as CreateFederationOptions, y as InboxListenerSetters, z as ActorAliasMapper } from "../context
|
|
5
|
-
import { a as MessageQueueListenOptions, i as MessageQueueEnqueueOptions, n as InProcessMessageQueueOptions, o as ParallelMessageQueue, r as MessageQueue, t as InProcessMessageQueue } from "../mq
|
|
3
|
+
import { i as MemoryKvStore, n as KvStore, r as KvStoreSetOptions, t as KvKey } from "../kv.js";
|
|
4
|
+
import { $ as SharedInboxKeyDispatcher, A as Message, B as ActorDispatcher, C as FederationOrigin, D as RetryContext, E as CreateExponentialBackoffPolicyOptions, F as RouterRouteResult, G as CollectionCursor, H as ActorKeyPairsDispatcher, I as RespondWithObjectOptions, J as InboxListener, K as CollectionDispatcher, L as respondWithObject, M as Router, N as RouterError, O as RetryPolicy, P as RouterOptions, Q as OutboxErrorHandler, R as respondWithObjectIfAcceptable, S as FederationKvPrefixes, T as createFederation, U as AuthorizePredicate, V as ActorHandleMapper, W as CollectionCounter, X as ObjectAuthorizePredicate, Y as NodeInfoDispatcher, Z as ObjectDispatcher, _ as FederationOptions, a as InboxContext, b as ObjectCallbackSetters, c as RouteActivityOptions, d as ActorCallbackSetters, et as SenderKeyPair, f as CollectionCallbackSetters, g as FederationFetchOptions, h as FederationBuilder, i as GetSignedKeyOptions, j as createFederationBuilder, k as createExponentialBackoffPolicy, l as SendActivityOptions, m as Federation, n as Context, nt as buildCollectionSynchronizationHeader, o as ParseUriResult, p as Federatable, q as InboxErrorHandler, r as ForwardActivityOptions, rt as digest, s as RequestContext, t as ActorKeyPair, tt as PageItems, u as SendActivityOptionsForCollection, v as FederationStartQueueOptions, w as FederationQueueOptions, x as CreateFederationOptions, y as InboxListenerSetters, z as ActorAliasMapper } from "../context.js";
|
|
5
|
+
import { a as MessageQueueListenOptions, i as MessageQueueEnqueueOptions, n as InProcessMessageQueueOptions, o as ParallelMessageQueue, r as MessageQueue, t as InProcessMessageQueue } from "../mq.js";
|
|
6
6
|
export { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, Context, CreateExponentialBackoffPolicyOptions, type CreateFederationOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, type FederationKvPrefixes, FederationOptions, type FederationOrigin, type FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InProcessMessageQueue, InProcessMessageQueueOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, KvKey, KvStore, KvStoreSetOptions, MemoryKvStore, type Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParallelMessageQueue, ParseUriResult, RequestContext, type RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, type SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
|
package/dist/federation/mod.js
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "../transformers
|
|
6
|
-
import "../docloader
|
|
7
|
-
import "../actor
|
|
8
|
-
import { a as createFederation, c as respondWithObjectIfAcceptable, d as createFederationBuilder, f as Router, l as buildCollectionSynchronizationHeader, o as createExponentialBackoffPolicy, p as RouterError, s as respondWithObject, u as digest } from "../middleware
|
|
9
|
-
import "../lookup
|
|
10
|
-
import "../
|
|
11
|
-
import "../http
|
|
12
|
-
import "../proof
|
|
13
|
-
import "../types
|
|
14
|
-
import "../authdocloader
|
|
15
|
-
import "../vocab
|
|
5
|
+
import "../transformers.js";
|
|
6
|
+
import "../docloader.js";
|
|
7
|
+
import "../actor.js";
|
|
8
|
+
import { a as createFederation, c as respondWithObjectIfAcceptable, d as createFederationBuilder, f as Router, l as buildCollectionSynchronizationHeader, o as createExponentialBackoffPolicy, p as RouterError, s as respondWithObject, u as digest } from "../middleware.js";
|
|
9
|
+
import "../lookup.js";
|
|
10
|
+
import "../key2.js";
|
|
11
|
+
import "../http.js";
|
|
12
|
+
import "../proof.js";
|
|
13
|
+
import "../types.js";
|
|
14
|
+
import "../authdocloader.js";
|
|
15
|
+
import "../vocab.js";
|
|
16
16
|
|
|
17
17
|
//#region federation/kv.ts
|
|
18
18
|
/**
|
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
import "../chunk-DvTpRkcT.js";
|
|
7
7
|
import { t as assertEquals } from "../assert_equals-Dy0MG_Zw.js";
|
|
8
8
|
import { t as assert } from "../assert-C-mZuSQl.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-BHWMnBPo.js";
|
|
10
10
|
import "../url-BdNvnK9P.js";
|
|
11
11
|
import "../multibase-DBcKTV2a.js";
|
|
12
|
-
import { S as Person, T as Service, c as Endpoints, r as Application, t as Activity, u as Group } from "../vocab-
|
|
12
|
+
import { S as Person, T as Service, c as Endpoints, r as Application, t as Activity, u as Group } from "../vocab-Cj-MrEWI.js";
|
|
13
13
|
import "../langstr-pFHBDU4y.js";
|
|
14
|
-
import "../lookup-
|
|
15
|
-
import "../actor-
|
|
16
|
-
import "../key-
|
|
17
|
-
import { l as verifyRequest } from "../http-
|
|
18
|
-
import { t as doesActorOwnKey } from "../owner-
|
|
19
|
-
import { n as sendActivity, t as extractInboxes } from "../send-
|
|
14
|
+
import "../lookup-DYr8tISP.js";
|
|
15
|
+
import "../actor-C92GiVtr.js";
|
|
16
|
+
import "../key-B3u1GQO0.js";
|
|
17
|
+
import { l as verifyRequest } from "../http-CDlvJGv-.js";
|
|
18
|
+
import { t as doesActorOwnKey } from "../owner-DmM37H3z.js";
|
|
19
|
+
import { n as sendActivity, t as extractInboxes } from "../send-D8zkuKY4.js";
|
|
20
20
|
import { t as test } from "../testing-qaAD4B0t.js";
|
|
21
21
|
import "../std__assert-BdP_WkD-.js";
|
|
22
22
|
import { n as assertFalse, t as assertRejects } from "../assert_rejects-Bkh5lA1a.js";
|
|
@@ -24,7 +24,7 @@ import "../assert_is_error-CIYFACrT.js";
|
|
|
24
24
|
import { t as assertNotEquals } from "../assert_not_equals-C1azCAB0.js";
|
|
25
25
|
import "../assert_throws-CmpfkWEM.js";
|
|
26
26
|
import { t as mockDocumentLoader } from "../docloader-BDSHZfTJ.js";
|
|
27
|
-
import { i as rsaPrivateKey2, n as ed25519PrivateKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-
|
|
27
|
+
import { i as rsaPrivateKey2, n as ed25519PrivateKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-Bf_ChvLf.js";
|
|
28
28
|
import { t as esm_default } from "../esm-BRXvTSrx.js";
|
|
29
29
|
|
|
30
30
|
//#region federation/send.test.ts
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { d as version, u as name } from "./docloader-
|
|
7
|
-
import { o as CryptographicKey } from "./vocab-
|
|
8
|
-
import { a as validateCryptoKey, n as fetchKey } from "./key-
|
|
6
|
+
import { d as version, u as name } from "./docloader-BHWMnBPo.js";
|
|
7
|
+
import { o as CryptographicKey } from "./vocab-Cj-MrEWI.js";
|
|
8
|
+
import { a as validateCryptoKey, n as fetchKey } from "./key-B3u1GQO0.js";
|
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
|
10
10
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
11
11
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { n as DocumentLoader } from "./docloader
|
|
4
|
-
import { B as Multikey, m as CryptographicKey } from "./vocab
|
|
3
|
+
import { n as DocumentLoader } from "./docloader.js";
|
|
4
|
+
import { B as Multikey, m as CryptographicKey } from "./vocab.js";
|
|
5
5
|
import { TracerProvider } from "@opentelemetry/api";
|
|
6
6
|
|
|
7
7
|
//#region sig/key.d.ts
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { d as name, f as version } from "./docloader
|
|
6
|
-
import { y as CryptographicKey } from "./actor
|
|
7
|
-
import { a as validateCryptoKey, n as fetchKey } from "./
|
|
5
|
+
import { d as name, f as version } from "./docloader.js";
|
|
6
|
+
import { y as CryptographicKey } from "./actor.js";
|
|
7
|
+
import { a as validateCryptoKey, n as fetchKey } from "./key2.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { d as version, u as name } from "./docloader-
|
|
7
|
-
import { t as Activity } from "./vocab-
|
|
6
|
+
import { d as version, u as name } from "./docloader-BHWMnBPo.js";
|
|
7
|
+
import { t as Activity } from "./vocab-Cj-MrEWI.js";
|
|
8
8
|
import { t as getTypeId } from "./type-DFsmi-p1.js";
|
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
|
10
10
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { d as version, i as getDocumentLoader, u as name } from "./docloader-
|
|
7
|
-
import { _ as Object$1, o as CryptographicKey } from "./vocab-
|
|
8
|
-
import { i as isActor } from "./actor-
|
|
6
|
+
import { d as version, i as getDocumentLoader, u as name } from "./docloader-BHWMnBPo.js";
|
|
7
|
+
import { _ as Object$1, o as CryptographicKey } from "./vocab-Cj-MrEWI.js";
|
|
8
|
+
import { i as isActor } from "./actor-C92GiVtr.js";
|
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
|
10
10
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
11
11
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
6
|
import "./chunk-DvTpRkcT.js";
|
|
7
|
-
import "./docloader-
|
|
7
|
+
import "./docloader-BHWMnBPo.js";
|
|
8
8
|
import "./url-BdNvnK9P.js";
|
|
9
9
|
import "./multibase-DBcKTV2a.js";
|
|
10
|
-
import "./vocab-
|
|
10
|
+
import "./vocab-Cj-MrEWI.js";
|
|
11
11
|
import "./langstr-pFHBDU4y.js";
|
|
12
|
-
import "./lookup-
|
|
13
|
-
import "./actor-
|
|
14
|
-
import { a as validateCryptoKey, i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "./key-
|
|
12
|
+
import "./lookup-DYr8tISP.js";
|
|
13
|
+
import "./actor-C92GiVtr.js";
|
|
14
|
+
import { a as validateCryptoKey, i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "./key-B3u1GQO0.js";
|
|
15
15
|
|
|
16
16
|
export { validateCryptoKey };
|
package/dist/key.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
|
4
|
+
|
|
5
|
+
import "./docloader.js";
|
|
6
|
+
import "./actor.js";
|
|
7
|
+
import "./lookup.js";
|
|
8
|
+
import { a as validateCryptoKey, i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "./key2.js";
|
|
9
|
+
|
|
10
|
+
export { validateCryptoKey };
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { d as name, f as version, i as getDocumentLoader } from "./docloader
|
|
6
|
-
import { i as isActor, q as Object$1, y as CryptographicKey } from "./actor
|
|
5
|
+
import { d as name, f as version, i as getDocumentLoader } from "./docloader.js";
|
|
6
|
+
import { i as isActor, q as Object$1, y as CryptographicKey } from "./actor.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { h as Multikey, o as CryptographicKey } from "./vocab-
|
|
6
|
+
import { h as Multikey, o as CryptographicKey } from "./vocab-Cj-MrEWI.js";
|
|
7
7
|
|
|
8
8
|
//#region federation/keycache.ts
|
|
9
9
|
var KvKeyCache = class {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { P as importSpki, h as Multikey, o as CryptographicKey } from "./vocab-
|
|
6
|
+
import { P as importSpki, h as Multikey, o as CryptographicKey } from "./vocab-Cj-MrEWI.js";
|
|
7
7
|
|
|
8
8
|
//#region testing/keys.ts
|
|
9
9
|
const rsaPublicKey1 = new CryptographicKey({
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { d as version, i as getDocumentLoader, u as name } from "./docloader-
|
|
7
|
-
import { _ as Object$1, o as CryptographicKey, t as Activity } from "./vocab-
|
|
6
|
+
import { d as version, i as getDocumentLoader, u as name } from "./docloader-BHWMnBPo.js";
|
|
7
|
+
import { _ as Object$1, o as CryptographicKey, t as Activity } from "./vocab-Cj-MrEWI.js";
|
|
8
8
|
import { t as getTypeId } from "./type-DFsmi-p1.js";
|
|
9
|
-
import { a as validateCryptoKey, n as fetchKey } from "./key-
|
|
9
|
+
import { a as validateCryptoKey, n as fetchKey } from "./key-B3u1GQO0.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
12
12
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|