@fastify-core/base 1.0.0 → 1.0.1
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 +1 -3
- package/package.json +63 -61
package/dist/index.d.mts
CHANGED
|
@@ -629,9 +629,7 @@ 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
|
|
633
|
-
cookies?: any;
|
|
634
|
-
}): any;
|
|
632
|
+
static verifyToken(req: FastifyRequest): any;
|
|
635
633
|
static checkSecretKey(key: string): void;
|
|
636
634
|
}
|
|
637
635
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,61 +1,63 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fastify-core/base",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "",
|
|
6
|
-
"types": "./dist/index.d.ts",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
10
|
-
"import": "./dist/index.mjs"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"files": [
|
|
14
|
-
"dist",
|
|
15
|
-
"scripts/postinstall.cjs",
|
|
16
|
-
"README.md"
|
|
17
|
-
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"test": "tsc --noEmit && oxlint .",
|
|
20
|
-
"build": "tsdown",
|
|
21
|
-
"pack": "npm run build && npm pack",
|
|
22
|
-
"prepublishOnly": "npm run build",
|
|
23
|
-
"postinstall": "node scripts/postinstall.cjs"
|
|
24
|
-
},
|
|
25
|
-
"keywords": [],
|
|
26
|
-
"author": "MIT",
|
|
27
|
-
"license": "ISC",
|
|
28
|
-
"peerDependencies": {
|
|
29
|
-
"@fastify/
|
|
30
|
-
"@fastify/
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"date-fns
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"@fastify/
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"argon2": "^0.45.0",
|
|
46
|
-
"date-fns": "^4.4.0",
|
|
47
|
-
"date-fns-tz": "^3.2.0",
|
|
48
|
-
"decimal.js": "^10.6.0",
|
|
49
|
-
"dotenv": "^17.4.2",
|
|
50
|
-
"fastify": "^5.10.0",
|
|
51
|
-
"jsonwebtoken": "^9.0.3",
|
|
52
|
-
"mysql2": "^3.23.3",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@fastify-core/base",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.mjs"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"scripts/postinstall.cjs",
|
|
16
|
+
"README.md"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"test": "tsc --noEmit && oxlint .",
|
|
20
|
+
"build": "tsdown",
|
|
21
|
+
"pack": "npm run build && npm pack",
|
|
22
|
+
"prepublishOnly": "npm run build",
|
|
23
|
+
"postinstall": "node scripts/postinstall.cjs"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [],
|
|
26
|
+
"author": "MIT",
|
|
27
|
+
"license": "ISC",
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@fastify/cookie": "^11.1.2",
|
|
30
|
+
"@fastify/mysql": "^5.0.2",
|
|
31
|
+
"@fastify/session": "^11.1.2",
|
|
32
|
+
"argon2": "^0.45.0",
|
|
33
|
+
"date-fns": "^4.4.0",
|
|
34
|
+
"date-fns-tz": "^3.2.0",
|
|
35
|
+
"decimal.js": "^10.6.0",
|
|
36
|
+
"dotenv": "^17.4.2",
|
|
37
|
+
"fastify": "^5.10.0",
|
|
38
|
+
"jsonwebtoken": "^9.0.3",
|
|
39
|
+
"mysql2": "^3.23.3"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@fastify/cookie": "^11.1.2",
|
|
43
|
+
"@fastify/mysql": "^5.0.2",
|
|
44
|
+
"@fastify/session": "^11.1.2",
|
|
45
|
+
"argon2": "^0.45.0",
|
|
46
|
+
"date-fns": "^4.4.0",
|
|
47
|
+
"date-fns-tz": "^3.2.0",
|
|
48
|
+
"decimal.js": "^10.6.0",
|
|
49
|
+
"dotenv": "^17.4.2",
|
|
50
|
+
"fastify": "^5.10.0",
|
|
51
|
+
"jsonwebtoken": "^9.0.3",
|
|
52
|
+
"mysql2": "^3.23.3",
|
|
53
|
+
"@types/jsonwebtoken": "^9.0.10",
|
|
54
|
+
"@types/node": "^26.2.0",
|
|
55
|
+
"oxlint": "^1.74.0",
|
|
56
|
+
"ts-node": "^10.9.2",
|
|
57
|
+
"tsdown": "^0.22.14",
|
|
58
|
+
"typescript": "^6.0.3"
|
|
59
|
+
},
|
|
60
|
+
"engines": {
|
|
61
|
+
"node": ">=24"
|
|
62
|
+
}
|
|
63
|
+
}
|