@pylonsync/client 0.4.1 → 0.4.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/lib/api.d.ts +4 -0
- package/package.json +3 -3
- package/src/lib/api.ts +4 -0
package/dist/lib/api.d.ts
CHANGED
|
@@ -73,6 +73,10 @@ export interface OrgMember {
|
|
|
73
73
|
email: string | null;
|
|
74
74
|
/** Member's display name (displayName / name / fullName), if set. */
|
|
75
75
|
name: string | null;
|
|
76
|
+
/** OAuth profile picture from the member's most recent provider login.
|
|
77
|
+
* `null` for password/magic-link users — render an initials fallback.
|
|
78
|
+
* Absent on servers older than 0.4.2. */
|
|
79
|
+
avatar_url?: string | null;
|
|
76
80
|
}
|
|
77
81
|
export declare function listOrgMembers(orgId: string): Promise<OrgMember[]>;
|
|
78
82
|
export declare function updateMemberRole(orgId: string, userId: string, role: string): Promise<{
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.4.
|
|
6
|
+
"version": "0.4.3",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "src/index.ts",
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"prepack": "bun run build"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@pylonsync/react": "0.4.
|
|
24
|
-
"@pylonsync/sync": "0.4.
|
|
23
|
+
"@pylonsync/react": "0.4.3",
|
|
24
|
+
"@pylonsync/sync": "0.4.3",
|
|
25
25
|
"clsx": "^2.1.1"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
package/src/lib/api.ts
CHANGED
|
@@ -196,6 +196,10 @@ export interface OrgMember {
|
|
|
196
196
|
email: string | null;
|
|
197
197
|
/** Member's display name (displayName / name / fullName), if set. */
|
|
198
198
|
name: string | null;
|
|
199
|
+
/** OAuth profile picture from the member's most recent provider login.
|
|
200
|
+
* `null` for password/magic-link users — render an initials fallback.
|
|
201
|
+
* Absent on servers older than 0.4.2. */
|
|
202
|
+
avatar_url?: string | null;
|
|
199
203
|
}
|
|
200
204
|
|
|
201
205
|
export async function listOrgMembers(orgId: string): Promise<OrgMember[]> {
|