@fedify/fedify 2.0.0-dev.1961 → 2.0.0-dev.7
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/README.md +3 -0
- package/dist/{actor-Kqyoic-M.js → actor-B5o1xrFI.js} +1 -1
- package/dist/{actor-DhgrrgXz.cjs → actor-BLBfgCFC.cjs} +185 -185
- package/dist/{actor-DiKHxw_H.js → actor-CT1vyB17.js} +185 -185
- package/dist/{builder-BrqBKkVi.js → builder-CiifhBKW.js} +3 -3
- package/dist/compat/transformers.test.js +14 -14
- package/dist/{docloader-HB61Uc88.js → docloader-DUfba_vD.js} +2 -2
- package/dist/{esm-DaZiDvFW.js → esm-p1rx_7cC.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 +102 -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.js +7 -7
- package/dist/federation/mq.test.js +2 -2
- 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 +52 -9
- package/dist/{http-CUsGQiwU.js → http-C78SwacJ.js} +2 -2
- package/dist/{http-BxgYWxTY.cjs → http-ClCl_dis.cjs} +2 -2
- package/dist/{http-B2bao4EB.js → http-pgzDkXD0.js} +2 -2
- package/dist/{inbox-CAojlSWc.js → inbox-BDF2VbZ8.js} +1 -1
- package/dist/{key-Dz-KWCap.js → key-jo5CucF6.js} +2 -2
- package/dist/{keycache-Czcf33al.js → keycache-C5k5PTyM.js} +1 -1
- package/dist/{keys-BN4nelft.js → keys-BSzUEVJu.js} +1 -1
- package/dist/{kv-cache-5j5Pb-V6.cjs → kv-cache-DVMGXeBd.cjs} +1 -1
- package/dist/{kv-cache-Bq6kUUoG.js → kv-cache-ONwNlGJb.js} +1 -1
- package/dist/{ld-CEJHYq8u.js → ld-CWuhgMM4.js} +2 -2
- package/dist/{lookup-gMu_9ZKY.js → lookup-BvK_-Lja.js} +3 -2
- package/dist/{lookup-_Hap2IXS.cjs → lookup-DdOtSFct.cjs} +3 -2
- package/dist/{lookup-D8hvtZHY.js → lookup-Dvhilldd.js} +192 -186
- package/dist/{middleware-DW3rJHWy.cjs → middleware-8uNpzeWq.cjs} +21 -9
- package/dist/middleware-BCFCgNNb.js +26 -0
- package/dist/middleware-BDTi2tq7.cjs +15 -0
- package/dist/{middleware-DgrceAHB.js → middleware-C7m5m72k.js} +18 -11
- package/dist/{middleware-Df9OWALM.js → middleware-DMZO9M2Z.js} +21 -9
- package/dist/middleware-NNEe-eQ5.js +15 -0
- package/dist/mod.cjs +7 -7
- 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/types.test.js +2 -2
- package/dist/otel-1BmGPuZc.js +64 -0
- package/dist/{owner-JwI-WzF-.js → owner-_G6LyiEi.js} +44 -8
- package/dist/{proof-Dhqndmfg.js → proof-BkMSGqJy.js} +2 -2
- package/dist/{proof-xH0V1mdD.js → proof-BqpNTnd4.js} +45 -9
- package/dist/{proof-CObJuclI.cjs → proof-CZ_Wlbae.cjs} +44 -8
- package/dist/{send-1o7D-GGL.js → send-BCzFH66x.js} +9 -4
- 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.js +4 -4
- package/dist/sig/owner.test.js +30 -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-DpRy1YTU.js → testing-cwlO8Sns.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.js +4 -4
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +26 -4
- 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 +157 -157
- package/dist/{vocab-CAwj263k.js → vocab-BXz9NayY.js} +7 -2
- package/dist/{vocab-DgHGCFcw.cjs → vocab-_gvYdHDB.cjs} +7 -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 +6 -4
- package/dist/middleware-19QFZj7b.js +0 -26
- package/dist/middleware-BbbcXY4w.cjs +0 -15
- package/dist/middleware-CSTK543z.js +0 -15
|
@@ -3,8 +3,8 @@
|
|
|
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-
|
|
6
|
+
const require_lookup = require('./lookup-DdOtSFct.cjs');
|
|
7
|
+
const require_actor = require('./actor-BLBfgCFC.cjs');
|
|
8
8
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
|
9
9
|
const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
|
|
10
10
|
const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey, deno_default } from "./lookup-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
6
|
+
import { CryptographicKey, deno_default } from "./lookup-Dvhilldd.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-jo5CucF6.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 "./lookup-
|
|
6
|
+
import { Activity, deno_default, getTypeId } from "./lookup-Dvhilldd.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { SpanKind, SpanStatusCode, context, propagation, 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 } from "./lookup-
|
|
7
|
-
import { isActor } from "./actor-
|
|
6
|
+
import { CryptographicKey, Object as Object$1, deno_default } from "./lookup-Dvhilldd.js";
|
|
7
|
+
import { isActor } from "./actor-B5o1xrFI.js";
|
|
8
8
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
|
10
10
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
@@ -3,7 +3,7 @@
|
|
|
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-Dvhilldd.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 } from "./lookup-
|
|
6
|
+
import { CryptographicKey, Multikey } from "./lookup-Dvhilldd.js";
|
|
7
7
|
import { importSpki } from "@fedify/vocab-runtime";
|
|
8
8
|
|
|
9
9
|
//#region src/testing/keys.ts
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
5
|
const require_chunk = require('./chunk-DqRYRqnO.cjs');
|
|
6
|
-
const require_http = require('./http-
|
|
6
|
+
const require_http = require('./http-ClCl_dis.cjs');
|
|
7
7
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
|
8
8
|
const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
|
|
9
9
|
const es_toolkit = require_chunk.__toESM(require("es-toolkit"));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { doubleKnock, validateCryptoKey } from "./http-
|
|
5
|
+
import { doubleKnock, validateCryptoKey } from "./http-C78SwacJ.js";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
import { UrlError, createActivityPubRequest, getDocumentLoader, getRemoteDocument, logRequest, preloadedContexts, validatePublicUrl } from "@fedify/vocab-runtime";
|
|
8
8
|
import { curry } from "es-toolkit";
|
|
@@ -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, getTypeId } from "./lookup-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
6
|
+
import { Activity, CryptographicKey, Object as Object$1, deno_default, getTypeId } from "./lookup-Dvhilldd.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-jo5CucF6.js";
|
|
8
8
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
|
10
10
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
@@ -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-dev.
|
|
11
|
+
var version = "2.0.0-dev.7+a392e496";
|
|
12
12
|
var license = "MIT";
|
|
13
13
|
var exports = {
|
|
14
14
|
".": "./src/mod.ts",
|
|
@@ -23,7 +23,8 @@ var exports = {
|
|
|
23
23
|
};
|
|
24
24
|
var imports = {
|
|
25
25
|
"@multiformats/base-x": "npm:@multiformats/base-x@^4.0.1",
|
|
26
|
-
"@opentelemetry/
|
|
26
|
+
"@opentelemetry/core": "npm:@opentelemetry/core@^1.30.1",
|
|
27
|
+
"@opentelemetry/sdk-trace-base": "npm:@opentelemetry/sdk-trace-base@^1.30.1",
|
|
27
28
|
"@opentelemetry/semantic-conventions": "npm:@opentelemetry/semantic-conventions@^1.27.0",
|
|
28
29
|
"@std/assert": "jsr:@std/assert@^0.226.0",
|
|
29
30
|
"@std/url": "jsr:@std/url@^0.225.1",
|
|
@@ -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-dev.
|
|
12
|
+
var version = "2.0.0-dev.7+a392e496";
|
|
13
13
|
var license = "MIT";
|
|
14
14
|
var exports$1 = {
|
|
15
15
|
".": "./src/mod.ts",
|
|
@@ -24,7 +24,8 @@ var exports$1 = {
|
|
|
24
24
|
};
|
|
25
25
|
var imports = {
|
|
26
26
|
"@multiformats/base-x": "npm:@multiformats/base-x@^4.0.1",
|
|
27
|
-
"@opentelemetry/
|
|
27
|
+
"@opentelemetry/core": "npm:@opentelemetry/core@^1.30.1",
|
|
28
|
+
"@opentelemetry/sdk-trace-base": "npm:@opentelemetry/sdk-trace-base@^1.30.1",
|
|
28
29
|
"@opentelemetry/semantic-conventions": "npm:@opentelemetry/semantic-conventions@^1.27.0",
|
|
29
30
|
"@std/assert": "jsr:@std/assert@^0.226.0",
|
|
30
31
|
"@std/url": "jsr:@std/url@^0.225.1",
|