@teamblind/axeda-express 0.1.0-alpha.0 → 0.1.0-alpha.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.
- package/CHANGELOG.md +8 -0
- package/README.md +3 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @teamblind/axeda-express
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- No changes of its own. It is versioned together with the other packages so that the four share one version, and it now depends on `@teamblind/axeda-core` `0.1.0-alpha.1`.
|
|
8
|
+
- Updated dependencies [ce83aff]
|
|
9
|
+
- @teamblind/axeda-core@0.1.0-alpha.1
|
|
10
|
+
|
|
3
11
|
## 0.1.0-alpha.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Middleware to guard the routes of an Express 5 application with Axeda permissions: `requireAuth()`, `requirePermission()` and `resolveScope()`. It denies by default, resolves the company of a business from the database and requires a trusted origin for cookie-bearing writes.
|
|
4
4
|
|
|
5
|
-
> **Status:** alpha (`0.1.0-alpha.
|
|
5
|
+
> **Status:** alpha (`0.1.0-alpha.1`); the API can still change before 1.0. Install with `npm install @teamblind/axeda-express@alpha`. Documentation: [English](https://github.com/teamblindmx/axeda/tree/main/docs/en) · [Español](https://github.com/teamblindmx/axeda/tree/main/docs/es).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
import { createAxedaExpress, resolveScope } from '@teamblind/axeda-express';
|
|
@@ -10,4 +10,6 @@ import { createAxedaExpress, resolveScope } from '@teamblind/axeda-express';
|
|
|
10
10
|
|
|
11
11
|
Peer dependency: `express` `^5`. Express 4 is not supported.
|
|
12
12
|
|
|
13
|
+
Guides: [Quick start](https://github.com/teamblindmx/axeda/blob/main/docs/en/quickstart.md) · [Configuration](https://github.com/teamblindmx/axeda/blob/main/docs/en/configuration.md) · [Reference](https://github.com/teamblindmx/axeda/blob/main/docs/en/reference.md) · [Upgrading](https://github.com/teamblindmx/axeda/blob/main/docs/en/upgrading.md).
|
|
14
|
+
|
|
13
15
|
Part of [Axeda](https://github.com/teamblindmx/axeda), hierarchical authorization (global → company → business) on top of [Better Auth](https://www.better-auth.com). Licensed under [Apache-2.0](LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamblind/axeda-express",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
4
|
"description": "Express helpers for Axeda: requirePermission() and resolveScope().",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "TeamBlind",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"node": ">=22"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@teamblind/axeda-core": "^0.1.0-alpha.
|
|
48
|
+
"@teamblind/axeda-core": "^0.1.0-alpha.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@types/express": "^5.0.0",
|