@wavezfm/api 0.7.33 → 0.7.34

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +7 -3
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -210,9 +210,11 @@ export interface RoomActiveUser {
210
210
  avatarFrameCount?: number;
211
211
  guest?: boolean;
212
212
  role?: RoomRoleName | string;
213
- /** Bot snapshots expose effective authorization roles; website badges may use assignedRoomRole. */
213
+ /** Actual room assignment, independent of platform privileges. */
214
214
  roomRole?: RoomRoleName | string;
215
215
  assignedRoomRole?: RoomRoleName | string;
216
+ /** Authorization role including platform privileges; use for bot command checks. */
217
+ effectiveRoomRole?: RoomRoleName | string;
216
218
  platformRole?: string | null;
217
219
  platformRoles?: string[];
218
220
  customGlobalRoles?: unknown[];
@@ -1618,11 +1620,13 @@ export interface BotPrivateCommand {
1618
1620
  userId: string;
1619
1621
  username: string;
1620
1622
  displayUsername: string;
1621
- /** Effective authorization role: Admin/Developer >= Host; Ambassador >= Manager. */
1623
+ /** Actual assigned room role. */
1622
1624
  roomRole: string;
1623
- /** Effective role alias supplied by the current server; omitted by older deployments. */
1625
+ /** Actual assigned room role alias. */
1624
1626
  role?: string;
1625
1627
  assignedRoomRole?: string;
1628
+ /** Admin/Developer >= Host; Ambassador >= Manager. */
1629
+ effectiveRoomRole?: string;
1626
1630
  platformRole?: string;
1627
1631
  platformRoles: string[];
1628
1632
  isRoomOwner: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavezfm/api",
3
- "version": "0.7.33",
3
+ "version": "0.7.34",
4
4
  "description": "Official JavaScript/TypeScript API client for WavezFM.",
5
5
  "homepage": "https://docs.wavez.fm/docs",
6
6
  "repository": {