@fedify/fedify 1.7.14 → 1.7.16
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-y7shp0CR.js → actor-BzWaWDTY.js} +3 -3
- package/dist/{actor-Dx5YX74F.d.ts → actor.d.ts} +2 -2
- package/dist/{actor-OYVgkiZG.js → actor.js} +179 -179
- package/dist/{authdocloader-C0JcfxUs.js → authdocloader-1vrHbYJF.js} +3 -3
- package/dist/{authdocloader-C2krvRo1.js → authdocloader.js} +3 -3
- package/dist/{builder-DaECqbbT.js → builder-8YjpOSrf.js} +3 -3
- package/dist/{client-dfu57WLy.js → client-CJ3nfMyp.js} +1 -1
- package/dist/{client-wKLuY12i.d.ts → client.d.ts} +1 -1
- package/dist/compat/{mod-Bwqav33K.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-nxDPfAiA.js → context-OXYKUfFL.js} +2 -2
- package/dist/{context-CW_8R4BH.d.ts → context.d.ts} +10 -10
- package/dist/{docloader-sGz4vcrK.js → docloader-I3SkMpZK.js} +1 -1
- package/dist/{docloader-D_MGP37Q.d.ts → docloader.d.ts} +1 -1
- package/dist/{docloader-BU25UQLB.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-DvlLc8Ru.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-BhES0Sg9.js → http-CiQH4CF3.js} +3 -3
- package/dist/{http-DFZRNfDP.d.ts → http.d.ts} +2 -2
- package/dist/{http-DRePVWfE.js → http.js} +3 -3
- package/dist/{inbox-Z_QlSGYN.js → inbox-BqBPO0vG.js} +2 -2
- package/dist/{key-bMrDyA2T.js → key-Ba-IjS2c.js} +3 -3
- package/dist/{key-eP5Yk7hl.js → key-CdNa4Um6.js} +5 -5
- package/dist/key.js +10 -0
- package/dist/{key-D2HZrCxh.js → key2.js} +2 -2
- package/dist/{keycache-B5Rr8Lbc.js → keycache-BdgRTisV.js} +1 -1
- package/dist/{keys-DK4k1R8e.js → keys-CLFIvF3E.js} +1 -1
- package/dist/{ld--auFISy7.js → ld-Dm1tdWDX.js} +3 -3
- package/dist/{lookup-cHV4n1IB.js → lookup-BumKjgCt.js} +3 -3
- package/dist/{lookup-Bq8vhIG4.js → lookup-CoCshjhM.js} +1 -1
- package/dist/{lookup-CqI9jhXo.d.ts → lookup.d.ts} +1 -1
- package/dist/{lookup-4uc2jh52.js → lookup.js} +1 -1
- package/dist/{middleware-B7p-onxQ.js → middleware-Dvd4BUlF.js} +15 -15
- package/dist/{middleware-DB3BUysJ.js → middleware-pC0Ld2I6.js} +17 -17
- package/dist/{middleware-QJjRfjjc.js → middleware.js} +11 -11
- package/dist/middleware2.js +17 -0
- package/dist/{mod-DMn4Bxyg.d.ts → mod.d.ts} +17 -17
- package/dist/mod.js +11 -11
- package/dist/{mod-DjGYGrBd.d.ts → mod2.d.ts} +2 -2
- package/dist/{mod-BEZy4WHZ.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--upgPcaX.d.ts → mod.d.ts} +1 -1
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/{owner-DkTRLQAV.js → owner-BO3ZhyYg.js} +3 -3
- package/dist/{owner-CewLNqWO.d.ts → owner.d.ts} +3 -3
- package/dist/{proof-DT_xxRPF.js → proof-Btlfk6hr.js} +3 -3
- package/dist/{proof-D4HXHDPz.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-BaH1vtHp.d.ts → mod.d.ts} +3 -3
- package/dist/runtime/mod.js +6 -6
- package/dist/{send-axIyQX2p.js → send-Dj-482tr.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-BmJQTnPT.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-Bk4b1bGc.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-BkXGAYkx.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-DCHRuBGF.js → vocab-B8zleLsO.js} +178 -178
- package/dist/{vocab-DoBcp8ow.d.ts → vocab.d.ts} +1 -1
- package/dist/{vocab-sMuiKIWm.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-B1UhCvlL.d.ts → mod.d.ts} +1 -1
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/{cfworkers-BIcR64Sf.d.ts → cfworkers.d.ts} +2 -2
- package/dist/x/{hono-DmQmp8wi.d.ts → hono.d.ts} +1 -1
- package/dist/x/{sveltekit-Cvh0XnN4.d.ts → sveltekit.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/key-CJuc1GE1.js +0 -10
- package/dist/middleware-72Tuh6Iw.js +0 -17
- /package/dist/{kv-CKqSUxHd.d.ts → kv.d.ts} +0 -0
- /package/dist/{mq-Cgfbl44M.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-I3SkMpZK.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-Ba-IjS2c.js";
|
|
9
|
+
import { n as doubleKnock } from "./http-CiQH4CF3.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-I3SkMpZK.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-BqBPO0vG.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-pC0Ld2I6.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-I3SkMpZK.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-QeuZ51go.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-Dvd4BUlF.js";
|
|
12
|
+
import "../docloader-I3SkMpZK.js";
|
|
13
13
|
import "../url-BdNvnK9P.js";
|
|
14
14
|
import "../semver-D9d-VO-_.js";
|
|
15
|
-
import "../client-
|
|
15
|
+
import "../client-CJ3nfMyp.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-B8zleLsO.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-CoCshjhM.js";
|
|
22
|
+
import "../actor-BzWaWDTY.js";
|
|
23
|
+
import "../key-Ba-IjS2c.js";
|
|
24
|
+
import "../http-CiQH4CF3.js";
|
|
25
|
+
import "../authdocloader-1vrHbYJF.js";
|
|
26
|
+
import "../ld-Dm1tdWDX.js";
|
|
27
|
+
import "../owner-BO3ZhyYg.js";
|
|
28
|
+
import "../proof-Btlfk6hr.js";
|
|
29
|
+
import "../lookup-BumKjgCt.js";
|
|
30
|
+
import "../inbox-BqBPO0vG.js";
|
|
31
|
+
import "../builder-8YjpOSrf.js";
|
|
32
32
|
import "../collection-XNLQhehO.js";
|
|
33
|
-
import "../keycache-
|
|
34
|
-
import "../send-
|
|
33
|
+
import "../keycache-BdgRTisV.js";
|
|
34
|
+
import "../send-Dj-482tr.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-CoCshjhM.js";
|
|
8
|
+
import { n as traverseCollection, t as lookupObject } from "./lookup-BumKjgCt.js";
|
|
9
9
|
import { t as mockDocumentLoader } from "./docloader-BDSHZfTJ.js";
|
|
10
10
|
import { trace } from "@opentelemetry/api";
|
|
11
11
|
|
|
@@ -1,15 +1,15 @@
|
|
|
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 { t as HttpMessageSignaturesSpec } from "./http
|
|
9
|
-
import { n as GetKeyOwnerOptions } from "./owner
|
|
10
|
-
import { i as TraverseCollectionOptions, r as LookupObjectOptions } from "./
|
|
11
|
-
import { i as ResourceDescriptor, t as LookupWebFingerOptions } from "./lookup
|
|
12
|
-
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 { t as HttpMessageSignaturesSpec } from "./http.js";
|
|
9
|
+
import { n as GetKeyOwnerOptions } from "./owner.js";
|
|
10
|
+
import { i as TraverseCollectionOptions, r as LookupObjectOptions } from "./mod2.js";
|
|
11
|
+
import { i as ResourceDescriptor, t as LookupWebFingerOptions } from "./lookup.js";
|
|
12
|
+
import { r as MessageQueue } from "./mq.js";
|
|
13
13
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
|
14
14
|
|
|
15
15
|
//#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-QeuZ51go.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-I3SkMpZK.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-B8zleLsO.js";
|
|
15
15
|
import "../langstr-pFHBDU4y.js";
|
|
16
|
-
import "../inbox-
|
|
17
|
-
import { n as createFederationBuilder } from "../builder-
|
|
16
|
+
import "../inbox-BqBPO0vG.js";
|
|
17
|
+
import { n as createFederationBuilder } from "../builder-8YjpOSrf.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-QeuZ51go.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-Dvd4BUlF.js";
|
|
11
|
+
import "../docloader-I3SkMpZK.js";
|
|
12
12
|
import "../url-BdNvnK9P.js";
|
|
13
13
|
import "../semver-D9d-VO-_.js";
|
|
14
|
-
import "../client-
|
|
14
|
+
import "../client-CJ3nfMyp.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-B8zleLsO.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-CoCshjhM.js";
|
|
21
|
+
import "../actor-BzWaWDTY.js";
|
|
22
|
+
import "../key-Ba-IjS2c.js";
|
|
23
|
+
import { s as signRequest } from "../http-CiQH4CF3.js";
|
|
24
|
+
import "../authdocloader-1vrHbYJF.js";
|
|
25
|
+
import "../ld-Dm1tdWDX.js";
|
|
26
|
+
import "../owner-BO3ZhyYg.js";
|
|
27
|
+
import "../proof-Btlfk6hr.js";
|
|
28
|
+
import "../lookup-BumKjgCt.js";
|
|
29
|
+
import { t as InboxListenerSet } from "../inbox-BqBPO0vG.js";
|
|
30
|
+
import "../builder-8YjpOSrf.js";
|
|
31
31
|
import "../collection-XNLQhehO.js";
|
|
32
|
-
import "../keycache-
|
|
33
|
-
import "../send-
|
|
32
|
+
import "../keycache-BdgRTisV.js";
|
|
33
|
+
import "../send-Dj-482tr.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-OXYKUfFL.js";
|
|
41
|
+
import { a as rsaPrivateKey3, c as rsaPublicKey3, s as rsaPublicKey2 } from "../keys-CLFIvF3E.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-I3SkMpZK.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-B8zleLsO.js";
|
|
12
12
|
import "../langstr-pFHBDU4y.js";
|
|
13
|
-
import { t as InboxListenerSet } from "../inbox-
|
|
13
|
+
import { t as InboxListenerSet } from "../inbox-BqBPO0vG.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-QeuZ51go.js";
|
|
11
|
-
import "../docloader-
|
|
11
|
+
import "../docloader-I3SkMpZK.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-B8zleLsO.js";
|
|
15
15
|
import "../langstr-pFHBDU4y.js";
|
|
16
|
-
import { t as KvKeyCache } from "../keycache-
|
|
16
|
+
import { t as KvKeyCache } from "../keycache-BdgRTisV.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-QeuZ51go.js";
|
|
11
|
-
import { a as createFederation, i as KvSpecDeterminer, 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, i as KvSpecDeterminer, n as FederationImpl, r as InboxContextImpl, t as ContextImpl } from "../middleware-Dvd4BUlF.js";
|
|
12
|
+
import { r as fetchDocumentLoader, t as FetchError } from "../docloader-I3SkMpZK.js";
|
|
13
13
|
import "../url-BdNvnK9P.js";
|
|
14
14
|
import "../semver-D9d-VO-_.js";
|
|
15
|
-
import "../client-
|
|
15
|
+
import "../client-CJ3nfMyp.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-B8zleLsO.js";
|
|
20
20
|
import "../langstr-pFHBDU4y.js";
|
|
21
|
-
import "../lookup-
|
|
21
|
+
import "../lookup-CoCshjhM.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-BzWaWDTY.js";
|
|
24
|
+
import "../key-Ba-IjS2c.js";
|
|
25
|
+
import { l as verifyRequest, s as signRequest } from "../http-CiQH4CF3.js";
|
|
26
|
+
import { t as getAuthenticatedDocumentLoader } from "../authdocloader-1vrHbYJF.js";
|
|
27
|
+
import { a as signJsonLd, o as verifyJsonLd, r as detachSignature } from "../ld-Dm1tdWDX.js";
|
|
28
|
+
import { t as doesActorOwnKey } from "../owner-BO3ZhyYg.js";
|
|
29
|
+
import { n as signObject, r as verifyObject } from "../proof-Btlfk6hr.js";
|
|
30
|
+
import { t as lookupObject } from "../lookup-BumKjgCt.js";
|
|
31
|
+
import "../inbox-BqBPO0vG.js";
|
|
32
|
+
import "../builder-8YjpOSrf.js";
|
|
33
33
|
import "../collection-XNLQhehO.js";
|
|
34
|
-
import "../keycache-
|
|
35
|
-
import "../send-
|
|
34
|
+
import "../keycache-BdgRTisV.js";
|
|
35
|
+
import "../send-Dj-482tr.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-CLFIvF3E.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-I3SkMpZK.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-B8zleLsO.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-CoCshjhM.js";
|
|
15
|
+
import "../actor-BzWaWDTY.js";
|
|
16
|
+
import "../key-Ba-IjS2c.js";
|
|
17
|
+
import { l as verifyRequest } from "../http-CiQH4CF3.js";
|
|
18
|
+
import { t as doesActorOwnKey } from "../owner-BO3ZhyYg.js";
|
|
19
|
+
import { n as sendActivity, t as extractInboxes } from "../send-Dj-482tr.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-CLFIvF3E.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-I3SkMpZK.js";
|
|
7
|
+
import { o as CryptographicKey } from "./vocab-B8zleLsO.js";
|
|
8
|
+
import { a as validateCryptoKey, n as fetchKey } from "./key-Ba-IjS2c.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-I3SkMpZK.js";
|
|
7
|
+
import { t as Activity } from "./vocab-B8zleLsO.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-I3SkMpZK.js";
|
|
7
|
+
import { _ as Object$1, o as CryptographicKey } from "./vocab-B8zleLsO.js";
|
|
8
|
+
import { i as isActor } from "./actor-BzWaWDTY.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-I3SkMpZK.js";
|
|
8
8
|
import "./url-BdNvnK9P.js";
|
|
9
9
|
import "./multibase-DBcKTV2a.js";
|
|
10
|
-
import "./vocab-
|
|
10
|
+
import "./vocab-B8zleLsO.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-CoCshjhM.js";
|
|
13
|
+
import "./actor-BzWaWDTY.js";
|
|
14
|
+
import { a as validateCryptoKey, i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "./key-Ba-IjS2c.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-B8zleLsO.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-B8zleLsO.js";
|
|
7
7
|
|
|
8
8
|
//#region testing/keys.ts
|
|
9
9
|
const rsaPublicKey1 = new CryptographicKey({
|