@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.
Files changed (2) hide show
  1. package/dist/core/jwt.js +2 -0
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkingcat/auth-utils",
3
- "version": "2.0.14",
3
+ "version": "2.0.15",
4
4
  "description": "Authentication utilities for ThinkingCat SSO services with conditional logging",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",