@travetto/auth-session 7.0.3 → 7.0.5
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 +5 -5
- package/src/context.ts +2 -2
- package/src/service.ts +3 -3
- package/src/session.ts +1 -1
- package/support/test/server.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/auth-session",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Session provider for the travetto auth module.",
|
|
6
6
|
"keywords": [
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"directory": "module/auth-session"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@travetto/auth": "^7.0.
|
|
30
|
-
"@travetto/config": "^7.0.
|
|
31
|
-
"@travetto/model": "^7.0.
|
|
29
|
+
"@travetto/auth": "^7.0.5",
|
|
30
|
+
"@travetto/config": "^7.0.5",
|
|
31
|
+
"@travetto/model": "^7.0.5"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@travetto/test": "^7.0.
|
|
34
|
+
"@travetto/test": "^7.0.5"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"@travetto/test": {
|
package/src/context.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Injectable, Inject } from '@travetto/di';
|
|
2
|
-
import { AsyncContext, AsyncContextValue } from '@travetto/context';
|
|
3
|
-
import { AuthContext, AuthenticationError } from '@travetto/auth';
|
|
2
|
+
import { type AsyncContext, AsyncContextValue } from '@travetto/context';
|
|
3
|
+
import { type AuthContext, AuthenticationError } from '@travetto/auth';
|
|
4
4
|
|
|
5
5
|
import { Session } from './session.ts';
|
|
6
6
|
|
package/src/service.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Injectable, Inject } from '@travetto/di';
|
|
2
2
|
import { JSONUtil } from '@travetto/runtime';
|
|
3
|
-
import { ModelExpirySupport, NotFoundError } from '@travetto/model';
|
|
4
|
-
import { AuthContext, AuthService } from '@travetto/auth';
|
|
3
|
+
import { type ModelExpirySupport, NotFoundError } from '@travetto/model';
|
|
4
|
+
import type { AuthContext, AuthService } from '@travetto/auth';
|
|
5
5
|
|
|
6
6
|
import { Session } from './session.ts';
|
|
7
7
|
import { SessionEntry, SessionModelSymbol } from './model.ts';
|
|
8
|
-
import { SessionContext } from './context.ts';
|
|
8
|
+
import type { SessionContext } from './context.ts';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Service for supporting the session and managing the session state
|
package/src/session.ts
CHANGED
package/support/test/server.ts
CHANGED
|
@@ -2,9 +2,9 @@ import assert from 'node:assert';
|
|
|
2
2
|
|
|
3
3
|
import { Suite, Test } from '@travetto/test';
|
|
4
4
|
import { Inject } from '@travetto/di';
|
|
5
|
-
import { SessionContext, SessionService } from '@travetto/auth-session';
|
|
6
|
-
import { AuthContext, AuthenticationError } from '@travetto/auth';
|
|
7
|
-
import { AsyncContext, WithAsyncContext } from '@travetto/context';
|
|
5
|
+
import type { SessionContext, SessionService } from '@travetto/auth-session';
|
|
6
|
+
import { type AuthContext, AuthenticationError } from '@travetto/auth';
|
|
7
|
+
import { type AsyncContext, WithAsyncContext } from '@travetto/context';
|
|
8
8
|
import { Util } from '@travetto/runtime';
|
|
9
9
|
|
|
10
10
|
import { InjectableSuite } from '@travetto/di/support/test/suite.ts';
|