@blocksdiy/react-common 1.22.0 → 1.22.1

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.
@@ -176,7 +176,7 @@ const ChatInitializer = ({ agentId, agentChatId, chatId, token, appId, currentTh
176
176
  id: agentBlock.id,
177
177
  title: agentBlock?.data?.title,
178
178
  jobTitle: agentBlock?.data?.jobTitle,
179
- photoUrl: agentBlock?.data?.avatar?.url,
179
+ photoUrl: agentBlock?.data?.avatar?.url || agentBlock?.data?.photo?.url,
180
180
  voiceId: agentBlock?.data?.voiceId,
181
181
  });
182
182
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocksdiy/react-common",
3
- "version": "1.22.0",
3
+ "version": "1.22.1",
4
4
  "type": "module",
5
5
  "description": "React common",
6
6
  "keywords": [],