@eventuras/fides-auth-react 0.1.6 → 0.1.7

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/hooks.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { SessionUser, createAuthStore } from '@eventuras/fides-auth-store';
1
+ import type { SessionUser, createAuthStore } from '@eventuras/fides-auth-store';
2
2
  /**
3
3
  * Return type for store-based auth hooks
4
4
  */
@@ -1,4 +1,4 @@
1
- import { HeartbeatConfig } from '@eventuras/fides-auth/heartbeat';
1
+ import { type HeartbeatConfig } from '@eventuras/fides-auth/heartbeat';
2
2
  export type { HeartbeatConfig };
3
3
  /**
4
4
  * React wrapper around the framework-agnostic {@link createHeartbeat} engine.
@@ -1,4 +1,4 @@
1
- import { SessionMonitorConfig, AuthStatus, createAuthStore } from '@eventuras/fides-auth-store';
1
+ import { type SessionMonitorConfig, type AuthStatus, type createAuthStore } from '@eventuras/fides-auth-store';
2
2
  /**
3
3
  * React hook for session monitoring with automatic cleanup
4
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventuras/fides-auth-react",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "React hooks for @eventuras/fides-auth — auth store bindings, session monitoring, and heartbeat",
5
5
  "keywords": [
6
6
  "authentication",
@@ -40,30 +40,30 @@
40
40
  "dependencies": {
41
41
  "@eventuras/logger": "^0.8.1",
42
42
  "@xstate/store-react": "^2.0.0",
43
- "@eventuras/fides-auth-store": "0.2.2",
44
- "@eventuras/fides-auth": "0.14.0"
43
+ "@eventuras/fides-auth": "0.14.1",
44
+ "@eventuras/fides-auth-store": "0.2.3"
45
45
  },
46
46
  "peerDependencies": {
47
- "@xstate/store": "^4.2.2",
47
+ "@xstate/store": "^4.2.3",
48
48
  "@xstate/store-react": "^2.0.0",
49
49
  "react": "^19.0.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/react": "^19.2.18",
53
- "@xstate/store": "^4.2.2",
53
+ "@xstate/store": "^4.2.3",
54
54
  "@xstate/store-react": "^2.0.0",
55
55
  "react": "^19.2.8",
56
- "typescript": "^6.0.2",
56
+ "typescript": "^7.0.2",
57
57
  "vite": "^8.2.1",
58
58
  "vitest": "^4.1.10",
59
59
  "@eventuras/typescript-config": "1.0.0",
60
- "@eventuras/vite-config": "0.2.2"
60
+ "@eventuras/vite-config": "0.3.0"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=18"
64
64
  },
65
65
  "scripts": {
66
- "build": "vite build",
66
+ "build": "vite build && tsc --emitDeclarationOnly",
67
67
  "typecheck": "tsc --noEmit",
68
68
  "dev": "vite build --watch",
69
69
  "test": "vitest run",