@wavezfm/api 0.7.29 → 0.7.31
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 +4 -0
- package/dist/types.d.ts +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- Add optional `progressionXp.mode: 'participation'` to public system status.
|
|
6
|
+
Both viewer and DJ XP rows describe the same periodic five-minute clock in
|
|
7
|
+
this mode. No SDK call or WebSocket payload change is required.
|
|
8
|
+
|
|
5
9
|
### Short prepaid Subscriber plans
|
|
6
10
|
|
|
7
11
|
- Added exported `SubscriptionCycle` values `weekly` (seven days) and `fortnightly` (fifteen days) to subscription checkout, Mercado Pago prepaid payment and checkout status contracts. Both are single payments without automatic renewal; Stripe supports enabled prices in all eight billing currencies, while Mercado Pago remains the BRL default.
|
package/dist/types.d.ts
CHANGED
|
@@ -1152,6 +1152,7 @@ export interface SystemDonationGoal {
|
|
|
1152
1152
|
[key: string]: unknown;
|
|
1153
1153
|
}
|
|
1154
1154
|
export interface SystemProgressionXp {
|
|
1155
|
+
mode?: "participation";
|
|
1155
1156
|
dailyLimit: {
|
|
1156
1157
|
enabled: boolean;
|
|
1157
1158
|
/** Shared equivalent reward hours; this is not a fixed XP amount. */
|
|
@@ -1459,12 +1460,13 @@ export interface RoomBotUserUnbannedPayload extends Record<string, unknown> {
|
|
|
1459
1460
|
actor: RoomActionActor;
|
|
1460
1461
|
moderatorId?: string;
|
|
1461
1462
|
}
|
|
1462
|
-
export type RoomBotQueueRemovalReason = "moderator" | "kick" | "ban" | "clearqueue" | "removeghost" | "queue_restriction";
|
|
1463
|
+
export type RoomBotQueueRemovalReason = "moderator" | "kick" | "ban" | "clearqueue" | "removeghost" | "queue_restriction" | "disconnect" | "missing_presence" | "offline_presence";
|
|
1463
1464
|
export interface RoomBotQueueRemovedPayload extends Record<string, unknown> {
|
|
1464
1465
|
roomId: string;
|
|
1465
1466
|
userId: string;
|
|
1466
1467
|
queue: string[];
|
|
1467
|
-
|
|
1468
|
+
/** Absent for automatic disconnect/presence cleanup. */
|
|
1469
|
+
actor?: RoomActionActor;
|
|
1468
1470
|
reason: RoomBotQueueRemovalReason;
|
|
1469
1471
|
}
|
|
1470
1472
|
/** Legacy queue notification; optional metadata is absent on older servers. */
|