@fedify/fedify 1.1.0-dev.444 → 1.1.0-dev.447

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.1.0-dev.444+b7a0be7e",
3
+ "version": "1.1.0-dev.447+9c41c057",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -82,7 +82,7 @@ export interface InboxHandlerParameters<TContextData> {
82
82
  inboxListeners?: InboxListenerSet<TContextData>;
83
83
  inboxErrorHandler?: InboxErrorHandler<TContextData>;
84
84
  onNotFound(request: Request): Response | Promise<Response>;
85
- signatureTimeWindow: dntShim.Temporal.DurationLike | false;
85
+ signatureTimeWindow: dntShim.Temporal.Duration | dntShim.Temporal.DurationLike | false;
86
86
  skipSignatureVerification: boolean;
87
87
  }
88
88
  export declare function handleInbox<TContextData>(request: Request, { identifier, context, inboxContextFactory, kv, kvPrefixes, queue, actorDispatcher, inboxListeners, inboxErrorHandler, onNotFound, signatureTimeWindow, skipSignatureVerification, }: InboxHandlerParameters<TContextData>): Promise<Response>;
@@ -1 +1 @@
1
- {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../src/federation/handler.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAM9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAGL,IAAI,EAEJ,MAAM,EAGP,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,C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ACtC,OAAO,CAAC,QAAQ,CAAC,CAgPnB;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,aAAa,EAAE,cAAc,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,QAAQ,CAAC,CAOnB;AAED;;;;;;;;GAQG;AACH,wBAAsB,6BAA6B,CACjD,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAK1B"}
@@ -88,13 +88,13 @@ export interface CreateFederationOptions {
88
88
  */
89
89
  onOutboxError?: OutboxErrorHandler;
90
90
  /**
91
- * The time window for verifying the signature of incoming requests. If the
91
+ * The time window for verifying HTTP Signatures of incoming requests. If the
92
92
  * request is older or newer than this window, it is rejected. Or if it is
93
93
  * `false`, the request's timestamp is not checked at all.
94
94
  *
95
- * By default, the window is a minute.
95
+ * By default, the window is an hour.
96
96
  */
97
- signatureTimeWindow?: dntShim.Temporal.DurationLike | false;
97
+ signatureTimeWindow?: dntShim.Temporal.Duration | dntShim.Temporal.DurationLike | false;
98
98
  /**
99
99
  * Whether to skip HTTP Signatures verification for incoming activities.
100
100
  * This is useful for testing purposes, but should not be used in production.
@@ -182,7 +182,7 @@ export declare class FederationImpl<TContextData> implements Federation<TContext
182
182
  contextLoader: DocumentLoader;
183
183
  authenticatedDocumentLoaderFactory: AuthenticatedDocumentLoaderFactory;
184
184
  onOutboxError?: OutboxErrorHandler;
185
- signatureTimeWindow: dntShim.Temporal.DurationLike | false;
185
+ signatureTimeWindow: dntShim.Temporal.Duration | dntShim.Temporal.DurationLike | false;
186
186
  skipSignatureVerification: boolean;
187
187
  outboxRetryPolicy: RetryPolicy;
188
188
  inboxRetryPolicy: RetryPolicy;
@@ -1 +1 @@
1
- {"version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AAC,EAAE,wBAAwB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;CACrE;AAED,UAAU,2BAA2B,CAAC,YAAY,CAChD,SAAQ,mBAAmB;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,YAAY,CAAC;CAC3B"}
@@ -31,9 +31,9 @@ export interface VerifyRequestOptions {
31
31
  * twice the value of this option, with the current time as the center.
32
32
  * Or if it is `false`, no time check is performed.
33
33
  *
34
- * A minute by default.
34
+ * An hour by default.
35
35
  */
36
- timeWindow?: dntShim.Temporal.DurationLike | false;
36
+ timeWindow?: dntShim.Temporal.Duration | dntShim.Temporal.DurationLike | false;
37
37
  /**
38
38
  * The current time. If not specified, the current time is used. This is
39
39
  * useful for testing.
@@ -1 +1 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/sig/http.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAI5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAY,KAAK,QAAQ,EAAqB,MAAM,UAAU,CAAC;AAEtE;;;;;;;;GAQG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,OAAO,CAAC,SAAS,EAC7B,KAAK,EAAE,GAAG,GACT,OAAO,CAAC,OAAO,CAAC,CA0ClB;AAQD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC;IAE/B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,YAAY,GAAG,KAAK,CAAC;IAEnD;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,OAAO,CA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,EAAE,WAAW,EAAE,QAAQ,EAAE,GAClE,oBAAyB,GAC1B,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAqMlC"}
@@ -2598,6 +2598,7 @@ export declare class Application extends Object {
2598
2598
  suspended?: boolean | null;
2599
2599
  memorial?: boolean | null;
2600
2600
  indexable?: boolean | null;
2601
+ successor?: Application | Group | Organization | Person | Service | URL | null;
2601
2602
  alias?: Application | Group | Organization | Person | Service | URL | null;
2602
2603
  aliases?: (Application | Group | Organization | Person | Service | URL)[];
2603
2604
  service?: DidService | URL | null;
@@ -2680,6 +2681,7 @@ export declare class Application extends Object {
2680
2681
  suspended?: boolean | null;
2681
2682
  memorial?: boolean | null;
2682
2683
  indexable?: boolean | null;
2684
+ successor?: Application | Group | Organization | Person | Service | URL | null;
2683
2685
  alias?: Application | Group | Organization | Person | Service | URL | null;
2684
2686
  aliases?: (Application | Group | Organization | Person | Service | URL)[];
2685
2687
  service?: DidService | URL | null;
@@ -2932,6 +2934,19 @@ export declare class Application extends Object {
2932
2934
  /** Whether the actor allows to be indexed.
2933
2935
  */
2934
2936
  get indexable(): boolean | null;
2937
+ /**
2938
+ * Similar to
2939
+ * {@link Application.getSuccessor},
2940
+ * but returns its `@id` URL instead of the object itself.
2941
+ */
2942
+ get successorId(): URL | null;
2943
+ /** Signifies that an actor has been moved to a different ID. Used in Mastodon-style data portability with the {@link Move} activity; see [ActivityPub Data Portability/Move Action](https://swicg.github.io/activitypub-data-portability/#move-action) for more details.
2944
+ */
2945
+ getSuccessor(options?: {
2946
+ documentLoader?: DocumentLoader;
2947
+ contextLoader?: DocumentLoader;
2948
+ suppressError?: boolean;
2949
+ }): Promise<Application | Group | Organization | Person | Service | null>;
2935
2950
  /**
2936
2951
  * Similar to
2937
2952
  * {@link Application.getAlias},
@@ -5853,6 +5868,7 @@ export declare class Group extends Object {
5853
5868
  suspended?: boolean | null;
5854
5869
  memorial?: boolean | null;
5855
5870
  indexable?: boolean | null;
5871
+ successor?: Application | Group | Organization | Person | Service | URL | null;
5856
5872
  alias?: Application | Group | Organization | Person | Service | URL | null;
5857
5873
  aliases?: (Application | Group | Organization | Person | Service | URL)[];
5858
5874
  service?: DidService | URL | null;
@@ -5935,6 +5951,7 @@ export declare class Group extends Object {
5935
5951
  suspended?: boolean | null;
5936
5952
  memorial?: boolean | null;
5937
5953
  indexable?: boolean | null;
5954
+ successor?: Application | Group | Organization | Person | Service | URL | null;
5938
5955
  alias?: Application | Group | Organization | Person | Service | URL | null;
5939
5956
  aliases?: (Application | Group | Organization | Person | Service | URL)[];
5940
5957
  service?: DidService | URL | null;
@@ -6187,6 +6204,19 @@ export declare class Group extends Object {
6187
6204
  /** Whether the actor allows to be indexed.
6188
6205
  */
6189
6206
  get indexable(): boolean | null;
6207
+ /**
6208
+ * Similar to
6209
+ * {@link Group.getSuccessor},
6210
+ * but returns its `@id` URL instead of the object itself.
6211
+ */
6212
+ get successorId(): URL | null;
6213
+ /** Signifies that an actor has been moved to a different ID. Used in Mastodon-style data portability with the {@link Move} activity; see [ActivityPub Data Portability/Move Action](https://swicg.github.io/activitypub-data-portability/#move-action) for more details.
6214
+ */
6215
+ getSuccessor(options?: {
6216
+ documentLoader?: DocumentLoader;
6217
+ contextLoader?: DocumentLoader;
6218
+ suppressError?: boolean;
6219
+ }): Promise<Application | Group | Organization | Person | Service | null>;
6190
6220
  /**
6191
6221
  * Similar to
6192
6222
  * {@link Group.getAlias},
@@ -8569,6 +8599,7 @@ export declare class Organization extends Object {
8569
8599
  suspended?: boolean | null;
8570
8600
  memorial?: boolean | null;
8571
8601
  indexable?: boolean | null;
8602
+ successor?: Application | Group | Organization | Person | Service | URL | null;
8572
8603
  alias?: Application | Group | Organization | Person | Service | URL | null;
8573
8604
  aliases?: (Application | Group | Organization | Person | Service | URL)[];
8574
8605
  service?: DidService | URL | null;
@@ -8651,6 +8682,7 @@ export declare class Organization extends Object {
8651
8682
  suspended?: boolean | null;
8652
8683
  memorial?: boolean | null;
8653
8684
  indexable?: boolean | null;
8685
+ successor?: Application | Group | Organization | Person | Service | URL | null;
8654
8686
  alias?: Application | Group | Organization | Person | Service | URL | null;
8655
8687
  aliases?: (Application | Group | Organization | Person | Service | URL)[];
8656
8688
  service?: DidService | URL | null;
@@ -8903,6 +8935,19 @@ export declare class Organization extends Object {
8903
8935
  /** Whether the actor allows to be indexed.
8904
8936
  */
8905
8937
  get indexable(): boolean | null;
8938
+ /**
8939
+ * Similar to
8940
+ * {@link Organization.getSuccessor},
8941
+ * but returns its `@id` URL instead of the object itself.
8942
+ */
8943
+ get successorId(): URL | null;
8944
+ /** Signifies that an actor has been moved to a different ID. Used in Mastodon-style data portability with the {@link Move} activity; see [ActivityPub Data Portability/Move Action](https://swicg.github.io/activitypub-data-portability/#move-action) for more details.
8945
+ */
8946
+ getSuccessor(options?: {
8947
+ documentLoader?: DocumentLoader;
8948
+ contextLoader?: DocumentLoader;
8949
+ suppressError?: boolean;
8950
+ }): Promise<Application | Group | Organization | Person | Service | null>;
8906
8951
  /**
8907
8952
  * Similar to
8908
8953
  * {@link Organization.getAlias},
@@ -9234,6 +9279,7 @@ export declare class Person extends Object {
9234
9279
  suspended?: boolean | null;
9235
9280
  memorial?: boolean | null;
9236
9281
  indexable?: boolean | null;
9282
+ successor?: Application | Group | Organization | Person | Service | URL | null;
9237
9283
  alias?: Application | Group | Organization | Person | Service | URL | null;
9238
9284
  aliases?: (Application | Group | Organization | Person | Service | URL)[];
9239
9285
  service?: DidService | URL | null;
@@ -9316,6 +9362,7 @@ export declare class Person extends Object {
9316
9362
  suspended?: boolean | null;
9317
9363
  memorial?: boolean | null;
9318
9364
  indexable?: boolean | null;
9365
+ successor?: Application | Group | Organization | Person | Service | URL | null;
9319
9366
  alias?: Application | Group | Organization | Person | Service | URL | null;
9320
9367
  aliases?: (Application | Group | Organization | Person | Service | URL)[];
9321
9368
  service?: DidService | URL | null;
@@ -9568,6 +9615,19 @@ export declare class Person extends Object {
9568
9615
  /** Whether the actor allows to be indexed.
9569
9616
  */
9570
9617
  get indexable(): boolean | null;
9618
+ /**
9619
+ * Similar to
9620
+ * {@link Person.getSuccessor},
9621
+ * but returns its `@id` URL instead of the object itself.
9622
+ */
9623
+ get successorId(): URL | null;
9624
+ /** Signifies that an actor has been moved to a different ID. Used in Mastodon-style data portability with the {@link Move} activity; see [ActivityPub Data Portability/Move Action](https://swicg.github.io/activitypub-data-portability/#move-action) for more details.
9625
+ */
9626
+ getSuccessor(options?: {
9627
+ documentLoader?: DocumentLoader;
9628
+ contextLoader?: DocumentLoader;
9629
+ suppressError?: boolean;
9630
+ }): Promise<Application | Group | Organization | Person | Service | null>;
9571
9631
  /**
9572
9632
  * Similar to
9573
9633
  * {@link Person.getAlias},
@@ -11102,6 +11162,7 @@ export declare class Service extends Object {
11102
11162
  suspended?: boolean | null;
11103
11163
  memorial?: boolean | null;
11104
11164
  indexable?: boolean | null;
11165
+ successor?: Application | Group | Organization | Person | Service | URL | null;
11105
11166
  alias?: Application | Group | Organization | Person | Service | URL | null;
11106
11167
  aliases?: (Application | Group | Organization | Person | Service | URL)[];
11107
11168
  service?: DidService | URL | null;
@@ -11184,6 +11245,7 @@ export declare class Service extends Object {
11184
11245
  suspended?: boolean | null;
11185
11246
  memorial?: boolean | null;
11186
11247
  indexable?: boolean | null;
11248
+ successor?: Application | Group | Organization | Person | Service | URL | null;
11187
11249
  alias?: Application | Group | Organization | Person | Service | URL | null;
11188
11250
  aliases?: (Application | Group | Organization | Person | Service | URL)[];
11189
11251
  service?: DidService | URL | null;
@@ -11436,6 +11498,19 @@ export declare class Service extends Object {
11436
11498
  /** Whether the actor allows to be indexed.
11437
11499
  */
11438
11500
  get indexable(): boolean | null;
11501
+ /**
11502
+ * Similar to
11503
+ * {@link Service.getSuccessor},
11504
+ * but returns its `@id` URL instead of the object itself.
11505
+ */
11506
+ get successorId(): URL | null;
11507
+ /** Signifies that an actor has been moved to a different ID. Used in Mastodon-style data portability with the {@link Move} activity; see [ActivityPub Data Portability/Move Action](https://swicg.github.io/activitypub-data-portability/#move-action) for more details.
11508
+ */
11509
+ getSuccessor(options?: {
11510
+ documentLoader?: DocumentLoader;
11511
+ contextLoader?: DocumentLoader;
11512
+ suppressError?: boolean;
11513
+ }): Promise<Application | Group | Organization | Person | Service | null>;
11439
11514
  /**
11440
11515
  * Similar to
11441
11516
  * {@link Service.getAlias},