@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 +6 -0
 - package/esm/deno.js +1 -1
 - package/esm/federation/middleware.js +5 -0
 - package/esm/vocab/vocab.js +173 -173
 - package/esm/webfinger/handler.js +39 -20
 - package/package.json +1 -1
 - package/types/federation/callback.d.ts +20 -0
 - package/types/federation/callback.d.ts.map +1 -1
 - package/types/federation/federation.d.ts +15 -1
 - package/types/federation/federation.d.ts.map +1 -1
 - package/types/federation/middleware.d.ts +2 -1
 - package/types/federation/middleware.d.ts.map +1 -1
 - package/types/webfinger/handler.d.ts +7 -2
 - package/types/webfinger/handler.d.ts.map +1 -1
 
    
        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
    
    
| 
         @@ -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 
     | 
    
         
             
                            });
         
     |