@fedify/fedify 0.15.0-dev.372 → 0.15.0-dev.374
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGES.md
CHANGED
@@ -8,6 +8,13 @@ Version 0.15.0
|
|
8
8
|
|
9
9
|
To be released.
|
10
10
|
|
11
|
+
- Removed `expand` option of `Object.toJsonLd()` method, which was deprecated
|
12
|
+
in version 0.14.0. Use `format: "expand"` option instead.
|
13
|
+
- Renamed the short option `-c` for `--compact` of `fedify lookup` command to
|
14
|
+
`-C` to avoid conflict with the short option `-c` for `--cache-dir`.
|
15
|
+
- Added `-r`/`--raw` option to `fedify lookup` command to output the raw JSON
|
16
|
+
object.
|
17
|
+
|
11
18
|
|
12
19
|
Version 0.14.3
|
13
20
|
--------------
|
@@ -323,6 +323,15 @@ class FederationImpl {
|
|
323
323
|
if (actor == null)
|
324
324
|
return null;
|
325
325
|
const logger = getLogger(["fedify", "federation", "actor"]);
|
326
|
+
if (actor.id == null) {
|
327
|
+
logger.warn("Actor dispatcher returned an actor without an id property. " +
|
328
|
+
"Set the property with Context.getActorUri(handle).");
|
329
|
+
}
|
330
|
+
else if (actor.id.href != context.getActorUri(handle).href) {
|
331
|
+
logger.warn("Actor dispatcher returned an actor with an id property that " +
|
332
|
+
"does not match the actor URI. Set the property with " +
|
333
|
+
"Context.getActorUri(handle).");
|
334
|
+
}
|
326
335
|
if (this.followingCallbacks != null &&
|
327
336
|
this.followingCallbacks.dispatcher != null) {
|
328
337
|
if (actor.followingId == null) {
|