@fedify/fedify 2.0.0-pr.390.1529 → 2.0.0-pr.390.1532
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-Dlx5J54t.js → actor-4MFFJX4d.js} +187 -187
- package/dist/{actor-CuALvher.js → actor-Da8tjZhY.js} +1 -1
- package/dist/{authdocloader-C-vIXb85.js → authdocloader-DPX3QYDb.js} +3 -3
- package/dist/{authdocloader-BmnEoQW_.js → authdocloader-xG90Xsg8.js} +3 -3
- package/dist/{builder-CHXt1xfM.js → builder-B57zNcNU.js} +4 -4
- package/dist/{client-DISU3JDR.js → client-CTwOTEpG.js} +1 -1
- package/dist/compat/mod.d.ts +2 -2
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-DmlbRh9p.d.ts → context-3ICnZJKt.d.ts} +0 -6
- package/dist/{docloader-FRNry-p1.js → docloader-BNCEQ8_w.js} +1 -1
- package/dist/{esm-X-y29skl.js → esm-DU3lVyL0.js} +1 -1
- package/dist/federation/builder.test.js +5 -5
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +17 -17
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +3 -3
- package/dist/federation/middleware.test.js +46 -47
- package/dist/federation/mod.d.ts +1 -1
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/retry.test.js +3 -3
- package/dist/federation/router.test.js +3 -3
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-MhXRlnYk.js → http-DajzepP_.js} +3 -3
- package/dist/{http-DTE699Ox.js → http-zGK3XGn5.js} +2 -2
- package/dist/{inbox-CbQnRiGg.js → inbox-B2Bd8LMj.js} +1 -1
- package/dist/{key-BVNVtfgM.js → key-BDFYiOvP.js} +2 -2
- package/dist/{key-P-MK8ikD.js → key-CX3WVkhi.js} +2 -2
- package/dist/{key-CDiGJRQs.js → key-CjGLDAgt.js} +4 -4
- package/dist/{key-BSy3-287.js → key-D1N8nXIk.js} +3 -3
- package/dist/{keycache-CyWNsxRP.js → keycache-QIZeg0h7.js} +1 -1
- package/dist/{keys-P0QR6XuB.js → keys-Cti7eNH_.js} +1 -1
- package/dist/{ld-ydfvI4Bm.js → ld-BbWr_Ew7.js} +2 -2
- package/dist/{lookup-BKYxhuX9.js → lookup-CEMhtkh0.js} +1 -1
- package/dist/{lookup-DS5UD68f.js → lookup-Kclw0b25.js} +1 -1
- package/dist/{middleware-DrNVlE2k.js → middleware-CHgb31MO.js} +12 -17
- package/dist/middleware-CPZsfDRE.js +26 -0
- package/dist/{middleware-DUps3Epl.js → middleware-DGR0mjEf.js} +15 -20
- package/dist/middleware-HHBznx20.js +17 -0
- package/dist/{mod-0EysZ-dJ.d.ts → mod-CWxqOAci.d.ts} +1 -1
- package/dist/mod.d.ts +2 -2
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-8Fbrad9i.js → owner-Ck4PMsvA.js} +2 -2
- package/dist/{proof-I3SYsS8w.js → proof-99x3uOrg.js} +3 -3
- package/dist/{proof-CqA5pzD9.js → proof-BT-xl3G4.js} +2 -2
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-BXuAAnFQ.js → send-CbaVfVDB.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-CQgL-4WW.js → testing-5l-PiAjn.js} +2 -2
- package/dist/{type-HuRW_R1u.js → type-CYq_wkij.js} +186 -186
- package/dist/{types-ovQPseja.js → types-DN27G9IQ.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +117 -81
- package/dist/{vocab-CE_9Lecp.js → vocab-BZIbbwIY.js} +3 -3
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.ts +1 -1
- package/dist/x/sveltekit.d.ts +1 -1
- package/package.json +1 -1
- package/dist/middleware-BRU-Uql8.js +0 -17
- package/dist/middleware-DE0-dsCP.js +0 -26
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-CYq_wkij.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 { Router, RouterError } from "../lookup-
|
11
|
-
import { test } from "../testing-
|
10
|
+
import { Router, RouterError } from "../lookup-CEMhtkh0.js";
|
11
|
+
import { test } from "../testing-5l-PiAjn.js";
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
13
13
|
import { assertFalse } from "../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -3,24 +3,24 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Application, Endpoints, Group, Person, Service } from "../type-
|
6
|
+
import { Activity, Application, Endpoints, Group, Person, Service } from "../type-CYq_wkij.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 "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import "../key-
|
13
|
-
import { verifyRequest } from "../http-
|
14
|
-
import { doesActorOwnKey } from "../owner-
|
15
|
-
import { extractInboxes, sendActivity } from "../send-
|
16
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-CEMhtkh0.js";
|
11
|
+
import "../actor-Da8tjZhY.js";
|
12
|
+
import "../key-CX3WVkhi.js";
|
13
|
+
import { verifyRequest } from "../http-zGK3XGn5.js";
|
14
|
+
import { doesActorOwnKey } from "../owner-Ck4PMsvA.js";
|
15
|
+
import { extractInboxes, sendActivity } from "../send-CbaVfVDB.js";
|
16
|
+
import { mockDocumentLoader, test } from "../testing-5l-PiAjn.js";
|
17
17
|
import "../std__assert-X-_kMxKM.js";
|
18
18
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
19
19
|
import "../assert_is_error-BPGph1Jx.js";
|
20
20
|
import { assertNotEquals } from "../assert_not_equals-f3m3epl3.js";
|
21
21
|
import "../assert_throws-BOO88avQ.js";
|
22
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
23
|
-
import { esm_default } from "../esm-
|
22
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-Cti7eNH_.js";
|
23
|
+
import { esm_default } from "../esm-DU3lVyL0.js";
|
24
24
|
|
25
25
|
//#region src/federation/send.test.ts
|
26
26
|
test("extractInboxes()", () => {
|
@@ -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 "./docloader-
|
6
|
-
import { CryptographicKey } from "./actor-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
5
|
+
import { deno_default } from "./docloader-BNCEQ8_w.js";
|
6
|
+
import { CryptographicKey } from "./actor-4MFFJX4d.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-BDFYiOvP.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, deno_default } from "./type-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
6
|
+
import { CryptographicKey, deno_default } from "./type-CYq_wkij.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-CX3WVkhi.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, deno_default, getTypeId } from "./type-
|
6
|
+
import { Activity, deno_default, getTypeId } from "./type-CYq_wkij.js";
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
8
8
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
9
9
|
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
6
|
-
import { CryptographicKey, Object as Object$1, isActor } from "./actor-
|
5
|
+
import { deno_default, getDocumentLoader } from "./docloader-BNCEQ8_w.js";
|
6
|
+
import { CryptographicKey, Object as Object$1, isActor } from "./actor-4MFFJX4d.js";
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
8
8
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
9
9
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Object as Object$1, deno_default, getDocumentLoader } from "./type-
|
7
|
-
import { isActor } from "./actor-
|
6
|
+
import { CryptographicKey, Object as Object$1, deno_default, getDocumentLoader } from "./type-CYq_wkij.js";
|
7
|
+
import { isActor } from "./actor-Da8tjZhY.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "./docloader-
|
6
|
-
import "./actor-
|
7
|
-
import "./lookup-
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-
|
5
|
+
import "./docloader-BNCEQ8_w.js";
|
6
|
+
import "./actor-4MFFJX4d.js";
|
7
|
+
import "./lookup-Kclw0b25.js";
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-BDFYiOvP.js";
|
9
9
|
|
10
10
|
export { validateCryptoKey };
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "./type-
|
7
|
-
import "./actor-
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-
|
6
|
+
import "./type-CYq_wkij.js";
|
7
|
+
import "./actor-Da8tjZhY.js";
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-CX3WVkhi.js";
|
9
9
|
|
10
10
|
export { validateCryptoKey };
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Multikey } from "./type-
|
6
|
+
import { CryptographicKey, Multikey } from "./type-CYq_wkij.js";
|
7
7
|
|
8
8
|
//#region src/federation/keycache.ts
|
9
9
|
var KvKeyCache = class {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Multikey, importSpki } from "./type-
|
6
|
+
import { CryptographicKey, Multikey, importSpki } from "./type-CYq_wkij.js";
|
7
7
|
|
8
8
|
//#region src/testing/keys.ts
|
9
9
|
const rsaPublicKey1 = new CryptographicKey({
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, CryptographicKey, Object as Object$1, deno_default, getDocumentLoader, getTypeId } from "./type-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
6
|
+
import { Activity, CryptographicKey, Object as Object$1, deno_default, getDocumentLoader, getTypeId } from "./type-CYq_wkij.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-CX3WVkhi.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Object as Object$1, deno_default, getDocumentLoader, getTypeId, lookupWebFinger } from "./type-
|
6
|
+
import { Object as Object$1, deno_default, getDocumentLoader, getTypeId, lookupWebFinger } from "./type-CYq_wkij.js";
|
7
7
|
import { cloneDeep, delay } from "es-toolkit";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { UrlError, deno_default, getUserAgent, validatePublicUrl } from "./docloader-
|
5
|
+
import { UrlError, deno_default, getUserAgent, validatePublicUrl } from "./docloader-BNCEQ8_w.js";
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
7
7
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
8
8
|
|
@@ -3,15 +3,15 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { getDefaultActivityTransformers } from "./transformers-Dna8Fg7k.js";
|
6
|
-
import { deno_default, getDocumentLoader, kvCache } from "./docloader-
|
7
|
-
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-
|
8
|
-
import { lookupWebFinger } from "./lookup-
|
9
|
-
import { exportJwk, importJwk, validateCryptoKey } from "./key-
|
10
|
-
import { doubleKnock, verifyRequest } from "./http-
|
11
|
-
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-
|
12
|
-
import { getNodeInfo, nodeInfoToJson } from "./types-
|
13
|
-
import { getAuthenticatedDocumentLoader } from "./authdocloader-
|
14
|
-
import { lookupObject, traverseCollection } from "./vocab-
|
6
|
+
import { deno_default, getDocumentLoader, kvCache } from "./docloader-BNCEQ8_w.js";
|
7
|
+
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-4MFFJX4d.js";
|
8
|
+
import { lookupWebFinger } from "./lookup-Kclw0b25.js";
|
9
|
+
import { exportJwk, importJwk, validateCryptoKey } from "./key-BDFYiOvP.js";
|
10
|
+
import { doubleKnock, verifyRequest } from "./http-DajzepP_.js";
|
11
|
+
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-99x3uOrg.js";
|
12
|
+
import { getNodeInfo, nodeInfoToJson } from "./types-DN27G9IQ.js";
|
13
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-DPX3QYDb.js";
|
14
|
+
import { lookupObject, traverseCollection } from "./vocab-BZIbbwIY.js";
|
15
15
|
import { getLogger, withContext } from "@logtape/logtape";
|
16
16
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
17
17
|
import { encodeHex } from "byte-encodings/hex";
|
@@ -320,7 +320,7 @@ var FederationBuilderImpl = class {
|
|
320
320
|
this.collectionTypeIds = {};
|
321
321
|
}
|
322
322
|
async build(options) {
|
323
|
-
const { FederationImpl: FederationImpl$1 } = await import("./middleware-
|
323
|
+
const { FederationImpl: FederationImpl$1 } = await import("./middleware-HHBznx20.js");
|
324
324
|
const f = new FederationImpl$1(options);
|
325
325
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
326
326
|
f.router = this.router.clone();
|
@@ -2388,17 +2388,12 @@ var FederationImpl = class extends FederationBuilderImpl {
|
|
2388
2388
|
this.router.trailingSlashInsensitive = options.trailingSlashInsensitive ?? false;
|
2389
2389
|
this._initializeRouter();
|
2390
2390
|
if (options.allowPrivateAddress || options.userAgent != null) {
|
2391
|
-
if (options.
|
2392
|
-
else if (options.contextLoader != null) throw new TypeError("Cannot set contextLoader with allowPrivateAddress or userAgent options.");
|
2391
|
+
if (options.contextLoader != null) throw new TypeError("Cannot set contextLoader with allowPrivateAddress or userAgent options.");
|
2393
2392
|
else if (options.authenticatedDocumentLoaderFactory != null) throw new TypeError("Cannot set authenticatedDocumentLoaderFactory with allowPrivateAddress or userAgent options.");
|
2394
2393
|
}
|
2395
2394
|
const { allowPrivateAddress, userAgent } = options;
|
2396
2395
|
this.allowPrivateAddress = allowPrivateAddress ?? false;
|
2397
|
-
|
2398
|
-
if (options.documentLoaderFactory != null) throw new TypeError("Cannot set both documentLoader and documentLoaderFactory options at a time; use documentLoaderFactory only.");
|
2399
|
-
this.documentLoaderFactory = () => options.documentLoader;
|
2400
|
-
logger$1.warn("The documentLoader option is deprecated; use documentLoaderFactory option instead.");
|
2401
|
-
} else this.documentLoaderFactory = options.documentLoaderFactory ?? ((opts) => {
|
2396
|
+
this.documentLoaderFactory = options.documentLoaderFactory ?? ((opts) => {
|
2402
2397
|
return kvCache({
|
2403
2398
|
loader: getDocumentLoader({
|
2404
2399
|
allowPrivateAddress: opts?.allowPrivateAddress ?? allowPrivateAddress,
|
@@ -0,0 +1,26 @@
|
|
1
|
+
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
4
|
+
globalThis.addEventListener = () => {};
|
5
|
+
|
6
|
+
import "./type-CYq_wkij.js";
|
7
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-DGR0mjEf.js";
|
8
|
+
import "./semver-dArNLkR9.js";
|
9
|
+
import "./client-CTwOTEpG.js";
|
10
|
+
import "./lookup-CEMhtkh0.js";
|
11
|
+
import "./types-BIgY6c-l.js";
|
12
|
+
import "./actor-Da8tjZhY.js";
|
13
|
+
import "./key-CX3WVkhi.js";
|
14
|
+
import "./http-zGK3XGn5.js";
|
15
|
+
import "./authdocloader-xG90Xsg8.js";
|
16
|
+
import "./ld-BbWr_Ew7.js";
|
17
|
+
import "./owner-Ck4PMsvA.js";
|
18
|
+
import "./proof-BT-xl3G4.js";
|
19
|
+
import "./inbox-B2Bd8LMj.js";
|
20
|
+
import "./builder-B57zNcNU.js";
|
21
|
+
import "./collection-CSzG2j1P.js";
|
22
|
+
import "./keycache-QIZeg0h7.js";
|
23
|
+
import "./retry-D4GJ670a.js";
|
24
|
+
import "./send-CbaVfVDB.js";
|
25
|
+
|
26
|
+
export { FederationImpl };
|
@@ -3,22 +3,22 @@
|
|
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, deno_default, getDocumentLoader, getTypeId, kvCache, lookupWebFinger } from "./type-
|
7
|
-
import { getNodeInfo } from "./client-
|
8
|
-
import { RouterError, lookupObject, traverseCollection } from "./lookup-
|
6
|
+
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, deno_default, getDocumentLoader, getTypeId, kvCache, lookupWebFinger } from "./type-CYq_wkij.js";
|
7
|
+
import { getNodeInfo } from "./client-CTwOTEpG.js";
|
8
|
+
import { RouterError, lookupObject, traverseCollection } from "./lookup-CEMhtkh0.js";
|
9
9
|
import { nodeInfoToJson } from "./types-BIgY6c-l.js";
|
10
|
-
import { exportJwk, importJwk, validateCryptoKey } from "./key-
|
11
|
-
import { verifyRequest } from "./http-
|
12
|
-
import { getAuthenticatedDocumentLoader } from "./authdocloader-
|
13
|
-
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-
|
14
|
-
import { doesActorOwnKey, getKeyOwner } from "./owner-
|
15
|
-
import { signObject, verifyObject } from "./proof-
|
16
|
-
import { routeActivity } from "./inbox-
|
17
|
-
import { FederationBuilderImpl } from "./builder-
|
10
|
+
import { exportJwk, importJwk, validateCryptoKey } from "./key-CX3WVkhi.js";
|
11
|
+
import { verifyRequest } from "./http-zGK3XGn5.js";
|
12
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-xG90Xsg8.js";
|
13
|
+
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-BbWr_Ew7.js";
|
14
|
+
import { doesActorOwnKey, getKeyOwner } from "./owner-Ck4PMsvA.js";
|
15
|
+
import { signObject, verifyObject } from "./proof-BT-xl3G4.js";
|
16
|
+
import { routeActivity } from "./inbox-B2Bd8LMj.js";
|
17
|
+
import { FederationBuilderImpl } from "./builder-B57zNcNU.js";
|
18
18
|
import { buildCollectionSynchronizationHeader } from "./collection-CSzG2j1P.js";
|
19
|
-
import { KvKeyCache } from "./keycache-
|
19
|
+
import { KvKeyCache } from "./keycache-QIZeg0h7.js";
|
20
20
|
import { createExponentialBackoffPolicy } from "./retry-D4GJ670a.js";
|
21
|
-
import { extractInboxes, sendActivity } from "./send-
|
21
|
+
import { extractInboxes, sendActivity } from "./send-CbaVfVDB.js";
|
22
22
|
import { getLogger, withContext } from "@logtape/logtape";
|
23
23
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
24
24
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_HTTP_RESPONSE_HEADER, ATTR_HTTP_RESPONSE_STATUS_CODE, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
@@ -1449,17 +1449,12 @@ var FederationImpl = class extends FederationBuilderImpl {
|
|
1449
1449
|
this.router.trailingSlashInsensitive = options.trailingSlashInsensitive ?? false;
|
1450
1450
|
this._initializeRouter();
|
1451
1451
|
if (options.allowPrivateAddress || options.userAgent != null) {
|
1452
|
-
if (options.
|
1453
|
-
else if (options.contextLoader != null) throw new TypeError("Cannot set contextLoader with allowPrivateAddress or userAgent options.");
|
1452
|
+
if (options.contextLoader != null) throw new TypeError("Cannot set contextLoader with allowPrivateAddress or userAgent options.");
|
1454
1453
|
else if (options.authenticatedDocumentLoaderFactory != null) throw new TypeError("Cannot set authenticatedDocumentLoaderFactory with allowPrivateAddress or userAgent options.");
|
1455
1454
|
}
|
1456
1455
|
const { allowPrivateAddress, userAgent } = options;
|
1457
1456
|
this.allowPrivateAddress = allowPrivateAddress ?? false;
|
1458
|
-
|
1459
|
-
if (options.documentLoaderFactory != null) throw new TypeError("Cannot set both documentLoader and documentLoaderFactory options at a time; use documentLoaderFactory only.");
|
1460
|
-
this.documentLoaderFactory = () => options.documentLoader;
|
1461
|
-
logger$2.warn("The documentLoader option is deprecated; use documentLoaderFactory option instead.");
|
1462
|
-
} else this.documentLoaderFactory = options.documentLoaderFactory ?? ((opts) => {
|
1457
|
+
this.documentLoaderFactory = options.documentLoaderFactory ?? ((opts) => {
|
1463
1458
|
return kvCache({
|
1464
1459
|
loader: getDocumentLoader({
|
1465
1460
|
allowPrivateAddress: opts?.allowPrivateAddress ?? allowPrivateAddress,
|
@@ -0,0 +1,17 @@
|
|
1
|
+
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
4
|
+
|
5
|
+
import "./transformers-Dna8Fg7k.js";
|
6
|
+
import "./docloader-BNCEQ8_w.js";
|
7
|
+
import "./actor-4MFFJX4d.js";
|
8
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-CHgb31MO.js";
|
9
|
+
import "./lookup-Kclw0b25.js";
|
10
|
+
import "./key-BDFYiOvP.js";
|
11
|
+
import "./http-DajzepP_.js";
|
12
|
+
import "./proof-99x3uOrg.js";
|
13
|
+
import "./types-DN27G9IQ.js";
|
14
|
+
import "./authdocloader-DPX3QYDb.js";
|
15
|
+
import "./vocab-BZIbbwIY.js";
|
16
|
+
|
17
|
+
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-SOE1ifCr.js";
|
4
|
-
import { ActivityTransformer, Context } from "./context-
|
4
|
+
import { ActivityTransformer, Context } from "./context-3ICnZJKt.js";
|
5
5
|
|
6
6
|
//#region src/compat/transformers.d.ts
|
7
7
|
|
package/dist/mod.d.ts
CHANGED
@@ -9,9 +9,9 @@ import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessage
|
|
9
9
|
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "./owner-CQPnQVtf.js";
|
10
10
|
import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./mod-Cxt4Kpf6.js";
|
11
11
|
import { ResourceDescriptor, lookupWebFinger } from "./lookup-3czM5mmU.js";
|
12
|
-
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, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParamsKeyPath, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-
|
12
|
+
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, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParamsKeyPath, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-3ICnZJKt.js";
|
13
13
|
import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "./mq-CRGm1e_F.js";
|
14
|
-
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-
|
14
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-CWxqOAci.js";
|
15
15
|
import "./mod-g0xFzAP9.js";
|
16
16
|
import "./mod-1pDWKvUL.js";
|
17
17
|
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "./mod-TFoH2Ql8.js";
|
package/dist/mod.js
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./transformers-Dna8Fg7k.js";
|
6
6
|
import "./compat-Bb5myD13.js";
|
7
|
-
import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "./docloader-
|
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, LanguageString, 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, exportMultibaseKey, exportSpki, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, normalizeActorHandle } from "./actor-
|
9
|
-
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-
|
10
|
-
import { lookupWebFinger } from "./lookup-
|
11
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "./key-
|
12
|
-
import { signRequest, verifyRequest } from "./http-
|
13
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-
|
7
|
+
import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "./docloader-BNCEQ8_w.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, LanguageString, 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, exportMultibaseKey, exportSpki, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, normalizeActorHandle } from "./actor-4MFFJX4d.js";
|
9
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-CHgb31MO.js";
|
10
|
+
import { lookupWebFinger } from "./lookup-Kclw0b25.js";
|
11
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "./key-BDFYiOvP.js";
|
12
|
+
import { signRequest, verifyRequest } from "./http-DajzepP_.js";
|
13
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-99x3uOrg.js";
|
14
14
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation-CMX7WzeL.js";
|
15
|
-
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "./types-
|
16
|
-
import { getAuthenticatedDocumentLoader } from "./authdocloader-
|
17
|
-
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-
|
15
|
+
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "./types-DN27G9IQ.js";
|
16
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-DPX3QYDb.js";
|
17
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-BZIbbwIY.js";
|
18
18
|
import "./nodeinfo-CyEbLjHs.js";
|
19
19
|
import "./runtime-BSkOVUWM.js";
|
20
20
|
import "./sig-BXJO--F9.js";
|
@@ -3,20 +3,20 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-CYq_wkij.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 "../semver-dArNLkR9.js";
|
11
|
-
import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-
|
12
|
-
import "../lookup-
|
13
|
-
import { test } from "../testing-
|
11
|
+
import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-CTwOTEpG.js";
|
12
|
+
import "../lookup-CEMhtkh0.js";
|
13
|
+
import { test } from "../testing-5l-PiAjn.js";
|
14
14
|
import "../std__assert-X-_kMxKM.js";
|
15
15
|
import "../assert_rejects-DiIiJbZn.js";
|
16
16
|
import "../assert_is_error-BPGph1Jx.js";
|
17
17
|
import "../assert_not_equals-f3m3epl3.js";
|
18
18
|
import "../assert_throws-BOO88avQ.js";
|
19
|
-
import { esm_default } from "../esm-
|
19
|
+
import { esm_default } from "../esm-DU3lVyL0.js";
|
20
20
|
|
21
21
|
//#region src/nodeinfo/client.test.ts
|
22
22
|
test("getNodeInfo()", async (t) => {
|
@@ -3,30 +3,30 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-CYq_wkij.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-DGR0mjEf.js";
|
12
12
|
import { parseSemVer } from "../semver-dArNLkR9.js";
|
13
|
-
import "../client-
|
14
|
-
import "../lookup-
|
13
|
+
import "../client-CTwOTEpG.js";
|
14
|
+
import "../lookup-CEMhtkh0.js";
|
15
15
|
import "../types-BIgY6c-l.js";
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import "../http-
|
19
|
-
import "../authdocloader-
|
20
|
-
import "../ld-
|
21
|
-
import "../owner-
|
22
|
-
import "../proof-
|
23
|
-
import "../inbox-
|
24
|
-
import "../builder-
|
16
|
+
import "../actor-Da8tjZhY.js";
|
17
|
+
import "../key-CX3WVkhi.js";
|
18
|
+
import "../http-zGK3XGn5.js";
|
19
|
+
import "../authdocloader-xG90Xsg8.js";
|
20
|
+
import "../ld-BbWr_Ew7.js";
|
21
|
+
import "../owner-Ck4PMsvA.js";
|
22
|
+
import "../proof-BT-xl3G4.js";
|
23
|
+
import "../inbox-B2Bd8LMj.js";
|
24
|
+
import "../builder-B57zNcNU.js";
|
25
25
|
import "../collection-CSzG2j1P.js";
|
26
|
-
import "../keycache-
|
26
|
+
import "../keycache-QIZeg0h7.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { createRequestContext, test } from "../testing-
|
28
|
+
import "../send-CbaVfVDB.js";
|
29
|
+
import { createRequestContext, test } from "../testing-5l-PiAjn.js";
|
30
30
|
import "../std__assert-X-_kMxKM.js";
|
31
31
|
import "../assert_rejects-DiIiJbZn.js";
|
32
32
|
import "../assert_is_error-BPGph1Jx.js";
|
package/dist/nodeinfo/mod.js
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../docloader-
|
6
|
-
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "../types-
|
5
|
+
import "../docloader-BNCEQ8_w.js";
|
6
|
+
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "../types-DN27G9IQ.js";
|
7
7
|
import "../nodeinfo-CyEbLjHs.js";
|
8
8
|
|
9
9
|
export { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer };
|
@@ -3,13 +3,13 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-CYq_wkij.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 { formatSemVer, parseSemVer } from "../semver-dArNLkR9.js";
|
11
|
-
import "../lookup-
|
12
|
-
import { test } from "../testing-
|
11
|
+
import "../lookup-CEMhtkh0.js";
|
12
|
+
import { test } from "../testing-5l-PiAjn.js";
|
13
13
|
import "../std__assert-X-_kMxKM.js";
|
14
14
|
import "../assert_rejects-DiIiJbZn.js";
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -3,14 +3,14 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-CYq_wkij.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 "../semver-dArNLkR9.js";
|
11
|
-
import "../lookup-
|
11
|
+
import "../lookup-CEMhtkh0.js";
|
12
12
|
import { nodeInfoToJson } from "../types-BIgY6c-l.js";
|
13
|
-
import { test } from "../testing-
|
13
|
+
import { test } from "../testing-5l-PiAjn.js";
|
14
14
|
import "../std__assert-X-_kMxKM.js";
|
15
15
|
import "../assert_rejects-DiIiJbZn.js";
|
16
16
|
import "../assert_is_error-BPGph1Jx.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, getDocumentLoader } from "./type-
|
7
|
-
import { isActor } from "./actor-
|
6
|
+
import { CryptographicKey, Object as Object$1, getDocumentLoader } from "./type-CYq_wkij.js";
|
7
|
+
import { isActor } from "./actor-Da8tjZhY.js";
|
8
8
|
import { trace } from "@opentelemetry/api";
|
9
9
|
|
10
10
|
//#region src/sig/owner.ts
|
@@ -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, getDocumentLoader } from "./docloader-
|
6
|
-
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
5
|
+
import { deno_default, getDocumentLoader } from "./docloader-BNCEQ8_w.js";
|
6
|
+
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-4MFFJX4d.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-BDFYiOvP.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 "./type-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
6
|
+
import { Activity, DataIntegrityProof, Multikey, deno_default, getTypeId } from "./type-CYq_wkij.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-CX3WVkhi.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import { encodeHex } from "byte-encodings/hex";
|