@functionalcms/svelte-components 2.17.6 → 2.17.8
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/auth/auth.js +1 -1
- package/package.json +9 -2
package/dist/auth/auth.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SvelteKitAuth } from "@auth/sveltekit";
|
|
2
2
|
import Keycloak from "@auth/sveltekit/providers/keycloak";
|
|
3
3
|
const defaultScopes = ["openid", "profile", "offline_access", "functional"];
|
|
4
|
-
const defaultTokenCallback = (
|
|
4
|
+
const defaultTokenCallback = (profile) => profile;
|
|
5
5
|
export const configureAuthentication = (secret, issuer, clientId, clientSecret, customClaims = [], jwtCallback = defaultTokenCallback) => {
|
|
6
6
|
const scope = defaultScopes.concat(customClaims).join(' ');
|
|
7
7
|
return () => SvelteKitAuth({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@functionalcms/svelte-components",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.8",
|
|
4
4
|
"watch": {
|
|
5
5
|
"build": {
|
|
6
6
|
"patterns": [
|
|
@@ -63,7 +63,14 @@
|
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@splidejs/svelte-splide": "^0.2.9",
|
|
65
65
|
"@auth/sveltekit": "latest",
|
|
66
|
-
"
|
|
66
|
+
"agnostic-svelte": "^1.0.11",
|
|
67
|
+
"sveltekit-i18n": "^2.4.2",
|
|
68
|
+
"mdsvex": "^0.11.2",
|
|
69
|
+
"node-html-parser": "^6.1.12",
|
|
70
|
+
"rehype-autolink-headings": "^7.1.0",
|
|
71
|
+
"rehype-slug": "^6.0.0",
|
|
72
|
+
"remark-abbr": "^1.4.2",
|
|
73
|
+
"remark-github": "^12.0.0"
|
|
67
74
|
},
|
|
68
75
|
"svelte": "./dist/index.js",
|
|
69
76
|
"types": "./dist/index.d.ts",
|