@fedify/webfinger 2.2.19 → 2.2.21

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 CHANGED
@@ -96,11 +96,14 @@ const result = await lookupWebFinger("acct:alice@example.com", {
96
96
  // Maximum redirects to follow (default: 5)
97
97
  maxRedirection: 3,
98
98
 
99
- // AbortSignal for cancellation
99
+ // Cancel sooner than the default 10-second lookup deadline
100
100
  signal: AbortSignal.timeout(5000),
101
101
  });
102
102
  ~~~~
103
103
 
104
+ Each lookup has a 10-second deadline across DNS resolution, redirects, and
105
+ response reading. A supplied signal can end it sooner but cannot extend it.
106
+
104
107
 
105
108
  API
106
109
  ---
package/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/webfinger",
3
- "version": "2.2.19",
3
+ "version": "2.2.21",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./src/mod.ts"