@bymax-one/nest-auth 1.5.11 → 1.5.13

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.
@@ -9784,10 +9784,9 @@ declare class SessionService {
9784
9784
  /**
9785
9785
  * Resolves the maximum number of concurrent sessions allowed for a user.
9786
9786
  *
9787
- * When `options.sessions.maxSessionsResolver` is configured, it is called with
9788
- * the full user record. Falls back to `options.sessions.defaultMaxSessions` if
9789
- * the resolver is absent, the user cannot be found, the resolver throws, or it answers
9790
- * with something that is not a usable limit.
9787
+ * When `options.sessions.maxSessionsResolver` is configured, it is called with the entity the user
9788
+ * repository returned. Falls back to `options.sessions.defaultMaxSessions` if the resolver is absent,
9789
+ * the user cannot be found, the resolver throws, or it answers with an unusable limit.
9791
9790
  *
9792
9791
  * That last case is the one that mattered. The resolver is the host's code and its return
9793
9792
  * value went straight into the eviction arithmetic, where `NaN` — the result of, say,
@@ -9784,10 +9784,9 @@ declare class SessionService {
9784
9784
  /**
9785
9785
  * Resolves the maximum number of concurrent sessions allowed for a user.
9786
9786
  *
9787
- * When `options.sessions.maxSessionsResolver` is configured, it is called with
9788
- * the full user record. Falls back to `options.sessions.defaultMaxSessions` if
9789
- * the resolver is absent, the user cannot be found, the resolver throws, or it answers
9790
- * with something that is not a usable limit.
9787
+ * When `options.sessions.maxSessionsResolver` is configured, it is called with the entity the user
9788
+ * repository returned. Falls back to `options.sessions.defaultMaxSessions` if the resolver is absent,
9789
+ * the user cannot be found, the resolver throws, or it answers with an unusable limit.
9791
9790
  *
9792
9791
  * That last case is the one that mattered. The resolver is the host's code and its return
9793
9792
  * value went straight into the eviction arithmetic, where `NaN` — the result of, say,