@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 { 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-I3SkMpZK.js";
|
|
7
|
+
import { _ as Object$1, o as CryptographicKey, t as Activity } from "./vocab-B8zleLsO.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-Ba-IjS2c.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";
|
|
@@ -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 } from "./vocab-
|
|
8
|
-
import { t as lookupWebFinger } from "./lookup-
|
|
6
|
+
import { d as version, i as getDocumentLoader, u as name } from "./docloader-I3SkMpZK.js";
|
|
7
|
+
import { _ as Object$1 } from "./vocab-B8zleLsO.js";
|
|
8
|
+
import { t as lookupWebFinger } from "./lookup-CoCshjhM.js";
|
|
9
9
|
import { t as getTypeId } from "./type-DFsmi-p1.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { d as version, o as getUserAgent, u as name } from "./docloader-
|
|
6
|
+
import { d as version, o as getUserAgent, u as name } from "./docloader-I3SkMpZK.js";
|
|
7
7
|
import { a as validatePublicUrl, t as UrlError } from "./url-BdNvnK9P.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
@@ -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
|
import { TracerProvider } from "@opentelemetry/api";
|
|
5
5
|
|
|
6
6
|
//#region webfinger/jrd.d.ts
|
|
@@ -2,7 +2,7 @@
|
|
|
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, l as UrlError, o as getUserAgent, u as validatePublicUrl } from "./docloader
|
|
5
|
+
import { d as name, f as version, l as UrlError, o as getUserAgent, u as validatePublicUrl } from "./docloader.js";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
8
8
|
|
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { d as version, i as getDocumentLoader, s as kvCache, u as name } from "./docloader-
|
|
7
|
-
import { t as getNodeInfo } from "./client-
|
|
6
|
+
import { d as version, i as getDocumentLoader, s as kvCache, u as name } from "./docloader-I3SkMpZK.js";
|
|
7
|
+
import { t as getNodeInfo } from "./client-CJ3nfMyp.js";
|
|
8
8
|
import { n as RouterError } from "./router-BuDkN4RQ.js";
|
|
9
9
|
import { t as nodeInfoToJson } from "./types-CB_2uuCA.js";
|
|
10
|
-
import { _ as Object$1, b as OrderedCollectionPage, h as Multikey, m as Link, o as CryptographicKey, t as Activity, y as OrderedCollection } from "./vocab-
|
|
11
|
-
import { t as lookupWebFinger } from "./lookup-
|
|
10
|
+
import { _ as Object$1, b as OrderedCollectionPage, h as Multikey, m as Link, o as CryptographicKey, t as Activity, y as OrderedCollection } from "./vocab-B8zleLsO.js";
|
|
11
|
+
import { t as lookupWebFinger } from "./lookup-CoCshjhM.js";
|
|
12
12
|
import { t as getTypeId } from "./type-DFsmi-p1.js";
|
|
13
|
-
import { a as validateCryptoKey, i as importJwk, t as exportJwk } from "./key-
|
|
14
|
-
import { l as verifyRequest } from "./http-
|
|
15
|
-
import { t as getAuthenticatedDocumentLoader } from "./authdocloader-
|
|
16
|
-
import { a as signJsonLd, i as hasSignature, o as verifyJsonLd, r as detachSignature } from "./ld
|
|
17
|
-
import { n as getKeyOwner, t as doesActorOwnKey } from "./owner-
|
|
18
|
-
import { n as signObject, r as verifyObject } from "./proof-
|
|
19
|
-
import { n as traverseCollection, t as lookupObject } from "./lookup-
|
|
20
|
-
import { n as routeActivity } from "./inbox-
|
|
21
|
-
import { t as FederationBuilderImpl } from "./builder-
|
|
13
|
+
import { a as validateCryptoKey, i as importJwk, t as exportJwk } from "./key-Ba-IjS2c.js";
|
|
14
|
+
import { l as verifyRequest } from "./http-CiQH4CF3.js";
|
|
15
|
+
import { t as getAuthenticatedDocumentLoader } from "./authdocloader-1vrHbYJF.js";
|
|
16
|
+
import { a as signJsonLd, i as hasSignature, o as verifyJsonLd, r as detachSignature } from "./ld-Dm1tdWDX.js";
|
|
17
|
+
import { n as getKeyOwner, t as doesActorOwnKey } from "./owner-BO3ZhyYg.js";
|
|
18
|
+
import { n as signObject, r as verifyObject } from "./proof-Btlfk6hr.js";
|
|
19
|
+
import { n as traverseCollection, t as lookupObject } from "./lookup-BumKjgCt.js";
|
|
20
|
+
import { n as routeActivity } from "./inbox-BqBPO0vG.js";
|
|
21
|
+
import { t as FederationBuilderImpl } from "./builder-8YjpOSrf.js";
|
|
22
22
|
import { t as buildCollectionSynchronizationHeader } from "./collection-XNLQhehO.js";
|
|
23
|
-
import { t as KvKeyCache } from "./keycache-
|
|
23
|
+
import { t as KvKeyCache } from "./keycache-BdgRTisV.js";
|
|
24
24
|
import { t as createExponentialBackoffPolicy } from "./retry-BQet39_l.js";
|
|
25
|
-
import { n as sendActivity, t as extractInboxes } from "./send-
|
|
25
|
+
import { n as sendActivity, t as extractInboxes } from "./send-Dj-482tr.js";
|
|
26
26
|
import { getLogger, withContext } from "@logtape/logtape";
|
|
27
27
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
|
28
28
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_HTTP_RESPONSE_HEADER, ATTR_HTTP_RESPONSE_STATUS_CODE, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
|
@@ -4,29 +4,29 @@
|
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
6
|
import "./chunk-DvTpRkcT.js";
|
|
7
|
-
import { a as createFederation, i as KvSpecDeterminer, n as FederationImpl, r as InboxContextImpl, t as ContextImpl } from "./middleware-
|
|
8
|
-
import "./docloader-
|
|
7
|
+
import { a as createFederation, i as KvSpecDeterminer, n as FederationImpl, r as InboxContextImpl, t as ContextImpl } from "./middleware-Dvd4BUlF.js";
|
|
8
|
+
import "./docloader-I3SkMpZK.js";
|
|
9
9
|
import "./url-BdNvnK9P.js";
|
|
10
10
|
import "./semver-D9d-VO-_.js";
|
|
11
|
-
import "./client-
|
|
11
|
+
import "./client-CJ3nfMyp.js";
|
|
12
12
|
import "./router-BuDkN4RQ.js";
|
|
13
13
|
import "./types-CB_2uuCA.js";
|
|
14
14
|
import "./multibase-DBcKTV2a.js";
|
|
15
|
-
import "./vocab-
|
|
15
|
+
import "./vocab-B8zleLsO.js";
|
|
16
16
|
import "./langstr-pFHBDU4y.js";
|
|
17
|
-
import "./lookup-
|
|
18
|
-
import "./actor-
|
|
19
|
-
import "./key-
|
|
20
|
-
import "./http-
|
|
21
|
-
import "./authdocloader-
|
|
22
|
-
import "./ld
|
|
23
|
-
import "./owner-
|
|
24
|
-
import "./proof-
|
|
25
|
-
import "./lookup-
|
|
26
|
-
import "./inbox-
|
|
27
|
-
import "./builder-
|
|
17
|
+
import "./lookup-CoCshjhM.js";
|
|
18
|
+
import "./actor-BzWaWDTY.js";
|
|
19
|
+
import "./key-Ba-IjS2c.js";
|
|
20
|
+
import "./http-CiQH4CF3.js";
|
|
21
|
+
import "./authdocloader-1vrHbYJF.js";
|
|
22
|
+
import "./ld-Dm1tdWDX.js";
|
|
23
|
+
import "./owner-BO3ZhyYg.js";
|
|
24
|
+
import "./proof-Btlfk6hr.js";
|
|
25
|
+
import "./lookup-BumKjgCt.js";
|
|
26
|
+
import "./inbox-BqBPO0vG.js";
|
|
27
|
+
import "./builder-8YjpOSrf.js";
|
|
28
28
|
import "./collection-XNLQhehO.js";
|
|
29
|
-
import "./keycache-
|
|
30
|
-
import "./send-
|
|
29
|
+
import "./keycache-BdgRTisV.js";
|
|
30
|
+
import "./send-Dj-482tr.js";
|
|
31
31
|
|
|
32
32
|
export { FederationImpl };
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { r as getDefaultActivityTransformers } from "./transformers
|
|
6
|
-
import { d as name, f as version, i as getDocumentLoader, s as kvCache } from "./docloader
|
|
7
|
-
import { G as Multikey, Tt as getTypeId, V as Link, X as OrderedCollectionPage, Y as OrderedCollection, q as Object$1, s as Activity, y as CryptographicKey } from "./actor
|
|
8
|
-
import { t as lookupWebFinger } from "./lookup
|
|
9
|
-
import { a as validateCryptoKey, i as importJwk, t as exportJwk } from "./
|
|
10
|
-
import { r as verifyRequest, t as doubleKnock } from "./http
|
|
11
|
-
import { a as doesActorOwnKey, d as signJsonLd, f as verifyJsonLd, l as detachSignature, n as signObject, o as getKeyOwner, r as verifyObject, u as hasSignature } from "./proof
|
|
12
|
-
import { n as getNodeInfo, t as nodeInfoToJson } from "./types
|
|
13
|
-
import { t as getAuthenticatedDocumentLoader } from "./authdocloader
|
|
14
|
-
import { n as lookupObject, r as traverseCollection } from "./vocab
|
|
5
|
+
import { r as getDefaultActivityTransformers } from "./transformers.js";
|
|
6
|
+
import { d as name, f as version, i as getDocumentLoader, s as kvCache } from "./docloader.js";
|
|
7
|
+
import { G as Multikey, Tt as getTypeId, V as Link, X as OrderedCollectionPage, Y as OrderedCollection, q as Object$1, s as Activity, y as CryptographicKey } from "./actor.js";
|
|
8
|
+
import { t as lookupWebFinger } from "./lookup.js";
|
|
9
|
+
import { a as validateCryptoKey, i as importJwk, t as exportJwk } from "./key2.js";
|
|
10
|
+
import { r as verifyRequest, t as doubleKnock } from "./http.js";
|
|
11
|
+
import { a as doesActorOwnKey, d as signJsonLd, f as verifyJsonLd, l as detachSignature, n as signObject, o as getKeyOwner, r as verifyObject, u as hasSignature } from "./proof.js";
|
|
12
|
+
import { n as getNodeInfo, t as nodeInfoToJson } from "./types.js";
|
|
13
|
+
import { t as getAuthenticatedDocumentLoader } from "./authdocloader.js";
|
|
14
|
+
import { n as lookupObject, r as traverseCollection } from "./vocab.js";
|
|
15
15
|
import { getLogger, withContext } from "@logtape/logtape";
|
|
16
16
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
|
17
17
|
import { encodeHex } from "byte-encodings/hex";
|
|
@@ -310,7 +310,7 @@ var FederationBuilderImpl = class {
|
|
|
310
310
|
this.objectTypeIds = {};
|
|
311
311
|
}
|
|
312
312
|
async build(options) {
|
|
313
|
-
const { FederationImpl: FederationImpl$1 } = await import("./
|
|
313
|
+
const { FederationImpl: FederationImpl$1 } = await import("./middleware2.js");
|
|
314
314
|
const f = new FederationImpl$1(options);
|
|
315
315
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
|
316
316
|
f.router = this.router.clone();
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
|
4
|
+
|
|
5
|
+
import "./transformers.js";
|
|
6
|
+
import "./docloader.js";
|
|
7
|
+
import "./actor.js";
|
|
8
|
+
import { a as createFederation, i as KvSpecDeterminer, n as FederationImpl, r as InboxContextImpl, t as ContextImpl } 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
|
+
|
|
17
|
+
export { FederationImpl };
|
|
@@ -1,20 +1,20 @@
|
|
|
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 { a as FetchError, c as KvCacheParameters, d as getDocumentLoader, f as getUserAgent, i as DocumentLoaderFactoryOptions, l as RemoteDocument, n as DocumentLoader, o as GetDocumentLoaderOptions, p as kvCache, r as DocumentLoaderFactory, s as GetUserAgentOptions, t as AuthenticatedDocumentLoaderFactory, u as fetchDocumentLoader } from "./docloader
|
|
5
|
-
import { a as InboundService, c as OutboundService, d as Software, f as Usage, g as parseSemVer, h as formatSemVer, i as parseNodeInfo, l as Protocol, m as SemVer, n as ParseNodeInfoOptions, o as JsonValue, p as nodeInfoToJson, r as getNodeInfo, s as NodeInfo, t as GetNodeInfoOptions, u as Services } from "./client
|
|
6
|
-
import { $ as Read, A as Image, B as Multikey, C as Event, D as Group, E as Follow, F as Like, G as OrderedCollectionPage, H as Object$1, I as Link, J as Person, K as Organization, L as Listen, M as Invite, N as Join, O as Hashtag, P as Leave, Q as Question, R as Mention, S as Endpoints, T as Flag, U as Offer, V as Note, W as OrderedCollection, X as Profile, Y as Place, Z as PropertyValue, _ as DidService, a as Application, at as TentativeAccept, b as Emoji, c as Audio, ct as Travel, d as Collection, dt as Video, et as Reject, f as CollectionPage, ft as View, g as Delete, h as DataIntegrityProof, i as Announce, it as Source, j as IntransitiveActivity, k as Ignore, l as Block, lt as Undo, m as CryptographicKey, n as Activity, nt as Remove, o as Arrive, ot as TentativeReject, p as Create, pt as LanguageString, q as Page, r as Add, rt as Service, s as Article, st as Tombstone, t as Accept, tt as Relationship, u as ChatMessage, ut as Update, v as Dislike, w as Export, x as EmojiReact, y as Document, z as Move } from "./vocab
|
|
7
|
-
import { a as Recipient, c as getActorTypeName, i as NormalizeActorHandleOptions, l as isActor, n as ActorTypeName, o as getActorClassByTypeName, r as GetActorHandleOptions, s as getActorHandle, t as Actor, u as normalizeActorHandle } from "./actor
|
|
8
|
-
import { a as signRequest, c as FetchKeyResult, d as fetchKey, f as generateCryptoKeyPair, i as VerifyRequestOptions, l as KeyCache, n as HttpMessageSignaturesSpecDeterminer, o as verifyRequest, p as importJwk, r as SignRequestOptions, s as FetchKeyOptions, t as HttpMessageSignaturesSpec, u as exportJwk } from "./http
|
|
9
|
-
import { i as getKeyOwner, n as GetKeyOwnerOptions, r as doesActorOwnKey, t as DoesActorOwnKeyOptions } from "./owner
|
|
10
|
-
import { a as lookupObject, i as TraverseCollectionOptions, n as PUBLIC_COLLECTION, o as traverseCollection, r as LookupObjectOptions, t as getTypeId } from "./
|
|
11
|
-
import { i as ResourceDescriptor, n as lookupWebFinger } from "./lookup
|
|
12
|
-
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, it as ActivityTransformer, 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
|
|
13
|
-
import { a as MessageQueueListenOptions, i as MessageQueueEnqueueOptions, n as InProcessMessageQueueOptions, o as ParallelMessageQueue, r as MessageQueue, t as InProcessMessageQueue } from "./mq
|
|
14
|
-
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./compat/mod
|
|
15
|
-
import "./federation/mod
|
|
16
|
-
import "./nodeinfo/mod
|
|
17
|
-
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "./runtime/mod
|
|
18
|
-
import { _ as verifyJsonLd, a as createProof, c as verifyProof, d as VerifyJsonLdOptions, f as VerifySignatureOptions, g as signJsonLd, h as detachSignature, i as VerifyProofOptions, l as CreateSignatureOptions, m as createSignature, n as SignObjectOptions, o as signObject, p as attachSignature, r as VerifyObjectOptions, s as verifyObject, t as CreateProofOptions, u as SignJsonLdOptions, v as verifySignature } from "./
|
|
19
|
-
import "./webfinger/mod
|
|
3
|
+
import { i as MemoryKvStore, n as KvStore, r as KvStoreSetOptions, t as KvKey } from "./kv.js";
|
|
4
|
+
import { a as FetchError, c as KvCacheParameters, d as getDocumentLoader, f as getUserAgent, i as DocumentLoaderFactoryOptions, l as RemoteDocument, n as DocumentLoader, o as GetDocumentLoaderOptions, p as kvCache, r as DocumentLoaderFactory, s as GetUserAgentOptions, t as AuthenticatedDocumentLoaderFactory, u as fetchDocumentLoader } from "./docloader.js";
|
|
5
|
+
import { a as InboundService, c as OutboundService, d as Software, f as Usage, g as parseSemVer, h as formatSemVer, i as parseNodeInfo, l as Protocol, m as SemVer, n as ParseNodeInfoOptions, o as JsonValue, p as nodeInfoToJson, r as getNodeInfo, s as NodeInfo, t as GetNodeInfoOptions, u as Services } from "./client.js";
|
|
6
|
+
import { $ as Read, A as Image, B as Multikey, C as Event, D as Group, E as Follow, F as Like, G as OrderedCollectionPage, H as Object$1, I as Link, J as Person, K as Organization, L as Listen, M as Invite, N as Join, O as Hashtag, P as Leave, Q as Question, R as Mention, S as Endpoints, T as Flag, U as Offer, V as Note, W as OrderedCollection, X as Profile, Y as Place, Z as PropertyValue, _ as DidService, a as Application, at as TentativeAccept, b as Emoji, c as Audio, ct as Travel, d as Collection, dt as Video, et as Reject, f as CollectionPage, ft as View, g as Delete, h as DataIntegrityProof, i as Announce, it as Source, j as IntransitiveActivity, k as Ignore, l as Block, lt as Undo, m as CryptographicKey, n as Activity, nt as Remove, o as Arrive, ot as TentativeReject, p as Create, pt as LanguageString, q as Page, r as Add, rt as Service, s as Article, st as Tombstone, t as Accept, tt as Relationship, u as ChatMessage, ut as Update, v as Dislike, w as Export, x as EmojiReact, y as Document, z as Move } from "./vocab.js";
|
|
7
|
+
import { a as Recipient, c as getActorTypeName, i as NormalizeActorHandleOptions, l as isActor, n as ActorTypeName, o as getActorClassByTypeName, r as GetActorHandleOptions, s as getActorHandle, t as Actor, u as normalizeActorHandle } from "./actor.js";
|
|
8
|
+
import { a as signRequest, c as FetchKeyResult, d as fetchKey, f as generateCryptoKeyPair, i as VerifyRequestOptions, l as KeyCache, n as HttpMessageSignaturesSpecDeterminer, o as verifyRequest, p as importJwk, r as SignRequestOptions, s as FetchKeyOptions, t as HttpMessageSignaturesSpec, u as exportJwk } from "./http.js";
|
|
9
|
+
import { i as getKeyOwner, n as GetKeyOwnerOptions, r as doesActorOwnKey, t as DoesActorOwnKeyOptions } from "./owner.js";
|
|
10
|
+
import { a as lookupObject, i as TraverseCollectionOptions, n as PUBLIC_COLLECTION, o as traverseCollection, r as LookupObjectOptions, t as getTypeId } from "./mod2.js";
|
|
11
|
+
import { i as ResourceDescriptor, n as lookupWebFinger } from "./lookup.js";
|
|
12
|
+
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, it as ActivityTransformer, 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";
|
|
13
|
+
import { a as MessageQueueListenOptions, i as MessageQueueEnqueueOptions, n as InProcessMessageQueueOptions, o as ParallelMessageQueue, r as MessageQueue, t as InProcessMessageQueue } from "./mq.js";
|
|
14
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./compat/mod.js";
|
|
15
|
+
import "./federation/mod.js";
|
|
16
|
+
import "./nodeinfo/mod.js";
|
|
17
|
+
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "./runtime/mod.js";
|
|
18
|
+
import { _ as verifyJsonLd, a as createProof, c as verifyProof, d as VerifyJsonLdOptions, f as VerifySignatureOptions, g as signJsonLd, h as detachSignature, i as VerifyProofOptions, l as CreateSignatureOptions, m as createSignature, n as SignObjectOptions, o as signObject, p as attachSignature, r as VerifyObjectOptions, s as verifyObject, t as CreateProofOptions, u as SignJsonLdOptions, v as verifySignature } from "./mod3.js";
|
|
19
|
+
import "./webfinger/mod.js";
|
|
20
20
|
export { Accept, Activity, ActivityTransformer, Actor, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, AuthenticatedDocumentLoaderFactory, AuthorizePredicate, Block, ChatMessage, Collection, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, CollectionPage, Context, Create, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, DoesActorOwnKeyOptions, Emoji, EmojiReact, Endpoints, Event, Export, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchError, FetchKeyOptions, FetchKeyResult, Flag, Follow, ForwardActivityOptions, GetActorHandleOptions, GetAuthenticatedDocumentLoaderOptions, GetDocumentLoaderOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, GetUserAgentOptions, Group, Hashtag, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, Ignore, Image, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, IntransitiveActivity, Invite, Join, JsonValue, KeyCache, KvCacheParameters, KvKey, KvStore, KvStoreSetOptions, LanguageString, Leave, Like, Link, Listen, LookupObjectOptions, MemoryKvStore, Mention, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, Move, Multikey, NodeInfo, NodeInfoDispatcher, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, Offer, OrderedCollection, OrderedCollectionPage, Organization, OutboundService, OutboxErrorHandler, PUBLIC_COLLECTION, Page, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Person, Place, Profile, PropertyValue, Protocol, Question, Read, Recipient, Reject, Relationship, RemoteDocument, Remove, RequestContext, type ResourceDescriptor, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SemVer, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Service, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, Video, View, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, exportMultibaseKey, exportSpki, fetchDocumentLoader, fetchKey, formatSemVer, generateCryptoKeyPair, getActorClassByTypeName, getActorHandle, getActorTypeName, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getDocumentLoader, getKeyOwner, getNodeInfo, getTypeId, getUserAgent, importJwk, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, kvCache, lookupObject, lookupWebFinger, nodeInfoToJson, normalizeActorHandle, parseNodeInfo, parseSemVer, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, traverseCollection, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/mod.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
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
|
import "./compat/mod.js";
|
|
7
|
-
import { i as getDocumentLoader, o as getUserAgent, r as fetchDocumentLoader, s as kvCache, t as FetchError } from "./docloader
|
|
8
|
-
import { $ as Person, A as Flag, B as Like, C as Dislike, Ct as importPkcs1, D as Endpoints, E as EmojiReact, F as Image, G as Multikey, H as Listen, I as IntransitiveActivity, J as Offer, K as Note, L as Invite, M as Group, N as Hashtag, O as Event, P as Ignore, Q as Page, R as Join, S as DidService, St as importPem, T as Emoji, Tt as getTypeId, U as Mention, V as Link, W as Move, X as OrderedCollectionPage, Y as OrderedCollection, Z as Organization, _ as CollectionPage, _t as View, a as normalizeActorHandle, at as Reject, b as DataIntegrityProof, bt as exportSpki, c as Add, ct as Service, d as Arrive, dt as TentativeReject, et as Place, f as Article, ft as Tombstone, g as Collection, gt as Video, h as ChatMessage, ht as Update, i as isActor, it as Read, j as Follow, k as Export, l as Announce, lt as Source, m as Block, mt as Undo, n as getActorHandle, nt as PropertyValue, o as Accept, ot as Relationship, p as Audio, pt as Travel, q as Object$1, r as getActorTypeName, rt as Question, s as Activity, st as Remove, t as getActorClassByTypeName, tt as Profile, u as Application, ut as TentativeAccept, v as Create, vt as LanguageString, w as Document, wt as importSpki, x as Delete, xt as importMultibaseKey, y as CryptographicKey, yt as exportMultibaseKey, z as Leave } from "./actor
|
|
9
|
-
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
|
|
10
|
-
import { t as lookupWebFinger } from "./lookup
|
|
11
|
-
import { i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "./
|
|
12
|
-
import { n as signRequest, r as verifyRequest } from "./http
|
|
13
|
-
import { a as doesActorOwnKey, c as createSignature, d as signJsonLd, f as verifyJsonLd, i as verifyProof, l as detachSignature, n as signObject, o as getKeyOwner, p as verifySignature, r as verifyObject, s as attachSignature, t as createProof } from "./proof
|
|
14
|
-
import { a as parseSemVer, i as formatSemVer, n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "./types
|
|
15
|
-
import { t as getAuthenticatedDocumentLoader } from "./authdocloader
|
|
16
|
-
import { n as lookupObject, r as traverseCollection, t as PUBLIC_COLLECTION } from "./vocab
|
|
7
|
+
import { i as getDocumentLoader, o as getUserAgent, r as fetchDocumentLoader, s as kvCache, t as FetchError } from "./docloader.js";
|
|
8
|
+
import { $ as Person, A as Flag, B as Like, C as Dislike, Ct as importPkcs1, D as Endpoints, E as EmojiReact, F as Image, G as Multikey, H as Listen, I as IntransitiveActivity, J as Offer, K as Note, L as Invite, M as Group, N as Hashtag, O as Event, P as Ignore, Q as Page, R as Join, S as DidService, St as importPem, T as Emoji, Tt as getTypeId, U as Mention, V as Link, W as Move, X as OrderedCollectionPage, Y as OrderedCollection, Z as Organization, _ as CollectionPage, _t as View, a as normalizeActorHandle, at as Reject, b as DataIntegrityProof, bt as exportSpki, c as Add, ct as Service, d as Arrive, dt as TentativeReject, et as Place, f as Article, ft as Tombstone, g as Collection, gt as Video, h as ChatMessage, ht as Update, i as isActor, it as Read, j as Follow, k as Export, l as Announce, lt as Source, m as Block, mt as Undo, n as getActorHandle, nt as PropertyValue, o as Accept, ot as Relationship, p as Audio, pt as Travel, q as Object$1, r as getActorTypeName, rt as Question, s as Activity, st as Remove, t as getActorClassByTypeName, tt as Profile, u as Application, ut as TentativeAccept, v as Create, vt as LanguageString, w as Document, wt as importSpki, x as Delete, xt as importMultibaseKey, y as CryptographicKey, yt as exportMultibaseKey, z as Leave } from "./actor.js";
|
|
9
|
+
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";
|
|
10
|
+
import { t as lookupWebFinger } from "./lookup.js";
|
|
11
|
+
import { i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "./key2.js";
|
|
12
|
+
import { n as signRequest, r as verifyRequest } from "./http.js";
|
|
13
|
+
import { a as doesActorOwnKey, c as createSignature, d as signJsonLd, f as verifyJsonLd, i as verifyProof, l as detachSignature, n as signObject, o as getKeyOwner, p as verifySignature, r as verifyObject, s as attachSignature, t as createProof } from "./proof.js";
|
|
14
|
+
import { a as parseSemVer, i as formatSemVer, n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "./types.js";
|
|
15
|
+
import { t as getAuthenticatedDocumentLoader } from "./authdocloader.js";
|
|
16
|
+
import { n as lookupObject, r as traverseCollection, t as PUBLIC_COLLECTION } from "./vocab.js";
|
|
17
17
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation/mod.js";
|
|
18
18
|
import "./nodeinfo/mod.js";
|
|
19
19
|
import "./runtime/mod.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { n as DocumentLoader, s as GetUserAgentOptions } from "./docloader
|
|
4
|
-
import { H as Object$1, I as Link, d as Collection } from "./vocab
|
|
3
|
+
import { n as DocumentLoader, s as GetUserAgentOptions } from "./docloader.js";
|
|
4
|
+
import { H as Object$1, I as Link, d as Collection } from "./vocab.js";
|
|
5
5
|
import { TracerProvider } from "@opentelemetry/api";
|
|
6
6
|
|
|
7
7
|
//#region vocab/lookup.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
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, H as Object$1, h as DataIntegrityProof, m as CryptographicKey } from "./vocab
|
|
5
|
-
import { l as KeyCache } from "./http
|
|
3
|
+
import { n as DocumentLoader } from "./docloader.js";
|
|
4
|
+
import { B as Multikey, H as Object$1, h as DataIntegrityProof, m as CryptographicKey } from "./vocab.js";
|
|
5
|
+
import { l as KeyCache } from "./http.js";
|
|
6
6
|
import { TracerProvider } from "@opentelemetry/api";
|
|
7
7
|
|
|
8
8
|
//#region sig/ld.d.ts
|
|
@@ -5,10 +5,10 @@
|
|
|
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 "../semver-D9d-VO-_.js";
|
|
11
|
-
import { a as parseProtocol, c as parseUsage, i as parseOutboundService, n as parseInboundService, o as parseServices, r as parseNodeInfo, s as parseSoftware, t as getNodeInfo } from "../client-
|
|
11
|
+
import { a as parseProtocol, c as parseUsage, i as parseOutboundService, n as parseInboundService, o as parseServices, r as parseNodeInfo, s as parseSoftware, t as getNodeInfo } from "../client-CJ3nfMyp.js";
|
|
12
12
|
import { t as test } from "../testing-qaAD4B0t.js";
|
|
13
13
|
import "../std__assert-BdP_WkD-.js";
|
|
14
14
|
import "../assert_rejects-Bkh5lA1a.js";
|
|
@@ -6,37 +6,37 @@
|
|
|
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 { a as createFederation, h as handleNodeInfoJrd, m as handleNodeInfo } from "../middleware-
|
|
10
|
-
import "../docloader-
|
|
9
|
+
import { a as createFederation, h as handleNodeInfoJrd, m as handleNodeInfo } from "../middleware-Dvd4BUlF.js";
|
|
10
|
+
import "../docloader-I3SkMpZK.js";
|
|
11
11
|
import "../url-BdNvnK9P.js";
|
|
12
12
|
import { n as parseSemVer } from "../semver-D9d-VO-_.js";
|
|
13
|
-
import "../client-
|
|
13
|
+
import "../client-CJ3nfMyp.js";
|
|
14
14
|
import "../router-BuDkN4RQ.js";
|
|
15
15
|
import "../types-CB_2uuCA.js";
|
|
16
16
|
import "../multibase-DBcKTV2a.js";
|
|
17
|
-
import "../vocab-
|
|
17
|
+
import "../vocab-B8zleLsO.js";
|
|
18
18
|
import "../langstr-pFHBDU4y.js";
|
|
19
|
-
import "../lookup-
|
|
20
|
-
import "../actor-
|
|
21
|
-
import "../key-
|
|
22
|
-
import "../http-
|
|
23
|
-
import "../authdocloader-
|
|
24
|
-
import "../ld
|
|
25
|
-
import "../owner-
|
|
26
|
-
import "../proof-
|
|
27
|
-
import "../lookup-
|
|
28
|
-
import "../inbox-
|
|
29
|
-
import "../builder-
|
|
19
|
+
import "../lookup-CoCshjhM.js";
|
|
20
|
+
import "../actor-BzWaWDTY.js";
|
|
21
|
+
import "../key-Ba-IjS2c.js";
|
|
22
|
+
import "../http-CiQH4CF3.js";
|
|
23
|
+
import "../authdocloader-1vrHbYJF.js";
|
|
24
|
+
import "../ld-Dm1tdWDX.js";
|
|
25
|
+
import "../owner-BO3ZhyYg.js";
|
|
26
|
+
import "../proof-Btlfk6hr.js";
|
|
27
|
+
import "../lookup-BumKjgCt.js";
|
|
28
|
+
import "../inbox-BqBPO0vG.js";
|
|
29
|
+
import "../builder-8YjpOSrf.js";
|
|
30
30
|
import "../collection-XNLQhehO.js";
|
|
31
|
-
import "../keycache-
|
|
32
|
-
import "../send-
|
|
31
|
+
import "../keycache-BdgRTisV.js";
|
|
32
|
+
import "../send-Dj-482tr.js";
|
|
33
33
|
import { t as test } from "../testing-qaAD4B0t.js";
|
|
34
34
|
import "../std__assert-BdP_WkD-.js";
|
|
35
35
|
import "../assert_rejects-Bkh5lA1a.js";
|
|
36
36
|
import "../assert_is_error-CIYFACrT.js";
|
|
37
37
|
import "../assert_throws-CmpfkWEM.js";
|
|
38
38
|
import "../docloader-BDSHZfTJ.js";
|
|
39
|
-
import { n as createRequestContext } from "../context-
|
|
39
|
+
import { n as createRequestContext } from "../context-OXYKUfFL.js";
|
|
40
40
|
|
|
41
41
|
//#region nodeinfo/handler.test.ts
|
|
42
42
|
test("handleNodeInfo()", async () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { a as InboundService, c as OutboundService, d as Software, f as Usage, g as parseSemVer, h as formatSemVer, i as parseNodeInfo, l as Protocol, m as SemVer, n as ParseNodeInfoOptions, o as JsonValue, p as nodeInfoToJson, r as getNodeInfo, s as NodeInfo, t as GetNodeInfoOptions, u as Services } from "../client
|
|
3
|
+
import { a as InboundService, c as OutboundService, d as Software, f as Usage, g as parseSemVer, h as formatSemVer, i as parseNodeInfo, l as Protocol, m as SemVer, n as ParseNodeInfoOptions, o as JsonValue, p as nodeInfoToJson, r as getNodeInfo, s as NodeInfo, t as GetNodeInfoOptions, u as Services } from "../client.js";
|
|
4
4
|
export { type GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, type ParseNodeInfoOptions, Protocol, type SemVer, Services, Software, Usage, formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer };
|
package/dist/nodeinfo/mod.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "../docloader
|
|
6
|
-
import { a as parseSemVer, i as formatSemVer, n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "../types
|
|
5
|
+
import "../docloader.js";
|
|
6
|
+
import { a as parseSemVer, i as formatSemVer, n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "../types.js";
|
|
7
7
|
|
|
8
8
|
export { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer };
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { i as getDocumentLoader } from "./docloader-
|
|
7
|
-
import { _ as Object$1, o as CryptographicKey } from "./vocab-
|
|
8
|
-
import { i as isActor } from "./actor-
|
|
6
|
+
import { i as getDocumentLoader } 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 { trace } from "@opentelemetry/api";
|
|
10
10
|
|
|
11
11
|
//#region sig/owner.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { n as DocumentLoader } from "./docloader
|
|
4
|
-
import { m as CryptographicKey, n as Activity } from "./vocab
|
|
5
|
-
import { t as Actor } from "./actor
|
|
3
|
+
import { n as DocumentLoader } from "./docloader.js";
|
|
4
|
+
import { m as CryptographicKey, n as Activity } from "./vocab.js";
|
|
5
|
+
import { t as Actor } from "./actor.js";
|
|
6
6
|
import { TracerProvider } from "@opentelemetry/api";
|
|
7
7
|
|
|
8
8
|
//#region sig/owner.d.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-
|
|
7
|
-
import { h as Multikey, s as DataIntegrityProof, t as Activity } from "./vocab-
|
|
6
|
+
import { d as version, u as name } from "./docloader-I3SkMpZK.js";
|
|
7
|
+
import { h as Multikey, s as DataIntegrityProof, t as Activity } from "./vocab-B8zleLsO.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-Ba-IjS2c.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
12
12
|
import { encodeHex } from "byte-encodings/hex";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { d as name, f as version, i as getDocumentLoader } from "./docloader
|
|
6
|
-
import { G as Multikey, Tt as getTypeId, b as DataIntegrityProof, i as isActor, q as Object$1, s as Activity, y as CryptographicKey } from "./actor
|
|
7
|
-
import { a as validateCryptoKey, n as fetchKey } from "./
|
|
5
|
+
import { d as name, f as version, i as getDocumentLoader } from "./docloader.js";
|
|
6
|
+
import { G as Multikey, Tt as getTypeId, b as DataIntegrityProof, i as isActor, q as Object$1, s as Activity, 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 jsonld from "jsonld";
|
|
@@ -5,23 +5,23 @@
|
|
|
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 { t as UrlError } from "../url-BdNvnK9P.js";
|
|
10
10
|
import "../multibase-DBcKTV2a.js";
|
|
11
|
-
import "../vocab-
|
|
11
|
+
import "../vocab-B8zleLsO.js";
|
|
12
12
|
import "../langstr-pFHBDU4y.js";
|
|
13
|
-
import "../lookup-
|
|
14
|
-
import "../actor-
|
|
15
|
-
import "../key-
|
|
16
|
-
import { l as verifyRequest } from "../http-
|
|
17
|
-
import { t as getAuthenticatedDocumentLoader } from "../authdocloader-
|
|
13
|
+
import "../lookup-CoCshjhM.js";
|
|
14
|
+
import "../actor-BzWaWDTY.js";
|
|
15
|
+
import "../key-Ba-IjS2c.js";
|
|
16
|
+
import { l as verifyRequest } from "../http-CiQH4CF3.js";
|
|
17
|
+
import { t as getAuthenticatedDocumentLoader } from "../authdocloader-1vrHbYJF.js";
|
|
18
18
|
import { t as test } from "../testing-qaAD4B0t.js";
|
|
19
19
|
import "../std__assert-BdP_WkD-.js";
|
|
20
20
|
import { t as assertRejects } from "../assert_rejects-Bkh5lA1a.js";
|
|
21
21
|
import "../assert_is_error-CIYFACrT.js";
|
|
22
22
|
import "../assert_throws-CmpfkWEM.js";
|
|
23
23
|
import { t as mockDocumentLoader } from "../docloader-BDSHZfTJ.js";
|
|
24
|
-
import { i as rsaPrivateKey2 } from "../keys-
|
|
24
|
+
import { i as rsaPrivateKey2 } from "../keys-CLFIvF3E.js";
|
|
25
25
|
import { t as esm_default } from "../esm-BRXvTSrx.js";
|
|
26
26
|
|
|
27
27
|
//#region runtime/authdocloader.test.ts
|
|
@@ -7,7 +7,7 @@ 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 { d as version, i as getDocumentLoader, l as contexts_default, o as getUserAgent, s as kvCache, t as FetchError } from "../docloader-
|
|
10
|
+
import { d as version, i as getDocumentLoader, l as contexts_default, o as getUserAgent, s as kvCache, t as FetchError } from "../docloader-I3SkMpZK.js";
|
|
11
11
|
import { t as UrlError } from "../url-BdNvnK9P.js";
|
|
12
12
|
import { t as test } from "../testing-qaAD4B0t.js";
|
|
13
13
|
import "../std__assert-BdP_WkD-.js";
|
package/dist/runtime/key.test.js
CHANGED
|
@@ -5,14 +5,14 @@
|
|
|
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 { A as exportSpki, M as importPem, N as importPkcs1, P as importSpki, j as importMultibaseKey, k as exportMultibaseKey } from "../vocab-
|
|
11
|
+
import { A as exportSpki, M as importPem, N as importPkcs1, P as importSpki, j as importMultibaseKey, k as exportMultibaseKey } from "../vocab-B8zleLsO.js";
|
|
12
12
|
import "../langstr-pFHBDU4y.js";
|
|
13
|
-
import "../lookup-
|
|
14
|
-
import "../actor-
|
|
15
|
-
import { i as importJwk, t as exportJwk } from "../key-
|
|
13
|
+
import "../lookup-CoCshjhM.js";
|
|
14
|
+
import "../actor-BzWaWDTY.js";
|
|
15
|
+
import { i as importJwk, t as exportJwk } from "../key-Ba-IjS2c.js";
|
|
16
16
|
import { t as test } from "../testing-qaAD4B0t.js";
|
|
17
17
|
import "../std__assert-BdP_WkD-.js";
|
|
18
18
|
import "../assert_rejects-Bkh5lA1a.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { a as FetchError, c as KvCacheParameters, d as getDocumentLoader, f as getUserAgent, i as DocumentLoaderFactoryOptions, l as RemoteDocument, n as DocumentLoader, o as GetDocumentLoaderOptions, p as kvCache, r as DocumentLoaderFactory, s as GetUserAgentOptions, t as AuthenticatedDocumentLoaderFactory, u as fetchDocumentLoader } from "../docloader
|
|
4
|
-
import { pt as LanguageString } from "../vocab
|
|
5
|
-
import { n as HttpMessageSignaturesSpecDeterminer } from "../http
|
|
3
|
+
import { a as FetchError, c as KvCacheParameters, d as getDocumentLoader, f as getUserAgent, i as DocumentLoaderFactoryOptions, l as RemoteDocument, n as DocumentLoader, o as GetDocumentLoaderOptions, p as kvCache, r as DocumentLoaderFactory, s as GetUserAgentOptions, t as AuthenticatedDocumentLoaderFactory, u as fetchDocumentLoader } from "../docloader.js";
|
|
4
|
+
import { pt as LanguageString } from "../vocab.js";
|
|
5
|
+
import { n as HttpMessageSignaturesSpecDeterminer } from "../http.js";
|
|
6
6
|
import { TracerProvider } from "@opentelemetry/api";
|
|
7
7
|
|
|
8
8
|
//#region runtime/authdocloader.d.ts
|
package/dist/runtime/mod.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { i as getDocumentLoader, o as getUserAgent, r as fetchDocumentLoader, s as kvCache, t as FetchError } from "../docloader
|
|
6
|
-
import { Ct as importPkcs1, St as importPem, bt as exportSpki, vt as LanguageString, wt as importSpki, xt as importMultibaseKey, yt as exportMultibaseKey } from "../actor
|
|
7
|
-
import "../lookup
|
|
8
|
-
import "../
|
|
9
|
-
import "../http
|
|
10
|
-
import { t as getAuthenticatedDocumentLoader } from "../authdocloader
|
|
5
|
+
import { i as getDocumentLoader, o as getUserAgent, r as fetchDocumentLoader, s as kvCache, t as FetchError } from "../docloader.js";
|
|
6
|
+
import { Ct as importPkcs1, St as importPem, bt as exportSpki, vt as LanguageString, wt as importSpki, xt as importMultibaseKey, yt as exportMultibaseKey } from "../actor.js";
|
|
7
|
+
import "../lookup.js";
|
|
8
|
+
import "../key2.js";
|
|
9
|
+
import "../http.js";
|
|
10
|
+
import { t as getAuthenticatedDocumentLoader } from "../authdocloader.js";
|
|
11
11
|
|
|
12
12
|
export { FetchError, LanguageString, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
|
|
@@ -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 { n as doubleKnock } from "./http-
|
|
6
|
+
import { d as version, u as name } from "./docloader-I3SkMpZK.js";
|
|
7
|
+
import { n as doubleKnock } from "./http-CiQH4CF3.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
|