@fedify/nestjs 2.1.0-dev.403 → 2.1.0-dev.406

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/dist/index.d.mts CHANGED
@@ -11,6 +11,7 @@ declare const FEDIFY_FEDERATION = "FEDIFY_FEDERATION";
11
11
  //#endregion
12
12
  //#region src/fedify.middleware.d.ts
13
13
  type ContextDataFactory<TContextData> = (req: Request, res: Response) => TContextData | Promise<TContextData>;
14
+ // from https://github.com/fedify-dev/fedify/blob/main/express/index.ts
14
15
  declare function integrateFederation<TContextData>(federation: Federation<unknown>, contextDataFactory: ContextDataFactory<TContextData>): Type<NestMiddleware>;
15
16
  //#endregion
16
17
  export { ContextDataFactory, FEDIFY_FEDERATION, FedifyModule, integrateFederation };
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ declare const FEDIFY_FEDERATION = "FEDIFY_FEDERATION";
11
11
  //#endregion
12
12
  //#region src/fedify.middleware.d.ts
13
13
  type ContextDataFactory<TContextData> = (req: Request, res: Response) => TContextData | Promise<TContextData>;
14
+ // from https://github.com/fedify-dev/fedify/blob/main/express/index.ts
14
15
  declare function integrateFederation<TContextData>(federation: Federation<unknown>, contextDataFactory: ContextDataFactory<TContextData>): Type<NestMiddleware>;
15
16
  //#endregion
16
17
  export { ContextDataFactory, FEDIFY_FEDERATION, FedifyModule, integrateFederation };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/nestjs",
3
- "version": "2.1.0-dev.403+0ce42c7c",
3
+ "version": "2.1.0-dev.406+61a21e4e",
4
4
  "description": "Integrate Fedify with Nest.js",
5
5
  "keywords": [
6
6
  "Fedify",
@@ -49,7 +49,7 @@
49
49
  "peerDependencies": {
50
50
  "@nestjs/common": "^11.0.1",
51
51
  "express": "^4.0.0 || ^5.0.0",
52
- "@fedify/fedify": "^2.1.0-dev.403+0ce42c7c"
52
+ "@fedify/fedify": "^2.1.0-dev.406+61a21e4e"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/express": "^4.0.0",