fedipod-server 0.15.0 → 0.16.0

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.
@@ -56507,7 +56507,7 @@ var Publisher = class {
56507
56507
  }
56508
56508
  const pubName = publicHandle(this.config);
56509
56509
  const pubHost = this.config.gateway?.frontActor ? new URL(this.config.gateway.frontActor).host : host;
56510
- this.log(this.config.gateway?.frontActor || webfingerHost(urls.base) ? `profile published: @${pubName}@${pubHost} \u2192 ${urls.actor}` : `profile published \u2192 ${urls.actor} \u2014 NOT discoverable as @${pubName}@${pubHost}: this pod is a path on a shared host, and WebFinger is only answered at a host root`);
56510
+ this.log(this.config.gateway?.frontActor || webfingerHost(urls.base) ? `profile published: @${pubName}@${pubHost} \u2192 ${urls.actor}` : `profile published \u2192 ${urls.actor} \u2014 NOT discoverable as @${pubName}@${pubHost}: this pod is a suffix-based host, and WebFinger is only answered at a host root`);
56511
56511
  return { unreachable, updated };
56512
56512
  }
56513
56513
  // Fires when the document differs from the one last published — including
@@ -68273,7 +68273,7 @@ var AdminFacade = class {
68273
68273
  const aliases = [...cfg.aliases || []];
68274
68274
  if (body.add) {
68275
68275
  if (!webfingerHost(urls.base) && !cfg.gateway?.frontActor) {
68276
- return json2(400, { error: "this pod is a path on a shared host, so other servers could never resolve it as a Move target" });
68276
+ return json2(400, { error: "this pod is a suffix-based host, so other servers could never resolve it as a Move target" });
68277
68277
  }
68278
68278
  const id = await this.resolveActor(body.add);
68279
68279
  if (!id) return json2(400, { error: `could not fetch the old account (${body.add}) \u2014 enter its URL or @user@host, and it must answer` });
@@ -69785,7 +69785,7 @@ var BrowserAgent = class _BrowserAgent {
69785
69785
  publicKeyPem: keys.rsaPublicPem,
69786
69786
  assertionKey: null,
69787
69787
  log: this.log,
69788
- // Who a post names, resolved — the same lookup the installed agent
69788
+ // Who a post names, resolved — the same lookup the DeviceAgent
69789
69789
  // gives its publisher. Without it no mention from the browser ever
69790
69790
  // resolved: a direct message went to nobody, a mention notified no one.
69791
69791
  resolveMention: (h) => resolveHandle(this, h)