@wavezfm/api 0.7.9 → 0.7.10
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 +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
### Build
|
|
6
6
|
|
|
7
|
-
- Build the SDK with TypeScript 7.0.2 while retaining the ES2022 output target and zero runtime dependencies. Validated with the build and
|
|
7
|
+
- Build the SDK with TypeScript 7.0.2 while retaining the ES2022 output target and zero runtime dependencies. Validated with the build and 18 tests covering HTTP contracts and private bot commands.
|
|
8
8
|
|
|
9
9
|
### Added
|
|
10
10
|
|
|
11
|
+
- Private user-to-bot commands via the `bot_private_command` realtime event, with the exported `BotPrivateCommand` payload type and `onPrivateCommand()` subscription helper.
|
|
12
|
+
- Documentation and examples for multiline prompts, server-provided sender identity, authorization, deduplication, and targeted ephemeral replies. The separate limit defaults to 8,000 characters and requires the updated server and web deployment. Existing SDK consumers can subscribe through the generic `on()` method.
|
|
13
|
+
|
|
11
14
|
- Bot-authenticated `client.roomBot.renameSelf(roomId, botName)` for owner-enabled personalities. Added `allowSelfRename` to owner settings; self-renaming has a five-minute cooldown and cannot change permissions or prefix.
|
|
12
15
|
|
|
13
16
|
- `client.room.listBots()` and `client.room.updateBot()` for the session user's active room bots, with `RoomBotSettings` and `RoomBotSettingsUpdateInput` types.
|
|
@@ -24,6 +27,8 @@
|
|
|
24
27
|
|
|
25
28
|
### Changed
|
|
26
29
|
|
|
30
|
+
- SDK diagnostic logging redacts private command payloads.
|
|
31
|
+
|
|
27
32
|
- Public health and system-status contracts now exclude administrative authorship, internal runtime metadata, and infrastructure counters.
|
|
28
33
|
- YouTube playlist imports now support dynamic Mix and radio URLs handled by the current API.
|
|
29
34
|
|