@siremzam/sentinel 0.4.0 → 0.4.1

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/README.md +3 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -28,11 +28,10 @@ This library was built from a different starting point:
28
28
 
29
29
  ---
30
30
 
31
- ### What's New in 0.3.3
31
+ ### What's New in 0.4.1
32
32
 
33
- - Hono middleware — `honoGuard()` via `@siremzam/sentinel/middleware/hono`
34
- - README rewrite: evaluation walkthrough, concepts glossary, patterns & recipes, migration guide, benchmark data
35
- - Standalone example (`examples/standalone/`) — no HTTP server needed
33
+ - **Async conditions without opt-in** No more `asyncConditions: true` flag. Use `evaluateAsync()`, `explainAsync()`, or `permittedAsync()` when you have async conditions; the engine detects them and throws a clear error if you use the sync API by mistake.
34
+ - `asyncConditions` option deprecated (will be removed in v2)
36
35
 
37
36
  See the full [CHANGELOG](./CHANGELOG.md).
38
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siremzam/sentinel",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "TypeScript-first, domain-driven authorization engine for modern SaaS apps",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",