@fedify/fedify 1.5.0-dev.730 → 1.5.0-dev.731

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
@@ -19,6 +19,9 @@ To be released.
19
19
  undefined`).
20
20
  - Added `SendActivityOptions.fanout` option.
21
21
  - Added OpenTelemetry instrumented span `activitypub.fanout`.
22
+ - The `ForwardActivityOptions` interface became a type alias of
23
+ `Omit<SendActivityOptions, "fanout"> & { skipIfUnsigned: boolean }`,
24
+ which is still compatible with the previous version.
22
25
 
23
26
  - A `Federation` object now can have a canonical origin for web URLs and
24
27
  a canonical host for fediverse handles. This affects the URLs constructed
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.5.0-dev.730+390610bf",
3
+ "version": "1.5.0-dev.731+6bb4c90e",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./mod.ts",
@@ -322,6 +322,11 @@ export class FederationImpl {
322
322
  });
323
323
  }
324
324
  async #listenFanoutMessage(data, message) {
325
+ const logger = getLogger(["fedify", "federation", "fanout"]);
326
+ logger.debug("Fanning out activity {activityId} to {inboxes} inbox(es)...", {
327
+ activityId: message.activityId,
328
+ inboxes: globalThis.Object.keys(message.inboxes).length,
329
+ });
325
330
  const keys = await Promise.all(message.keys.map(async ({ keyId, privateKey }) => ({
326
331
  keyId: new URL(keyId),
327
332
  privateKey: await importJwk(privateKey, "private"),