@thinkingcat/auth-utils 2.0.14 → 2.0.15
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/core/jwt.js +2 -0
- package/package.json +1 -1
package/dist/core/jwt.js
CHANGED
|
@@ -113,6 +113,8 @@ function createNextAuthJWT(payload, serviceId) {
|
|
|
113
113
|
jwt.accessTokenExpires = payload.accessTokenExpires;
|
|
114
114
|
if (payload.serviceId)
|
|
115
115
|
jwt.serviceId = payload.serviceId;
|
|
116
|
+
if (payload.deviceId)
|
|
117
|
+
jwt.deviceId = payload.deviceId;
|
|
116
118
|
return jwt;
|
|
117
119
|
}
|
|
118
120
|
/**
|
package/package.json
CHANGED