@travetto/auth 5.0.0-rc.2 → 5.0.0-rc.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/auth",
3
- "version": "5.0.0-rc.2",
3
+ "version": "5.0.0-rc.4",
4
4
  "description": "Authentication scaffolding for the Travetto framework",
5
5
  "keywords": [
6
6
  "authentication",
@@ -23,7 +23,7 @@
23
23
  "directory": "module/auth"
24
24
  },
25
25
  "dependencies": {
26
- "@travetto/runtime": "^5.0.0-rc.2"
26
+ "@travetto/runtime": "^5.0.0-rc.4"
27
27
  },
28
28
  "travetto": {
29
29
  "displayName": "Authentication"
@@ -1,11 +1,12 @@
1
+ import { AnyMap } from '@travetto/runtime';
2
+
1
3
  /**
2
4
  * A user principal, including permissions and details
3
5
  *
4
6
  * @concrete ../internal/types#PrincipalTarget
5
7
  * @augments `@travetto/rest:Context`
6
8
  */
7
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
8
- export interface Principal<D = { [key: string]: any }> {
9
+ export interface Principal<D = AnyMap> {
9
10
  /**
10
11
  * Primary identifier for a user
11
12
  */