@bymax-one/nest-auth 1.5.11 → 1.5.12
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/CHANGELOG.md +62 -1
- package/dist/server/index.cjs +579 -47
- package/dist/server/index.d.cts +3 -4
- package/dist/server/index.d.ts +3 -4
- package/dist/server/index.mjs +580 -48
- package/package.json +1 -1
package/dist/server/index.d.cts
CHANGED
|
@@ -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
|
-
*
|
|
9789
|
-
* the
|
|
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,
|
package/dist/server/index.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
9789
|
-
* the
|
|
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,
|