@wavezfm/api 0.7.24 → 0.7.25

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/README.md CHANGED
@@ -105,8 +105,9 @@ if (access.canEdit) {
105
105
  ```
106
106
 
107
107
  `icon` accepts a Tabler identifier or HTTPS image URL for the badge beside the
108
- name and is the chat-avatar fallback when `chatImageUrl` is unset. `photoUrl`
109
- is the profile photo and fallback when neither chat image nor icon is set.
108
+ name only; changing it does not change the bot avatar. The chat avatar uses
109
+ `chatImageUrl`, then `photoUrl`, then the default robot. `photoUrl` also supplies
110
+ the profile photo.
110
111
  Image artwork retains its own colors. Send the full appearance when preserving
111
112
  other fields: the server replaces all four fields and omitted fields reset to
112
113
  `null`. `setBotAppearanceAccess(roomId, enabled)` is platform-admin-only.
package/dist/types.d.ts CHANGED
@@ -876,11 +876,12 @@ export interface RoomBotSettings {
876
876
  }
877
877
  export type RoomBotSettingsUpdateInput = Pick<RoomBotSettings, "botName" | "commandPrefix" | "permissions" | "allowSelfRename">;
878
878
  export interface RoomBotAppearance {
879
+ /** Profile photo and chat-avatar fallback when chatImageUrl is unset. */
879
880
  photoUrl: string | null;
880
881
  color: string | null;
881
- /** Tabler identifier or HTTPS image URL for the badge beside the name. */
882
+ /** Tabler identifier or HTTPS image URL for the name badge only; never the avatar. */
882
883
  icon: string | null;
883
- /** HTTPS image URL for the chat avatar. */
884
+ /** HTTPS chat-avatar image; falls back to photoUrl, then the default robot. */
884
885
  chatImageUrl: string | null;
885
886
  }
886
887
  export interface RoomBotAppearanceAccess {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavezfm/api",
3
- "version": "0.7.24",
3
+ "version": "0.7.25",
4
4
  "description": "Official JavaScript/TypeScript API client for WavezFM.",
5
5
  "homepage": "https://docs.wavez.fm/docs",
6
6
  "repository": {