mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2025-06-08 01:16:42 +02:00
Merge branch 'main' into pr/23
This commit is contained in:
commit
b8771c7679
@ -14,6 +14,7 @@
|
||||
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
||||
"@typescript-eslint/parser": "^4.19.0",
|
||||
"autoprefixer": "^10.2.5",
|
||||
"build-esm": "^4.2.2",
|
||||
"cssnano": "^5.0.1",
|
||||
"eslint": "^7.22.0",
|
||||
"eslint-config-prettier": "^8.1.0",
|
||||
|
@ -36,8 +36,8 @@ export const appAuth = new SvelteKitAuth({
|
||||
apiKey: process.env['VITE_REDDIT_API_KEY'],
|
||||
apiSecret: process.env['REDDIT_API_SECRET'],
|
||||
profile(profile) {
|
||||
profile = RedditOAuth2Provider.profileHandler(profile);
|
||||
return { ...profile, provider: "reddit" };
|
||||
const slim = RedditOAuth2Provider.profileHandler(profile);
|
||||
return { ...slim, provider: "reddit" };
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
@ -7,7 +7,8 @@
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./client": "./dist/client/index.js",
|
||||
"./providers": "./dist/providers/index.js"
|
||||
"./providers": "./dist/providers/index.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
@ -49,6 +50,7 @@
|
||||
"@types/jsonwebtoken": "^8.5.1",
|
||||
"@typescript-eslint/eslint-plugin": "^4.23.0",
|
||||
"@typescript-eslint/parser": "^4.23.0",
|
||||
"build-esm": "^4.2.2",
|
||||
"esbuild": "^0.12.1",
|
||||
"eslint": "^7.26.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
@ -61,6 +63,7 @@
|
||||
"typescript": "^4.2.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@sveltejs/kit": "next"
|
||||
"@sveltejs/kit": "next",
|
||||
"build-esm": "^4.2.2"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user