@fedify/fedify 1.4.0-dev.592 → 1.4.0-dev.594

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/CHANGES.md CHANGED
@@ -12,11 +12,17 @@ To be released.
12
12
  `traverseCollection()` function, and `Context.traverseCollection()` method
13
13
  now suppresses errors occurred JSON-LD processing.
14
14
 
15
+ - WebFinger responses are now customizable. [[#3]]
16
+
17
+ - Added `ActorCallbackSetters.mapAlias()` method.
18
+ - Added `ActorAliasMapper` type.
19
+
15
20
  - Added `-t`/`--traverse` option to the `fedify lookup` subcommand. [[#195]]
16
21
 
17
22
  - Added `-S`/`--suppress-errors` option to the `fedify lookup` subcommand.
18
23
  [[#195]]
19
24
 
25
+ [#3]: https://github.com/dahlia/fedify/issues/3
20
26
  [#195]: https://github.com/dahlia/fedify/issues/195
21
27
 
22
28
 
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.4.0-dev.592+ac4f1771",
3
+ "version": "1.4.0-dev.594+41f72464",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./mod.ts",
@@ -659,6 +659,10 @@ export class FederationImpl {
659
659
  callbacks.handleMapper = mapper;
660
660
  return setters;
661
661
  },
662
+ mapAlias(mapper) {
663
+ callbacks.aliasMapper = mapper;
664
+ return setters;
665
+ },
662
666
  authorize(predicate) {
663
667
  callbacks.authorizePredicate = predicate;
664
668
  return setters;
@@ -1265,6 +1269,7 @@ export class FederationImpl {
1265
1269
  context,
1266
1270
  actorDispatcher: this.actorCallbacks?.dispatcher,
1267
1271
  actorHandleMapper: this.actorCallbacks?.handleMapper,
1272
+ actorAliasMapper: this.actorCallbacks?.aliasMapper,
1268
1273
  onNotFound,
1269
1274
  tracer,
1270
1275
  });