@fedify/fedify 2.4.0-pr.934.40 → 2.4.0-pr.936.41
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 +0 -3
- package/dist/{builder-BBPwtB2v.mjs → builder-DonuxRl_.mjs} +2 -2
- package/dist/compat/mod.d.cts +1 -1
- package/dist/compat/mod.d.ts +1 -1
- package/dist/compat/transformers.test.mjs +1 -1
- package/dist/{context-Cjnr0ig1.d.ts → context-Zii1f5xS.d.ts} +1 -1
- package/dist/{context-C05Rgxmu.d.cts → context-lxX6I7as.d.cts} +1 -1
- package/dist/{deno-D3c0o_N0.mjs → deno-BHzKn9Ig.mjs} +1 -1
- package/dist/{docloader-BCecHIxU.mjs → docloader-e1khNUKy.mjs} +2 -2
- package/dist/federation/builder.test.mjs +1 -1
- package/dist/federation/handler.test.mjs +5 -3
- package/dist/federation/idempotency.test.mjs +2 -2
- package/dist/federation/metrics.test.mjs +1 -1
- package/dist/federation/middleware.test.mjs +7 -7
- package/dist/federation/mod.cjs +9 -288
- package/dist/federation/mod.d.cts +3 -3
- package/dist/federation/mod.d.ts +3 -3
- package/dist/federation/mod.js +1 -279
- package/dist/federation/mq.test.mjs +1 -20
- package/dist/federation/send.test.mjs +3 -3
- package/dist/federation/tasks/enqueue.test.mjs +2 -39
- package/dist/federation/tasks/tasks.test.mjs +3 -3
- package/dist/federation/temporal.test.mjs +1 -1
- package/dist/federation/webfinger.test.mjs +1 -1
- package/dist/{http-Dm0JAUa_.mjs → http-CPVMUgsW.mjs} +3 -3
- package/dist/{http-Ctb_KhZ8.js → http-CsmQ-BQ4.js} +1 -1
- package/dist/{http-jr0TkgZe.cjs → http-hlIjmewS.cjs} +1 -1
- package/dist/{key-C_gNKtxm.mjs → key-DfPsX8hv.mjs} +2 -2
- package/dist/{kv-cache-BxUZRBC2.js → kv-cache-5bnX3-Jq.js} +1 -1
- package/dist/{kv-cache-D-hbjJAD.cjs → kv-cache-DQ29C4XL.cjs} +1 -1
- package/dist/{kv-cache-B7H7lZ84.mjs → kv-cache-KyGqJqSp.mjs} +1 -1
- package/dist/{ld-DAPAVL_7.mjs → ld-Cj9F_5AP.mjs} +3 -3
- package/dist/{metrics-DN13mCAw.d.cts → metrics-CoUJLQhZ.d.cts} +1 -19
- package/dist/{metrics-BMaatuZi.mjs → metrics-DMk-nTxI.mjs} +1 -1
- package/dist/{metrics-v_e0n5GQ.d.ts → metrics-Dc4jR-IC.d.ts} +1 -19
- package/dist/{middleware-DfPBAh9L.mjs → middleware-CEctxBN6.mjs} +1 -1
- package/dist/{middleware-O2LHXFEk.mjs → middleware-CvwTUgnP.mjs} +15 -14
- package/dist/{middleware-BW7WQltk.cjs → middleware-FrSMAYEx.cjs} +325 -40
- package/dist/{middleware-CfZR_riY.js → middleware-Y-kpsp6S.js} +278 -6
- package/dist/{mod-BrpVsSfY.d.cts → mod-BtEaIEcD.d.cts} +1 -1
- package/dist/{mod-BsCE5Ihq.d.ts → mod-DLc2Ot6f.d.ts} +1 -1
- package/dist/{mod-CNef4in0.d.ts → mod-UMmveiO0.d.ts} +1 -1
- package/dist/{mod-DdONo-ep.d.cts → mod-gOlPDuT8.d.cts} +1 -1
- package/dist/mod.cjs +6 -6
- package/dist/mod.d.cts +4 -4
- package/dist/mod.d.ts +4 -4
- package/dist/mod.js +5 -5
- package/dist/{mq-Bo7Etgh6.mjs → mq-llHKivST.mjs} +0 -6
- package/dist/nodeinfo/handler.test.mjs +1 -1
- package/dist/{owner-Dcx-czqn.mjs → owner-Br9YYzn_.mjs} +2 -2
- package/dist/{proof-BkAxvrjt.mjs → proof-B4ngoaNQ.mjs} +3 -3
- package/dist/{proof-D-H_PnJW.js → proof-B6E0XUXJ.js} +1 -1
- package/dist/{proof-NY0D8Oux.cjs → proof-NN4xCQGL.cjs} +1 -1
- package/dist/{send-D_j7E-oC.mjs → send-CxHKUNzv.mjs} +3 -3
- package/dist/sig/http.test.mjs +2 -2
- package/dist/sig/key.test.mjs +1 -1
- package/dist/sig/ld.test.mjs +2 -2
- 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/proof.test.mjs +1 -1
- package/dist/{temporal-yE5EcfNX.mjs → temporal-fsXO5IvD.mjs} +1 -1
- package/dist/testing/mod.d.mts +1 -14
- 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.d.cts +1 -1
- package/dist/utils/mod.d.ts +1 -1
- package/dist/utils/mod.js +1 -1
- package/package.json +7 -7
package/dist/sig/proof.test.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { t as assertInstanceOf } from "../assert_instance_of-Q9KTBnrf.mjs";
|
|
|
8
8
|
import { t as assert } from "../assert-CJ1KXcvv.mjs";
|
|
9
9
|
import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-Dbyd7bhl.mjs";
|
|
10
10
|
import { r as normalizeOutgoingActivityJsonLd } from "../outgoing-jsonld-URuqsICz.mjs";
|
|
11
|
-
import { a as verifyProof, i as verifyObject, n as hasProofLike, r as signObject, t as createProof } from "../proof-
|
|
11
|
+
import { a as verifyProof, i as verifyObject, n as hasProofLike, r as signObject, t as createProof } from "../proof-B4ngoaNQ.mjs";
|
|
12
12
|
import { Create, DataIntegrityProof, Document, Multikey, Note, PUBLIC_COLLECTION, Place } from "@fedify/vocab";
|
|
13
13
|
import { createTestMeterProvider, mockDocumentLoader, test } from "@fedify/fixture";
|
|
14
14
|
import { decodeMultibase, exportDidKey, exportMultibaseKey, importMultibaseKey, parseIri } 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-Cj9F_5AP.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/mod.d.mts
CHANGED
|
@@ -897,17 +897,6 @@ interface MessageQueue {
|
|
|
897
897
|
* @since 2.4.0
|
|
898
898
|
*/
|
|
899
899
|
readonly nativeDeduplication?: boolean;
|
|
900
|
-
/**
|
|
901
|
-
* Whether {@link enqueueMany} accepts either every message or no messages.
|
|
902
|
-
* Backends that implement `enqueueMany()` by sending messages individually
|
|
903
|
-
* must set this to `false`, so Fedify does not use that method for a batch
|
|
904
|
-
* governed by one `deduplicationKey`. `true` by default when `enqueueMany`
|
|
905
|
-
* is implemented.
|
|
906
|
-
*
|
|
907
|
-
* @default `true`
|
|
908
|
-
* @since 2.4.0
|
|
909
|
-
*/
|
|
910
|
-
readonly atomicEnqueueMany?: boolean;
|
|
911
900
|
/**
|
|
912
901
|
* Enqueues a message in the queue.
|
|
913
902
|
* @param message The message to enqueue.
|
|
@@ -917,9 +906,7 @@ interface MessageQueue {
|
|
|
917
906
|
/**
|
|
918
907
|
* Enqueues multiple messages in the queue. This operation is optional,
|
|
919
908
|
* and may not be supported by all implementations. If not supported,
|
|
920
|
-
* Fedify will invoke {@link enqueue} for each message.
|
|
921
|
-
* that may accept only part of a batch before rejecting must declare
|
|
922
|
-
* {@link atomicEnqueueMany} `false`.
|
|
909
|
+
* Fedify will invoke {@link enqueue} for each message.
|
|
923
910
|
*
|
|
924
911
|
* @param messages The messages to enqueue.
|
|
925
912
|
* @param options Additional options for enqueuing the messages.
|
|
@@ -5,9 +5,9 @@ import { t as esm_default } from "../esm-yYQfPhIY.mjs";
|
|
|
5
5
|
import { t as assertEquals } from "../assert_equals-BV7oLMxm.mjs";
|
|
6
6
|
import "../std__assert-B2NnY9bq.mjs";
|
|
7
7
|
import { t as assertRejects } from "../assert_rejects-EgstcQy5.mjs";
|
|
8
|
-
import { l as verifyRequest } from "../http-
|
|
8
|
+
import { l as verifyRequest } from "../http-CPVMUgsW.mjs";
|
|
9
9
|
import { i as rsaPrivateKey2 } from "../keys-Dbyd7bhl.mjs";
|
|
10
|
-
import { t as getAuthenticatedDocumentLoader } from "../docloader-
|
|
10
|
+
import { t as getAuthenticatedDocumentLoader } from "../docloader-e1khNUKy.mjs";
|
|
11
11
|
import { mockDocumentLoader, test } from "@fedify/fixture";
|
|
12
12
|
import { UrlError } from "@fedify/vocab-runtime";
|
|
13
13
|
//#region src/utils/docloader.test.ts
|
|
@@ -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-KyGqJqSp.mjs";
|
|
5
5
|
import { deepStrictEqual, throws } from "node:assert";
|
|
6
6
|
import { createTestMeterProvider, mockDocumentLoader, test } from "@fedify/fixture";
|
|
7
7
|
import { preloadedContexts } from "@fedify/vocab-runtime";
|
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-DQ29C4XL.cjs");
|
|
4
4
|
exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
|
|
5
5
|
exports.kvCache = require_kv_cache.kvCache;
|
package/dist/utils/mod.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../mod-
|
|
2
|
+
import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../mod-BtEaIEcD.cjs";
|
|
3
3
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/utils/mod.d.ts
CHANGED
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-5bnX3-Jq.js";
|
|
4
4
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/fedify",
|
|
3
|
-
"version": "2.4.0-pr.
|
|
3
|
+
"version": "2.4.0-pr.936.41+59c7432c",
|
|
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/uri-template": "2.4.0-pr.
|
|
155
|
-
"@fedify/vocab": "2.4.0-pr.
|
|
156
|
-
"@fedify/webfinger": "2.4.0-pr.
|
|
157
|
-
"@fedify/vocab
|
|
154
|
+
"@fedify/uri-template": "2.4.0-pr.936.41+59c7432c",
|
|
155
|
+
"@fedify/vocab-runtime": "2.4.0-pr.936.41+59c7432c",
|
|
156
|
+
"@fedify/webfinger": "2.4.0-pr.936.41+59c7432c",
|
|
157
|
+
"@fedify/vocab": "2.4.0-pr.936.41+59c7432c"
|
|
158
158
|
},
|
|
159
159
|
"devDependencies": {
|
|
160
160
|
"@std/assert": "npm:@jsr/std__assert@^0.226.0",
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
"tsx": "^4.21.0",
|
|
167
167
|
"typescript": "^6.0.0",
|
|
168
168
|
"wrangler": "^4.17.0",
|
|
169
|
-
"@fedify/
|
|
170
|
-
"@fedify/
|
|
169
|
+
"@fedify/fixture": "2.0.0",
|
|
170
|
+
"@fedify/vocab-tools": "^2.4.0-pr.936.41+59c7432c"
|
|
171
171
|
},
|
|
172
172
|
"scripts": {
|
|
173
173
|
"build:self": "tsdown",
|