@fastify-core/base 1.0.3 → 1.0.4

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/index.d.mts +3 -1
  2. package/package.json +1 -5
package/dist/index.d.mts CHANGED
@@ -629,7 +629,9 @@ declare class FileUpload {
629
629
  //#region src/JWTApp.d.ts
630
630
  declare class JWTApp {
631
631
  static createToken(user: any, req: any): string;
632
- static verifyToken(req: FastifyRequest, isCookie?: boolean): any;
632
+ static verifyToken(req: FastifyRequest & {
633
+ cookies?: Record<string, string | undefined>;
634
+ }, isCookie?: boolean): any;
633
635
  static checkSecretKey(key: string): void;
634
636
  }
635
637
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastify-core/base",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "types": "./dist/index.d.ts",
@@ -24,8 +24,6 @@
24
24
  "author": "MIT",
25
25
  "license": "ISC",
26
26
  "peerDependencies": {
27
- "@fastify/cookie": "^11.1.2",
28
- "@fastify/mysql": "^5.0.2",
29
27
  "@fastify/session": "^11.1.2",
30
28
  "argon2": "^0.45.0",
31
29
  "date-fns": "^4.4.0",
@@ -37,8 +35,6 @@
37
35
  "mysql2": "^3.23.3"
38
36
  },
39
37
  "devDependencies": {
40
- "@fastify/cookie": "^11.1.2",
41
- "@fastify/mysql": "^5.0.2",
42
38
  "@fastify/session": "^11.1.2",
43
39
  "argon2": "^0.45.0",
44
40
  "date-fns": "^4.4.0",