@wavezfm/api 0.7.34 → 0.7.35

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
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - Type optional `RoomActiveUser.isVip` as an independent boolean benefit that can coexist with any room role. Older payloads may omit it.
6
+ - Clarify that `effectiveRoomRole` describes effective hierarchy, not every additional operational permission; Ambassador room-configuration grants are enforced by the server.
7
+
5
8
  - Add `roomBot.getScheduledEvents(roomId)` for approved active/upcoming room and global calendar events, including start/end timestamps. Existing `getEvents` continues to return presence history.
6
9
  - Add `roomBot.setVip(roomId, userId, enabled)` and optional `isVip` in user-update payloads. VIP can coexist with the main room role.
7
10
 
package/dist/types.d.ts CHANGED
@@ -209,11 +209,13 @@ export interface RoomActiveUser {
209
209
  avatarDjUrl?: string | null;
210
210
  avatarFrameCount?: number;
211
211
  guest?: boolean;
212
+ /** Independent VIP benefit; can coexist with any assigned room role. */
213
+ isVip?: boolean;
212
214
  role?: RoomRoleName | string;
213
215
  /** Actual room assignment, independent of platform privileges. */
214
216
  roomRole?: RoomRoleName | string;
215
217
  assignedRoomRole?: RoomRoleName | string;
216
- /** Authorization role including platform privileges; use for bot command checks. */
218
+ /** Effective hierarchy including platform privileges; not an exhaustive permission list. */
217
219
  effectiveRoomRole?: RoomRoleName | string;
218
220
  platformRole?: string | null;
219
221
  platformRoles?: string[];
@@ -1625,7 +1627,7 @@ export interface BotPrivateCommand {
1625
1627
  /** Actual assigned room role alias. */
1626
1628
  role?: string;
1627
1629
  assignedRoomRole?: string;
1628
- /** Admin/Developer >= Host; Ambassador >= Manager. */
1630
+ /** Admin/Developer >= Host; Ambassador >= Manager. Additional grants are not encoded here. */
1629
1631
  effectiveRoomRole?: string;
1630
1632
  platformRole?: string;
1631
1633
  platformRoles: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavezfm/api",
3
- "version": "0.7.34",
3
+ "version": "0.7.35",
4
4
  "description": "Official JavaScript/TypeScript API client for WavezFM.",
5
5
  "homepage": "https://docs.wavez.fm/docs",
6
6
  "repository": {