@fedify/fedify 2.0.0-dev.279 → 2.0.0-dev.323
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/{builder-B7WWCOdc.js → builder-CvKuNW7P.js} +3 -3
- package/dist/{chunk-DqRYRqnO.cjs → chunk-CGaQZ11T.cjs} +19 -0
- package/dist/chunk-DJNbSFdH.js +29 -0
- package/dist/compat/mod.cjs +1 -1
- package/dist/compat/mod.d.cts +6 -6
- package/dist/compat/mod.d.ts +6 -6
- package/dist/compat/mod.js +2 -2
- package/dist/compat/transformers.test.js +11 -11
- package/dist/{context-BNNWbaZL.d.ts → context-CJO1oqSa.d.ts} +4 -4
- package/dist/{context-D7JEVvXJ.d.cts → context-Zqld1re2.d.cts} +4 -4
- package/dist/{deno-fe0u4LiE.js → deno-BTAi5-ur.js} +4 -2
- package/dist/{docloader-C9Dmxf-K.js → docloader-D8dzb6AT.js} +2 -2
- package/dist/federation/builder.test.js +3 -3
- package/dist/federation/handler.test.js +11 -11
- package/dist/federation/idempotency.test.js +47 -11
- package/dist/federation/inbox.test.js +2 -2
- package/dist/federation/middleware.test.js +11 -11
- package/dist/federation/mod.cjs +7 -7
- package/dist/federation/mod.d.cts +6 -6
- package/dist/federation/mod.d.ts +6 -6
- package/dist/federation/mod.js +7 -7
- package/dist/federation/send.test.js +5 -5
- package/dist/federation/webfinger.test.js +11 -11
- package/dist/{federation-CE0CJ_0G.cjs → federation-Bp3HI26G.cjs} +1 -1
- package/dist/{http-DMi5iyiI.cjs → http-BCfCt7nq.cjs} +5 -3
- package/dist/{http-7r8B3dF_.js → http-C02fQ5SX.js} +4 -2
- package/dist/{http-oCBlFLKT.js → http-C4WANccp.js} +2 -2
- package/dist/{inbox-Dm1rfkdg.js → inbox-CdBcxHA7.js} +1 -1
- package/dist/{key-BGzsKfpZ.js → key-BI6sqU5u.js} +1 -1
- package/dist/{kv-cache-CETRZwoP.js → kv-cache-BLxaWwPk.js} +1 -1
- package/dist/{kv-cache-C0AvpI7U.cjs → kv-cache-Dk9UX_M2.cjs} +2 -2
- package/dist/{ld-BaO1-A5Y.js → ld-qTcTL2A4.js} +2 -2
- package/dist/middleware-BhYGJwH9.js +12 -0
- package/dist/{middleware-CnGBoMop.js → middleware-DG4UsFBP.js} +11 -11
- package/dist/{middleware-BlOT9luD.js → middleware-DaOdxVOc.js} +10 -10
- package/dist/middleware-Dsrm1uhx.cjs +12 -0
- package/dist/{middleware-R0w-WauH.js → middleware-LQKxYF7X.js} +6 -6
- package/dist/{middleware-C0Vj7vNo.cjs → middleware-nW8ONmt3.cjs} +7 -7
- package/dist/mod-Bh8mqlYw.d.cts +9 -0
- package/dist/{mod-YpmzboJc.d.ts → mod-Bpuc-q64.d.ts} +1 -1
- package/dist/{mod-BhDb3RBS.d.ts → mod-C92O3FpJ.d.ts} +1 -1
- package/dist/{mod-054TSUXs.d.cts → mod-CKtAEVny.d.cts} +1 -1
- package/dist/{mod-BrS8tiad.d.cts → mod-COO7VMcm.d.cts} +1 -1
- package/dist/{mod-DZmuPaKv.d.ts → mod-CvhyLrjX.d.ts} +2 -2
- package/dist/mod-D6HodEq7.d.ts +7 -0
- package/dist/{mod-C74sRHP8.d.cts → mod-DFWeUq2q.d.cts} +1 -1
- package/dist/{mod-BHXq4Q3x.d.cts → mod-DWaA45ef.d.cts} +2 -2
- package/dist/{mod-jOa7W503.d.ts → mod-q2IR8UiH.d.ts} +1 -1
- package/dist/mod.cjs +57 -9
- package/dist/mod.d.cts +19 -10
- package/dist/mod.d.ts +20 -10
- package/dist/mod.js +59 -11
- package/dist/nodeinfo/handler.test.js +11 -11
- package/dist/nodeinfo/mod.cjs +1 -1
- package/dist/nodeinfo/mod.d.cts +2 -2
- package/dist/nodeinfo/mod.d.ts +2 -2
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/otel/mod.cjs +1 -1
- package/dist/otel/mod.d.cts +1 -1
- package/dist/otel/mod.d.ts +1 -1
- package/dist/{owner-BqIhDQWW.js → owner-Cfmtlwoe.js} +1 -1
- package/dist/{proof-DoHt7qrS.js → proof-Bc8ULrzP.js} +2 -2
- package/dist/{proof-vSvvLbTh.cjs → proof-BoqEqbih.cjs} +2 -2
- package/dist/{proof-Cg6AAAWI.js → proof-OjMPhNWs.js} +1 -1
- package/dist/runtime/mod.cjs +14 -0
- package/dist/runtime/mod.d.cts +2 -0
- package/dist/runtime/mod.d.ts +4 -0
- package/dist/runtime/mod.js +7 -0
- package/dist/runtime-c2Njxsry.cjs +17 -0
- package/dist/runtime-poamPCMb.js +13 -0
- package/dist/{send-CO2ZYT96.js → send-BKW3wSXo.js} +2 -2
- package/dist/sig/http.test.js +3 -3
- package/dist/sig/key.test.js +2 -2
- package/dist/sig/ld.test.js +3 -3
- package/dist/sig/mod.cjs +3 -3
- package/dist/sig/mod.d.cts +3 -3
- package/dist/sig/mod.d.ts +3 -3
- package/dist/sig/mod.js +3 -3
- package/dist/sig/owner.test.js +3 -3
- package/dist/sig/proof.test.js +3 -3
- package/dist/{transformers-BjBg6Lag.cjs → transformers-3g8GZwkZ.cjs} +1 -1
- package/dist/{types-B6z6CqIz.cjs → types-Cd_hszr_.cjs} +1 -1
- package/dist/utils/docloader.test.js +4 -4
- package/dist/utils/mod.cjs +3 -3
- package/dist/utils/mod.d.cts +3 -3
- package/dist/utils/mod.d.ts +3 -3
- package/dist/utils/mod.js +3 -3
- package/dist/vocab/mod.cjs +13 -0
- package/dist/vocab/mod.d.cts +1 -0
- package/dist/vocab/mod.d.ts +3 -0
- package/dist/vocab/mod.js +5 -0
- package/package.json +25 -5
- package/dist/middleware-BDJNulB_.js +0 -12
- package/dist/middleware-DT3JkH-g.cjs +0 -12
- /package/dist/{client-by-PEGAJ.d.cts → client-CwkOPN13.d.cts} +0 -0
- /package/dist/{client-CUTUGgvJ.d.ts → client-a7NwzhA2.d.ts} +0 -0
- /package/dist/{compat-nxUqe4Z-.js → compat-Bb4NuTUO.js} +0 -0
- /package/dist/{federation-D6FVaeAR.js → federation-DaMfqRm4.js} +0 -0
- /package/dist/{http-ClB3pLcL.d.cts → http-CCEu-x1_.d.cts} +0 -0
- /package/dist/{http-DLBDPal9.d.ts → http-CODSJcKx.d.ts} +0 -0
- /package/dist/{kv-B4vFhIYL.d.cts → kv-g9jFc34-.d.cts} +0 -0
- /package/dist/{kv-CYySNrsn.d.ts → kv-jg_8SMc1.d.ts} +0 -0
- /package/dist/{mod-1E3W847c.d.ts → mod-AGjRfPjT.d.ts} +0 -0
- /package/dist/{mod-C81L6_lQ.d.cts → mod-gq_Xfdz8.d.cts} +0 -0
- /package/dist/{nodeinfo-BlLsRSiT.js → nodeinfo-DoESQxq5.js} +0 -0
- /package/dist/{owner-C-zfmVAD.d.cts → owner-9yZ5Ibsb.d.cts} +0 -0
- /package/dist/{owner-BgI8C-VY.d.ts → owner-DQYAbVmX.d.ts} +0 -0
- /package/dist/{sig-CwuONEzF.js → sig-BNhspNOf.js} +0 -0
- /package/dist/{sig-DeXX2xnj.cjs → sig-vX39WyWI.cjs} +0 -0
- /package/dist/{transformers-N_ip_y4P.js → transformers-C3FLHUd6.js} +0 -0
- /package/dist/{types-8l28uC8o.js → types-C93Ob9cU.js} +0 -0
- /package/dist/{utils-Db0ZmjcD.cjs → utils-BQ9KqEK9.cjs} +0 -0
- /package/dist/{utils-Wranxuoe.js → utils-Dn5OPdSW.js} +0 -0
|
@@ -13,7 +13,7 @@ import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
|
13
13
|
|
|
14
14
|
//#region deno.json
|
|
15
15
|
var name = "@fedify/fedify";
|
|
16
|
-
var version = "2.0.0-dev.
|
|
16
|
+
var version = "2.0.0-dev.323+1d796545";
|
|
17
17
|
var license = "MIT";
|
|
18
18
|
var exports = {
|
|
19
19
|
".": "./src/mod.ts",
|
|
@@ -21,8 +21,10 @@ var exports = {
|
|
|
21
21
|
"./federation": "./src/federation/mod.ts",
|
|
22
22
|
"./nodeinfo": "./src/nodeinfo/mod.ts",
|
|
23
23
|
"./otel": "./src/otel/mod.ts",
|
|
24
|
+
"./runtime": "./src/runtime/mod.ts",
|
|
24
25
|
"./sig": "./src/sig/mod.ts",
|
|
25
|
-
"./utils": "./src/utils/mod.ts"
|
|
26
|
+
"./utils": "./src/utils/mod.ts",
|
|
27
|
+
"./vocab": "./src/vocab/mod.ts"
|
|
26
28
|
};
|
|
27
29
|
var imports = {
|
|
28
30
|
"@multiformats/base-x": "npm:@multiformats/base-x@^4.0.1",
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./deno-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
6
|
+
import { deno_default } from "./deno-BTAi5-ur.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-BI6sqU5u.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { CryptographicKey } from "@fedify/vocab";
|
|
10
10
|
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 { deno_default } from "./deno-
|
|
6
|
+
import { deno_default } from "./deno-BTAi5-ur.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { Activity, getTypeId } from "@fedify/vocab";
|
|
9
9
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./deno-
|
|
6
|
+
import { deno_default } from "./deno-BTAi5-ur.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { CryptographicKey, Object as Object$1, isActor } from "@fedify/vocab";
|
|
9
9
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { doubleKnock, validateCryptoKey } from "./http-
|
|
5
|
+
import { doubleKnock, validateCryptoKey } from "./http-C02fQ5SX.js";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
import { curry } from "es-toolkit";
|
|
8
8
|
import { UrlError, createActivityPubRequest, getDocumentLoader, getRemoteDocument, logRequest, preloadedContexts, validatePublicUrl } from "@fedify/vocab-runtime";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
const require_chunk = require('./chunk-
|
|
6
|
-
const require_http = require('./http-
|
|
5
|
+
const require_chunk = require('./chunk-CGaQZ11T.cjs');
|
|
6
|
+
const require_http = require('./http-BCfCt7nq.cjs');
|
|
7
7
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
|
8
8
|
const es_toolkit = require_chunk.__toESM(require("es-toolkit"));
|
|
9
9
|
const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./deno-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
6
|
+
import { deno_default } from "./deno-BTAi5-ur.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-BI6sqU5u.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { Activity, CryptographicKey, Object as Object$1, getTypeId } from "@fedify/vocab";
|
|
10
10
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
|
4
|
+
|
|
5
|
+
import "./transformers-C3FLHUd6.js";
|
|
6
|
+
import "./http-C02fQ5SX.js";
|
|
7
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-LQKxYF7X.js";
|
|
8
|
+
import "./proof-OjMPhNWs.js";
|
|
9
|
+
import "./types-C93Ob9cU.js";
|
|
10
|
+
import "./kv-cache-BLxaWwPk.js";
|
|
11
|
+
|
|
12
|
+
export { FederationImpl };
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "./deno-
|
|
7
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-
|
|
6
|
+
import "./deno-BTAi5-ur.js";
|
|
7
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-DaOdxVOc.js";
|
|
8
8
|
import "./client-Dg7OfUDA.js";
|
|
9
9
|
import "./router-D9eI0s4b.js";
|
|
10
10
|
import "./types-CPz01LGH.js";
|
|
11
|
-
import "./key-
|
|
12
|
-
import "./http-
|
|
13
|
-
import "./ld-
|
|
14
|
-
import "./owner-
|
|
15
|
-
import "./proof-
|
|
16
|
-
import "./docloader-
|
|
11
|
+
import "./key-BI6sqU5u.js";
|
|
12
|
+
import "./http-C4WANccp.js";
|
|
13
|
+
import "./ld-qTcTL2A4.js";
|
|
14
|
+
import "./owner-Cfmtlwoe.js";
|
|
15
|
+
import "./proof-Bc8ULrzP.js";
|
|
16
|
+
import "./docloader-D8dzb6AT.js";
|
|
17
17
|
import "./kv-cache-B__dHl7g.js";
|
|
18
|
-
import "./inbox-
|
|
19
|
-
import "./builder-
|
|
18
|
+
import "./inbox-CdBcxHA7.js";
|
|
19
|
+
import "./builder-CvKuNW7P.js";
|
|
20
20
|
import "./collection-CcnIw1qY.js";
|
|
21
21
|
import "./keycache-DRxpZ5r9.js";
|
|
22
22
|
import "./negotiation-5NPJL6zp.js";
|
|
23
23
|
import "./retry-D4GJ670a.js";
|
|
24
|
-
import "./send-
|
|
24
|
+
import "./send-BKW3wSXo.js";
|
|
25
25
|
|
|
26
26
|
export { FederationImpl };
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./deno-
|
|
6
|
+
import { deno_default } from "./deno-BTAi5-ur.js";
|
|
7
7
|
import { getNodeInfo } from "./client-Dg7OfUDA.js";
|
|
8
8
|
import { RouterError } from "./router-D9eI0s4b.js";
|
|
9
9
|
import { nodeInfoToJson } from "./types-CPz01LGH.js";
|
|
10
|
-
import { exportJwk, importJwk, validateCryptoKey } from "./key-
|
|
11
|
-
import { verifyRequest } from "./http-
|
|
12
|
-
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-
|
|
13
|
-
import { doesActorOwnKey, getKeyOwner } from "./owner-
|
|
14
|
-
import { signObject, verifyObject } from "./proof-
|
|
15
|
-
import { getAuthenticatedDocumentLoader } from "./docloader-
|
|
10
|
+
import { exportJwk, importJwk, validateCryptoKey } from "./key-BI6sqU5u.js";
|
|
11
|
+
import { verifyRequest } from "./http-C4WANccp.js";
|
|
12
|
+
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-qTcTL2A4.js";
|
|
13
|
+
import { doesActorOwnKey, getKeyOwner } from "./owner-Cfmtlwoe.js";
|
|
14
|
+
import { signObject, verifyObject } from "./proof-Bc8ULrzP.js";
|
|
15
|
+
import { getAuthenticatedDocumentLoader } from "./docloader-D8dzb6AT.js";
|
|
16
16
|
import { kvCache } from "./kv-cache-B__dHl7g.js";
|
|
17
|
-
import { routeActivity } from "./inbox-
|
|
18
|
-
import { FederationBuilderImpl } from "./builder-
|
|
17
|
+
import { routeActivity } from "./inbox-CdBcxHA7.js";
|
|
18
|
+
import { FederationBuilderImpl } from "./builder-CvKuNW7P.js";
|
|
19
19
|
import { buildCollectionSynchronizationHeader } from "./collection-CcnIw1qY.js";
|
|
20
20
|
import { KvKeyCache } from "./keycache-DRxpZ5r9.js";
|
|
21
21
|
import { acceptsJsonLd } from "./negotiation-5NPJL6zp.js";
|
|
22
22
|
import { createExponentialBackoffPolicy } from "./retry-D4GJ670a.js";
|
|
23
|
-
import { extractInboxes, sendActivity } from "./send-
|
|
23
|
+
import { extractInboxes, sendActivity } from "./send-BKW3wSXo.js";
|
|
24
24
|
import { getLogger, withContext } from "@logtape/logtape";
|
|
25
25
|
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId, lookupObject, traverseCollection } from "@fedify/vocab";
|
|
26
26
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
|
+
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
|
+
|
|
5
|
+
require('./transformers-3g8GZwkZ.cjs');
|
|
6
|
+
require('./http-BCfCt7nq.cjs');
|
|
7
|
+
const require_middleware = require('./middleware-nW8ONmt3.cjs');
|
|
8
|
+
require('./proof-BoqEqbih.cjs');
|
|
9
|
+
require('./types-Cd_hszr_.cjs');
|
|
10
|
+
require('./kv-cache-Dk9UX_M2.cjs');
|
|
11
|
+
|
|
12
|
+
exports.FederationImpl = require_middleware.FederationImpl;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { getDefaultActivityTransformers } from "./transformers-
|
|
6
|
-
import { deno_default, doubleKnock, exportJwk, importJwk, validateCryptoKey, verifyRequest } from "./http-
|
|
7
|
-
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-
|
|
8
|
-
import { getNodeInfo, nodeInfoToJson } from "./types-
|
|
9
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache-
|
|
5
|
+
import { getDefaultActivityTransformers } from "./transformers-C3FLHUd6.js";
|
|
6
|
+
import { deno_default, doubleKnock, exportJwk, importJwk, validateCryptoKey, verifyRequest } from "./http-C02fQ5SX.js";
|
|
7
|
+
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-OjMPhNWs.js";
|
|
8
|
+
import { getNodeInfo, nodeInfoToJson } from "./types-C93Ob9cU.js";
|
|
9
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache-BLxaWwPk.js";
|
|
10
10
|
import { getLogger, withContext } from "@logtape/logtape";
|
|
11
11
|
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId, lookupObject, traverseCollection } from "@fedify/vocab";
|
|
12
12
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
|
@@ -337,7 +337,7 @@ var FederationBuilderImpl = class {
|
|
|
337
337
|
this.collectionTypeIds = {};
|
|
338
338
|
}
|
|
339
339
|
async build(options) {
|
|
340
|
-
const { FederationImpl: FederationImpl$1 } = await import("./middleware-
|
|
340
|
+
const { FederationImpl: FederationImpl$1 } = await import("./middleware-BhYGJwH9.js");
|
|
341
341
|
const f = new FederationImpl$1(options);
|
|
342
342
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
|
343
343
|
f.router = this.router.clone();
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
const require_chunk = require('./chunk-
|
|
6
|
-
const require_transformers = require('./transformers-
|
|
7
|
-
const require_http = require('./http-
|
|
8
|
-
const require_proof = require('./proof-
|
|
9
|
-
const require_types = require('./types-
|
|
10
|
-
const require_kv_cache = require('./kv-cache-
|
|
5
|
+
const require_chunk = require('./chunk-CGaQZ11T.cjs');
|
|
6
|
+
const require_transformers = require('./transformers-3g8GZwkZ.cjs');
|
|
7
|
+
const require_http = require('./http-BCfCt7nq.cjs');
|
|
8
|
+
const require_proof = require('./proof-BoqEqbih.cjs');
|
|
9
|
+
const require_types = require('./types-Cd_hszr_.cjs');
|
|
10
|
+
const require_kv_cache = require('./kv-cache-Dk9UX_M2.cjs');
|
|
11
11
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
|
12
12
|
const __fedify_vocab = require_chunk.__toESM(require("@fedify/vocab"));
|
|
13
13
|
const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
|
|
@@ -338,7 +338,7 @@ var FederationBuilderImpl = class {
|
|
|
338
338
|
this.collectionTypeIds = {};
|
|
339
339
|
}
|
|
340
340
|
async build(options) {
|
|
341
|
-
const { FederationImpl: FederationImpl$1 } = await Promise.resolve().then(() => require("./middleware-
|
|
341
|
+
const { FederationImpl: FederationImpl$1 } = await Promise.resolve().then(() => require("./middleware-Dsrm1uhx.cjs"));
|
|
342
342
|
const f = new FederationImpl$1(options);
|
|
343
343
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
|
344
344
|
f.router = this.router.clone();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { ActivityTransformer, Context } from "./context-
|
|
3
|
+
import { ActivityTransformer, Context } from "./context-CJO1oqSa.js";
|
|
4
4
|
import { Activity } from "@fedify/vocab";
|
|
5
5
|
|
|
6
6
|
//#region src/compat/transformers.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { ActorAliasMapper, ActorDispatcher, ActorHandleMapper, RequestContext, WebFingerLinksDispatcher } from "./context-
|
|
3
|
+
import { ActorAliasMapper, ActorDispatcher, ActorHandleMapper, RequestContext, WebFingerLinksDispatcher } from "./context-CJO1oqSa.js";
|
|
4
4
|
import { Span, Tracer } from "@opentelemetry/api";
|
|
5
5
|
|
|
6
6
|
//#region src/federation/webfinger.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActorAliasMapper, ActorDispatcher, ActorHandleMapper, RequestContext, WebFingerLinksDispatcher } from "./context-
|
|
1
|
+
import { ActorAliasMapper, ActorDispatcher, ActorHandleMapper, RequestContext, WebFingerLinksDispatcher } from "./context-Zqld1re2.cjs";
|
|
2
2
|
import { Span, Tracer } from "@opentelemetry/api";
|
|
3
3
|
|
|
4
4
|
//#region src/federation/webfinger.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KeyCache } from "./http-
|
|
1
|
+
import { KeyCache } from "./http-CCEu-x1_.cjs";
|
|
2
2
|
import { CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1 } from "@fedify/vocab";
|
|
3
3
|
import { DocumentLoader } from "@fedify/vocab-runtime";
|
|
4
4
|
import { TracerProvider } from "@opentelemetry/api";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { HttpMessageSignaturesSpecDeterminer } from "./http-
|
|
4
|
-
import { KvKey, KvStore } from "./kv-
|
|
3
|
+
import { HttpMessageSignaturesSpecDeterminer } from "./http-CODSJcKx.js";
|
|
4
|
+
import { KvKey, KvStore } from "./kv-jg_8SMc1.js";
|
|
5
5
|
import { TracerProvider } from "@opentelemetry/api";
|
|
6
6
|
import { DocumentLoader, DocumentLoaderFactoryOptions } from "@fedify/vocab-runtime";
|
|
7
7
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Temporal } from "@js-temporal/polyfill";
|
|
2
|
+
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
+
import * as import___fedify_vocab_runtime from "@fedify/vocab-runtime";
|
|
4
|
+
__reExport(mod_d_exports, import___fedify_vocab_runtime);
|
|
5
|
+
|
|
6
|
+
//#endregion
|
|
7
|
+
export { mod_d_exports };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpMessageSignaturesSpecDeterminer } from "./http-
|
|
2
|
-
import { KvKey, KvStore } from "./kv-
|
|
1
|
+
import { HttpMessageSignaturesSpecDeterminer } from "./http-CCEu-x1_.cjs";
|
|
2
|
+
import { KvKey, KvStore } from "./kv-g9jFc34-.cjs";
|
|
3
3
|
import { DocumentLoader, DocumentLoaderFactoryOptions } from "@fedify/vocab-runtime";
|
|
4
4
|
import { TracerProvider } from "@opentelemetry/api";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { KeyCache } from "./http-
|
|
3
|
+
import { KeyCache } from "./http-CODSJcKx.js";
|
|
4
4
|
import { CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1 } from "@fedify/vocab";
|
|
5
5
|
import { TracerProvider } from "@opentelemetry/api";
|
|
6
6
|
import { DocumentLoader } from "@fedify/vocab-runtime";
|
package/dist/mod.cjs
CHANGED
|
@@ -2,18 +2,66 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const require_chunk = require('./chunk-CGaQZ11T.cjs');
|
|
6
|
+
const require_transformers = require('./transformers-3g8GZwkZ.cjs');
|
|
6
7
|
require('./compat-DmDDELst.cjs');
|
|
7
|
-
const require_http = require('./http-
|
|
8
|
-
const require_middleware = require('./middleware-
|
|
9
|
-
const require_proof = require('./proof-
|
|
10
|
-
const require_federation = require('./federation-
|
|
11
|
-
const require_types = require('./types-
|
|
12
|
-
const require_kv_cache = require('./kv-cache-
|
|
8
|
+
const require_http = require('./http-BCfCt7nq.cjs');
|
|
9
|
+
const require_middleware = require('./middleware-nW8ONmt3.cjs');
|
|
10
|
+
const require_proof = require('./proof-BoqEqbih.cjs');
|
|
11
|
+
const require_federation = require('./federation-Bp3HI26G.cjs');
|
|
12
|
+
const require_types = require('./types-Cd_hszr_.cjs');
|
|
13
|
+
const require_kv_cache = require('./kv-cache-Dk9UX_M2.cjs');
|
|
13
14
|
require('./nodeinfo-DuMYTpbZ.cjs');
|
|
14
|
-
require('./
|
|
15
|
-
require('./
|
|
15
|
+
const require_runtime = require('./runtime-c2Njxsry.cjs');
|
|
16
|
+
require('./sig-vX39WyWI.cjs');
|
|
17
|
+
require('./utils-BQ9KqEK9.cjs');
|
|
16
18
|
|
|
19
|
+
//#region src/mod.ts
|
|
20
|
+
var src_exports = {};
|
|
21
|
+
require_chunk.__export(src_exports, {
|
|
22
|
+
InProcessMessageQueue: () => require_federation.InProcessMessageQueue,
|
|
23
|
+
MemoryKvStore: () => require_federation.MemoryKvStore,
|
|
24
|
+
ParallelMessageQueue: () => require_federation.ParallelMessageQueue,
|
|
25
|
+
Router: () => require_middleware.Router,
|
|
26
|
+
RouterError: () => require_middleware.RouterError,
|
|
27
|
+
actorDehydrator: () => require_transformers.actorDehydrator,
|
|
28
|
+
attachSignature: () => require_proof.attachSignature,
|
|
29
|
+
autoIdAssigner: () => require_transformers.autoIdAssigner,
|
|
30
|
+
buildCollectionSynchronizationHeader: () => require_middleware.buildCollectionSynchronizationHeader,
|
|
31
|
+
createExponentialBackoffPolicy: () => require_middleware.createExponentialBackoffPolicy,
|
|
32
|
+
createFederation: () => require_middleware.createFederation,
|
|
33
|
+
createFederationBuilder: () => require_middleware.createFederationBuilder,
|
|
34
|
+
createProof: () => require_proof.createProof,
|
|
35
|
+
createSignature: () => require_proof.createSignature,
|
|
36
|
+
detachSignature: () => require_proof.detachSignature,
|
|
37
|
+
digest: () => require_middleware.digest,
|
|
38
|
+
doesActorOwnKey: () => require_proof.doesActorOwnKey,
|
|
39
|
+
exportJwk: () => require_http.exportJwk,
|
|
40
|
+
fetchKey: () => require_http.fetchKey,
|
|
41
|
+
generateCryptoKeyPair: () => require_http.generateCryptoKeyPair,
|
|
42
|
+
getAuthenticatedDocumentLoader: () => require_kv_cache.getAuthenticatedDocumentLoader,
|
|
43
|
+
getDefaultActivityTransformers: () => require_transformers.getDefaultActivityTransformers,
|
|
44
|
+
getKeyOwner: () => require_proof.getKeyOwner,
|
|
45
|
+
getNodeInfo: () => require_types.getNodeInfo,
|
|
46
|
+
handleWebFinger: () => require_middleware.handleWebFinger,
|
|
47
|
+
importJwk: () => require_http.importJwk,
|
|
48
|
+
kvCache: () => require_kv_cache.kvCache,
|
|
49
|
+
nodeInfoToJson: () => require_types.nodeInfoToJson,
|
|
50
|
+
parseNodeInfo: () => require_types.parseNodeInfo,
|
|
51
|
+
respondWithObject: () => require_middleware.respondWithObject,
|
|
52
|
+
respondWithObjectIfAcceptable: () => require_middleware.respondWithObjectIfAcceptable,
|
|
53
|
+
signJsonLd: () => require_proof.signJsonLd,
|
|
54
|
+
signObject: () => require_proof.signObject,
|
|
55
|
+
signRequest: () => require_http.signRequest,
|
|
56
|
+
verifyJsonLd: () => require_proof.verifyJsonLd,
|
|
57
|
+
verifyObject: () => require_proof.verifyObject,
|
|
58
|
+
verifyProof: () => require_proof.verifyProof,
|
|
59
|
+
verifyRequest: () => require_http.verifyRequest,
|
|
60
|
+
verifySignature: () => require_proof.verifySignature
|
|
61
|
+
});
|
|
62
|
+
require_chunk.__reExport(src_exports, require_runtime.runtime_exports);
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
17
65
|
exports.InProcessMessageQueue = require_federation.InProcessMessageQueue;
|
|
18
66
|
exports.MemoryKvStore = require_federation.MemoryKvStore;
|
|
19
67
|
exports.ParallelMessageQueue = require_federation.ParallelMessageQueue;
|
package/dist/mod.d.cts
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import "./mod-
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
1
|
+
import { __export, __reExport, mod_d_exports } from "./mod-Bh8mqlYw.cjs";
|
|
2
|
+
import { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo } from "./client-CwkOPN13.cjs";
|
|
3
|
+
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "./http-CCEu-x1_.cjs";
|
|
4
|
+
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "./owner-9yZ5Ibsb.cjs";
|
|
5
|
+
import { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParallelMessageQueue, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-Zqld1re2.cjs";
|
|
6
|
+
import { KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore } from "./kv-g9jFc34-.cjs";
|
|
7
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-DFWeUq2q.cjs";
|
|
8
|
+
import { WebFingerHandlerParameters, handleWebFinger } from "./mod-CKtAEVny.cjs";
|
|
9
|
+
import "./mod-gq_Xfdz8.cjs";
|
|
10
|
+
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./mod-COO7VMcm.cjs";
|
|
11
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "./mod-DWaA45ef.cjs";
|
|
12
|
+
|
|
13
|
+
//#region src/mod.d.ts
|
|
14
|
+
declare namespace mod_d_exports$1 {
|
|
15
|
+
export { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, JsonValue, KeyCache, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundService, OutboxErrorHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, importJwk, kvCache, nodeInfoToJson, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
|
16
|
+
}
|
|
17
|
+
__reExport(mod_d_exports$1, mod_d_exports);
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
11
20
|
export { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, JsonValue, KeyCache, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundService, OutboxErrorHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, importJwk, kvCache, nodeInfoToJson, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/mod.d.ts
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import "./mod-
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
3
|
+
import { __export, __reExport } from "./chunk-DJNbSFdH.js";
|
|
4
|
+
import { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo } from "./client-a7NwzhA2.js";
|
|
5
|
+
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "./http-CODSJcKx.js";
|
|
6
|
+
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "./owner-DQYAbVmX.js";
|
|
7
|
+
import { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParallelMessageQueue, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-CJO1oqSa.js";
|
|
8
|
+
import { KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore } from "./kv-jg_8SMc1.js";
|
|
9
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-Bpuc-q64.js";
|
|
10
|
+
import { WebFingerHandlerParameters, handleWebFinger } from "./mod-C92O3FpJ.js";
|
|
11
|
+
import "./mod-AGjRfPjT.js";
|
|
12
|
+
import { mod_d_exports } from "./mod-D6HodEq7.js";
|
|
13
|
+
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./mod-q2IR8UiH.js";
|
|
14
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "./mod-CvhyLrjX.js";
|
|
15
|
+
|
|
16
|
+
//#region src/mod.d.ts
|
|
17
|
+
declare namespace mod_d_exports$1 {
|
|
18
|
+
export { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, JsonValue, KeyCache, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundService, OutboxErrorHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, importJwk, kvCache, nodeInfoToJson, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
|
19
|
+
}
|
|
20
|
+
__reExport(mod_d_exports$1, mod_d_exports);
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
13
23
|
export { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, JsonValue, KeyCache, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundService, OutboxErrorHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, importJwk, kvCache, nodeInfoToJson, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/mod.js
CHANGED
|
@@ -2,16 +2,64 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
5
|
+
import { __export, __reExport } from "./chunk-DJNbSFdH.js";
|
|
6
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./transformers-C3FLHUd6.js";
|
|
7
|
+
import "./compat-Bb4NuTUO.js";
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "./http-C02fQ5SX.js";
|
|
9
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-LQKxYF7X.js";
|
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-OjMPhNWs.js";
|
|
11
|
+
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation-DaMfqRm4.js";
|
|
12
|
+
import { getNodeInfo, nodeInfoToJson, parseNodeInfo } from "./types-C93Ob9cU.js";
|
|
13
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache-BLxaWwPk.js";
|
|
14
|
+
import "./nodeinfo-DoESQxq5.js";
|
|
15
|
+
import { runtime_exports } from "./runtime-poamPCMb.js";
|
|
16
|
+
import "./sig-BNhspNOf.js";
|
|
17
|
+
import "./utils-Dn5OPdSW.js";
|
|
16
18
|
|
|
19
|
+
//#region src/mod.ts
|
|
20
|
+
var src_exports = {};
|
|
21
|
+
__export(src_exports, {
|
|
22
|
+
InProcessMessageQueue: () => InProcessMessageQueue,
|
|
23
|
+
MemoryKvStore: () => MemoryKvStore,
|
|
24
|
+
ParallelMessageQueue: () => ParallelMessageQueue,
|
|
25
|
+
Router: () => Router,
|
|
26
|
+
RouterError: () => RouterError,
|
|
27
|
+
actorDehydrator: () => actorDehydrator,
|
|
28
|
+
attachSignature: () => attachSignature,
|
|
29
|
+
autoIdAssigner: () => autoIdAssigner,
|
|
30
|
+
buildCollectionSynchronizationHeader: () => buildCollectionSynchronizationHeader,
|
|
31
|
+
createExponentialBackoffPolicy: () => createExponentialBackoffPolicy,
|
|
32
|
+
createFederation: () => createFederation,
|
|
33
|
+
createFederationBuilder: () => createFederationBuilder,
|
|
34
|
+
createProof: () => createProof,
|
|
35
|
+
createSignature: () => createSignature,
|
|
36
|
+
detachSignature: () => detachSignature,
|
|
37
|
+
digest: () => digest,
|
|
38
|
+
doesActorOwnKey: () => doesActorOwnKey,
|
|
39
|
+
exportJwk: () => exportJwk,
|
|
40
|
+
fetchKey: () => fetchKey,
|
|
41
|
+
generateCryptoKeyPair: () => generateCryptoKeyPair,
|
|
42
|
+
getAuthenticatedDocumentLoader: () => getAuthenticatedDocumentLoader,
|
|
43
|
+
getDefaultActivityTransformers: () => getDefaultActivityTransformers,
|
|
44
|
+
getKeyOwner: () => getKeyOwner,
|
|
45
|
+
getNodeInfo: () => getNodeInfo,
|
|
46
|
+
handleWebFinger: () => handleWebFinger,
|
|
47
|
+
importJwk: () => importJwk,
|
|
48
|
+
kvCache: () => kvCache,
|
|
49
|
+
nodeInfoToJson: () => nodeInfoToJson,
|
|
50
|
+
parseNodeInfo: () => parseNodeInfo,
|
|
51
|
+
respondWithObject: () => respondWithObject,
|
|
52
|
+
respondWithObjectIfAcceptable: () => respondWithObjectIfAcceptable,
|
|
53
|
+
signJsonLd: () => signJsonLd,
|
|
54
|
+
signObject: () => signObject,
|
|
55
|
+
signRequest: () => signRequest,
|
|
56
|
+
verifyJsonLd: () => verifyJsonLd,
|
|
57
|
+
verifyObject: () => verifyObject,
|
|
58
|
+
verifyProof: () => verifyProof,
|
|
59
|
+
verifyRequest: () => verifyRequest,
|
|
60
|
+
verifySignature: () => verifySignature
|
|
61
|
+
});
|
|
62
|
+
__reExport(src_exports, runtime_exports);
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
17
65
|
export { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, importJwk, kvCache, nodeInfoToJson, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|