@fedify/testing 1.8.14-pr.470.1821 → 1.8.14-pr.470.1823

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.
Files changed (2) hide show
  1. package/dist/mod.d.ts +6 -1
  2. package/package.json +2 -2
package/dist/mod.d.ts CHANGED
@@ -290,4 +290,9 @@ declare function createInboxContext<TContextData>(args: Partial<InboxContext<TCo
290
290
  federation: Federation<TContextData>;
291
291
  }): InboxContext<TContextData>;
292
292
  //#endregion
293
- export { MockContext, MockFederation, SentActivity, createContext, createInboxContext, createRequestContext };
293
+ //#region src/types.d.ts
294
+ interface InboxListener<TContextData, TActivity extends Activity> {
295
+ (context: InboxContext<TContextData>, activity: TActivity): void | Promise<void>;
296
+ }
297
+ //#endregion
298
+ export { InboxListener, MockContext, MockFederation, SentActivity, createContext, createInboxContext, createRequestContext };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/testing",
3
- "version": "1.8.14-pr.470.1821+d8391b57",
3
+ "version": "1.8.14-pr.470.1823+57cb7375",
4
4
  "description": "Testing utilities for Fedify applications",
5
5
  "keywords": [
6
6
  "fedify",
@@ -45,7 +45,7 @@
45
45
  "package.json"
46
46
  ],
47
47
  "peerDependencies": {
48
- "@fedify/fedify": "^1.8.14-pr.470.1821+d8391b57"
48
+ "@fedify/fedify": "^1.8.14-pr.470.1823+57cb7375"
49
49
  },
50
50
  "dependencies": {
51
51
  "@opentelemetry/api": "^1.9.0"