@fedify/fedify 2.4.0-dev.1583 → 2.4.0-dev.1599
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/{accept-CgDcxvjV.mjs → accept-8PiolDP7.mjs} +1 -1
- package/dist/{activity-listener-BeTGV3wc.mjs → activity-listener-BtTSxZWA.mjs} +1 -1
- package/dist/{assert-DvVHoIZ0.mjs → assert-CJ1KXcvv.mjs} +2 -2
- package/dist/{assert_equals-PBVKNMJd.mjs → assert_equals-BV7oLMxm.mjs} +1 -1
- package/dist/{assert_instance_of-CxoC8bVq.mjs → assert_instance_of-Q9KTBnrf.mjs} +2 -2
- package/dist/{assert_not_equals-C8vcTTA3.mjs → assert_not_equals-EPJPoxuf.mjs} +2 -2
- package/dist/{assert_rejects-DAdaaIWM.mjs → assert_rejects-EgstcQy5.mjs} +3 -3
- package/dist/{assert_strict_equals-BzqyKuYL.mjs → assert_strict_equals-Ec20AUwa.mjs} +2 -2
- package/dist/{assert_throws-zN79lgIC.mjs → assert_throws-NiFfqbnH.mjs} +2 -2
- package/dist/{builder-Doj1FmsW.mjs → builder-BvCI7Xch.mjs} +4 -4
- package/dist/{chunk-DDcVe30Y.cjs → chunk-Czpeue4M.cjs} +0 -1
- package/dist/{chunk-CRNNMoPX.js → chunk-D5IdezsZ.js} +1 -1
- package/dist/{circuit-breaker-hJBB6jwA.mjs → circuit-breaker-CBGyz5F7.mjs} +1 -1
- package/dist/{client-B_A6mfn3.mjs → client-CjF5IYQS.mjs} +1 -1
- package/dist/{codec-nfBU4Up4.mjs → codec-BBga-FWI.mjs} +1 -1
- package/dist/{collection-Dp5ky45w.mjs → collection-BIhlldqK.mjs} +1 -1
- package/dist/compat/mod.cjs +1 -2
- package/dist/compat/mod.js +2 -2
- package/dist/compat/outgoing-jsonld.test.d.mts +1 -1
- package/dist/compat/outgoing-jsonld.test.mjs +4 -4
- package/dist/compat/public-audience.test.d.mts +1 -1
- package/dist/compat/public-audience.test.mjs +4 -4
- package/dist/compat/transformers.test.d.mts +1 -1
- package/dist/compat/transformers.test.mjs +6 -6
- package/dist/{context-BBRTgkrs.mjs → context-C7Sbmci2.mjs} +1 -1
- package/dist/{deno-Bkl9jNVs.mjs → deno-BCt09TJn.mjs} +2 -2
- package/dist/{docloader-f1XFaWWh.mjs → docloader-BrRjFwOp.mjs} +3 -3
- package/dist/{esm-vrlUxr60.mjs → esm-yYQfPhIY.mjs} +1 -1
- package/dist/federation/builder.test.d.mts +1 -1
- package/dist/federation/builder.test.mjs +6 -6
- package/dist/federation/circuit-breaker.test.d.mts +1 -1
- package/dist/federation/circuit-breaker.test.mjs +6 -6
- package/dist/federation/collection.test.d.mts +1 -1
- package/dist/federation/collection.test.mjs +4 -4
- package/dist/federation/handler.test.d.mts +1 -1
- package/dist/federation/handler.test.mjs +14 -14
- package/dist/federation/idempotency.test.d.mts +1 -1
- package/dist/federation/idempotency.test.mjs +7 -7
- package/dist/federation/inbox.test.d.mts +1 -1
- package/dist/federation/inbox.test.mjs +4 -4
- package/dist/federation/keycache.test.d.mts +1 -1
- package/dist/federation/keycache.test.mjs +6 -6
- package/dist/federation/kv.test.d.mts +1 -1
- package/dist/federation/kv.test.mjs +4 -4
- package/dist/federation/metrics.test.d.mts +1 -1
- package/dist/federation/metrics.test.mjs +5 -5
- package/dist/federation/middleware.test.d.mts +1 -1
- package/dist/federation/middleware.test.mjs +22 -22
- package/dist/federation/mod.cjs +4 -3
- package/dist/federation/mod.js +2 -2
- package/dist/federation/mq.test.d.mts +1 -1
- package/dist/federation/mq.test.mjs +6 -6
- package/dist/federation/negotiation.test.d.mts +1 -1
- package/dist/federation/negotiation.test.mjs +5 -5
- package/dist/federation/retry.test.d.mts +1 -1
- package/dist/federation/retry.test.mjs +4 -4
- package/dist/federation/router.test.d.mts +1 -1
- package/dist/federation/router.test.mjs +6 -6
- package/dist/federation/send.test.d.mts +1 -1
- package/dist/federation/send.test.mjs +12 -12
- package/dist/federation/tasks/codec.test.d.mts +1 -1
- package/dist/federation/tasks/codec.test.mjs +2 -2
- package/dist/federation/tasks/enqueue.test.d.mts +1 -1
- package/dist/federation/tasks/enqueue.test.mjs +5 -5
- package/dist/federation/tasks/tasks.test.d.mts +1 -1
- package/dist/federation/tasks/tasks.test.mjs +7 -7
- package/dist/federation/temporal.test.d.mts +1 -1
- package/dist/federation/temporal.test.mjs +5 -5
- package/dist/federation/webfinger.test.d.mts +1 -1
- package/dist/federation/webfinger.test.mjs +7 -7
- package/dist/{http-CphHLbTC.js → http--wLYmH1x.js} +2 -2
- package/dist/{http-BBkdx4Kd.mjs → http-yainOC9t.mjs} +5 -5
- package/dist/{http-jCq51U37.cjs → http-zJsVCnKu.cjs} +4 -3
- package/dist/{key-BBKNHoB9.mjs → key-DcLwG7x4.mjs} +3 -3
- package/dist/{keycache-CaOR6NYg.mjs → keycache-_DHqz5z_.mjs} +1 -1
- package/dist/{keys-CSYsOMFG.mjs → keys-Dbyd7bhl.mjs} +1 -1
- package/dist/{kv-CIvR3Non.mjs → kv-CXBAok3k.mjs} +1 -1
- package/dist/{kv-cache-D3KdEZAg.js → kv-cache-0TGAGm8S.js} +2 -2
- package/dist/{kv-cache-B9Zvq4xB.cjs → kv-cache-BPu_M3-N.cjs} +4 -3
- package/dist/{kv-cache-SVUAUYIs.mjs → kv-cache-SZL9uu3V.mjs} +2 -2
- package/dist/{ld-DLyXLPDS.mjs → ld-B-jskR-q.mjs} +4 -4
- package/dist/{metrics-BVRrGEXj.mjs → metrics-C-pKLuAU.mjs} +2 -2
- package/dist/{middleware-B1jZw4xB.js → middleware-D1POKL1d.js} +7 -7
- package/dist/{middleware-1AyOpRqz.mjs → middleware-DGEQ07xT.mjs} +24 -24
- package/dist/{middleware-DszmUorL.cjs → middleware-DLzOFLD5.cjs} +48 -39
- package/dist/{middleware-CzWfDAQY.mjs → middleware-HFQkD-r8.mjs} +2 -2
- package/dist/mod.cjs +7 -8
- package/dist/mod.js +8 -8
- package/dist/{mq-03vS-C9P.mjs → mq-llHKivST.mjs} +1 -1
- package/dist/{negotiation-m_L2nyS3.mjs → negotiation-RuwrPFqi.mjs} +1 -1
- package/dist/nodeinfo/client.test.d.mts +1 -1
- package/dist/nodeinfo/client.test.mjs +5 -5
- package/dist/nodeinfo/handler.test.d.mts +1 -1
- package/dist/nodeinfo/handler.test.mjs +6 -6
- package/dist/nodeinfo/mod.cjs +1 -2
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/types.test.d.mts +1 -1
- package/dist/nodeinfo/types.test.mjs +5 -5
- package/dist/otel/exporter.test.d.mts +1 -1
- package/dist/otel/exporter.test.mjs +4 -4
- package/dist/otel/mod.cjs +1 -2
- package/dist/otel/mod.js +1 -1
- package/dist/{outgoing-jsonld-BNL8AC14.mjs → outgoing-jsonld-URuqsICz.mjs} +2 -2
- package/dist/{owner-BukzQW4T.mjs → owner-CeJuB8wq.mjs} +3 -3
- package/dist/{proof-BVglyYRW.mjs → proof-917XYw_e.mjs} +6 -6
- package/dist/{proof-DkeR_Fsm.cjs → proof-BkQosXrd.cjs} +4 -3
- package/dist/{proof-IDHRILpm.js → proof-Bri1zUVM.js} +2 -2
- package/dist/{public-audience-c9zmYKgA.mjs → public-audience-Cr5MsnMq.mjs} +1 -1
- package/dist/{retry-DI4O-zYl.mjs → retry-DgFqeS5k.mjs} +1 -1
- package/dist/runtime/mod.cjs +1 -2
- package/dist/runtime/mod.js +2 -2
- package/dist/{send-D04Hz77b.mjs → send-CDi3XQ0V.mjs} +4 -4
- package/dist/sig/accept.test.d.mts +1 -1
- package/dist/sig/accept.test.mjs +2 -2
- package/dist/sig/http.test.d.mts +1 -1
- package/dist/sig/http.test.mjs +10 -10
- package/dist/sig/key.test.d.mts +1 -1
- package/dist/sig/key.test.mjs +7 -7
- package/dist/sig/ld.test.d.mts +1 -1
- package/dist/sig/ld.test.mjs +8 -8
- package/dist/sig/mod.cjs +2 -3
- package/dist/sig/mod.js +3 -3
- package/dist/sig/owner.test.d.mts +1 -1
- package/dist/sig/owner.test.mjs +7 -7
- package/dist/sig/proof.test.d.mts +1 -1
- package/dist/sig/proof.test.mjs +9 -9
- package/dist/{std__assert-Dh6uLf_q.mjs → std__assert-B2NnY9bq.mjs} +5 -5
- package/dist/{temporal-xcPM9mxe.mjs → temporal-jusSJxbN.mjs} +2 -2
- package/dist/temporal-polyfill-BCdTHexd.cjs +3565 -0
- package/dist/testing/mod.d.mts +1 -1
- package/dist/testing/mod.mjs +3 -3
- package/dist/{testing-Dy-WhqpN.mjs → testing-C3vgUK0b.mjs} +3 -3
- package/dist/{transformers-NeAONrAq.cjs → transformers-DGwl-hD1.cjs} +1 -2
- package/dist/{transformers-BGMIq1cs.js → transformers-DXze6FUB.js} +1 -1
- package/dist/{types-KC4QAoxe.cjs → types-CPym83zc.cjs} +1 -2
- package/dist/{types-BFowWFTT.mjs → types-CrtdVuDP.mjs} +1 -1
- package/dist/{types-CAY3OdLq.js → types-DC1pNgJA.js} +1 -1
- package/dist/utils/docloader.test.d.mts +1 -1
- package/dist/utils/docloader.test.mjs +8 -8
- package/dist/utils/kv-cache.test.d.mts +1 -1
- package/dist/utils/kv-cache.test.mjs +2 -2
- package/dist/utils/mod.cjs +1 -2
- package/dist/utils/mod.js +2 -2
- package/dist/vocab/cjs.test.d.mts +1 -1
- package/dist/vocab/cjs.test.mjs +14 -1
- package/dist/vocab/mod.cjs +0 -1
- package/dist/vocab/mod.js +1 -1
- package/package.json +8 -8
package/dist/testing/mod.d.mts
CHANGED
package/dist/testing/mod.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import "temporal-polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { a as testDefinitions, n as createOutboxContext, r as createRequestContext, t as createInboxContext } from "../context-
|
|
5
|
-
import { a as numberSchema, i as makeSchema, n as baseOptions, o as stringSchema, r as envelopeSchema, t as MockQueue } from "../testing-
|
|
4
|
+
import { a as testDefinitions, n as createOutboxContext, r as createRequestContext, t as createInboxContext } from "../context-C7Sbmci2.mjs";
|
|
5
|
+
import { a as numberSchema, i as makeSchema, n as baseOptions, o as stringSchema, r as envelopeSchema, t as MockQueue } from "../testing-C3vgUK0b.mjs";
|
|
6
6
|
export { MockQueue, baseOptions, createInboxContext, createOutboxContext, createRequestContext, envelopeSchema, makeSchema, numberSchema, stringSchema, testDefinitions };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import "temporal-polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { i as mockDocumentLoader } from "./context-
|
|
5
|
-
import { t as MemoryKvStore } from "./kv-
|
|
4
|
+
import { i as mockDocumentLoader } from "./context-C7Sbmci2.mjs";
|
|
5
|
+
import { t as MemoryKvStore } from "./kv-CXBAok3k.mjs";
|
|
6
6
|
import { Note } from "@fedify/vocab";
|
|
7
7
|
//#region src/testing/tasks.ts
|
|
8
8
|
/**
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
const { Temporal } = require("@js-temporal/polyfill");
|
|
2
1
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
3
|
-
require("./chunk-
|
|
2
|
+
require("./chunk-Czpeue4M.cjs");
|
|
4
3
|
//#region src/compat/transformers.ts
|
|
5
4
|
const logger = (0, require("@logtape/logtape").getLogger)([
|
|
6
5
|
"fedify",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
const { Temporal } = require("@js-temporal/polyfill");
|
|
2
1
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
3
|
-
require("./chunk-
|
|
2
|
+
require("./chunk-Czpeue4M.cjs");
|
|
4
3
|
let _logtape_logtape = require("@logtape/logtape");
|
|
5
4
|
let _fedify_vocab_runtime = require("@fedify/vocab-runtime");
|
|
6
5
|
//#region src/nodeinfo/client.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Temporal } from "
|
|
1
|
+
import { Temporal } from "temporal-polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Temporal } from "
|
|
1
|
+
import { Temporal } from "temporal-polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { t as esm_default } from "../esm-
|
|
5
|
-
import { t as assertEquals } from "../assert_equals-
|
|
6
|
-
import "../std__assert-
|
|
7
|
-
import { t as assertRejects } from "../assert_rejects-
|
|
8
|
-
import { l as verifyRequest } from "../http-
|
|
9
|
-
import { i as rsaPrivateKey2 } from "../keys-
|
|
10
|
-
import { t as getAuthenticatedDocumentLoader } from "../docloader-
|
|
4
|
+
import { t as esm_default } from "../esm-yYQfPhIY.mjs";
|
|
5
|
+
import { t as assertEquals } from "../assert_equals-BV7oLMxm.mjs";
|
|
6
|
+
import "../std__assert-B2NnY9bq.mjs";
|
|
7
|
+
import { t as assertRejects } from "../assert_rejects-EgstcQy5.mjs";
|
|
8
|
+
import { l as verifyRequest } from "../http-yainOC9t.mjs";
|
|
9
|
+
import { i as rsaPrivateKey2 } from "../keys-Dbyd7bhl.mjs";
|
|
10
|
+
import { t as getAuthenticatedDocumentLoader } from "../docloader-BrRjFwOp.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,2 +1,2 @@
|
|
|
1
|
-
import { Temporal } from "
|
|
1
|
+
import { Temporal } from "temporal-polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Temporal } from "
|
|
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-SZL9uu3V.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,6 +1,5 @@
|
|
|
1
|
-
const { Temporal } = require("@js-temporal/polyfill");
|
|
2
1
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
3
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const require_kv_cache = require("../kv-cache-
|
|
3
|
+
const require_kv_cache = require("../kv-cache-BPu_M3-N.cjs");
|
|
5
4
|
exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
|
|
6
5
|
exports.kvCache = require_kv_cache.kvCache;
|
package/dist/utils/mod.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Temporal } from "
|
|
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-0TGAGm8S.js";
|
|
4
4
|
export { getAuthenticatedDocumentLoader, kvCache };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Temporal } from "
|
|
1
|
+
import { Temporal } from "temporal-polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
package/dist/vocab/cjs.test.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import "temporal-polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
4
|
import { createRequire } from "node:module";
|
|
@@ -10,5 +10,18 @@ test("CommonJS vocab entry exports Object", { ignore: "Deno" in globalThis }, ()
|
|
|
10
10
|
strictEqual(typeof vocab.Object, "function");
|
|
11
11
|
strictEqual(typeof vocab.Update, "function");
|
|
12
12
|
});
|
|
13
|
+
test("CommonJS entries load Temporal-backed modules", { ignore: "Deno" in globalThis }, () => {
|
|
14
|
+
const originalTemporal = globalThis.Temporal;
|
|
15
|
+
const require = createRequire(import.meta.url);
|
|
16
|
+
const fedify = require("../mod.cjs");
|
|
17
|
+
const federation = require("../federation/mod.cjs");
|
|
18
|
+
const sig = require("../sig/mod.cjs");
|
|
19
|
+
const utils = require("../utils/mod.cjs");
|
|
20
|
+
strictEqual(typeof fedify.createFederation, "function");
|
|
21
|
+
strictEqual(typeof federation.InProcessMessageQueue, "function");
|
|
22
|
+
strictEqual(typeof sig.signRequest, "function");
|
|
23
|
+
strictEqual(typeof utils.kvCache, "function");
|
|
24
|
+
strictEqual(globalThis.Temporal, originalTemporal);
|
|
25
|
+
});
|
|
13
26
|
//#endregion
|
|
14
27
|
export {};
|
package/dist/vocab/mod.cjs
CHANGED
package/dist/vocab/mod.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/fedify",
|
|
3
|
-
"version": "2.4.0-dev.
|
|
3
|
+
"version": "2.4.0-dev.1599+7b19967f",
|
|
4
4
|
"description": "An ActivityPub server framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ActivityPub",
|
|
@@ -136,7 +136,6 @@
|
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
138
|
"dependencies": {
|
|
139
|
-
"@js-temporal/polyfill": "^0.5.1",
|
|
140
139
|
"@logtape/logtape": "^2.2.0",
|
|
141
140
|
"@opentelemetry/api": "^1.9.1",
|
|
142
141
|
"@opentelemetry/core": "^2.7.1",
|
|
@@ -150,11 +149,12 @@
|
|
|
150
149
|
"json-canon": "^1.0.1",
|
|
151
150
|
"jsonld": "^9.0.0",
|
|
152
151
|
"structured-field-values": "^2.0.4",
|
|
152
|
+
"temporal-polyfill": "^1.0.1",
|
|
153
153
|
"urlpattern-polyfill": "^10.1.0",
|
|
154
|
-
"@fedify/
|
|
155
|
-
"@fedify/vocab": "2.4.0-dev.
|
|
156
|
-
"@fedify/
|
|
157
|
-
"@fedify/
|
|
154
|
+
"@fedify/vocab": "2.4.0-dev.1599+7b19967f",
|
|
155
|
+
"@fedify/vocab-runtime": "2.4.0-dev.1599+7b19967f",
|
|
156
|
+
"@fedify/uri-template": "2.4.0-dev.1599+7b19967f",
|
|
157
|
+
"@fedify/webfinger": "2.4.0-dev.1599+7b19967f"
|
|
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-dev.1599+7b19967f"
|
|
171
171
|
},
|
|
172
172
|
"scripts": {
|
|
173
173
|
"build:self": "tsdown",
|