@fedify/fedify 2.0.0-pr.458.1796 → 2.0.0-pr.467.1876
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-DPWo8e6F.cjs → actor-9gjVpXgd.cjs} +185 -185
- package/dist/{actor-D5sOur2R.js → actor-CsH6QBYT.js} +185 -185
- package/dist/{actor-DVMBUtCV.js → actor-D1LkZWVU.js} +1 -1
- package/dist/{builder-CExUnivT.js → builder-DCBCGtfN.js} +3 -3
- package/dist/compat/mod.d.cts +2 -3
- package/dist/compat/mod.d.ts +2 -3
- package/dist/compat/transformers.test.js +14 -14
- package/dist/{context-DJ8aSy2Q.d.cts → context-PxGADCsD.d.cts} +140 -3
- package/dist/{context-DG0huGW-.d.ts → context-V-XS2_6O.d.ts} +140 -3
- package/dist/{docloader-D0GvHC51.js → docloader-BaWIuRb2.js} +2 -2
- package/dist/{esm-Dx1ANaUf.js → esm-uX3RtJS9.js} +1 -1
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/collection.test.js +2 -2
- package/dist/federation/handler.test.js +15 -15
- package/dist/federation/idempotency.test.js +15 -15
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/kv.test.js +2 -2
- package/dist/federation/middleware.test.js +16 -16
- package/dist/federation/mod.cjs +7 -7
- package/dist/federation/mod.d.cts +2 -3
- package/dist/federation/mod.d.ts +2 -3
- package/dist/federation/mod.js +7 -7
- package/dist/federation/mq.test.js +6 -4
- package/dist/federation/negotiation.test.js +2 -2
- package/dist/federation/retry.test.js +2 -2
- package/dist/federation/router.test.js +2 -2
- package/dist/federation/send.test.js +9 -9
- package/dist/{http-BSN6RQOC.js → http-C5NpY8dE.js} +2 -2
- package/dist/{http-Cei_vVzc.js → http-Cw6Nfbii.js} +2 -2
- package/dist/{http-DGcqtcol.cjs → http-zanXjqHu.cjs} +2 -2
- package/dist/{inbox-9IhtKqHT.js → inbox-Bu3THMpw.js} +1 -1
- package/dist/{key-m63kqSGm.js → key-KT2Sua_C.js} +2 -2
- package/dist/{keycache-BZvso79n.js → keycache-CH77mwdO.js} +1 -1
- package/dist/{keys-C3Onp7Fd.js → keys-DM8I6W_Z.js} +1 -1
- package/dist/{kv-cache--RKYzX3Q.js → kv-cache-DspkH6f2.js} +1 -1
- package/dist/{kv-cache-tUGFCM0H.cjs → kv-cache-DxziE8JZ.cjs} +1 -1
- package/dist/{ld-BkW6zBWj.js → ld-RF_UxhNp.js} +2 -2
- package/dist/{lookup-DgpTsAyI.js → lookup-D029Hgmr.js} +187 -192
- package/dist/{lookup-Bl3pwcyk.js → lookup-EXeITSkB.js} +3 -8
- package/dist/{lookup-DkCTtfbf.cjs → lookup-ZMUieFn0.cjs} +3 -8
- package/dist/middleware-BuhoXDtM.js +15 -0
- package/dist/middleware-C2X56NUR.cjs +15 -0
- package/dist/{middleware-BKkWaVlz.js → middleware-C32-qFyf.js} +7 -7
- package/dist/{middleware-By89ws1y.js → middleware-CI-4cLU9.js} +11 -11
- package/dist/{middleware-Cs-UBi-8.cjs → middleware-CMT8W2oG.cjs} +7 -7
- package/dist/middleware-DWijkoj4.js +26 -0
- package/dist/{mod-DJcZDvjA.d.cts → mod-BoRKfJPE.d.cts} +1 -1
- package/dist/{mod-BoHnwOCs.d.ts → mod-Cdo6SYlJ.d.ts} +1 -1
- package/dist/mod.cjs +7 -7
- package/dist/mod.d.cts +5 -6
- package/dist/mod.d.ts +5 -6
- package/dist/mod.js +7 -7
- package/dist/nodeinfo/client.test.js +3 -3
- package/dist/nodeinfo/handler.test.js +14 -14
- package/dist/nodeinfo/mod.d.cts +1 -1
- package/dist/nodeinfo/mod.d.ts +1 -1
- package/dist/nodeinfo/types.test.js +2 -2
- package/dist/{owner-BVcVlOj2.js → owner-6JbsaBQB.js} +2 -2
- package/dist/{proof-BO4lGs3o.cjs → proof-CB7YKfl6.cjs} +3 -3
- package/dist/{proof-DHvk0L4Q.js → proof-D8SPvADT.js} +3 -3
- package/dist/{proof-pdiYnkHt.js → proof-gHlNO1tx.js} +2 -2
- package/dist/{send-BJrafhoh.js → send-CmpkYTnR.js} +2 -2
- package/dist/sig/http.test.js +7 -7
- package/dist/sig/key.test.js +5 -5
- package/dist/sig/ld.test.js +6 -6
- package/dist/sig/mod.cjs +4 -4
- package/dist/sig/mod.d.cts +1 -1
- package/dist/sig/mod.d.ts +1 -1
- package/dist/sig/mod.js +4 -4
- package/dist/sig/owner.test.js +6 -6
- package/dist/sig/proof.test.js +6 -6
- package/dist/testing/docloader.test.js +2 -2
- package/dist/testing/mod.js +2 -2
- package/dist/{testing-DQu183XY.js → testing-BJ493d9l.js} +1 -1
- package/dist/utils/docloader.test.js +8 -8
- package/dist/utils/kv-cache.test.js +2 -2
- package/dist/utils/mod.cjs +4 -4
- package/dist/utils/mod.d.cts +1 -1
- package/dist/utils/mod.d.ts +1 -1
- package/dist/utils/mod.js +4 -4
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +3 -3
- package/dist/vocab/mod.cjs +3 -3
- package/dist/vocab/mod.js +3 -3
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +3 -3
- package/dist/{vocab-D7w9PSpd.js → vocab-BY_op-IW.js} +2 -2
- package/dist/{vocab-DPJyg4oW.cjs → vocab-I0FskT0s.cjs} +2 -2
- package/dist/webfinger/handler.test.js +14 -14
- package/dist/webfinger/lookup.test.js +3 -3
- package/dist/webfinger/mod.cjs +1 -1
- package/dist/webfinger/mod.js +1 -1
- package/package.json +5 -36
- package/dist/denokv-CCssOzMJ.js +0 -57
- package/dist/middleware-C4qOO14D.js +0 -26
- package/dist/middleware-CGfrkoHW.js +0 -15
- package/dist/middleware-CsQiHdGR.cjs +0 -15
- package/dist/mq-CUKlBw08.d.ts +0 -143
- package/dist/mq-DcJPkXD5.d.cts +0 -140
- package/dist/vocab/schema.yaml +0 -247
- package/dist/x/cfworkers.cjs +0 -100
- package/dist/x/cfworkers.d.cts +0 -59
- package/dist/x/cfworkers.d.ts +0 -61
- package/dist/x/cfworkers.js +0 -98
- package/dist/x/cfworkers.test.d.ts +0 -3
- package/dist/x/cfworkers.test.js +0 -177
- package/dist/x/hono.cjs +0 -61
- package/dist/x/hono.d.cts +0 -53
- package/dist/x/hono.d.ts +0 -55
- package/dist/x/hono.js +0 -60
- package/dist/x/sveltekit.cjs +0 -69
- package/dist/x/sveltekit.d.cts +0 -45
- package/dist/x/sveltekit.d.ts +0 -47
- package/dist/x/sveltekit.js +0 -68
- /package/dist/{mod-C2tOeRkN.d.cts → mod-CcDPcLJW.d.cts} +0 -0
- /package/dist/{mod-B2iOw50L.d.ts → mod-D5Z2tISD.d.ts} +0 -0
- /package/dist/{mod-0noXw66R.d.cts → mod-DMpuiKXi.d.cts} +0 -0
- /package/dist/{mod-DgdBYYa0.d.cts → mod-DgxG-byT.d.cts} +0 -0
- /package/dist/{mod-B9M-8jm2.d.ts → mod-aAE2wOWV.d.ts} +0 -0
- /package/dist/{mod-xIj-IT58.d.ts → mod-bjzj5QIb.d.ts} +0 -0
|
@@ -8,7 +8,7 @@ import { UrlError, getUserAgent, validatePublicUrl } from "@fedify/vocab-runtime
|
|
|
8
8
|
|
|
9
9
|
//#region deno.json
|
|
10
10
|
var name = "@fedify/fedify";
|
|
11
|
-
var version = "2.0.0-pr.
|
|
11
|
+
var version = "2.0.0-pr.467.1876+1fd56163";
|
|
12
12
|
var license = "MIT";
|
|
13
13
|
var exports = {
|
|
14
14
|
".": "./src/mod.ts",
|
|
@@ -19,12 +19,7 @@ var exports = {
|
|
|
19
19
|
"./testing": "./src/testing/mod.ts",
|
|
20
20
|
"./vocab": "./src/vocab/mod.ts",
|
|
21
21
|
"./utils": "./src/utils/mod.ts",
|
|
22
|
-
"./webfinger": "./src/webfinger/mod.ts"
|
|
23
|
-
"./x/cfworkers": "./src/x/cfworkers.ts",
|
|
24
|
-
"./x/denokv": "./src/x/denokv.ts",
|
|
25
|
-
"./x/fresh": "./src/x/fresh.ts",
|
|
26
|
-
"./x/hono": "./src/x/hono.ts",
|
|
27
|
-
"./x/sveltekit": "./src/x/sveltekit.ts"
|
|
22
|
+
"./webfinger": "./src/webfinger/mod.ts"
|
|
28
23
|
};
|
|
29
24
|
var imports = {
|
|
30
25
|
"@multiformats/base-x": "npm:@multiformats/base-x@^4.0.1",
|
|
@@ -41,7 +36,7 @@ var imports = {
|
|
|
41
36
|
"multicodec": "npm:multicodec@^3.2.1",
|
|
42
37
|
"pkijs": "npm:pkijs@^3.2.4",
|
|
43
38
|
"structured-field-values": "npm:structured-field-values@^2.0.4",
|
|
44
|
-
"uri-template-router": "npm:uri-template-router@^0.0
|
|
39
|
+
"uri-template-router": "npm:uri-template-router@^1.0.0",
|
|
45
40
|
"url-template": "npm:url-template@^3.1.1"
|
|
46
41
|
};
|
|
47
42
|
var include = ["src/vocab/vocab.ts"];
|
|
@@ -9,7 +9,7 @@ const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runt
|
|
|
9
9
|
|
|
10
10
|
//#region deno.json
|
|
11
11
|
var name = "@fedify/fedify";
|
|
12
|
-
var version = "2.0.0-pr.
|
|
12
|
+
var version = "2.0.0-pr.467.1876+1fd56163";
|
|
13
13
|
var license = "MIT";
|
|
14
14
|
var exports$1 = {
|
|
15
15
|
".": "./src/mod.ts",
|
|
@@ -20,12 +20,7 @@ var exports$1 = {
|
|
|
20
20
|
"./testing": "./src/testing/mod.ts",
|
|
21
21
|
"./vocab": "./src/vocab/mod.ts",
|
|
22
22
|
"./utils": "./src/utils/mod.ts",
|
|
23
|
-
"./webfinger": "./src/webfinger/mod.ts"
|
|
24
|
-
"./x/cfworkers": "./src/x/cfworkers.ts",
|
|
25
|
-
"./x/denokv": "./src/x/denokv.ts",
|
|
26
|
-
"./x/fresh": "./src/x/fresh.ts",
|
|
27
|
-
"./x/hono": "./src/x/hono.ts",
|
|
28
|
-
"./x/sveltekit": "./src/x/sveltekit.ts"
|
|
23
|
+
"./webfinger": "./src/webfinger/mod.ts"
|
|
29
24
|
};
|
|
30
25
|
var imports = {
|
|
31
26
|
"@multiformats/base-x": "npm:@multiformats/base-x@^4.0.1",
|
|
@@ -42,7 +37,7 @@ var imports = {
|
|
|
42
37
|
"multicodec": "npm:multicodec@^3.2.1",
|
|
43
38
|
"pkijs": "npm:pkijs@^3.2.4",
|
|
44
39
|
"structured-field-values": "npm:structured-field-values@^2.0.4",
|
|
45
|
-
"uri-template-router": "npm:uri-template-router@^0.0
|
|
40
|
+
"uri-template-router": "npm:uri-template-router@^1.0.0",
|
|
46
41
|
"url-template": "npm:url-template@^3.1.1"
|
|
47
42
|
};
|
|
48
43
|
var include = ["src/vocab/vocab.ts"];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
|
4
|
+
|
|
5
|
+
import "./transformers-BFT6d7J5.js";
|
|
6
|
+
import "./lookup-EXeITSkB.js";
|
|
7
|
+
import "./actor-CsH6QBYT.js";
|
|
8
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-C32-qFyf.js";
|
|
9
|
+
import "./http-Cw6Nfbii.js";
|
|
10
|
+
import "./proof-D8SPvADT.js";
|
|
11
|
+
import "./types-BtUjyi5y.js";
|
|
12
|
+
import "./kv-cache-DspkH6f2.js";
|
|
13
|
+
import "./vocab-BY_op-IW.js";
|
|
14
|
+
|
|
15
|
+
export { FederationImpl };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
|
+
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
|
+
|
|
5
|
+
require('./transformers-CoBS-oFG.cjs');
|
|
6
|
+
require('./lookup-ZMUieFn0.cjs');
|
|
7
|
+
require('./actor-9gjVpXgd.cjs');
|
|
8
|
+
const require_middleware = require('./middleware-CMT8W2oG.cjs');
|
|
9
|
+
require('./http-zanXjqHu.cjs');
|
|
10
|
+
require('./proof-CB7YKfl6.cjs');
|
|
11
|
+
require('./types-CWgzGaqk.cjs');
|
|
12
|
+
require('./kv-cache-DxziE8JZ.cjs');
|
|
13
|
+
require('./vocab-I0FskT0s.cjs');
|
|
14
|
+
|
|
15
|
+
exports.FederationImpl = require_middleware.FederationImpl;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
5
|
import { getDefaultActivityTransformers } from "./transformers-BFT6d7J5.js";
|
|
6
|
-
import { deno_default, lookupWebFinger } from "./lookup-
|
|
7
|
-
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-
|
|
8
|
-
import { doubleKnock, exportJwk, importJwk, validateCryptoKey, verifyRequest } from "./http-
|
|
9
|
-
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-
|
|
6
|
+
import { deno_default, lookupWebFinger } from "./lookup-EXeITSkB.js";
|
|
7
|
+
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-CsH6QBYT.js";
|
|
8
|
+
import { doubleKnock, exportJwk, importJwk, validateCryptoKey, verifyRequest } from "./http-Cw6Nfbii.js";
|
|
9
|
+
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-D8SPvADT.js";
|
|
10
10
|
import { getNodeInfo, nodeInfoToJson } from "./types-BtUjyi5y.js";
|
|
11
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache
|
|
12
|
-
import { lookupObject, traverseCollection } from "./vocab-
|
|
11
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache-DspkH6f2.js";
|
|
12
|
+
import { lookupObject, traverseCollection } from "./vocab-BY_op-IW.js";
|
|
13
13
|
import { getLogger, withContext } from "@logtape/logtape";
|
|
14
14
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
|
15
15
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
@@ -338,7 +338,7 @@ var FederationBuilderImpl = class {
|
|
|
338
338
|
this.collectionTypeIds = {};
|
|
339
339
|
}
|
|
340
340
|
async build(options) {
|
|
341
|
-
const { FederationImpl: FederationImpl$1 } = await import("./middleware-
|
|
341
|
+
const { FederationImpl: FederationImpl$1 } = await import("./middleware-BuhoXDtM.js");
|
|
342
342
|
const f = new FederationImpl$1(options);
|
|
343
343
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
|
344
344
|
f.router = this.router.clone();
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, RouterError, deno_default, getTypeId, lookupObject, lookupWebFinger, traverseCollection } from "./lookup-
|
|
6
|
+
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, RouterError, deno_default, getTypeId, lookupObject, lookupWebFinger, traverseCollection } from "./lookup-D029Hgmr.js";
|
|
7
7
|
import { getNodeInfo } from "./client-pY7-3icS.js";
|
|
8
8
|
import { nodeInfoToJson } from "./types-C2XVl6gj.js";
|
|
9
|
-
import { exportJwk, importJwk, validateCryptoKey } from "./key-
|
|
10
|
-
import { verifyRequest } from "./http-
|
|
11
|
-
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-
|
|
12
|
-
import { doesActorOwnKey, getKeyOwner } from "./owner-
|
|
13
|
-
import { signObject, verifyObject } from "./proof-
|
|
14
|
-
import { getAuthenticatedDocumentLoader } from "./docloader-
|
|
9
|
+
import { exportJwk, importJwk, validateCryptoKey } from "./key-KT2Sua_C.js";
|
|
10
|
+
import { verifyRequest } from "./http-C5NpY8dE.js";
|
|
11
|
+
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-RF_UxhNp.js";
|
|
12
|
+
import { doesActorOwnKey, getKeyOwner } from "./owner-6JbsaBQB.js";
|
|
13
|
+
import { signObject, verifyObject } from "./proof-gHlNO1tx.js";
|
|
14
|
+
import { getAuthenticatedDocumentLoader } from "./docloader-BaWIuRb2.js";
|
|
15
15
|
import { kvCache } from "./kv-cache-DN9pfMBe.js";
|
|
16
|
-
import { routeActivity } from "./inbox-
|
|
17
|
-
import { FederationBuilderImpl } from "./builder-
|
|
16
|
+
import { routeActivity } from "./inbox-Bu3THMpw.js";
|
|
17
|
+
import { FederationBuilderImpl } from "./builder-DCBCGtfN.js";
|
|
18
18
|
import { buildCollectionSynchronizationHeader } from "./collection-BzWsN9pB.js";
|
|
19
|
-
import { KvKeyCache } from "./keycache-
|
|
19
|
+
import { KvKeyCache } from "./keycache-CH77mwdO.js";
|
|
20
20
|
import { acceptsJsonLd } from "./negotiation-C4nFufNk.js";
|
|
21
21
|
import { createExponentialBackoffPolicy } from "./retry-CfF8Gn4d.js";
|
|
22
|
-
import { extractInboxes, sendActivity } from "./send-
|
|
22
|
+
import { extractInboxes, sendActivity } from "./send-CmpkYTnR.js";
|
|
23
23
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
24
24
|
import { getLogger, withContext } from "@logtape/logtape";
|
|
25
25
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
const require_chunk = require('./chunk-DqRYRqnO.cjs');
|
|
6
6
|
const require_transformers = require('./transformers-CoBS-oFG.cjs');
|
|
7
|
-
const require_lookup = require('./lookup-
|
|
8
|
-
const require_actor = require('./actor-
|
|
9
|
-
const require_http = require('./http-
|
|
10
|
-
const require_proof = require('./proof-
|
|
7
|
+
const require_lookup = require('./lookup-ZMUieFn0.cjs');
|
|
8
|
+
const require_actor = require('./actor-9gjVpXgd.cjs');
|
|
9
|
+
const require_http = require('./http-zanXjqHu.cjs');
|
|
10
|
+
const require_proof = require('./proof-CB7YKfl6.cjs');
|
|
11
11
|
const require_types = require('./types-CWgzGaqk.cjs');
|
|
12
|
-
const require_kv_cache = require('./kv-cache-
|
|
13
|
-
const require_vocab = require('./vocab-
|
|
12
|
+
const require_kv_cache = require('./kv-cache-DxziE8JZ.cjs');
|
|
13
|
+
const require_vocab = require('./vocab-I0FskT0s.cjs');
|
|
14
14
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
|
15
15
|
const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
|
|
16
16
|
const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
|
|
@@ -339,7 +339,7 @@ var FederationBuilderImpl = class {
|
|
|
339
339
|
this.collectionTypeIds = {};
|
|
340
340
|
}
|
|
341
341
|
async build(options) {
|
|
342
|
-
const { FederationImpl: FederationImpl$1 } = await Promise.resolve().then(() => require("./middleware-
|
|
342
|
+
const { FederationImpl: FederationImpl$1 } = await Promise.resolve().then(() => require("./middleware-C2X56NUR.cjs"));
|
|
343
343
|
const f = new FederationImpl$1(options);
|
|
344
344
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
|
345
345
|
f.router = this.router.clone();
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
|
4
|
+
globalThis.addEventListener = () => {};
|
|
5
|
+
|
|
6
|
+
import "./lookup-D029Hgmr.js";
|
|
7
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-CI-4cLU9.js";
|
|
8
|
+
import "./client-pY7-3icS.js";
|
|
9
|
+
import "./types-C2XVl6gj.js";
|
|
10
|
+
import "./actor-D1LkZWVU.js";
|
|
11
|
+
import "./key-KT2Sua_C.js";
|
|
12
|
+
import "./http-C5NpY8dE.js";
|
|
13
|
+
import "./ld-RF_UxhNp.js";
|
|
14
|
+
import "./owner-6JbsaBQB.js";
|
|
15
|
+
import "./proof-gHlNO1tx.js";
|
|
16
|
+
import "./docloader-BaWIuRb2.js";
|
|
17
|
+
import "./kv-cache-DN9pfMBe.js";
|
|
18
|
+
import "./inbox-Bu3THMpw.js";
|
|
19
|
+
import "./builder-DCBCGtfN.js";
|
|
20
|
+
import "./collection-BzWsN9pB.js";
|
|
21
|
+
import "./keycache-CH77mwdO.js";
|
|
22
|
+
import "./negotiation-C4nFufNk.js";
|
|
23
|
+
import "./retry-CfF8Gn4d.js";
|
|
24
|
+
import "./send-CmpkYTnR.js";
|
|
25
|
+
|
|
26
|
+
export { FederationImpl };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import { Activity } from "./vocab-BCWe1Ih5.js";
|
|
4
|
-
import { ActivityTransformer, Context } from "./context-
|
|
4
|
+
import { ActivityTransformer, Context } from "./context-V-XS2_6O.js";
|
|
5
5
|
|
|
6
6
|
//#region src/compat/transformers.d.ts
|
|
7
7
|
|
package/dist/mod.cjs
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
const require_transformers = require('./transformers-CoBS-oFG.cjs');
|
|
6
6
|
require('./compat-DmDDELst.cjs');
|
|
7
|
-
const require_lookup = require('./lookup-
|
|
8
|
-
const require_actor = require('./actor-
|
|
9
|
-
const require_middleware = require('./middleware-
|
|
10
|
-
const require_http = require('./http-
|
|
11
|
-
const require_proof = require('./proof-
|
|
7
|
+
const require_lookup = require('./lookup-ZMUieFn0.cjs');
|
|
8
|
+
const require_actor = require('./actor-9gjVpXgd.cjs');
|
|
9
|
+
const require_middleware = require('./middleware-CMT8W2oG.cjs');
|
|
10
|
+
const require_http = require('./http-zanXjqHu.cjs');
|
|
11
|
+
const require_proof = require('./proof-CB7YKfl6.cjs');
|
|
12
12
|
const require_federation = require('./federation-CRpdnOMS.cjs');
|
|
13
13
|
const require_types = require('./types-CWgzGaqk.cjs');
|
|
14
|
-
const require_kv_cache = require('./kv-cache-
|
|
15
|
-
const require_vocab = require('./vocab-
|
|
14
|
+
const require_kv_cache = require('./kv-cache-DxziE8JZ.cjs');
|
|
15
|
+
const require_vocab = require('./vocab-I0FskT0s.cjs');
|
|
16
16
|
require('./nodeinfo-CdN0rEnZ.cjs');
|
|
17
17
|
require('./sig-YYj5tCnr.cjs');
|
|
18
18
|
require('./utils-DyRU1gdZ.cjs');
|
package/dist/mod.d.cts
CHANGED
|
@@ -5,12 +5,11 @@ import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessage
|
|
|
5
5
|
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "./owner-B4HbyP8s.cjs";
|
|
6
6
|
import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./mod-BxRCHTz-.cjs";
|
|
7
7
|
import { ResourceDescriptor, lookupWebFinger } from "./mod-C58MZ7Wx.cjs";
|
|
8
|
-
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, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, 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-
|
|
8
|
+
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-PxGADCsD.cjs";
|
|
9
9
|
import { KvKey, KvStore, KvStoreSetOptions, MemoryKvStore } from "./kv-Bxr0Q87_.cjs";
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
10
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-BoRKfJPE.cjs";
|
|
11
|
+
import "./mod-CcDPcLJW.cjs";
|
|
12
12
|
import "./mod-B-hUPT2N.cjs";
|
|
13
|
-
import "./mod-
|
|
14
|
-
import {
|
|
15
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "./mod-0noXw66R.cjs";
|
|
13
|
+
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./mod-DgxG-byT.cjs";
|
|
14
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "./mod-DMpuiKXi.cjs";
|
|
16
15
|
export { Accept, Activity, ActivityTransformer, Actor, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, AuthorizePredicate, Block, ChatMessage, Collection, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, CollectionPage, ConstructorWithTypeId, Context, Create, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CryptographicKey, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DataIntegrityProof, Delete, DidService, Dislike, Document, DoesActorOwnKeyOptions, Emoji, EmojiReact, Endpoints, Event, Export, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FediverseHandle, FetchKeyOptions, FetchKeyResult, Flag, Follow, ForwardActivityOptions, GetActorHandleOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, Group, Hashtag, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, Ignore, Image, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, IntransitiveActivity, Invite, Join, JsonValue, KeyCache, KvKey, KvStore, KvStoreSetOptions, 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, Remove, RequestContext, ResourceDescriptor, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, 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, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getActorClassByTypeName, getActorHandle, getActorTypeName, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, getTypeId, importJwk, isActor, isFediverseHandle, kvCache, lookupObject, lookupWebFinger, nodeInfoToJson, normalizeActorHandle, parseFediverseHandle, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, toAcctUrl, traverseCollection, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/mod.d.ts
CHANGED
|
@@ -7,12 +7,11 @@ import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessage
|
|
|
7
7
|
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "./owner-kQRGVXG1.js";
|
|
8
8
|
import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./mod-BlVovdcy.js";
|
|
9
9
|
import { ResourceDescriptor, lookupWebFinger } from "./mod-Ds0mpFZU.js";
|
|
10
|
-
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, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, 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-
|
|
10
|
+
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-V-XS2_6O.js";
|
|
11
11
|
import { KvKey, KvStore, KvStoreSetOptions, MemoryKvStore } from "./kv-BKNZ-Tb-.js";
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
12
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-Cdo6SYlJ.js";
|
|
13
|
+
import "./mod-bjzj5QIb.js";
|
|
14
14
|
import "./mod-CVgZgliM.js";
|
|
15
|
-
import "./mod-
|
|
16
|
-
import {
|
|
17
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "./mod-B9M-8jm2.js";
|
|
15
|
+
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./mod-D5Z2tISD.js";
|
|
16
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "./mod-aAE2wOWV.js";
|
|
18
17
|
export { Accept, Activity, ActivityTransformer, Actor, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, AuthorizePredicate, Block, ChatMessage, Collection, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, CollectionPage, ConstructorWithTypeId, Context, Create, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CryptographicKey, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DataIntegrityProof, Delete, DidService, Dislike, Document, DoesActorOwnKeyOptions, Emoji, EmojiReact, Endpoints, Event, Export, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FediverseHandle, FetchKeyOptions, FetchKeyResult, Flag, Follow, ForwardActivityOptions, GetActorHandleOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, Group, Hashtag, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, Ignore, Image, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, IntransitiveActivity, Invite, Join, JsonValue, KeyCache, KvKey, KvStore, KvStoreSetOptions, 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, Remove, RequestContext, ResourceDescriptor, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, 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, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getActorClassByTypeName, getActorHandle, getActorTypeName, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, getTypeId, importJwk, isActor, isFediverseHandle, kvCache, lookupObject, lookupWebFinger, nodeInfoToJson, normalizeActorHandle, parseFediverseHandle, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, toAcctUrl, traverseCollection, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/mod.js
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./transformers-BFT6d7J5.js";
|
|
6
6
|
import "./compat-nxUqe4Z-.js";
|
|
7
|
-
import { lookupWebFinger } from "./lookup-
|
|
8
|
-
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "./actor-
|
|
9
|
-
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-
|
|
10
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "./http-
|
|
11
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-
|
|
7
|
+
import { lookupWebFinger } from "./lookup-EXeITSkB.js";
|
|
8
|
+
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "./actor-CsH6QBYT.js";
|
|
9
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-C32-qFyf.js";
|
|
10
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "./http-Cw6Nfbii.js";
|
|
11
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-D8SPvADT.js";
|
|
12
12
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation-jcR8-ZxP.js";
|
|
13
13
|
import { getNodeInfo, nodeInfoToJson, parseNodeInfo } from "./types-BtUjyi5y.js";
|
|
14
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache
|
|
15
|
-
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-
|
|
14
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache-DspkH6f2.js";
|
|
15
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-BY_op-IW.js";
|
|
16
16
|
import "./nodeinfo-BnthBobC.js";
|
|
17
17
|
import "./sig-C34-oHBl.js";
|
|
18
18
|
import "./utils-D-Va7aXC.js";
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../lookup-
|
|
6
|
+
import "../lookup-D029Hgmr.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
10
|
import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-pY7-3icS.js";
|
|
11
|
-
import { test } from "../testing-
|
|
11
|
+
import { test } from "../testing-BJ493d9l.js";
|
|
12
12
|
import "../std__assert-DWivtrGR.js";
|
|
13
13
|
import "../assert_rejects-Ce45JcFg.js";
|
|
14
14
|
import "../assert_throws-BNXdRGWP.js";
|
|
15
15
|
import "../assert_not_equals-C80BG-_5.js";
|
|
16
|
-
import { esm_default } from "../esm-
|
|
16
|
+
import { esm_default } from "../esm-uX3RtJS9.js";
|
|
17
17
|
|
|
18
18
|
//#region src/nodeinfo/client.test.ts
|
|
19
19
|
test("getNodeInfo()", async (t) => {
|
|
@@ -3,30 +3,30 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../lookup-
|
|
6
|
+
import "../lookup-D029Hgmr.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
|
11
|
-
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-
|
|
11
|
+
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-CI-4cLU9.js";
|
|
12
12
|
import "../client-pY7-3icS.js";
|
|
13
13
|
import "../types-C2XVl6gj.js";
|
|
14
|
-
import "../actor-
|
|
15
|
-
import "../key-
|
|
16
|
-
import "../http-
|
|
17
|
-
import "../ld-
|
|
18
|
-
import "../owner-
|
|
19
|
-
import "../proof-
|
|
20
|
-
import "../docloader-
|
|
14
|
+
import "../actor-D1LkZWVU.js";
|
|
15
|
+
import "../key-KT2Sua_C.js";
|
|
16
|
+
import "../http-C5NpY8dE.js";
|
|
17
|
+
import "../ld-RF_UxhNp.js";
|
|
18
|
+
import "../owner-6JbsaBQB.js";
|
|
19
|
+
import "../proof-gHlNO1tx.js";
|
|
20
|
+
import "../docloader-BaWIuRb2.js";
|
|
21
21
|
import "../kv-cache-DN9pfMBe.js";
|
|
22
|
-
import "../inbox-
|
|
23
|
-
import "../builder-
|
|
22
|
+
import "../inbox-Bu3THMpw.js";
|
|
23
|
+
import "../builder-DCBCGtfN.js";
|
|
24
24
|
import "../collection-BzWsN9pB.js";
|
|
25
|
-
import "../keycache-
|
|
25
|
+
import "../keycache-CH77mwdO.js";
|
|
26
26
|
import "../negotiation-C4nFufNk.js";
|
|
27
27
|
import "../retry-CfF8Gn4d.js";
|
|
28
|
-
import "../send-
|
|
29
|
-
import { createRequestContext, test } from "../testing-
|
|
28
|
+
import "../send-CmpkYTnR.js";
|
|
29
|
+
import { createRequestContext, test } from "../testing-BJ493d9l.js";
|
|
30
30
|
import "../std__assert-DWivtrGR.js";
|
|
31
31
|
import "../assert_rejects-Ce45JcFg.js";
|
|
32
32
|
import "../assert_throws-BNXdRGWP.js";
|
package/dist/nodeinfo/mod.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo } from "../client-94iWEfQa.cjs";
|
|
2
|
-
import "../mod-
|
|
2
|
+
import "../mod-B-hUPT2N.cjs";
|
|
3
3
|
export { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo };
|
package/dist/nodeinfo/mod.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo } from "../client-BsGzbnV-.js";
|
|
4
|
-
import "../mod-
|
|
4
|
+
import "../mod-CVgZgliM.js";
|
|
5
5
|
export { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo };
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../lookup-
|
|
6
|
+
import "../lookup-D029Hgmr.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
10
|
import { nodeInfoToJson } from "../types-C2XVl6gj.js";
|
|
11
|
-
import { test } from "../testing-
|
|
11
|
+
import { test } from "../testing-BJ493d9l.js";
|
|
12
12
|
import "../std__assert-DWivtrGR.js";
|
|
13
13
|
import "../assert_rejects-Ce45JcFg.js";
|
|
14
14
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey, Object as Object$1 } from "./lookup-
|
|
7
|
-
import { isActor } from "./actor-
|
|
6
|
+
import { CryptographicKey, Object as Object$1 } from "./lookup-D029Hgmr.js";
|
|
7
|
+
import { isActor } from "./actor-D1LkZWVU.js";
|
|
8
8
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
9
9
|
import { trace } from "@opentelemetry/api";
|
|
10
10
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
5
|
const require_chunk = require('./chunk-DqRYRqnO.cjs');
|
|
6
|
-
const require_lookup = require('./lookup-
|
|
7
|
-
const require_actor = require('./actor-
|
|
8
|
-
const require_http = require('./http-
|
|
6
|
+
const require_lookup = require('./lookup-ZMUieFn0.cjs');
|
|
7
|
+
const require_actor = require('./actor-9gjVpXgd.cjs');
|
|
8
|
+
const require_http = require('./http-zanXjqHu.cjs');
|
|
9
9
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
|
10
10
|
const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
|
|
11
11
|
const jsonld = require_chunk.__toESM(require("jsonld"));
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { deno_default } from "./lookup-
|
|
6
|
-
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./http-
|
|
5
|
+
import { deno_default } from "./lookup-EXeITSkB.js";
|
|
6
|
+
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-CsH6QBYT.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./http-Cw6Nfbii.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import jsonld from "jsonld";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Activity, DataIntegrityProof, Multikey, deno_default, getTypeId } from "./lookup-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
6
|
+
import { Activity, DataIntegrityProof, Multikey, deno_default, getTypeId } from "./lookup-D029Hgmr.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-KT2Sua_C.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import { encodeHex } from "byte-encodings/hex";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./lookup-
|
|
7
|
-
import { doubleKnock } from "./http-
|
|
6
|
+
import { deno_default } from "./lookup-D029Hgmr.js";
|
|
7
|
+
import { doubleKnock } from "./http-C5NpY8dE.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
|
package/dist/sig/http.test.js
CHANGED
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../lookup-
|
|
6
|
+
import "../lookup-D029Hgmr.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../actor-
|
|
11
|
-
import { exportJwk } from "../key-
|
|
12
|
-
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-
|
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import "../actor-D1LkZWVU.js";
|
|
11
|
+
import { exportJwk } from "../key-KT2Sua_C.js";
|
|
12
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-C5NpY8dE.js";
|
|
13
|
+
import { mockDocumentLoader, test } from "../testing-BJ493d9l.js";
|
|
14
14
|
import { assertExists, assertStringIncludes } from "../std__assert-DWivtrGR.js";
|
|
15
15
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
16
16
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
|
17
17
|
import "../assert_not_equals-C80BG-_5.js";
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
18
|
+
import { esm_default } from "../esm-uX3RtJS9.js";
|
|
19
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-DM8I6W_Z.js";
|
|
20
20
|
import { exportSpki } from "@fedify/vocab-runtime";
|
|
21
21
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
22
22
|
|
package/dist/sig/key.test.js
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey, Multikey } from "../lookup-
|
|
6
|
+
import { CryptographicKey, Multikey } from "../lookup-D029Hgmr.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../actor-
|
|
11
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
|
12
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import "../actor-D1LkZWVU.js";
|
|
11
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-KT2Sua_C.js";
|
|
12
|
+
import { mockDocumentLoader, test } from "../testing-BJ493d9l.js";
|
|
13
13
|
import "../std__assert-DWivtrGR.js";
|
|
14
14
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
15
15
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
|
16
16
|
import "../assert_not_equals-C80BG-_5.js";
|
|
17
|
-
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
|
17
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-DM8I6W_Z.js";
|
|
18
18
|
|
|
19
19
|
//#region src/sig/key.test.ts
|
|
20
20
|
test("validateCryptoKey()", async () => {
|
package/dist/sig/ld.test.js
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey } from "../lookup-
|
|
6
|
+
import { CryptographicKey } from "../lookup-D029Hgmr.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
|
-
import "../actor-
|
|
10
|
-
import { generateCryptoKeyPair } from "../key-
|
|
11
|
-
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-
|
|
12
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
9
|
+
import "../actor-D1LkZWVU.js";
|
|
10
|
+
import { generateCryptoKeyPair } from "../key-KT2Sua_C.js";
|
|
11
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-RF_UxhNp.js";
|
|
12
|
+
import { mockDocumentLoader, test } from "../testing-BJ493d9l.js";
|
|
13
13
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
14
14
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
|
15
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
|
15
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-DM8I6W_Z.js";
|
|
16
16
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
17
17
|
|
|
18
18
|
//#region src/sig/ld.test.ts
|