Skip to content

Commit 67078d5

Browse files
committed
🧹 chore: bump version
1 parent 188b20c commit 67078d5

File tree

5 files changed

+86
-56
lines changed

5 files changed

+86
-56
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
11

2+
# 1.0.2 - 18 Mar 2024
3+
Change:
4+
- Add support for Elysia 1.0
5+
6+
7+
# 1.0.0 - 16 Mar 2024
8+
Change:
9+
- Add support for Elysia 1.0
10+
11+
12+
# 1.0.0-rc.0 - 1 Mar 2024
13+
Change:
14+
- Add support for Elysia 1.0
15+
16+
17+
# 1.0.0-beta.1 - 17 Feb 2024
18+
Change:
19+
- Add support for Elysia 1.0
20+
21+
22+
# 1.0.0-beta.0 - 6 Feb 2024
23+
Change:
24+
- Add support for Elysia 1.0
25+
26+
27+
# 0.8.0 - 23 Dec 2023
28+
Change:
29+
- Add support for Elysia 0.8
30+
31+
232
# 0.8.0-rc.0 - 15 Dec 2023
333
Change:
434
- Add support for Elysia 0.8

bun.lockb

594 Bytes
Binary file not shown.

example/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ const app = new Elysia()
1818
auth.set({
1919
value: await jwt2.sign(params),
2020
httpOnly: true,
21-
maxAge: 7 * 86400
21+
maxAge: 7 * 86400,
22+
path: '/'
2223
})
2324

2425
return `Sign in as ${auth.value}`

package.json

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
11
{
2-
"name": "@elysiajs/jwt",
3-
"description": "Plugin for Elysia for using JWT Authentication",
4-
"version": "0.8.0",
5-
"author": {
6-
"name": "saltyAom",
7-
"url": "https://github.com/SaltyAom",
8-
"email": "saltyaom@gmail.com"
9-
},
10-
"repository": {
11-
"type": "git",
12-
"url": "https://github.com/elysiajs/elysia-jwt"
13-
},
14-
"main": "./dist/index.js",
15-
"exports": {
16-
"bun": "./dist/index.js",
17-
"node": "./dist/cjs/index.js",
18-
"require": "./dist/cjs/index.js",
19-
"import": "./dist/index.js",
20-
"default": "./dist/index.js"
21-
},
22-
"types": "./dist/index.d.ts",
23-
"bugs": "https://github.com/elysiajs/elysia-jwt/issues",
24-
"homepage": "https://github.com/elysiajs/elysia-jwt",
25-
"keywords": [
26-
"elysia",
27-
"jwt",
28-
"auth",
29-
"authentication"
30-
],
31-
"license": "MIT",
32-
"scripts": {
33-
"dev": "bun run --hot example/index.ts",
34-
"test": "bun test && npm run test:node",
35-
"test:node": "npm install --prefix ./test/node/cjs/ && npm install --prefix ./test/node/esm/ && node ./test/node/cjs/index.js && node ./test/node/esm/index.js",
36-
"build": "rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json",
37-
"release": "npm run build && npm run test && npm publish --access public"
38-
},
39-
"dependencies": {
40-
"jose": "^4.14.4"
41-
},
42-
"devDependencies": {
43-
"@elysiajs/cookie": "^0.3.0",
44-
"@types/node": "^20.1.4",
45-
"@typescript-eslint/eslint-plugin": "^6.6.0",
46-
"@typescript-eslint/parser": "^6.6.0",
47-
"bun-types": "^0.5.8",
48-
"elysia": "0.8.0",
49-
"eslint": "^8.40.0",
50-
"rimraf": "4.3",
51-
"typescript": "^5.1.6"
52-
},
53-
"peerDependencies": {
54-
"elysia": ">= 0.8.0"
55-
}
2+
"name": "@elysiajs/jwt",
3+
"description": "Plugin for Elysia for using JWT Authentication",
4+
"version": "1.0.2",
5+
"author": {
6+
"name": "saltyAom",
7+
"url": "https://github.com/SaltyAom",
8+
"email": "saltyaom@gmail.com"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/elysiajs/elysia-jwt"
13+
},
14+
"main": "./dist/index.js",
15+
"exports": {
16+
"bun": "./dist/index.js",
17+
"node": "./dist/cjs/index.js",
18+
"require": "./dist/cjs/index.js",
19+
"import": "./dist/index.js",
20+
"default": "./dist/index.js"
21+
},
22+
"types": "./dist/index.d.ts",
23+
"bugs": "https://github.com/elysiajs/elysia-jwt/issues",
24+
"homepage": "https://github.com/elysiajs/elysia-jwt",
25+
"keywords": [
26+
"elysia",
27+
"jwt",
28+
"auth",
29+
"authentication"
30+
],
31+
"license": "MIT",
32+
"scripts": {
33+
"dev": "bun run --hot example/index.ts",
34+
"test": "bun test && npm run test:node",
35+
"test:node": "npm install --prefix ./test/node/cjs/ && npm install --prefix ./test/node/esm/ && node ./test/node/cjs/index.js && node ./test/node/esm/index.js",
36+
"build": "rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json",
37+
"release": "npm run build && npm run test && npm publish --access public"
38+
},
39+
"dependencies": {
40+
"jose": "^4.14.4"
41+
},
42+
"devDependencies": {
43+
"@elysiajs/cookie": "^0.3.0",
44+
"@types/bun": "^1.0.4",
45+
"@types/node": "^20.1.4",
46+
"@typescript-eslint/eslint-plugin": "^6.6.0",
47+
"@typescript-eslint/parser": "^6.6.0",
48+
"elysia": "1.0.2",
49+
"eslint": "^8.40.0",
50+
"rimraf": "4.3",
51+
"typescript": "^5.1.6"
52+
},
53+
"peerDependencies": {
54+
"elysia": ">= 1.0.2"
55+
}
5656
}

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
3333
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
3434
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
35-
"types": ["bun-types"], /* Specify type package names to be included without being referenced in a source file. */
3635
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
3736
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
3837
// "resolveJsonModule": true, /* Enable importing .json files. */

0 commit comments

Comments
 (0)