@stackframe/stack-shared 2.5.1 → 2.5.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @stackframe/stack-shared
2
2
 
3
+ ## 2.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Team profile pictures
8
+ - @stackframe/stack-sc@2.5.2
9
+
3
10
  ## 2.5.1
4
11
 
5
12
  ### Patch Changes
@@ -104,11 +104,12 @@ export type ProductionModeError = {
104
104
  export type OrglikeJson = {
105
105
  id: string;
106
106
  displayName: string;
107
+ profileImageUrl?: string;
107
108
  createdAtMillis: number;
108
109
  };
109
110
  export type TeamJson = OrglikeJson;
110
111
  export type OrganizationJson = OrglikeJson;
111
- export type OrglikeCustomizableJson = Pick<OrglikeJson, "displayName">;
112
+ export type OrglikeCustomizableJson = Pick<OrglikeJson, "displayName" | "profileImageUrl">;
112
113
  export type TeamCustomizableJson = OrglikeCustomizableJson;
113
114
  export type TeamMemberJson = {
114
115
  userId: string;
@@ -11,7 +11,7 @@ export type ServerUserUpdateJson = UserUpdateJson & {
11
11
  primaryEmail?: string | null;
12
12
  primaryEmailVerified?: boolean;
13
13
  };
14
- export type ServerOrglikeCustomizableJson = Pick<ServerOrglikeJson, "displayName">;
14
+ export type ServerOrglikeCustomizableJson = Pick<ServerOrglikeJson, "displayName" | "profileImageUrl">;
15
15
  export type ServerOrglikeJson = OrglikeJson & {};
16
16
  export type ServerTeamCustomizableJson = ServerOrglikeCustomizableJson;
17
17
  export type ServerTeamJson = ServerOrglikeJson;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackframe/stack-shared",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -36,7 +36,7 @@
36
36
  "jose": "^5.2.2",
37
37
  "oauth4webapi": "^2.10.3",
38
38
  "uuid": "^9.0.1",
39
- "@stackframe/stack-sc": "2.5.1"
39
+ "@stackframe/stack-sc": "2.5.2"
40
40
  },
41
41
  "devDependencies": {
42
42
  "rimraf": "^5.0.5",