@fedify/fedify 2.0.0-pr.559.5 → 2.0.0
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-BJ8JxPW5.js → builder-DIwRDV19.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-CQvbJJs6.js → deno-CJgVX6Dr.js} +1 -4
- package/dist/{docloader-C7haPFrm.js → docloader-BMecQIi-.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-D75q_hW-.js → http-CMTBVAxQ.js} +2 -2
- package/dist/{http-D3jnynqJ.cjs → http-CowIBMKY.cjs} +1 -4
- package/dist/{http-BO0w34cM.js → http-DoLgvgZ3.js} +1 -4
- package/dist/{inbox-DHboTK3x.js → inbox-BrQMunLn.js} +1 -1
- package/dist/{key-DzOIwgIi.js → key-BQD4Ef_6.js} +1 -1
- package/dist/{kv-cache-Chn8IE8p.cjs → kv-cache-174yQHE6.cjs} +1 -3
- package/dist/{kv-cache-JQOZpm43.js → kv-cache-CFlvozMZ.js} +2 -4
- package/dist/{ld-BDvJI1Ch.js → ld-DNdCEe6l.js} +2 -2
- package/dist/{middleware-CqxuI8xD.js → middleware-BN-t5M_R.js} +157 -210
- package/dist/middleware-BYNnNj-3.cjs +12 -0
- package/dist/{middleware-C1SMUD_l.js → middleware-D5JdOwAE.js} +193 -260
- package/dist/{middleware-HBYhBAM1.js → middleware-UqzNuf3o.js} +11 -11
- package/dist/{middleware-DATx715C.cjs → middleware-aQr0yVne.cjs} +193 -260
- package/dist/{middleware-BDPlUI8Z.js → middleware-dO1Uzsiv.js} +4 -4
- 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-DSRxYIP4.js → owner-DbymvgVI.js} +1 -1
- package/dist/{proof-C_XZU5IE.js → proof-C85CNL5a.js} +1 -1
- package/dist/{proof-CWEkXV08.cjs → proof-DQFAjOse.cjs} +1 -1
- package/dist/{proof-9WkFZv2S.js → proof-DVBdddim.js} +2 -2
- package/dist/{send-qOq9Dgkb.js → send-CkvEc-Tx.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-C3SOA_O_.cjs +0 -12
package/dist/testing/mod.d.ts
CHANGED
|
@@ -270,7 +270,10 @@ declare class SendActivityError extends Error {
|
|
|
270
270
|
*/
|
|
271
271
|
readonly statusCode: number;
|
|
272
272
|
/**
|
|
273
|
-
* The response body from the inbox, if any.
|
|
273
|
+
* The response body from the inbox, if any. Note that this may be
|
|
274
|
+
* truncated to a maximum of 1 KiB to prevent excessive memory consumption
|
|
275
|
+
* when remote servers return large error pages (e.g., Cloudflare error pages).
|
|
276
|
+
* If truncated, the string will end with `"… (truncated)"`.
|
|
274
277
|
*/
|
|
275
278
|
readonly responseBody: string;
|
|
276
279
|
/**
|
|
@@ -426,14 +429,10 @@ type SharedInboxKeyDispatcher<TContextData> = (context: Context<TContextData>) =
|
|
|
426
429
|
identifier: string;
|
|
427
430
|
} | {
|
|
428
431
|
username: string;
|
|
429
|
-
} | {
|
|
430
|
-
handle: string;
|
|
431
432
|
} | null | Promise<SenderKeyPair | {
|
|
432
433
|
identifier: string;
|
|
433
434
|
} | {
|
|
434
435
|
username: string;
|
|
435
|
-
} | {
|
|
436
|
-
handle: string;
|
|
437
436
|
} | null>;
|
|
438
437
|
/**
|
|
439
438
|
* A callback that handles errors during outbox processing.
|
|
@@ -681,7 +680,7 @@ interface Federatable<TContextData> {
|
|
|
681
680
|
* @returns An object with methods to set other actor dispatcher callbacks.
|
|
682
681
|
* @throws {RouterError} Thrown if the path pattern is invalid.
|
|
683
682
|
*/
|
|
684
|
-
setActorDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
683
|
+
setActorDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: ActorDispatcher<TContextData>): ActorCallbackSetters<TContextData>;
|
|
685
684
|
/**
|
|
686
685
|
* Registers an object dispatcher.
|
|
687
686
|
*
|
|
@@ -777,7 +776,7 @@ interface Federatable<TContextData> {
|
|
|
777
776
|
* @param dispatcher An inbox dispatcher callback to register.
|
|
778
777
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
|
779
778
|
*/
|
|
780
|
-
setInboxDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
779
|
+
setInboxDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Activity, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
|
781
780
|
/**
|
|
782
781
|
* Registers an outbox dispatcher.
|
|
783
782
|
*
|
|
@@ -801,7 +800,7 @@ interface Federatable<TContextData> {
|
|
|
801
800
|
* @param dispatcher An outbox dispatcher callback to register.
|
|
802
801
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
|
803
802
|
*/
|
|
804
|
-
setOutboxDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
803
|
+
setOutboxDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Activity, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
|
805
804
|
/**
|
|
806
805
|
* Registers a following collection dispatcher.
|
|
807
806
|
* @param path The URI path pattern for the following collection. The syntax
|
|
@@ -813,7 +812,7 @@ interface Federatable<TContextData> {
|
|
|
813
812
|
* callbacks.
|
|
814
813
|
* @throws {RouterError} Thrown if the path pattern is invalid.
|
|
815
814
|
*/
|
|
816
|
-
setFollowingDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
815
|
+
setFollowingDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Actor | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
|
817
816
|
/**
|
|
818
817
|
* Registers a followers collection dispatcher.
|
|
819
818
|
* @param path The URI path pattern for the followers collection. The syntax
|
|
@@ -825,7 +824,7 @@ interface Federatable<TContextData> {
|
|
|
825
824
|
* callbacks.
|
|
826
825
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
|
827
826
|
*/
|
|
828
|
-
setFollowersDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
827
|
+
setFollowersDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Recipient, Context<TContextData>, TContextData, URL>): CollectionCallbackSetters<Context<TContextData>, TContextData, URL>;
|
|
829
828
|
/**
|
|
830
829
|
* Registers a liked collection dispatcher.
|
|
831
830
|
* @param path The URI path pattern for the liked collection. The syntax
|
|
@@ -837,7 +836,7 @@ interface Federatable<TContextData> {
|
|
|
837
836
|
* callbacks.
|
|
838
837
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
|
839
838
|
*/
|
|
840
|
-
setLikedDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
839
|
+
setLikedDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Object$1 | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
|
841
840
|
/**
|
|
842
841
|
* Registers a featured collection dispatcher.
|
|
843
842
|
* @param path The URI path pattern for the featured collection. The syntax
|
|
@@ -849,7 +848,7 @@ interface Federatable<TContextData> {
|
|
|
849
848
|
* callbacks.
|
|
850
849
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
|
851
850
|
*/
|
|
852
|
-
setFeaturedDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
851
|
+
setFeaturedDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Object$1, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
|
853
852
|
/**
|
|
854
853
|
* Registers a featured tags collection dispatcher.
|
|
855
854
|
* @param path The URI path pattern for the featured tags collection.
|
|
@@ -861,7 +860,7 @@ interface Federatable<TContextData> {
|
|
|
861
860
|
* callbacks.
|
|
862
861
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
|
863
862
|
*/
|
|
864
|
-
setFeaturedTagsDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
863
|
+
setFeaturedTagsDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Hashtag, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
|
865
864
|
/**
|
|
866
865
|
* Assigns the URL path for the inbox and starts setting inbox listeners.
|
|
867
866
|
*
|
|
@@ -891,7 +890,7 @@ interface Federatable<TContextData> {
|
|
|
891
890
|
* @returns An object to register inbox listeners.
|
|
892
891
|
* @throws {RouterError} Thrown if the path pattern is invalid.
|
|
893
892
|
*/
|
|
894
|
-
setInboxListeners(inboxPath: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
893
|
+
setInboxListeners(inboxPath: `${string}${Rfc6570Expression<"identifier">}${string}`, sharedInboxPath?: string): InboxListenerSetters<TContextData>;
|
|
895
894
|
/**
|
|
896
895
|
* Registers a collection of objects dispatcher.
|
|
897
896
|
*
|
|
@@ -1547,8 +1546,6 @@ interface Context<TContextData> {
|
|
|
1547
1546
|
identifier: string;
|
|
1548
1547
|
} | {
|
|
1549
1548
|
username: string;
|
|
1550
|
-
} | {
|
|
1551
|
-
handle: string;
|
|
1552
1549
|
}): Promise<DocumentLoader>;
|
|
1553
1550
|
/**
|
|
1554
1551
|
* Gets an authenticated {@link DocumentLoader} for the given identity.
|
|
@@ -1679,8 +1676,6 @@ interface Context<TContextData> {
|
|
|
1679
1676
|
identifier: string;
|
|
1680
1677
|
} | {
|
|
1681
1678
|
username: string;
|
|
1682
|
-
} | {
|
|
1683
|
-
handle: string;
|
|
1684
1679
|
}, recipients: Recipient | Recipient[], activity: Activity, options?: SendActivityOptions): Promise<void>;
|
|
1685
1680
|
/**
|
|
1686
1681
|
* Sends an activity to the inboxes of the sender's followers.
|
|
@@ -1695,8 +1690,6 @@ interface Context<TContextData> {
|
|
|
1695
1690
|
identifier: string;
|
|
1696
1691
|
} | {
|
|
1697
1692
|
username: string;
|
|
1698
|
-
} | {
|
|
1699
|
-
handle: string;
|
|
1700
1693
|
}, recipients: "followers", activity: Activity, options?: SendActivityOptionsForCollection): Promise<void>;
|
|
1701
1694
|
/**
|
|
1702
1695
|
* Manually routes an activity to the appropriate inbox listener.
|
|
@@ -1874,8 +1867,6 @@ interface InboxContext<TContextData> extends Context<TContextData> {
|
|
|
1874
1867
|
identifier: string;
|
|
1875
1868
|
} | {
|
|
1876
1869
|
username: string;
|
|
1877
|
-
} | {
|
|
1878
|
-
handle: string;
|
|
1879
1870
|
}, recipients: Recipient | Recipient[], options?: ForwardActivityOptions): Promise<void>;
|
|
1880
1871
|
/**
|
|
1881
1872
|
* Forwards a received activity to the recipients' inboxes. The forwarded
|
|
@@ -1893,8 +1884,6 @@ interface InboxContext<TContextData> extends Context<TContextData> {
|
|
|
1893
1884
|
identifier: string;
|
|
1894
1885
|
} | {
|
|
1895
1886
|
username: string;
|
|
1896
|
-
} | {
|
|
1897
|
-
handle: string;
|
|
1898
1887
|
}, recipients: "followers", options?: ForwardActivityOptions): Promise<void>;
|
|
1899
1888
|
}
|
|
1900
1889
|
/**
|
|
@@ -1907,7 +1896,6 @@ type ParseUriResult =
|
|
|
1907
1896
|
{
|
|
1908
1897
|
readonly type: "actor";
|
|
1909
1898
|
readonly identifier: string;
|
|
1910
|
-
readonly handle: string;
|
|
1911
1899
|
}
|
|
1912
1900
|
/**
|
|
1913
1901
|
* The case of an object URI.
|
|
@@ -1922,35 +1910,30 @@ type ParseUriResult =
|
|
|
1922
1910
|
*/ | {
|
|
1923
1911
|
readonly type: "inbox";
|
|
1924
1912
|
readonly identifier: undefined;
|
|
1925
|
-
readonly handle: undefined;
|
|
1926
1913
|
}
|
|
1927
1914
|
/**
|
|
1928
1915
|
* The case of an personal inbox URI.
|
|
1929
1916
|
*/ | {
|
|
1930
1917
|
readonly type: "inbox";
|
|
1931
1918
|
readonly identifier: string;
|
|
1932
|
-
readonly handle: string;
|
|
1933
1919
|
}
|
|
1934
1920
|
/**
|
|
1935
1921
|
* The case of an outbox collection URI.
|
|
1936
1922
|
*/ | {
|
|
1937
1923
|
readonly type: "outbox";
|
|
1938
1924
|
readonly identifier: string;
|
|
1939
|
-
readonly handle: string;
|
|
1940
1925
|
}
|
|
1941
1926
|
/**
|
|
1942
1927
|
* The case of a following collection URI.
|
|
1943
1928
|
*/ | {
|
|
1944
1929
|
readonly type: "following";
|
|
1945
1930
|
readonly identifier: string;
|
|
1946
|
-
readonly handle: string;
|
|
1947
1931
|
}
|
|
1948
1932
|
/**
|
|
1949
1933
|
* The case of a followers collection URI.
|
|
1950
1934
|
*/ | {
|
|
1951
1935
|
readonly type: "followers";
|
|
1952
1936
|
readonly identifier: string;
|
|
1953
|
-
readonly handle: string;
|
|
1954
1937
|
}
|
|
1955
1938
|
/**
|
|
1956
1939
|
* The case of a liked collection URI.
|
|
@@ -1958,7 +1941,6 @@ type ParseUriResult =
|
|
|
1958
1941
|
*/ | {
|
|
1959
1942
|
readonly type: "liked";
|
|
1960
1943
|
readonly identifier: string;
|
|
1961
|
-
readonly handle: string;
|
|
1962
1944
|
}
|
|
1963
1945
|
/**
|
|
1964
1946
|
* The case of a featured collection URI.
|
|
@@ -1966,7 +1948,6 @@ type ParseUriResult =
|
|
|
1966
1948
|
*/ | {
|
|
1967
1949
|
readonly type: "featured";
|
|
1968
1950
|
readonly identifier: string;
|
|
1969
|
-
readonly handle: string;
|
|
1970
1951
|
}
|
|
1971
1952
|
/**
|
|
1972
1953
|
* The case of a featured tags collection URI.
|
|
@@ -1974,7 +1955,6 @@ type ParseUriResult =
|
|
|
1974
1955
|
*/ | {
|
|
1975
1956
|
readonly type: "featuredTags";
|
|
1976
1957
|
readonly identifier: string;
|
|
1977
|
-
readonly handle: string;
|
|
1978
1958
|
}
|
|
1979
1959
|
/**
|
|
1980
1960
|
* The case of a custom collection URI.
|
|
@@ -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-CJgVX6Dr.js";
|
|
11
|
+
import "../key-BQD4Ef_6.js";
|
|
12
|
+
import { verifyRequest } from "../http-CMTBVAxQ.js";
|
|
13
|
+
import { getAuthenticatedDocumentLoader } from "../docloader-BMecQIi-.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-CowIBMKY.cjs');
|
|
6
|
+
const require_kv_cache = require('../kv-cache-174yQHE6.cjs');
|
|
7
7
|
require('../utils-BQ9KqEK9.cjs');
|
|
8
8
|
|
|
9
9
|
exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
|
package/dist/utils/mod.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../http-CCEu-x1_.cjs";
|
|
2
2
|
import "../kv-g9jFc34-.cjs";
|
|
3
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-
|
|
3
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-ErTjUJs9.cjs";
|
|
4
4
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/utils/mod.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import { Temporal } from "@js-temporal/polyfill";
|
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import "../http-CODSJcKx.js";
|
|
4
4
|
import "../kv-jg_8SMc1.js";
|
|
5
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-
|
|
5
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-CevNbUol.js";
|
|
6
6
|
export { getAuthenticatedDocumentLoader, kvCache };
|
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-DoLgvgZ3.js";
|
|
6
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-CFlvozMZ.js";
|
|
7
7
|
import "../utils-Dn5OPdSW.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
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "An ActivityPub server framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ActivityPub",
|
|
@@ -133,9 +133,9 @@
|
|
|
133
133
|
"@js-temporal/polyfill": "^0.5.1",
|
|
134
134
|
"@logtape/logtape": "^2.0.0",
|
|
135
135
|
"@opentelemetry/api": "^1.9.0",
|
|
136
|
-
"@opentelemetry/core": "^2.
|
|
137
|
-
"@opentelemetry/sdk-trace-base": "^2.
|
|
138
|
-
"@opentelemetry/semantic-conventions": "^1.
|
|
136
|
+
"@opentelemetry/core": "^2.5.0",
|
|
137
|
+
"@opentelemetry/sdk-trace-base": "^2.5.0",
|
|
138
|
+
"@opentelemetry/semantic-conventions": "^1.39.0",
|
|
139
139
|
"byte-encodings": "^1.0.11",
|
|
140
140
|
"es-toolkit": "1.43.0",
|
|
141
141
|
"json-canon": "^1.0.1",
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
"uri-template-router": "^1.0.0",
|
|
146
146
|
"url-template": "^3.1.1",
|
|
147
147
|
"urlpattern-polyfill": "^10.1.0",
|
|
148
|
-
"@fedify/vocab": "2.0.0
|
|
149
|
-
"@fedify/vocab-runtime": "2.0.0
|
|
150
|
-
"@fedify/webfinger": "2.0.0
|
|
148
|
+
"@fedify/vocab": "2.0.0",
|
|
149
|
+
"@fedify/vocab-runtime": "2.0.0",
|
|
150
|
+
"@fedify/webfinger": "2.0.0"
|
|
151
151
|
},
|
|
152
152
|
"devDependencies": {
|
|
153
153
|
"@std/assert": "npm:@jsr/std__assert@^0.226.0",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"typescript": "^5.9.3",
|
|
161
161
|
"wrangler": "^4.17.0",
|
|
162
162
|
"@fedify/fixture": "2.0.0",
|
|
163
|
-
"@fedify/vocab-tools": "^2.0.0
|
|
163
|
+
"@fedify/vocab-tools": "^2.0.0"
|
|
164
164
|
},
|
|
165
165
|
"scripts": {
|
|
166
166
|
"build:self": "tsdown",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
|
-
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
|
-
|
|
5
|
-
require('./transformers-3g8GZwkZ.cjs');
|
|
6
|
-
require('./http-D3jnynqJ.cjs');
|
|
7
|
-
const require_middleware = require('./middleware-DATx715C.cjs');
|
|
8
|
-
require('./proof-CWEkXV08.cjs');
|
|
9
|
-
require('./types-Cd_hszr_.cjs');
|
|
10
|
-
require('./kv-cache-Chn8IE8p.cjs');
|
|
11
|
-
|
|
12
|
-
exports.FederationImpl = require_middleware.FederationImpl;
|