@ley0x/better-auth-lastfm 1.1.6 → 1.2.0
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.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -147,9 +147,9 @@ function lastfmPlugin(options) {
|
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
|
-
const session = await ctx.context.internalAdapter.createSession(user.id
|
|
150
|
+
const session = await ctx.context.internalAdapter.createSession(user.id);
|
|
151
151
|
const cookieName = ctx.context.authCookies.sessionToken.name;
|
|
152
|
-
const cookieOptions = ctx.context.authCookies.sessionToken.
|
|
152
|
+
const cookieOptions = ctx.context.authCookies.sessionToken.attributes;
|
|
153
153
|
await ctx.setSignedCookie(
|
|
154
154
|
cookieName,
|
|
155
155
|
session.token,
|
package/dist/index.js
CHANGED
|
@@ -120,9 +120,9 @@ function lastfmPlugin(options) {
|
|
|
120
120
|
}
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
|
-
const session = await ctx.context.internalAdapter.createSession(user.id
|
|
123
|
+
const session = await ctx.context.internalAdapter.createSession(user.id);
|
|
124
124
|
const cookieName = ctx.context.authCookies.sessionToken.name;
|
|
125
|
-
const cookieOptions = ctx.context.authCookies.sessionToken.
|
|
125
|
+
const cookieOptions = ctx.context.authCookies.sessionToken.attributes;
|
|
126
126
|
await ctx.setSignedCookie(
|
|
127
127
|
cookieName,
|
|
128
128
|
session.token,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ley0x/better-auth-lastfm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Last.fm authentication plugin for BetterAuth",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -44,16 +44,16 @@
|
|
|
44
44
|
"better-auth": "^1.x.x"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"zod": "^3.
|
|
47
|
+
"zod": "^4.3.6"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@eslint/js": "^9.
|
|
51
|
-
"@types/node": "^
|
|
50
|
+
"@eslint/js": "^9.39.2",
|
|
51
|
+
"@types/node": "^25.0.10",
|
|
52
52
|
"better-auth": "latest",
|
|
53
|
-
"eslint": "^9.
|
|
54
|
-
"tsup": "^8.5.
|
|
55
|
-
"typescript": "^5.9.
|
|
56
|
-
"typescript-eslint": "^8.
|
|
53
|
+
"eslint": "^9.39.2",
|
|
54
|
+
"tsup": "^8.5.1",
|
|
55
|
+
"typescript": "^5.9.3",
|
|
56
|
+
"typescript-eslint": "^8.53.1",
|
|
57
57
|
"vitest": "^1.6.1"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|