@fedify/fedify 2.0.0-pr.559.6 → 2.0.1-dev.400
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 +8 -0
- package/dist/{builder-DFgILDcG.js → builder-SsFRRyh0.js} +12 -57
- package/dist/compat/mod.d.cts +2 -2
- package/dist/compat/mod.d.ts +2 -2
- package/dist/compat/transformers.test.js +11 -11
- package/dist/{context-Cf0-LmZC.d.cts → context-BdNW_8a3.d.cts} +19 -46
- package/dist/{context-liIe6DFH.d.ts → context-C-GVKcJR.d.ts} +19 -46
- package/dist/{deno-Dssbv2qD.js → deno-HatCVczO.js} +1 -4
- package/dist/{docloader-DLiT1bFg.js → docloader-T9-m3Rn_.js} +4 -12
- package/dist/federation/builder.test.js +3 -3
- package/dist/federation/handler.test.js +45 -45
- package/dist/federation/idempotency.test.js +11 -11
- package/dist/federation/inbox.test.js +2 -2
- package/dist/federation/middleware.test.js +43 -68
- package/dist/federation/mod.cjs +4 -4
- package/dist/federation/mod.d.cts +3 -3
- package/dist/federation/mod.d.ts +3 -3
- package/dist/federation/mod.js +4 -4
- package/dist/federation/send.test.js +90 -5
- package/dist/federation/webfinger.test.js +12 -15
- package/dist/{http-BaPyHVQ7.js → http-B1lUBODU.js} +1 -4
- package/dist/{http-CfrdWdLH.js → http-CuLO9bY_.js} +2 -2
- package/dist/{http-BP6_JjsL.cjs → http-DaydvKvf.cjs} +1 -4
- package/dist/{inbox-CW8E414g.js → inbox-1fHDOuko.js} +1 -1
- package/dist/{key-DJI5G1Ub.js → key-DNCf-vbs.js} +1 -1
- package/dist/{kv-cache-CuA9rQF1.js → kv-cache-BfacchWv.js} +2 -4
- package/dist/{kv-cache-yGgfNuY5.cjs → kv-cache-DlBRpUdw.cjs} +1 -3
- package/dist/{ld-Cu0jmueI.js → ld-CU-cW8qv.js} +2 -2
- package/dist/{middleware-Ddt9Yu31.cjs → middleware-B2gMDc87.cjs} +193 -260
- package/dist/{middleware-CBWnYv0h.js → middleware-BZ7r73_8.js} +11 -11
- package/dist/{middleware-CjoXj45O.js → middleware-CGjIDLqK.js} +4 -4
- package/dist/{middleware-RxA4Ghbe.js → middleware-CdZ3PZT5.js} +193 -260
- package/dist/{middleware-D227KuaF.js → middleware-DaaZMqlD.js} +157 -210
- package/dist/middleware-ncL2gTRx.cjs +12 -0
- package/dist/{mod-H3ScYaOb.d.cts → mod-5PNty1K9.d.cts} +1 -1
- package/dist/{mod-Do_sZWAA.d.cts → mod-BcpEGTWV.d.cts} +1 -1
- package/dist/{mod-CvhyLrjX.d.ts → mod-CevNbUol.d.ts} +0 -18
- package/dist/{mod-Dquroqiv.d.ts → mod-CtO31FCx.d.ts} +1 -1
- package/dist/{mod-B9_l3te3.d.ts → mod-Da9fNDyC.d.ts} +1 -1
- package/dist/{mod-DWaA45ef.d.cts → mod-ErTjUJs9.d.cts} +0 -18
- package/dist/mod.cjs +4 -4
- package/dist/mod.d.cts +6 -6
- package/dist/mod.d.ts +6 -6
- package/dist/mod.js +4 -4
- package/dist/nodeinfo/handler.test.js +11 -11
- package/dist/{owner-8nrupc6V.js → owner-Bl_eRxf6.js} +1 -1
- package/dist/{proof-RhBPHpn0.js → proof-BOVBs0DW.js} +2 -2
- package/dist/{proof-BrTneuEN.cjs → proof-CRneYTMl.cjs} +1 -1
- package/dist/{proof-CUhWCefd.js → proof-D0IdWZZE.js} +1 -1
- package/dist/{send-CnI-Brh9.js → send-BkfPydwO.js} +35 -4
- package/dist/sig/http.test.js +3 -3
- package/dist/sig/key.test.js +2 -2
- package/dist/sig/ld.test.js +3 -3
- package/dist/sig/mod.cjs +2 -2
- package/dist/sig/mod.js +2 -2
- package/dist/sig/owner.test.js +3 -3
- package/dist/sig/proof.test.js +3 -3
- package/dist/testing/mod.d.ts +13 -33
- package/dist/utils/docloader.test.js +4 -4
- package/dist/utils/mod.cjs +2 -2
- package/dist/utils/mod.d.cts +1 -1
- package/dist/utils/mod.d.ts +1 -1
- package/dist/utils/mod.js +2 -2
- package/package.json +8 -8
- package/dist/middleware-ACS5M4fZ.cjs +0 -12
|
@@ -14,7 +14,7 @@ const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runt
|
|
|
14
14
|
|
|
15
15
|
//#region deno.json
|
|
16
16
|
var name = "@fedify/fedify";
|
|
17
|
-
var version = "2.0.
|
|
17
|
+
var version = "2.0.1-dev.400+51b2d013";
|
|
18
18
|
var license = "MIT";
|
|
19
19
|
var exports$1 = {
|
|
20
20
|
".": "./src/mod.ts",
|
|
@@ -29,9 +29,6 @@ var exports$1 = {
|
|
|
29
29
|
};
|
|
30
30
|
var imports = {
|
|
31
31
|
"@multiformats/base-x": "npm:@multiformats/base-x@^4.0.1",
|
|
32
|
-
"@opentelemetry/core": "npm:@opentelemetry/core@^2.0.0",
|
|
33
|
-
"@opentelemetry/sdk-trace-base": "npm:@opentelemetry/sdk-trace-base@^2.0.0",
|
|
34
|
-
"@opentelemetry/semantic-conventions": "npm:@opentelemetry/semantic-conventions@^1.27.0",
|
|
35
32
|
"@std/assert": "jsr:@std/assert@^0.226.0",
|
|
36
33
|
"@std/url": "jsr:@std/url@^0.225.1",
|
|
37
34
|
"asn1js": "npm:asn1js@^3.0.7",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./deno-
|
|
6
|
+
import { deno_default } from "./deno-HatCVczO.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { Activity, getTypeId } from "@fedify/vocab";
|
|
9
9
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./deno-
|
|
6
|
+
import { deno_default } from "./deno-HatCVczO.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { CryptographicKey, Object as Object$1, isActor } from "@fedify/vocab";
|
|
9
9
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
@@ -2,10 +2,10 @@
|
|
|
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-B1lUBODU.js";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
import { curry } from "es-toolkit";
|
|
8
|
-
import { UrlError, createActivityPubRequest,
|
|
8
|
+
import { UrlError, createActivityPubRequest, getRemoteDocument, logRequest, preloadedContexts, validatePublicUrl } from "@fedify/vocab-runtime";
|
|
9
9
|
|
|
10
10
|
//#region src/utils/docloader.ts
|
|
11
11
|
const logger$1 = getLogger([
|
|
@@ -47,8 +47,6 @@ function getAuthenticatedDocumentLoader(identity, { allowPrivateAddress, userAge
|
|
|
47
47
|
}
|
|
48
48
|
return load;
|
|
49
49
|
}
|
|
50
|
-
const _fetchDocumentLoader = getDocumentLoader();
|
|
51
|
-
const _fetchDocumentLoader_allowPrivateAddress = getDocumentLoader({ allowPrivateAddress: true });
|
|
52
50
|
|
|
53
51
|
//#endregion
|
|
54
52
|
//#region src/utils/kv-cache.ts
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
5
|
const require_chunk = require('./chunk-CGaQZ11T.cjs');
|
|
6
|
-
const require_http = require('./http-
|
|
6
|
+
const require_http = require('./http-DaydvKvf.cjs');
|
|
7
7
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
|
8
8
|
const es_toolkit = require_chunk.__toESM(require("es-toolkit"));
|
|
9
9
|
const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
|
|
@@ -48,8 +48,6 @@ function getAuthenticatedDocumentLoader(identity, { allowPrivateAddress, userAge
|
|
|
48
48
|
}
|
|
49
49
|
return load;
|
|
50
50
|
}
|
|
51
|
-
const _fetchDocumentLoader = (0, __fedify_vocab_runtime.getDocumentLoader)();
|
|
52
|
-
const _fetchDocumentLoader_allowPrivateAddress = (0, __fedify_vocab_runtime.getDocumentLoader)({ allowPrivateAddress: true });
|
|
53
51
|
|
|
54
52
|
//#endregion
|
|
55
53
|
//#region src/utils/kv-cache.ts
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./deno-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
6
|
+
import { deno_default } from "./deno-HatCVczO.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-DNCf-vbs.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { Activity, CryptographicKey, Object as Object$1, getTypeId } from "@fedify/vocab";
|
|
10
10
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|