@fedify/fedify 2.5.0-dev.2568 → 2.5.0-dev.2597
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{builder--6f2TLFq.mjs → builder-Da_V_LDj.mjs} +2 -2
- package/dist/compat/transformers.test.mjs +1 -1
- package/dist/{compound-proof-hbwJQJsw.mjs → compound-proof-BqqP38Sf.mjs} +6 -4
- package/dist/{deno-CO44bTZ_.mjs → deno-4cGKg59R.mjs} +1 -1
- package/dist/{docloader-NCv7GVFg.mjs → docloader-BiHD6NSO.mjs} +2 -2
- package/dist/federation/builder.test.mjs +1 -1
- package/dist/federation/compound-fanout.test.mjs +3 -3
- package/dist/federation/handler-compound-proof.test.mjs +3 -3
- package/dist/federation/handler.test.mjs +12 -4
- package/dist/federation/hashlink-media.test.mjs +2 -2
- package/dist/federation/idempotency.test.mjs +2 -2
- package/dist/federation/inbox-actorless.test.mjs +5 -5
- package/dist/federation/inbox-report.test.mjs +5 -5
- package/dist/federation/inbox-view.test.mjs +1 -1
- package/dist/federation/inbox.test.mjs +1 -1
- package/dist/federation/metrics.test.mjs +1 -1
- package/dist/federation/middleware.test.mjs +7 -7
- package/dist/federation/mod.cjs +1 -1
- package/dist/federation/mod.js +1 -1
- package/dist/federation/mq.test.mjs +1 -1
- package/dist/federation/outgoing-proof.test.mjs +4 -4
- package/dist/federation/portable-actor.test.mjs +3 -3
- package/dist/federation/portable-chain.test.mjs +3 -3
- package/dist/federation/portable-collection.test.mjs +4 -4
- package/dist/federation/portable-delivery.test.mjs +2 -2
- package/dist/federation/portable-gateway-keys.test.mjs +5 -5
- package/dist/federation/portable-inbox.test.mjs +4 -4
- package/dist/federation/portable-parse-uri.test.mjs +1 -1
- package/dist/federation/portable-route-activity.test.mjs +2 -2
- package/dist/federation/portable.test.mjs +3 -3
- package/dist/federation/send.test.mjs +3 -3
- package/dist/federation/tasks/enqueue.test.mjs +1 -1
- package/dist/federation/tasks/tasks.test.mjs +2 -2
- package/dist/federation/temporal.test.mjs +1 -1
- package/dist/federation/webfinger.test.mjs +1 -1
- package/dist/{federation-CJ4C_i9D.cjs → federation-BKJZEC0O.cjs} +7 -5
- package/dist/{http-CY7-Udm1.mjs → http-D5n4S1oL.mjs} +4 -4
- package/dist/{http-cOf_6J25.js → http-DQP4rw46.js} +1 -1
- package/dist/{http-DVQIHkSJ.cjs → http-KU7_TLD9.cjs} +1 -1
- package/dist/{inbox-DWz1XDLv.mjs → inbox-CElAglrC.mjs} +2 -2
- package/dist/{inbox-view-BnmZFXPT.mjs → inbox-view-BTUuIIf6.mjs} +1 -1
- package/dist/{kv-cache-lqq4WGMx.mjs → kv-cache-BV55jAE6.mjs} +1 -1
- package/dist/{kv-cache-CfIj4orG.js → kv-cache-CFBwLUZr.js} +1 -1
- package/dist/{kv-cache-BfvPfl7g.cjs → kv-cache-DrQn-ugb.cjs} +1 -1
- package/dist/{ld-Cf48sUNp.mjs → ld-CmAQYDWE.mjs} +2 -2
- package/dist/{metrics-BI2qL4aO.mjs → metrics-BvV60TwE.mjs} +1 -1
- package/dist/{middleware-BlcHd2sw.mjs → middleware-D02eC0j7.mjs} +15 -15
- package/dist/{middleware-DO218FXs.js → middleware-Di4y_M3y.js} +7 -5
- package/dist/{middleware-Bvra_CPx.mjs → middleware-iAJcDIM2.mjs} +1 -1
- package/dist/mod.cjs +4 -4
- package/dist/mod.js +4 -4
- package/dist/nodeinfo/handler.test.mjs +1 -1
- package/dist/{owner-DRQj8Hx9.mjs → owner-C1-csjTo.mjs} +3 -3
- package/dist/{portable-collection-gBH8-Fix.mjs → portable-collection-C0MNEEED.mjs} +2 -2
- package/dist/{portable-collection-vTKJniJJ.js → portable-collection-DkTLVfoM.js} +1 -1
- package/dist/{portable-collection-FSBuEbXm.cjs → portable-collection-w6Qn-vJ3.cjs} +1 -1
- package/dist/{portable-key-B56XKHZ3.mjs → portable-key-jtaxB7TD.mjs} +1 -1
- package/dist/{proof-BlfJEiJ4.mjs → proof-CzWCRhnC.mjs} +3 -3
- package/dist/{send-i8WV9Zn3.mjs → send-C9-dwpEH.mjs} +3 -3
- package/dist/sig/compound-proof-discovery.test.mjs +1 -1
- package/dist/sig/compound-proof-producer.test.mjs +1 -1
- package/dist/sig/compound-proof-verification.test.mjs +20 -2
- package/dist/sig/compound-proof.test.mjs +2 -2
- package/dist/sig/http.test.mjs +2 -2
- package/dist/sig/key.test.mjs +1 -1
- package/dist/sig/ld.test.mjs +1 -1
- package/dist/sig/mitra-receive-interop.test.mjs +4 -4
- package/dist/sig/mitra-send-interop.test.mjs +3 -3
- package/dist/sig/mod.cjs +2 -2
- package/dist/sig/mod.js +2 -2
- package/dist/sig/owner.test.mjs +1 -1
- package/dist/sig/portable-collection.test.mjs +1 -1
- package/dist/sig/portable-interop.test.mjs +3 -3
- package/dist/sig/portable-key.test.mjs +5 -5
- package/dist/sig/proof.test.mjs +3 -3
- package/dist/sig/tootik-request-interop.test.mjs +4 -4
- package/dist/sig/tootik-send-interop.test.mjs +3 -3
- package/dist/sig/verification.test.mjs +3 -3
- package/dist/{temporal-FI5ClPeQ.mjs → temporal-lDCl8Zxn.mjs} +1 -1
- package/dist/testing/kv.test.mjs +1 -1
- package/dist/testing/mod.d.mts +9 -4
- package/dist/utils/docloader.test.mjs +2 -2
- package/dist/utils/kv-cache.test.mjs +1 -1
- package/dist/utils/mod.cjs +1 -1
- package/dist/utils/mod.js +1 -1
- package/package.json +8 -8
|
@@ -4,9 +4,9 @@ globalThis.addEventListener = () => {};
|
|
|
4
4
|
import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
|
|
5
5
|
import "../std__assert-DvMDRPes.mjs";
|
|
6
6
|
import { t as assert } from "../assert-D1Eafmd_.mjs";
|
|
7
|
-
import { d as verifyPortableObjectProof } from "../proof-
|
|
8
|
-
import { m as verifyRequestDetailed } from "../http-
|
|
9
|
-
import { t as doesActorOwnKey } from "../owner-
|
|
7
|
+
import { d as verifyPortableObjectProof } from "../proof-CzWCRhnC.mjs";
|
|
8
|
+
import { m as verifyRequestDetailed } from "../http-D5n4S1oL.mjs";
|
|
9
|
+
import { t as doesActorOwnKey } from "../owner-C1-csjTo.mjs";
|
|
10
10
|
import { Create } from "@fedify/vocab";
|
|
11
11
|
import { decodeMultibase, importDidKey } from "@fedify/vocab-runtime";
|
|
12
12
|
import { mockDocumentLoader, test } from "@fedify/fixture";
|
|
@@ -2,9 +2,9 @@ import "temporal-polyfill";
|
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
4
|
import { a as verificationObservation } from "../verification-Dpfcw8ml.mjs";
|
|
5
|
-
import { _ as verifyJsonLd, m as signJsonLd } from "../ld-
|
|
6
|
-
import { l as verifyObject, s as signObject } from "../proof-
|
|
7
|
-
import { m as verifyRequestDetailed, u as signRequest } from "../http-
|
|
5
|
+
import { _ as verifyJsonLd, m as signJsonLd } from "../ld-CmAQYDWE.mjs";
|
|
6
|
+
import { l as verifyObject, s as signObject } from "../proof-CzWCRhnC.mjs";
|
|
7
|
+
import { m as verifyRequestDetailed, u as signRequest } from "../http-D5n4S1oL.mjs";
|
|
8
8
|
import { i as rsaPrivateKey2, n as ed25519PrivateKey, o as rsaPublicKey1, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-DIJNHW-Y.mjs";
|
|
9
9
|
import { Activity, Create, CryptographicKey, Multikey } from "@fedify/vocab";
|
|
10
10
|
import { FetchError } from "@fedify/vocab-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "temporal-polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { c as getNormalizationContextLoader } from "./ld-
|
|
4
|
+
import { c as getNormalizationContextLoader } from "./ld-CmAQYDWE.mjs";
|
|
5
5
|
import jsonld from "@fedify/vocab-runtime/jsonld";
|
|
6
6
|
//#region src/federation/temporal.ts
|
|
7
7
|
function isPlainObject(value) {
|
package/dist/testing/kv.test.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
|
|
|
6
6
|
import { t as ManualClockKvStore } from "../kv-DBRWVx3Q.mjs";
|
|
7
7
|
import { n as baseOptions, o as stringSchema, t as MockQueue } from "../tasks-IG3pHfvZ.mjs";
|
|
8
8
|
import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
|
|
9
|
-
import { o as createFederation } from "../middleware-
|
|
9
|
+
import { o as createFederation } from "../middleware-D02eC0j7.mjs";
|
|
10
10
|
//#region src/testing/kv.test.ts
|
|
11
11
|
test("ManualClockKvStore keeps an entry at its exact expiration instant", async () => {
|
|
12
12
|
const kv = new ManualClockKvStore();
|
package/dist/testing/mod.d.mts
CHANGED
|
@@ -5445,6 +5445,11 @@ declare class MockQueue implements MessageQueue {
|
|
|
5445
5445
|
//#region ../fixture/dist/mod.d.ts
|
|
5446
5446
|
//#endregion
|
|
5447
5447
|
//#region src/test.d.ts
|
|
5448
|
+
/**
|
|
5449
|
+
* Deno's per-test permission options, declared structurally so that this
|
|
5450
|
+
* module does not depend on Deno's ambient types.
|
|
5451
|
+
*/
|
|
5452
|
+
type DenoPermissionOptions = "inherit" | "none" | { readonly [name in "env" | "ffi" | "import" | "net" | "read" | "run" | "sys" | "write"]?: "inherit" | boolean | readonly (string | URL)[] };
|
|
5448
5453
|
/** A test callback that uses only APIs supported by every test runtime. */
|
|
5449
5454
|
type TestFunction = (t: TestContext) => void | Promise<void>;
|
|
5450
5455
|
/** A nested test step supported by Deno, Node.js, Bun, and Workers. */
|
|
@@ -5465,10 +5470,10 @@ interface TestContext {
|
|
|
5465
5470
|
interface TestDefinition {
|
|
5466
5471
|
name: string;
|
|
5467
5472
|
ignore?: boolean;
|
|
5468
|
-
permissions?:
|
|
5469
|
-
sanitizeExit?:
|
|
5470
|
-
sanitizeOps?:
|
|
5471
|
-
sanitizeResources?:
|
|
5473
|
+
permissions?: DenoPermissionOptions;
|
|
5474
|
+
sanitizeExit?: boolean;
|
|
5475
|
+
sanitizeOps?: boolean;
|
|
5476
|
+
sanitizeResources?: boolean;
|
|
5472
5477
|
fn: TestFunction;
|
|
5473
5478
|
}
|
|
5474
5479
|
declare const testDefinitions: TestDefinition[];
|
|
@@ -5,9 +5,9 @@ import { t as esm_default } from "../esm-BHXXx4Wx.mjs";
|
|
|
5
5
|
import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
|
|
6
6
|
import "../std__assert-DvMDRPes.mjs";
|
|
7
7
|
import { t as assertRejects } from "../assert_rejects-CTptdYck.mjs";
|
|
8
|
-
import { p as verifyRequest } from "../http-
|
|
8
|
+
import { p as verifyRequest } from "../http-D5n4S1oL.mjs";
|
|
9
9
|
import { i as rsaPrivateKey2 } from "../keys-DIJNHW-Y.mjs";
|
|
10
|
-
import { n as getAuthenticatedDocumentLoader, t as createAuthenticatedDocumentLoader } from "../docloader-
|
|
10
|
+
import { n as getAuthenticatedDocumentLoader, t as createAuthenticatedDocumentLoader } from "../docloader-BiHD6NSO.mjs";
|
|
11
11
|
import { configure, reset } from "@logtape/logtape";
|
|
12
12
|
import { FetchError, UrlError } from "@fedify/vocab-runtime";
|
|
13
13
|
import { mockDocumentLoader, test } from "@fedify/fixture";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "temporal-polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { n as kvCache, t as MockKvStore } from "../kv-cache-
|
|
4
|
+
import { n as kvCache, t as MockKvStore } from "../kv-cache-BV55jAE6.mjs";
|
|
5
5
|
import { preloadedContexts } from "@fedify/vocab-runtime";
|
|
6
6
|
import { deepStrictEqual, throws } from "node:assert";
|
|
7
7
|
import { createTestMeterProvider, mockDocumentLoader, test } from "@fedify/fixture";
|
package/dist/utils/mod.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_kv_cache = require("../kv-cache-
|
|
3
|
+
const require_kv_cache = require("../kv-cache-DrQn-ugb.cjs");
|
|
4
4
|
exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
|
|
5
5
|
exports.kvCache = require_kv_cache.kvCache;
|
package/dist/utils/mod.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Temporal } from "temporal-polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../kv-cache-
|
|
3
|
+
import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../kv-cache-CFBwLUZr.js";
|
|
4
4
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/fedify",
|
|
3
|
-
"version": "2.5.0-dev.
|
|
3
|
+
"version": "2.5.0-dev.2597+7bed9e2b",
|
|
4
4
|
"description": "An ActivityPub server framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ActivityPub",
|
|
@@ -151,10 +151,10 @@
|
|
|
151
151
|
"structured-field-values": "^2.0.4",
|
|
152
152
|
"temporal-polyfill": "^1.0.1",
|
|
153
153
|
"urlpattern-polyfill": "^10.1.0",
|
|
154
|
-
"@fedify/
|
|
155
|
-
"@fedify/webfinger": "2.5.0-dev.
|
|
156
|
-
"@fedify/vocab": "2.5.0-dev.
|
|
157
|
-
"@fedify/
|
|
154
|
+
"@fedify/vocab": "2.5.0-dev.2597+7bed9e2b",
|
|
155
|
+
"@fedify/webfinger": "2.5.0-dev.2597+7bed9e2b",
|
|
156
|
+
"@fedify/vocab-runtime": "2.5.0-dev.2597+7bed9e2b",
|
|
157
|
+
"@fedify/uri-template": "2.5.0-dev.2597+7bed9e2b"
|
|
158
158
|
},
|
|
159
159
|
"devDependencies": {
|
|
160
160
|
"@std/assert": "npm:@jsr/std__assert@^0.226.0",
|
|
@@ -163,10 +163,10 @@
|
|
|
163
163
|
"miniflare": "^4.20250523.0",
|
|
164
164
|
"tsdown": "^0.22.0",
|
|
165
165
|
"tsx": "^4.21.0",
|
|
166
|
-
"typescript": "^6.0.
|
|
166
|
+
"typescript": "^6.0.3",
|
|
167
167
|
"wrangler": "^4.17.0",
|
|
168
|
-
"@fedify/
|
|
169
|
-
"@fedify/
|
|
168
|
+
"@fedify/vocab-tools": "^2.5.0-dev.2597+7bed9e2b",
|
|
169
|
+
"@fedify/fixture": "2.0.0"
|
|
170
170
|
},
|
|
171
171
|
"scripts": {
|
|
172
172
|
"build:self": "tsdown",
|