abuzaid-session-guard 0.1.0-alpha.2 → 1.0.0
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/README.md +17 -3
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
# abuzaid-session-guard
|
|
2
|
-
Coach Abuzaid Open Source Labs —
|
|
2
|
+
Coach Abuzaid Open Source Labs — Stable Node.js API for the limited documented scope.
|
|
3
3
|
|
|
4
4
|
Clock-injected session timer core for foreground/background restoration
|
|
5
5
|
|
|
6
6
|
The timer stores elapsed time plus the last wall-clock anchor; it does not rely on background intervals. Persist snapshots in an application-owned durable store and restore them on resume. Backward clock changes are reported and never subtract elapsed time; forward clock jumps cannot be distinguished from true elapsed time without an independent time source. This is a timer core, not a native background service.
|
|
7
7
|
|
|
8
|
-
Run npm test (Node.js 20+). No runtime dependencies. Review
|
|
8
|
+
Run npm test (Node.js 20+). No runtime dependencies. Review integration requirements before production use.
|
|
9
9
|
|
|
10
10
|
## Release status
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
A deterministic, clock-injected timer state core. The caller supplies timestamps and owns persistence. A forward wall-clock jump cannot be distinguished from true elapsed time; this is not an OS background service.
|
|
13
|
+
|
|
14
|
+
Scope: stable public functions for the narrow documented API, not a certification of a complete application or independent security or clinical validation. Source logic unchanged from qualified alpha.3. Tested on Windows, Linux and macOS with Node 20, 22 and 24; Node 20 is a legacy compatibility test, use a currently supported runtime. Browser smoke checks on Chrome and Edge only; no claim of native device support.
|
|
15
|
+
|
|
16
|
+
Qualification: https://github.com/coachabuzaid-spec/abuzaid-intelligent-training-system/actions/runs/47681002368
|
|
17
|
+
|
|
18
|
+
Local source screening, artifact integrity and targeted adversarial checks passed. Future changes will follow semantic versioning for the documented API. No production guarantees. Use bounded inputs; callers own security boundaries and integration testing.
|
|
19
|
+
|
|
20
|
+
Installation from this GitHub release: npm install https://github.com/coachabuzaid-spec/abuzaid-session-guard/releases/download/v1.0.0/abuzaid-session-guard-1.0.0.tgz
|
|
21
|
+
Registry publication is separate and not yet confirmed.
|
|
22
|
+
|
|
12
23
|
|
|
13
24
|
## License and attribution
|
|
14
25
|
Source code is licensed under Apache-2.0; see LICENSE and NOTICE. The Coach Abuzaid name and branding are not licensed for implying endorsement. Project website: https://coachabuzaid.uk.
|
|
26
|
+
|
|
27
|
+
## Alpha.3 changes
|
|
28
|
+
Adds persistence, idempotent start, rollback and overflow regression tests. Forward wall-clock jumps still require an independent time source.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "abuzaid-session-guard",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Clock-injected session timer core for foreground/background restoration",
|
|
6
6
|
"exports": "./src/index.mjs",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "https://github.com/coachabuzaid-spec/abuzaid-session-guard/issues"
|
|
21
21
|
},
|
|
22
|
+
"files": [
|
|
23
|
+
"src",
|
|
24
|
+
"NOTICE"
|
|
25
|
+
],
|
|
22
26
|
"publishConfig": {
|
|
23
27
|
"access": "public",
|
|
24
|
-
"tag": "
|
|
28
|
+
"tag": "latest",
|
|
25
29
|
"registry": "https://registry.npmjs.org/"
|
|
26
|
-
}
|
|
27
|
-
"files": [
|
|
28
|
-
"NOTICE",
|
|
29
|
-
"src"
|
|
30
|
-
]
|
|
30
|
+
}
|
|
31
31
|
}
|