@fedify/fedify 1.8.1-pr.341.1240 → 1.8.1-pr.341.1243

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.
Files changed (107) hide show
  1. package/dist/{actor-CIxmVqr2.js → actor-BEwE1xkS.js} +179 -179
  2. package/dist/{actor-Gbs6z3x8.js → actor-BOpSPzSZ.js} +1 -1
  3. package/dist/{actor-B4TBtqRP.d.ts → actor-CWNAGvnO.d.ts} +2 -2
  4. package/dist/{authdocloader-DuKdZqtX.js → authdocloader-CjBl4Ufk.js} +3 -3
  5. package/dist/{authdocloader-CVDjFUMd.js → authdocloader-QzLzRgOE.js} +3 -3
  6. package/dist/{builder-oSu55JW1.js → builder-DH6MUSoP.js} +5 -5
  7. package/dist/{client-BQ4AQGKo.d.ts → client-B0IOer6B.d.ts} +1 -1
  8. package/dist/{client-B_vt-rAz.js → client-B2RqTSh-.js} +1 -1
  9. package/dist/compat/mod.d.ts +11 -11
  10. package/dist/compat/mod.js +1 -1
  11. package/dist/compat/transformers.test.js +16 -16
  12. package/dist/{context-Csbv_Ssv.d.ts → context-BNA3vzcr.d.ts} +82 -82
  13. package/dist/{docloader-DO_sG_oo.js → docloader-CIlLEfh0.js} +1 -1
  14. package/dist/{docloader-BeCtcTOJ.d.ts → docloader-CLolPVL_.d.ts} +1 -1
  15. package/dist/{esm-EJA-zBLn.js → esm-CcY7R-5z.js} +1 -1
  16. package/dist/federation/builder.test.js +5 -5
  17. package/dist/federation/collection.test.js +3 -3
  18. package/dist/federation/handler.test.js +17 -17
  19. package/dist/federation/inbox.test.js +4 -4
  20. package/dist/federation/keycache.test.js +4 -4
  21. package/dist/federation/kv.test.js +3 -3
  22. package/dist/federation/middleware.test.js +18 -18
  23. package/dist/federation/mod.d.ts +10 -10
  24. package/dist/federation/mod.js +11 -11
  25. package/dist/federation/mq.test.js +3 -3
  26. package/dist/federation/retry.test.js +3 -3
  27. package/dist/federation/router.test.js +3 -3
  28. package/dist/federation/send.test.js +10 -10
  29. package/dist/{http-BHqTpY5H.js → http-BIVpouAl.js} +2 -2
  30. package/dist/{http-BL6S1G0j.d.ts → http-COez3YdK.d.ts} +3 -3
  31. package/dist/{http-D-k6lhV5.js → http-DtCW8AKK.js} +3 -3
  32. package/dist/{inbox-Cjjqwe6i.js → inbox-BFSA4sEI.js} +1 -1
  33. package/dist/{key-PC9tyZxc.js → key-A0cU31dk.js} +3 -3
  34. package/dist/{key-Blk0MMI4.js → key-DCbzFxlI.js} +3 -3
  35. package/dist/{key-D2criTnt.js → key-DPqaHTeu.js} +4 -4
  36. package/dist/{key-B1v8d98d.js → key-qgnl74Yn.js} +3 -3
  37. package/dist/{keycache-DbJZxKDP.js → keycache-TbjHlTFb.js} +1 -1
  38. package/dist/{keys-1ouVc1GJ.js → keys-C-enQWj-.js} +1 -1
  39. package/dist/{kv-DDdb1hMa.d.ts → kv-BqOK6zss.d.ts} +1 -1
  40. package/dist/{ld-A2LK_cWs.js → ld-De9oNKxb.js} +2 -2
  41. package/dist/{lookup-BH0rqluy.js → lookup-4JPaW7A3.js} +1 -1
  42. package/dist/{lookup-DRjoFQmr.js → lookup-CUyEjQoU.js} +1 -1
  43. package/dist/{lookup-J_m4YZg0.d.ts → lookup-tSXYzgYs.d.ts} +1 -1
  44. package/dist/{middleware-BeMhyJPL.js → middleware-B_nc2hY6.js} +39 -39
  45. package/dist/middleware-D0ISRvs9.js +17 -0
  46. package/dist/middleware-DxpBNpzC.js +26 -0
  47. package/dist/{middleware-jzh8IuK6.js → middleware-M-O0DhV3.js} +43 -43
  48. package/dist/{mod-j0OCtlRW.d.ts → mod-Bf-mThHd.d.ts} +4 -4
  49. package/dist/{mod-BFwgZ7_K.d.ts → mod-C2jQirfr.d.ts} +2 -2
  50. package/dist/{mod-Dc_fDCtK.d.ts → mod-CxD6XXBN.d.ts} +5 -5
  51. package/dist/{mod-D8-liXFY.d.ts → mod-UTC30uNC.d.ts} +2 -2
  52. package/dist/mod.d.ts +13 -13
  53. package/dist/mod.js +11 -11
  54. package/dist/nodeinfo/client.test.js +5 -5
  55. package/dist/nodeinfo/handler.test.js +16 -16
  56. package/dist/nodeinfo/mod.d.ts +3 -3
  57. package/dist/nodeinfo/mod.js +2 -2
  58. package/dist/nodeinfo/semver.test.js +3 -3
  59. package/dist/nodeinfo/types.test.js +3 -3
  60. package/dist/{owner-CEv_PfyK.d.ts → owner-BlxMNrL4.d.ts} +3 -3
  61. package/dist/{owner-C3_VNt2J.js → owner-DDWwhc1V.js} +2 -2
  62. package/dist/{proof-50yDuYwv.js → proof-BDEygHWL.js} +3 -3
  63. package/dist/{proof-CxtxlCj1.js → proof-CI4Z1HtP.js} +4 -4
  64. package/dist/runtime/authdocloader.test.js +9 -9
  65. package/dist/runtime/docloader.test.js +4 -4
  66. package/dist/runtime/key.test.js +5 -5
  67. package/dist/runtime/langstr.test.js +3 -3
  68. package/dist/runtime/mod.d.ts +5 -5
  69. package/dist/runtime/mod.js +6 -6
  70. package/dist/runtime/multibase/multibase.test.js +3 -3
  71. package/dist/runtime/url.test.js +3 -3
  72. package/dist/{send-SqWlV99p.js → send-CY38tmAA.js} +2 -2
  73. package/dist/sig/http.test.js +8 -8
  74. package/dist/sig/key.test.js +6 -6
  75. package/dist/sig/ld.test.js +7 -7
  76. package/dist/sig/mod.d.ts +7 -7
  77. package/dist/sig/mod.js +6 -6
  78. package/dist/sig/owner.test.js +7 -7
  79. package/dist/sig/proof.test.js +7 -7
  80. package/dist/testing/docloader.test.js +3 -3
  81. package/dist/testing/mod.d.ts +71 -71
  82. package/dist/testing/mod.js +3 -3
  83. package/dist/{testing-B7bLlKZQ.js → testing-_24i9CAh.js} +2 -2
  84. package/dist/{transformers-ghwJuzGY.js → transformers-DJRB0yFF.js} +3 -3
  85. package/dist/{type-DQ8e7lsS.js → type-UlD3uIBC.js} +178 -178
  86. package/dist/{types-BveqhITK.js → types-DEDxkISl.js} +1 -1
  87. package/dist/vocab/actor.test.js +5 -5
  88. package/dist/vocab/lookup.test.js +4 -4
  89. package/dist/vocab/mod.d.ts +5 -5
  90. package/dist/vocab/mod.js +4 -4
  91. package/dist/vocab/type.test.js +3 -3
  92. package/dist/vocab/vocab.test.js +4 -4
  93. package/dist/{vocab-D9mJVJGV.js → vocab-B2F9_HWH.js} +3 -3
  94. package/dist/{vocab-By6mpzr-.d.ts → vocab-Cyrb7_co.d.ts} +1 -1
  95. package/dist/webfinger/handler.test.js +16 -16
  96. package/dist/webfinger/lookup.test.js +4 -4
  97. package/dist/webfinger/mod.d.ts +3 -3
  98. package/dist/webfinger/mod.js +2 -2
  99. package/dist/x/cfworkers.d.ts +1 -1
  100. package/dist/x/cfworkers.test.js +3 -3
  101. package/dist/x/hono.d.ts +14 -14
  102. package/dist/x/hono.js +2 -2
  103. package/dist/x/sveltekit.d.ts +11 -11
  104. package/dist/x/sveltekit.js +1 -1
  105. package/package.json +1 -1
  106. package/dist/middleware-4EJoli9l.js +0 -26
  107. package/dist/middleware-CymDhMln.js +0 -17
