Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit 1573518

Browse files
feat: Remove version field from the profile's avatar object (#487)
1 parent 0abe595 commit 1573518

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

packages/shared/profiles/transformations/profileToRendererFormat.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ export function profileToRendererFormat(
3939
avatar: {
4040
wearables: profile.avatar?.wearables || [],
4141
emotes: profile.avatar?.emotes || [],
42-
version: profile.avatar?.emotes !== undefined ? 1 : 0,
4342
bodyShape: profile.avatar?.bodyShape || '',
4443
eyeColor: convertToRGBObject(profile.avatar?.eyes.color),
4544
hairColor: convertToRGBObject(profile.avatar?.hair.color),

packages/shared/profiles/transformations/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export type NewProfileForRenderer = {
1919
slot: number
2020
urn: string
2121
}[]
22-
version: number // @TODO: remove this once Emotes is fully released. This helps the Renderer to know if it should fetch Emotes separately.
2322
}
2423

2524
// TODO evaluate usage of the following

0 commit comments

Comments
 (0)