@fedify/fedify 1.5.0-dev.672 → 1.5.0-dev.679

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.
@@ -9,6 +9,11 @@ export interface WebFingerHandlerParameters<TContextData> {
9
9
  * The request context.
10
10
  */
11
11
  context: RequestContext<TContextData>;
12
+ /**
13
+ * The canonical hostname of the server, if it's explicitly configured.
14
+ * @since 1.5.0
15
+ */
16
+ host?: string;
12
17
  /**
13
18
  * The callback for dispatching the actor.
14
19
  */
@@ -16,11 +21,13 @@ export interface WebFingerHandlerParameters<TContextData> {
16
21
  /**
17
22
  * The callback for mapping a WebFinger username to the corresponding actor's
18
23
  * internal identifier, or `null` if the username is not found.
24
+ * @since 0.15.0
19
25
  */
20
26
  actorHandleMapper?: ActorHandleMapper<TContextData>;
21
27
  /**
22
28
  * The callback for mapping a WebFinger query to the corresponding actor's
23
29
  * internal identifier or username, or `null` if the query is not found.
30
+ * @since 1.4.0
24
31
  */
25
32
  actorAliasMapper?: ActorAliasMapper<TContextData>;
26
33
  /**
@@ -29,10 +36,12 @@ export interface WebFingerHandlerParameters<TContextData> {
29
36
  onNotFound(request: Request): Response | Promise<Response>;
30
37
  /**
31
38
  * The OpenTelemetry tracer.
39
+ * @since 1.3.0
32
40
  */
33
41
  tracer?: Tracer;
34
42
  /**
35
43
  * The span for the request.
44
+ * @since 1.3.0
36
45
  */
37
46
  span?: Span;
38
47
  }
@@ -1 +1 @@
1
- {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../src/webfinger/handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAGvD,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EAClB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAM/D;;GAEG;AACH,MAAM,WAAW,0BA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