@@ -6872,13 +6872,13 @@ interface SenderKeyPair {
6872
6872
  /**
6873
6873
  * A callback that dispatches a {@link NodeInfo} object.
6874
6874
  *
6875
- * @typeParam TContextData The context data to pass to the {@link Context}.
6875
+ * @template TContextData The context data to pass to the {@link Context}.
6876
6876
  */
6877
6877
  type NodeInfoDispatcher<TContextData> = (context: RequestContext<TContextData>) => NodeInfo | Promise<NodeInfo>;
6878
6878
  /**
6879
6879
  * A callback that dispatches an {@link Actor} object.
6880
6880
  *
6881
- * @typeParam TContextData The context data to pass to the {@link Context}.
6881
+ * @template TContextData The context data to pass to the {@link Context}.
6882
6882
  * @param context The request context.
6883
6883
  * @param identifier The actor's internal identifier or username.
6884
6884
  */
@@ -6886,7 +6886,7 @@ type ActorDispatcher<TContextData> = (context: RequestContext<TContextData>, ide
6886
6886
  /**
6887
6887
  * A callback that dispatches key pairs for an actor.
6888
6888
  *
6889
- * @typeParam TContextData The context data to pass to the {@link Context}.
6889
+ * @template TContextData The context data to pass to the {@link Context}.
6890
6890
  * @param context The context.
6891
6891
  * @param identifier The actor's internal identifier or username.
6892
6892
  * @returns The key pairs.
@@ -6896,7 +6896,7 @@ type ActorKeyPairsDispatcher<TContextData> = (context: Context<TContextData>, id
6896
6896
  /**
6897
6897
  * A callback that maps a WebFinger username to the corresponding actor's
6898
6898
  * internal identifier, or `null` if the username is not found.
6899
- * @typeParam TContextData The context data to pass to the {@link Context}.
6899
+ * @template TContextData The context data to pass to the {@link Context}.
6900
6900
  * @param context The context.
6901
6901
  * @param username The WebFinger username.
6902
6902
  * @returns The actor's internal identifier, or `null` if the username is not
@@ -6907,7 +6907,7 @@ type ActorHandleMapper<TContextData> = (context: Context<TContextData>, username
6907
6907
  /**
6908
6908
  * A callback that maps a WebFinger query to the corresponding actor's
6909
6909
  * internal identifier or username, or `null` if the query is not found.
6910
- * @typeParam TContextData The context data to pass to the {@link Context}.
6910
+ * @template TContextData The context data to pass to the {@link Context}.
6911
6911
  * @param context The request context.
6912
6912
  * @param resource The URL that was queried through WebFinger.
6913
6913
  * @returns The actor's internal identifier or username, or `null` if the query
@@ -6926,20 +6926,20 @@ type ActorAliasMapper<TContextData> = (context: RequestContext<TContextData>, re
6926
6926
  /**
6927
6927
  * A callback that dispatches an object.
6928
6928
  *
6929
- * @typeParam TContextData The context data to pass to the {@link Context}.
6930
- * @typeParam TObject The type of object to dispatch.
6931
- * @typeParam TParam The parameter names of the requested URL.
6929
+ * @template TContextData The context data to pass to the {@link Context}.
6930
+ * @template TObject The type of object to dispatch.
6931
+ * @template TParam The parameter names of the requested URL.
6932
6932
  * @since 0.7.0
6933
6933
  */
6934
6934
  type ObjectDispatcher<TContextData, TObject extends Object$1, TParam extends string> = (context: RequestContext<TContextData>, values: Record<TParam, string>) => TObject | null | Promise<TObject | null>;
6935
6935
  /**
6936
6936
  * A callback that dispatches a collection.
6937
6937
  *
6938
- * @typeParam TItem The type of items in the collection.
6939
- * @typeParam TContext The type of the context. {@link Context} or
6938
+ * @template TItem The type of items in the collection.
6939
+ * @template TContext The type of the context. {@link Context} or
6940
6940
  * {@link RequestContext}.
6941
- * @typeParam TContextData The context data to pass to the `TContext`.
6942
- * @typeParam TFilter The type of the filter, if any.
6941
+ * @template TContextData The context data to pass to the `TContext`.
6942
+ * @template TFilter The type of the filter, if any.
6943
6943
  * @param context The context.
6944
6944
  * @param identifier The internal identifier or the username of the collection
6945
6945
  * owner.
@@ -6951,7 +6951,7 @@ type CollectionDispatcher<TItem, TContext extends Context<TContextData>, TContex
6951
6951
  /**
6952
6952
  * A callback that counts the number of items in a collection.
6953
6953
  *
6954
- * @typeParam TContextData The context data to pass to the {@link Context}.
6954
+ * @template TContextData The context data to pass to the {@link Context}.
6955
6955
  * @param context The context.
6956
6956
  * @param identifier The internal identifier or the username of the collection
6957
6957
  * owner.
@@ -6961,10 +6961,10 @@ type CollectionCounter<TContextData, TFilter> = (context: RequestContext<TContex
6961
6961
  /**
6962
6962
  * A callback that returns a cursor for a collection.
6963
6963
  *
6964
- * @typeParam TContext The type of the context. {@link Context} or
6964
+ * @template TContext The type of the context. {@link Context} or
6965
6965
  * {@link RequestContext}.
6966
- * @typeParam TContextData The context data to pass to the {@link Context}.
6967
- * @typeParam TFilter The type of the filter, if any.
6966
+ * @template TContextData The context data to pass to the {@link Context}.
6967
+ * @template TFilter The type of the filter, if any.
6968
6968
  * @param context The context.
6969
6969
  * @param identifier The internal identifier or the username of the collection
6970
6970
  * owner.
@@ -6974,8 +6974,8 @@ type CollectionCursor<TContext extends Context<TContextData>, TContextData, TFil
6974
6974
  /**
6975
6975
  * A callback that listens for activities in an inbox.
6976
6976
  *
6977
- * @typeParam TContextData The context data to pass to the {@link Context}.
6978
- * @typeParam TActivity The type of activity to listen for.
6977
+ * @template TContextData The context data to pass to the {@link Context}.
6978
+ * @template TActivity The type of activity to listen for.
6979
6979
  * @param context The inbox context.
6980
6980
  * @param activity The activity that was received.
6981
6981
  */
@@ -6983,7 +6983,7 @@ type InboxListener<TContextData, TActivity extends Activity> = (context: InboxCo
6983
6983
  /**
6984
6984
  * A callback that handles errors in an inbox.
6985
6985
  *
6986
- * @typeParam TContextData The context data to pass to the {@link Context}.
6986
+ * @template TContextData The context data to pass to the {@link Context}.
6987
6987
  * @param context The inbox context.
6988
6988
  */
6989
6989
  type InboxErrorHandler<TContextData> = (context: Context<TContextData>, error: Error) => void | Promise<void>;
@@ -6991,7 +6991,7 @@ type InboxErrorHandler<TContextData> = (context: Context<TContextData>, error: E
6991
6991
  * A callback that dispatches the key pair for the authenticated document loader
6992
6992
  * of the {@link Context} passed to the shared inbox listener.
6993
6993
  *
6994
- * @typeParam TContextData The context data to pass to the {@link Context}.
6994
+ * @template TContextData The context data to pass to the {@link Context}.
6995
6995
  * @param context The context.
6996
6996
  * @returns The username or the internal identifier of the actor or the key pair
6997
6997
  * for the authenticated document loader of the {@link Context} passed
@@ -7024,7 +7024,7 @@ type SharedInboxKeyDispatcher<TContextData> = (context: Context<TContextData>) =
7024
7024
  /**
7025
7025
  * A callback that determines if a request is authorized or not.
7026
7026
  *
7027
- * @typeParam TContextData The context data to pass to the {@link Context}.
7027
+ * @template TContextData The context data to pass to the {@link Context}.
7028
7028
  * @param context The request context.
7029
7029
  * @param identifier The internal identifier of the actor that is being requested.
7030
7030
  * @param signedKey *Deprecated in Fedify 1.5.0 in favor of
@@ -7044,8 +7044,8 @@ type AuthorizePredicate<TContextData> = (context: RequestContext<TContextData>,
7044
7044
  /**
7045
7045
  * A callback that determines if a request is authorized or not.
7046
7046
  *
7047
- * @typeParam TContextData The context data to pass to the {@link Context}.
7048
- * @typeParam TParam The parameter names of the requested URL.
7047
+ * @template TContextData The context data to pass to the {@link Context}.
7048
+ * @template TParam The parameter names of the requested URL.
7049
7049
  * @param context The request context.
7050
7050
  * @param values The parameters of the requested URL.
7051
7051
  * @param signedKey *Deprecated in Fedify 1.5.0 in favor of
@@ -7065,12 +7065,12 @@ type ObjectAuthorizePredicate<TContextData, TParam extends string> = (context: R
7065
7065
  /**
7066
7066
  * A callback that dispatches a custom collection.
7067
7067
  *
7068
- * @typeParam TItem The type of items in the collection.
7069
- * @typeParam TParams The parameter names of the requested URL.
7070
- * @typeParam TContext The type of the context. {@link Context} or
7068
+ * @template TItem The type of items in the collection.
7069
+ * @template TParams The parameter names of the requested URL.
7070
+ * @template TContext The type of the context. {@link Context} or
7071
7071
  * {@link RequestContext}.
7072
- * @typeParam TContextData The context data to pass to the `TContext`.
7073
- * @typeParam TFilter The type of the filter, if any.
7072
+ * @template TContextData The context data to pass to the `TContext`.
7073
+ * @template TFilter The type of the filter, if any.
7074
7074
  * @param context The context.
7075
7075
  * @param values The parameters of the requested URL.
7076
7076
  * @param cursor The cursor to start the collection from, or `null` to dispatch
@@ -7081,8 +7081,8 @@ type CustomCollectionDispatcher<TItem, TParams extends Record<string, string>, T
7081
7081
  /**
7082
7082
  * A callback that counts the number of items in a custom collection.
7083
7083
  *
7084
- * @typeParam TParams The parameter names of the requested URL.
7085
- * @typeParam TContextData The context data to pass to the {@link Context}.
7084
+ * @template TParams The parameter names of the requested URL.
7085
+ * @template TContextData The context data to pass to the {@link Context}.
7086
7086
  * @param context The context.
7087
7087
  * @param values The parameters of the requested URL.
7088
7088
  * @since 1.8.0
@@ -7091,11 +7091,11 @@ type CustomCollectionCounter<TParams extends Record<string, string>, TContextDat
7091
7091
  /**
7092
7092
  * A callback that returns a cursor for a custom collection.
7093
7093
  *
7094
- * @typeParam TParams The parameter names of the requested URL.
7095
- * @typeParam TContext The type of the context. {@link Context} or
7094
+ * @template TParams The parameter names of the requested URL.
7095
+ * @template TContext The type of the context. {@link Context} or
7096
7096
  * {@link RequestContext}.
7097
- * @typeParam TContextData The context data to pass to the {@link Context}.
7098
- * @typeParam TFilter The type of the filter, if any.
7097
+ * @template TContextData The context data to pass to the {@link Context}.
7098
+ * @template TFilter The type of the filter, if any.
7099
7099
  * @param context The context.
7100
7100
  * @param values The parameters of the requested URL.
7101
7101
  * @since 1.8.0
@@ -7178,7 +7178,7 @@ interface FederationStartQueueOptions {
7178
7178
  }
7179
7179
  /**
7180
7180
  * A common interface between {@link Federation} and {@link FederationBuilder}.
7181
- * @typeParam TContextData The context data to pass to the {@link Context}.
7181
+ * @template TContextData The context data to pass to the {@link Context}.
7182
7182
  * @since 1.6.0
7183
7183
  */
7184
7184
  interface Federatable<TContextData> {
@@ -7220,9 +7220,9 @@ interface Federatable<TContextData> {
7220
7220
  /**
7221
7221
  * Registers an object dispatcher.
7222
7222
  *
7223
- * @typeParam TContextData The context data to pass to the {@link Context}.
7224
- * @typeParam TObject The type of object to dispatch.
7225
- * @typeParam TParam The parameter names of the requested URL.
7223
+ * @template TContextData The context data to pass to the {@link Context}.
7224
+ * @template TObject The type of object to dispatch.
7225
+ * @template TParam The parameter names of the requested URL.
7226
7226
  * @param cls The Activity Vocabulary class of the object to dispatch.
7227
7227
  * @param path The URI path pattern for the object dispatcher. The syntax is
7228
7228
  * based on URI Template
@@ -7236,9 +7236,9 @@ interface Federatable<TContextData> {
7236
7236
  /**
7237
7237
  * Registers an object dispatcher.
7238
7238
  *
7239
- * @typeParam TContextData The context data to pass to the {@link Context}.
7240
- * @typeParam TObject The type of object to dispatch.
7241
- * @typeParam TParam The parameter names of the requested URL.
7239
+ * @template TContextData The context data to pass to the {@link Context}.
7240
+ * @template TObject The type of object to dispatch.
7241
+ * @template TParam The parameter names of the requested URL.
7242
7242
  * @param cls The Activity Vocabulary class of the object to dispatch.
7243
7243
  * @param path The URI path pattern for the object dispatcher. The syntax is
7244
7244
  * based on URI Template
@@ -7252,9 +7252,9 @@ interface Federatable<TContextData> {
7252
7252
  /**
7253
7253
  * Registers an object dispatcher.
7254
7254
  *
7255
- * @typeParam TContextData The context data to pass to the {@link Context}.
7256
- * @typeParam TObject The type of object to dispatch.
7257
- * @typeParam TParam The parameter names of the requested URL.
7255
+ * @template TContextData The context data to pass to the {@link Context}.
7256
+ * @template TObject The type of object to dispatch.
7257
+ * @template TParam The parameter names of the requested URL.
7258
7258
  * @param cls The Activity Vocabulary class of the object to dispatch.
7259
7259
  * @param path The URI path pattern for the object dispatcher. The syntax is
7260
7260
  * based on URI Template
@@ -7268,9 +7268,9 @@ interface Federatable<TContextData> {
7268
7268
  /**
7269
7269
  * Registers an object dispatcher.
7270
7270
  *
7271
- * @typeParam TContextData The context data to pass to the {@link Context}.
7272
- * @typeParam TObject The type of object to dispatch.
7273
- * @typeParam TParam The parameter names of the requested URL.
7271
+ * @template TContextData The context data to pass to the {@link Context}.
7272
+ * @template TObject The type of object to dispatch.
7273
+ * @template TParam The parameter names of the requested URL.
7274
7274
  * @param cls The Activity Vocabulary class of the object to dispatch.
7275
7275
  * @param path The URI path pattern for the object dispatcher. The syntax is
7276
7276
  * based on URI Template
@@ -7284,9 +7284,9 @@ interface Federatable<TContextData> {
7284
7284
  /**
7285
7285
  * Registers an object dispatcher.
7286
7286
  *
7287
- * @typeParam TContextData The context data to pass to the {@link Context}.
7288
- * @typeParam TObject The type of object to dispatch.
7289
- * @typeParam TParam The parameter names of the requested URL.
7287
+ * @template TContextData The context data to pass to the {@link Context}.
7288
+ * @template TObject The type of object to dispatch.
7289
+ * @template TParam The parameter names of the requested URL.
7290
7290
  * @param cls The Activity Vocabulary class of the object to dispatch.
7291
7291
  * @param path The URI path pattern for the object dispatcher. The syntax is
7292
7292
  * based on URI Template
@@ -7300,9 +7300,9 @@ interface Federatable<TContextData> {
7300
7300
  /**
7301
7301
  * Registers an object dispatcher.
7302
7302
  *
7303
- * @typeParam TContextData The context data to pass to the {@link Context}.
7304
- * @typeParam TObject The type of object to dispatch.
7305
- * @typeParam TParam The parameter names of the requested URL.
7303
+ * @template TContextData The context data to pass to the {@link Context}.
7304
+ * @template TObject The type of object to dispatch.
7305
+ * @template TParam The parameter names of the requested URL.
7306
7306
  * @param cls The Activity Vocabulary class of the object to dispatch.
7307
7307
  * @param path The URI path pattern for the object dispatcher. The syntax is
7308
7308
  * based on URI Template
@@ -7442,9 +7442,9 @@ interface Federatable<TContextData> {
7442
7442
  /**
7443
7443
  * Registers a collection of objects dispatcher.
7444
7444
  *
7445
- * @typeParam TContextData The context data to pass to the {@link Context}.
7446
- * @typeParam TObject The type of objects to dispatch.
7447
- * @typeParam TParam The parameter names of the requested URL.
7445
+ * @template TContextData The context data to pass to the {@link Context}.
7446
+ * @template TObject The type of objects to dispatch.
7447
+ * @template TParam The parameter names of the requested URL.
7448
7448
  * @param name A unique name for the collection dispatcher.
7449
7449
  * @param itemType The Activity Vocabulary class of the object to dispatch.
7450
7450
  * @param path The URI path pattern for the collection dispatcher.
@@ -7457,9 +7457,9 @@ interface Federatable<TContextData> {
7457
7457
  /**
7458
7458
  * Registers an ordered collection of objects dispatcher.
7459
7459
  *
7460
- * @typeParam TContextData The context data to pass to the {@link Context}.
7461
- * @typeParam TObject The type of objects to dispatch.
7462
- * @typeParam TParam The parameter names of the requested URL.
7460
+ * @template TContextData The context data to pass to the {@link Context}.
7461
+ * @template TObject The type of objects to dispatch.
7462
+ * @template TParam The parameter names of the requested URL.
7463
7463
  * @param name A unique name for the collection dispatcher.
7464
7464
  * @param itemType The Activity Vocabulary class of the object to dispatch.
7465
7465
  * @param path The URI path pattern for the collection dispatcher.
@@ -7476,7 +7476,7 @@ interface Federatable<TContextData> {
7476
7476
  *
7477
7477
  * It also provides a middleware interface for handling requests before your
7478
7478
  * web framework's router; see {@link Federation.fetch}.
7479
- * @typeParam TContextData The context data to pass to the {@link Context}.
7479
+ * @template TContextData The context data to pass to the {@link Context}.
7480
7480
  * @since 0.13.0
7481
7481
  */
7482
7482
  interface Federation<TContextData> extends Federatable<TContextData> {
@@ -7535,7 +7535,7 @@ interface Federation<TContextData> extends Federatable<TContextData> {
7535
7535
  * instantiation of the {@link Federation} object until the {@link build}
7536
7536
  * method is called so that dispatchers and listeners can be registered
7537
7537
  * before the {@link Federation} object is instantiated.
7538
- * @typeParam TContextData The context data to pass to the {@link Context}.
7538
+ * @template TContextData The context data to pass to the {@link Context}.
7539
7539
  * @since 1.6.0
7540
7540
  */
7541
7541
 
@@ -7607,10 +7607,10 @@ interface ObjectCallbackSetters<TContextData, TObject extends Object$1, TParam e
7607
7607
  /**
7608
7608
  * Additional settings for a collection dispatcher.
7609
7609
  *
7610
- * @typeParam TContext The type of the context. {@link Context} or
7610
+ * @template TContext The type of the context. {@link Context} or
7611
7611
  * {@link RequestContext}.
7612
- * @typeParam TContextData The context data to pass to the {@link Context}.
7613
- * @typeParam TFilter The type of filter for the collection.
7612
+ * @template TContextData The context data to pass to the {@link Context}.
7613
+ * @template TFilter The type of filter for the collection.
7614
7614
  */
7615
7615
  interface CollectionCallbackSetters<TContext extends Context<TContextData>, TContextData, TFilter> {
7616
7616
  /**
@@ -7673,7 +7673,7 @@ interface InboxListenerSetters<TContextData> {
7673
7673
  /**
7674
7674
  * Parameters of {@link Federation.fetch} method.
7675
7675
  *
7676
- * @typeParam TContextData The context data to pass to the {@link Context}.
7676
+ * @template TContextData The context data to pass to the {@link Context}.
7677
7677
  * @since 0.6.0
7678
7678
  */
7679
7679
  interface FederationFetchOptions<TContextData> {
@@ -7707,11 +7707,11 @@ interface FederationFetchOptions<TContextData> {
7707
7707
  /**
7708
7708
  * Additional settings for a custom collection dispatcher.
7709
7709
  *
7710
- * @typeParam TParams The type of the parameters in the URL path.
7711
- * @typeParam TContext The type of the context. {@link Context} or
7710
+ * @template TParams The type of the parameters in the URL path.
7711
+ * @template TContext The type of the context. {@link Context} or
7712
7712
  * {@link RequestContext}.
7713
- * @typeParam TContextData The context data to pass to the {@link Context}.
7714
- * @typeParam TFilter The type of filter for the collection.
7713
+ * @template TContextData The context data to pass to the {@link Context}.
7714
+ * @template TFilter The type of filter for the collection.
7715
7715
  */
7716
7716
  interface CustomCollectionCallbackSetters<TParams extends Record<string, string>, TContext extends Context<TContextData>, TContextData> {
7717
7717
  /**
@@ -7744,7 +7744,7 @@ interface CustomCollectionCallbackSetters<TParams extends Record<string, string>
7744
7744
  * Represents an object with a type ID, which is either a constructor or an
7745
7745
  * instance of the object.
7746
7746
  *
7747
- * @typeParam TObject The type of the object.
7747
+ * @template TObject The type of the object.
7748
7748
  */
7749
7749
  type ConstructorWithTypeId<TObject extends Object$1> = (new (...args: any[]) => TObject) & {
7750
7750
  typeId: URL;
@@ -7806,7 +7806,7 @@ type ParamPath<Param extends string> = `${string}{${Param}}${string}`;
7806
7806
  /**
7807
7807
  * Converts union types to intersection types.
7808
7808
  *
7809
- * @typeParam U - The union type to convert.
7809
+ * @template U - The union type to convert.
7810
7810
  * @returns The intersection type of the union.
7811
7811
  * @example
7812
7812
  * ```ts
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "../type-DQ8e7lsS.js";
7
- import "../lookup-BH0rqluy.js";
8
- import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-B7bLlKZQ.js";
6
+ import "../type-UlD3uIBC.js";
7
+ import "../lookup-4JPaW7A3.js";
8
+ import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-_24i9CAh.js";
9
9
 
10
10
  export { createInboxContext, createRequestContext, test, testDefinitions };
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { __require, lookupWebFinger } from "./type-DQ8e7lsS.js";
7
- import { RouterError, lookupObject, traverseCollection } from "./lookup-BH0rqluy.js";
6
+ import { __require, lookupWebFinger } from "./type-UlD3uIBC.js";
7
+ import { RouterError, lookupObject, traverseCollection } from "./lookup-4JPaW7A3.js";
8
8
  import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
9
9
  import { trace } from "@opentelemetry/api";
10
10
 
@@ -22,7 +22,7 @@ const logger = getLogger([
22
22
  * https://example.com/#Follow/12345678-1234-5678-1234-567812345678
23
23
  * ```
24
24
  *
25
- * @typeParam TContextData The type of the context data.
25
+ * @template TContextData The type of the context data.
26
26
  * @param activity The activity to assign an ID to.
27
27
  * @param context The context of the activity.
28
28
  * @return The activity with an ID assigned.
@@ -73,7 +73,7 @@ function autoIdAssigner(activity, context) {
73
73
  *
74
74
  * As some ActivityPub implementations like Threads fail to deal with inlined
75
75
  * actor objects, this transformer can be used to work around this issue.
76
- * @typeParam TContextData The type of the context data.
76
+ * @template TContextData The type of the context data.
77
77
  * @param activity The activity to dehydrate the actor property of.
78
78
  * @param context The context of the activity.
79
79
  * @returns The dehydrated activity.
@@ -86,7 +86,7 @@ function actorDehydrator(activity, _context) {
86
86
  /**
87
87
  * Gets the default activity transformers that are applied to all outgoing
88
88
  * activities.
89
- * @typeParam TContextData The type of the context data.
89
+ * @template TContextData The type of the context data.
90
90
  * @returns The default activity transformers.
91
91
  * @since 1.4.0
92
92
  */