@insforge/shared 1.0.10 → 1.0.12-dev.0

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/index.d.cts CHANGED
@@ -2,12 +2,16 @@ import { CreateSessionResponse, CreateUserResponse, ResetPasswordResponse, Verif
2
2
 
3
3
  /**
4
4
  * Insforge User type
5
+ * Core fields (id, email, name, avatarUrl) are always present
6
+ * Additional profile fields are stored in the profile object
5
7
  */
6
8
  interface InsforgeUser {
7
9
  id: string;
8
10
  email: string;
9
11
  name?: string;
10
12
  avatarUrl?: string;
13
+ /** Dynamic profile fields from backend (e.g., bio, birthday) */
14
+ profile?: Record<string, unknown>;
11
15
  }
12
16
  /**
13
17
  * OAuth Provider type - re-export from shared-schemas
package/dist/index.d.ts CHANGED
@@ -2,12 +2,16 @@ import { CreateSessionResponse, CreateUserResponse, ResetPasswordResponse, Verif
2
2
 
3
3
  /**
4
4
  * Insforge User type
5
+ * Core fields (id, email, name, avatarUrl) are always present
6
+ * Additional profile fields are stored in the profile object
5
7
  */
6
8
  interface InsforgeUser {
7
9
  id: string;
8
10
  email: string;
9
11
  name?: string;
10
12
  avatarUrl?: string;
13
+ /** Dynamic profile fields from backend (e.g., bio, birthday) */
14
+ profile?: Record<string, unknown>;
11
15
  }
12
16
  /**
13
17
  * OAuth Provider type - re-export from shared-schemas
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insforge/shared",
3
- "version": "1.0.10",
3
+ "version": "1.0.12-dev.0",
4
4
  "description": "Shared utilities and React contexts for Insforge packages",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -40,7 +40,7 @@
40
40
  "react": ">=18.0.0 <20.0.0"
41
41
  },
42
42
  "dependencies": {
43
- "@insforge/sdk": "1.0.3-dev.3",
43
+ "@insforge/sdk": "1.0.4",
44
44
  "@insforge/shared-schemas": "^1.1.35"
45
45
  },
46
46
  "devDependencies": {