@digilogiclabs/platform-core 1.6.0 → 1.7.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/auth.d.mts +174 -1
- package/dist/auth.d.ts +174 -1
- package/dist/auth.js +108 -3
- package/dist/auth.js.map +1 -1
- package/dist/auth.mjs +101 -2
- package/dist/auth.mjs.map +1 -1
- package/dist/{index-CkyVz0hQ.d.mts → env-DerQ7Da-.d.mts} +2 -2
- package/dist/{index-CkyVz0hQ.d.ts → env-DerQ7Da-.d.ts} +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -17965,7 +17965,11 @@ function buildKeycloakCallbacks(config) {
|
|
|
17965
17965
|
* Compatible with Auth.js v5 JWT callback signature.
|
|
17966
17966
|
*/
|
|
17967
17967
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
17968
|
-
async jwt({
|
|
17968
|
+
async jwt({
|
|
17969
|
+
token,
|
|
17970
|
+
user,
|
|
17971
|
+
account
|
|
17972
|
+
}) {
|
|
17969
17973
|
if (user) {
|
|
17970
17974
|
token.id = token.sub ?? user.id;
|
|
17971
17975
|
}
|