@zeniai/client-epic-state 5.0.47-beta0ND → 5.0.47
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.
|
@@ -40,10 +40,6 @@ export declare class SessionManager {
|
|
|
40
40
|
continueSession(): void;
|
|
41
41
|
isWarningActive(): boolean;
|
|
42
42
|
getSecondsRemaining(): number;
|
|
43
|
-
/** Wall-clock timestamp of the last detected user activity. Surfaced so
|
|
44
|
-
* the auto-logout flow can pass this through to the signin page (e.g.
|
|
45
|
-
* to render a "Last active: X min ago" banner). */
|
|
46
|
-
getLastActivityTime(): number;
|
|
47
43
|
private onActivity;
|
|
48
44
|
private onVisibilityChange;
|
|
49
45
|
/** Single source of truth for marking activity locally. */
|
|
@@ -130,12 +130,6 @@ class SessionManager {
|
|
|
130
130
|
getSecondsRemaining() {
|
|
131
131
|
return this.secondsRemaining;
|
|
132
132
|
}
|
|
133
|
-
/** Wall-clock timestamp of the last detected user activity. Surfaced so
|
|
134
|
-
* the auto-logout flow can pass this through to the signin page (e.g.
|
|
135
|
-
* to render a "Last active: X min ago" banner). */
|
|
136
|
-
getLastActivityTime() {
|
|
137
|
-
return this.lastActivityTime;
|
|
138
|
-
}
|
|
139
133
|
// ─── Private ───────────────────────────────────────────────
|
|
140
134
|
onActivity() {
|
|
141
135
|
if (!this.running || this.warningActive) {
|
|
@@ -127,12 +127,6 @@ export class SessionManager {
|
|
|
127
127
|
getSecondsRemaining() {
|
|
128
128
|
return this.secondsRemaining;
|
|
129
129
|
}
|
|
130
|
-
/** Wall-clock timestamp of the last detected user activity. Surfaced so
|
|
131
|
-
* the auto-logout flow can pass this through to the signin page (e.g.
|
|
132
|
-
* to render a "Last active: X min ago" banner). */
|
|
133
|
-
getLastActivityTime() {
|
|
134
|
-
return this.lastActivityTime;
|
|
135
|
-
}
|
|
136
130
|
// ─── Private ───────────────────────────────────────────────
|
|
137
131
|
onActivity() {
|
|
138
132
|
if (!this.running || this.warningActive) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.0.47
|
|
3
|
+
"version": "5.0.47",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|