@fedify/fedify 2.0.0-dev.241 → 2.0.0-dev.279
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-CR-ZQZJR.js → builder-B7WWCOdc.js} +3 -3
- 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-C7vzWilY.d.ts → context-BNNWbaZL.d.ts} +51 -8
- package/dist/{context-Bns6uTJq.js → context-CZ5llAss.js} +12 -12
- package/dist/{context-CrB9RFy5.d.cts → context-D7JEVvXJ.d.cts} +51 -8
- package/dist/{deno-DOeSTfhz.js → deno-fe0u4LiE.js} +8 -2
- package/dist/{docloader-C1AGOQQm.js → docloader-C9Dmxf-K.js} +2 -2
- package/dist/federation/builder.test.js +3 -3
- package/dist/federation/handler.test.js +12 -12
- package/dist/federation/idempotency.test.js +11 -11
- package/dist/federation/inbox.test.js +2 -2
- package/dist/federation/middleware.test.js +63 -11
- package/dist/federation/mod.cjs +5 -5
- package/dist/federation/mod.d.cts +2 -2
- package/dist/federation/mod.d.ts +2 -2
- package/dist/federation/mod.js +5 -5
- package/dist/federation/mq.test.js +162 -10
- package/dist/federation/send.test.js +5 -5
- package/dist/federation/webfinger.test.js +12 -12
- package/dist/{federation-B431K2gm.cjs → federation-CE0CJ_0G.cjs} +94 -10
- package/dist/{federation-BbZwNNWj.js → federation-D6FVaeAR.js} +94 -10
- package/dist/{http-i8VdY2df.js → http-7r8B3dF_.js} +8 -2
- package/dist/{http-C1LrW2D3.cjs → http-DMi5iyiI.cjs} +8 -2
- package/dist/{http-DGkEl4mw.js → http-oCBlFLKT.js} +2 -2
- package/dist/{inbox-Cp87HRVs.js → inbox-Dm1rfkdg.js} +1 -1
- package/dist/{key-3_vbTfr8.js → key-BGzsKfpZ.js} +1 -1
- package/dist/{kv-cache-DOgKf8lH.cjs → kv-cache-C0AvpI7U.cjs} +1 -1
- package/dist/{kv-cache-B4CFgxYq.js → kv-cache-CETRZwoP.js} +1 -1
- package/dist/{ld-BQxhMgOJ.js → ld-BaO1-A5Y.js} +2 -2
- package/dist/{middleware-C52jAnyA.js → middleware-BDJNulB_.js} +4 -4
- package/dist/{middleware-DbwwSEOr.js → middleware-BlOT9luD.js} +65 -22
- package/dist/{middleware-D4Eexdig.cjs → middleware-C0Vj7vNo.cjs} +59 -16
- package/dist/{middleware-DZ-OdkE6.js → middleware-CnGBoMop.js} +11 -11
- package/dist/middleware-DT3JkH-g.cjs +12 -0
- package/dist/{middleware-ixha9m0b.js → middleware-R0w-WauH.js} +59 -16
- package/dist/{mod-0qnPv4EC.d.cts → mod-054TSUXs.d.cts} +1 -1
- package/dist/{mod-C3SOvTD1.d.ts → mod-BhDb3RBS.d.ts} +1 -1
- package/dist/{mod-D6pS5_xJ.d.cts → mod-C74sRHP8.d.cts} +1 -1
- package/dist/{mod-waqu-BL_.d.ts → mod-YpmzboJc.d.ts} +1 -1
- package/dist/mod.cjs +5 -5
- package/dist/mod.d.cts +3 -3
- package/dist/mod.d.ts +3 -3
- package/dist/mod.js +5 -5
- package/dist/nodeinfo/handler.test.js +12 -12
- package/dist/{owner-Bod8mCab.js → owner-BqIhDQWW.js} +1 -1
- package/dist/{proof-vG4ePLF2.js → proof-Cg6AAAWI.js} +1 -1
- package/dist/{proof--60Adidu.js → proof-DoHt7qrS.js} +2 -2
- package/dist/{proof-C8MAHWxQ.cjs → proof-vSvvLbTh.cjs} +1 -1
- package/dist/{send-B3fWpYN9.js → send-CO2ZYT96.js} +2 -2
- 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 +23 -7
- package/dist/testing/mod.js +1 -1
- package/dist/utils/docloader.test.js +4 -4
- package/dist/utils/mod.cjs +2 -2
- package/dist/utils/mod.js +2 -2
- package/package.json +10 -8
- package/dist/middleware-XsmW-sAa.cjs +0 -12
package/dist/sig/http.test.js
CHANGED
|
@@ -7,9 +7,9 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
|
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../deno-
|
|
11
|
-
import { exportJwk } from "../key-
|
|
12
|
-
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-
|
|
10
|
+
import "../deno-fe0u4LiE.js";
|
|
11
|
+
import { exportJwk } from "../key-BGzsKfpZ.js";
|
|
12
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-oCBlFLKT.js";
|
|
13
13
|
import { assertExists, assertStringIncludes } from "../std__assert-DWivtrGR.js";
|
|
14
14
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
15
15
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
package/dist/sig/key.test.js
CHANGED
|
@@ -7,8 +7,8 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
|
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../deno-
|
|
11
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
|
10
|
+
import "../deno-fe0u4LiE.js";
|
|
11
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-BGzsKfpZ.js";
|
|
12
12
|
import "../std__assert-DWivtrGR.js";
|
|
13
13
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
14
14
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
package/dist/sig/ld.test.js
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
|
-
import "../deno-
|
|
10
|
-
import { generateCryptoKeyPair } from "../key-
|
|
11
|
-
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-
|
|
9
|
+
import "../deno-fe0u4LiE.js";
|
|
10
|
+
import { generateCryptoKeyPair } from "../key-BGzsKfpZ.js";
|
|
11
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-BaO1-A5Y.js";
|
|
12
12
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
13
13
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
|
14
14
|
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-ZbcByPg9.js";
|
package/dist/sig/mod.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
const require_http = require('../http-
|
|
6
|
-
const require_proof = require('../proof-
|
|
5
|
+
const require_http = require('../http-DMi5iyiI.cjs');
|
|
6
|
+
const require_proof = require('../proof-vSvvLbTh.cjs');
|
|
7
7
|
require('../sig-DeXX2xnj.cjs');
|
|
8
8
|
|
|
9
9
|
exports.attachSignature = require_proof.attachSignature;
|
package/dist/sig/mod.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-
|
|
6
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-
|
|
5
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-7r8B3dF_.js";
|
|
6
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-Cg6AAAWI.js";
|
|
7
7
|
import "../sig-CwuONEzF.js";
|
|
8
8
|
|
|
9
9
|
export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/sig/owner.test.js
CHANGED
|
@@ -7,9 +7,9 @@ import { createTestTracerProvider, mockDocumentLoader, test } from "../dist-B5f6
|
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../deno-
|
|
11
|
-
import "../key-
|
|
12
|
-
import { doesActorOwnKey, getKeyOwner } from "../owner-
|
|
10
|
+
import "../deno-fe0u4LiE.js";
|
|
11
|
+
import "../key-BGzsKfpZ.js";
|
|
12
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-BqIhDQWW.js";
|
|
13
13
|
import "../std__assert-DWivtrGR.js";
|
|
14
14
|
import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
|
|
15
15
|
import "../assert_throws-BNXdRGWP.js";
|
package/dist/sig/proof.test.js
CHANGED
|
@@ -7,9 +7,9 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
|
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../deno-
|
|
11
|
-
import "../key-
|
|
12
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof
|
|
10
|
+
import "../deno-fe0u4LiE.js";
|
|
11
|
+
import "../key-BGzsKfpZ.js";
|
|
12
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-DoHt7qrS.js";
|
|
13
13
|
import "../std__assert-DWivtrGR.js";
|
|
14
14
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
15
15
|
import "../assert_throws-BNXdRGWP.js";
|
package/dist/testing/mod.d.ts
CHANGED
|
@@ -524,6 +524,7 @@ interface FanoutMessage {
|
|
|
524
524
|
readonly activityId?: string;
|
|
525
525
|
readonly activityType: string;
|
|
526
526
|
readonly collectionSync?: string;
|
|
527
|
+
readonly orderingKey?: string;
|
|
527
528
|
readonly traceContext: Readonly<Record<string, string>>;
|
|
528
529
|
}
|
|
529
530
|
interface OutboxMessage {
|
|
@@ -539,6 +540,7 @@ interface OutboxMessage {
|
|
|
539
540
|
readonly started: string;
|
|
540
541
|
readonly attempt: number;
|
|
541
542
|
readonly headers: Readonly<Record<string, string>>;
|
|
543
|
+
readonly orderingKey?: string;
|
|
542
544
|
readonly traceContext: Readonly<Record<string, string>>;
|
|
543
545
|
}
|
|
544
546
|
interface InboxMessage {
|
|
@@ -823,7 +825,7 @@ interface Federatable<TContextData> {
|
|
|
823
825
|
* ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
|
|
824
826
|
* The path must have no variables.
|
|
825
827
|
* @returns An object to register inbox listeners.
|
|
826
|
-
* @throws {
|
|
828
|
+
* @throws {RouterError} Thrown if the path pattern is invalid.
|
|
827
829
|
*/
|
|
828
830
|
setInboxListeners(inboxPath: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, sharedInboxPath?: string): InboxListenerSetters<TContextData>;
|
|
829
831
|
/**
|
|
@@ -1369,7 +1371,7 @@ interface Context<TContextData> {
|
|
|
1369
1371
|
* @param cls The class of the object.
|
|
1370
1372
|
* @param values The values to pass to the object dispatcher.
|
|
1371
1373
|
* @returns The object's URI.
|
|
1372
|
-
* @throws {
|
|
1374
|
+
* @throws {RouterError} If no object dispatcher is available for the class.
|
|
1373
1375
|
* @throws {TypeError} If values are invalid.
|
|
1374
1376
|
* @since 0.7.0
|
|
1375
1377
|
*/
|
|
@@ -1601,7 +1603,7 @@ interface Context<TContextData> {
|
|
|
1601
1603
|
handle: string;
|
|
1602
1604
|
}, recipients: Recipient | Recipient[], activity: Activity, options?: SendActivityOptions): Promise<void>;
|
|
1603
1605
|
/**
|
|
1604
|
-
* Sends an activity to the
|
|
1606
|
+
* Sends an activity to the inboxes of the sender's followers.
|
|
1605
1607
|
* @param sender The sender's identifier or the sender's username.
|
|
1606
1608
|
* @param recipients In this case, it must be `"followers"`.
|
|
1607
1609
|
* @param activity The activity to send.
|
|
@@ -1642,7 +1644,7 @@ interface Context<TContextData> {
|
|
|
1642
1644
|
* @param name The name of the collection, which can be a string or a symbol.
|
|
1643
1645
|
* @param values The values of the URI parameters.
|
|
1644
1646
|
* @return The URI of the collection.
|
|
1645
|
-
* @throws {
|
|
1647
|
+
* @throws {RouterError} If no object dispatcher is available for the name.
|
|
1646
1648
|
* @throws {TypeError} If values are invalid.
|
|
1647
1649
|
* @since 1.8.0
|
|
1648
1650
|
*/
|
|
@@ -1921,7 +1923,7 @@ interface SendActivityOptions {
|
|
|
1921
1923
|
/**
|
|
1922
1924
|
* Whether to prefer the shared inbox for the recipients.
|
|
1923
1925
|
*/
|
|
1924
|
-
preferSharedInbox?: boolean;
|
|
1926
|
+
readonly preferSharedInbox?: boolean;
|
|
1925
1927
|
/**
|
|
1926
1928
|
* Whether to send the activity immediately, without enqueuing it.
|
|
1927
1929
|
* If `true`, the activity will be sent immediately and the retrial
|
|
@@ -1929,7 +1931,7 @@ interface SendActivityOptions {
|
|
|
1929
1931
|
*
|
|
1930
1932
|
* @since 0.3.0
|
|
1931
1933
|
*/
|
|
1932
|
-
immediate?: boolean;
|
|
1934
|
+
readonly immediate?: boolean;
|
|
1933
1935
|
/**
|
|
1934
1936
|
* Determines how activities are queued when sent to multiple recipients.
|
|
1935
1937
|
*
|
|
@@ -1946,7 +1948,7 @@ interface SendActivityOptions {
|
|
|
1946
1948
|
* @default `"auto"`
|
|
1947
1949
|
* @since 1.5.0
|
|
1948
1950
|
*/
|
|
1949
|
-
fanout?: "auto" | "skip" | "force";
|
|
1951
|
+
readonly fanout?: "auto" | "skip" | "force";
|
|
1950
1952
|
/**
|
|
1951
1953
|
* The base URIs to exclude from the recipients' inboxes. It is useful
|
|
1952
1954
|
* for excluding the recipients having the same shared inbox with the sender.
|
|
@@ -1956,6 +1958,20 @@ interface SendActivityOptions {
|
|
|
1956
1958
|
* @since 0.9.0
|
|
1957
1959
|
*/
|
|
1958
1960
|
readonly excludeBaseUris?: readonly URL[];
|
|
1961
|
+
/**
|
|
1962
|
+
* An optional key to ensure ordered delivery of activities. Activities with
|
|
1963
|
+
* the same `orderingKey` are guaranteed to be delivered in the order they
|
|
1964
|
+
* were enqueued, per recipient server.
|
|
1965
|
+
*
|
|
1966
|
+
* Typical use case: pass the object ID (e.g., `Note` ID) to ensure that
|
|
1967
|
+
* `Create`, `Update`, and `Delete` activities for the same object are
|
|
1968
|
+
* delivered in order.
|
|
1969
|
+
*
|
|
1970
|
+
* When omitted, no ordering is guaranteed (maximum parallelism).
|
|
1971
|
+
*
|
|
1972
|
+
* @since 2.0.0
|
|
1973
|
+
*/
|
|
1974
|
+
readonly orderingKey?: string;
|
|
1959
1975
|
}
|
|
1960
1976
|
/**
|
|
1961
1977
|
* Options for {@link Context.sendActivity} method when sending to a collection.
|
package/dist/testing/mod.js
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
import { testDefinitions } from "../dist-B5f6a8Tt.js";
|
|
7
7
|
import "../router-D9eI0s4b.js";
|
|
8
|
-
import { createInboxContext, createRequestContext } from "../context-
|
|
8
|
+
import { createInboxContext, createRequestContext } from "../context-CZ5llAss.js";
|
|
9
9
|
|
|
10
10
|
export { createInboxContext, createRequestContext, testDefinitions };
|
|
@@ -7,10 +7,10 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
|
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../deno-
|
|
11
|
-
import "../key-
|
|
12
|
-
import { verifyRequest } from "../http-
|
|
13
|
-
import { getAuthenticatedDocumentLoader } from "../docloader-
|
|
10
|
+
import "../deno-fe0u4LiE.js";
|
|
11
|
+
import "../key-BGzsKfpZ.js";
|
|
12
|
+
import { verifyRequest } from "../http-oCBlFLKT.js";
|
|
13
|
+
import { getAuthenticatedDocumentLoader } from "../docloader-C9Dmxf-K.js";
|
|
14
14
|
import "../std__assert-DWivtrGR.js";
|
|
15
15
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
16
16
|
import "../assert_throws-BNXdRGWP.js";
|
package/dist/utils/mod.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
require('../http-
|
|
6
|
-
const require_kv_cache = require('../kv-cache-
|
|
5
|
+
require('../http-DMi5iyiI.cjs');
|
|
6
|
+
const require_kv_cache = require('../kv-cache-C0AvpI7U.cjs');
|
|
7
7
|
require('../utils-Db0ZmjcD.cjs');
|
|
8
8
|
|
|
9
9
|
exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
|
package/dist/utils/mod.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "../http-
|
|
6
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-
|
|
5
|
+
import "../http-7r8B3dF_.js";
|
|
6
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-CETRZwoP.js";
|
|
7
7
|
import "../utils-Wranxuoe.js";
|
|
8
8
|
|
|
9
9
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/fedify",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.279+ce1bdc22",
|
|
4
4
|
"description": "An ActivityPub server framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ActivityPub",
|
|
@@ -125,9 +125,9 @@
|
|
|
125
125
|
"uri-template-router": "^1.0.0",
|
|
126
126
|
"url-template": "^3.1.1",
|
|
127
127
|
"urlpattern-polyfill": "^10.1.0",
|
|
128
|
-
"@fedify/vocab": "2.0.0-dev.
|
|
129
|
-
"@fedify/vocab
|
|
130
|
-
"@fedify/webfinger": "2.0.0-dev.
|
|
128
|
+
"@fedify/vocab-runtime": "2.0.0-dev.279+ce1bdc22",
|
|
129
|
+
"@fedify/vocab": "2.0.0-dev.279+ce1bdc22",
|
|
130
|
+
"@fedify/webfinger": "2.0.0-dev.279+ce1bdc22"
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
133
|
"@std/assert": "npm:@jsr/std__assert@^0.226.0",
|
|
@@ -139,15 +139,17 @@
|
|
|
139
139
|
"tsx": "^4.19.4",
|
|
140
140
|
"typescript": "^5.9.3",
|
|
141
141
|
"wrangler": "^4.17.0",
|
|
142
|
-
"@fedify/
|
|
143
|
-
"@fedify/
|
|
142
|
+
"@fedify/fixture": "2.0.0",
|
|
143
|
+
"@fedify/vocab-tools": "^2.0.0-dev.279+ce1bdc22"
|
|
144
144
|
},
|
|
145
145
|
"scripts": {
|
|
146
146
|
"build:self": "tsdown",
|
|
147
147
|
"build": "pnpm --filter @fedify/fedify... run build:self",
|
|
148
148
|
"prepublish": "pnpm build",
|
|
149
|
-
"
|
|
150
|
-
"test
|
|
149
|
+
"pretest": "pnpm build",
|
|
150
|
+
"test": "cd dist/ && node --test",
|
|
151
|
+
"pretest:bun": "pnpm build",
|
|
152
|
+
"test:bun": "cd dist/ && bun test --timeout 60000",
|
|
151
153
|
"test:cfworkers": "deno task codegen && wrangler deploy --dry-run --outdir src/cfworkers && node --import=tsx src/cfworkers/client.ts"
|
|
152
154
|
}
|
|
153
155
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
|
-
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
|
-
|
|
5
|
-
require('./transformers-BjBg6Lag.cjs');
|
|
6
|
-
require('./http-C1LrW2D3.cjs');
|
|
7
|
-
const require_middleware = require('./middleware-D4Eexdig.cjs');
|
|
8
|
-
require('./proof-C8MAHWxQ.cjs');
|
|
9
|
-
require('./types-B6z6CqIz.cjs');
|
|
10
|
-
require('./kv-cache-DOgKf8lH.cjs');
|
|
11
|
-
|
|
12
|
-
exports.FederationImpl = require_middleware.FederationImpl;
|