@eventuras/fides-auth-store 0.2.1 → 0.2.3
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/dist/session-monitor.d.ts +3 -3
- package/dist/store.d.ts +2 -2
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SessionClientEvent } from '@eventuras/fides-auth/session-events';
|
|
2
|
-
import { createAuthStore } from './store';
|
|
3
|
-
import { AuthStatus } from './types';
|
|
1
|
+
import { type SessionClientEvent } from '@eventuras/fides-auth/session-events';
|
|
2
|
+
import type { createAuthStore } from './store';
|
|
3
|
+
import type { AuthStatus } from './types';
|
|
4
4
|
/**
|
|
5
5
|
* Configuration for session monitoring
|
|
6
6
|
*/
|
package/dist/store.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SessionUser, AuthStatus } from './types';
|
|
1
|
+
import type { SessionUser, AuthStatus } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Authentication store context
|
|
4
4
|
*/
|
|
@@ -51,7 +51,7 @@ export type AuthStoreConfig = {
|
|
|
51
51
|
* });
|
|
52
52
|
* ```
|
|
53
53
|
*/
|
|
54
|
-
export declare function createAuthStore(options: AuthStoreConfig): import(
|
|
54
|
+
export declare function createAuthStore(options: AuthStoreConfig): import("@xstate/store").Store<AuthStoreContext, {
|
|
55
55
|
initialize: unknown;
|
|
56
56
|
authSuccess: {
|
|
57
57
|
user: SessionUser;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eventuras/fides-auth-store",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Framework-agnostic authentication state store (XState Store) for @eventuras/fides-auth",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"authentication",
|
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@eventuras/logger": "^0.8.1",
|
|
42
|
-
"@xstate/store": "^4.2.
|
|
43
|
-
"@eventuras/fides-auth": "0.
|
|
42
|
+
"@xstate/store": "^4.2.3",
|
|
43
|
+
"@eventuras/fides-auth": "0.14.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/node": "^22.20.1",
|
|
47
|
-
"typescript": "^
|
|
48
|
-
"vite": "^8.2.
|
|
47
|
+
"typescript": "^7.0.2",
|
|
48
|
+
"vite": "^8.2.1",
|
|
49
49
|
"vitest": "^4.1.10",
|
|
50
50
|
"@eventuras/typescript-config": "1.0.0",
|
|
51
|
-
"@eventuras/vite-config": "0.
|
|
51
|
+
"@eventuras/vite-config": "0.3.0"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=18"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
|
-
"build": "vite build",
|
|
57
|
+
"build": "vite build && tsc --emitDeclarationOnly",
|
|
58
58
|
"typecheck": "tsc --noEmit",
|
|
59
59
|
"dev": "vite build --watch",
|
|
60
60
|
"test": "vitest run",
|