@minicode-dev/chat 0.1.5 → 0.1.6

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/index.d.ts CHANGED
@@ -133,6 +133,8 @@ export interface ChatEffectsConfig {
133
133
  volume?: number;
134
134
  /** Default true: new received effects play automatically in the visible conversation. */
135
135
  autoPlay?: boolean;
136
+ /** Default true: received effects nobody is watching (hidden tab, closed chat, another conversation) still play their sound, like new-message sounds. */
137
+ backgroundSound?: boolean;
136
138
  /** Minimum interval between sends and automatic playback; default 5000. */
137
139
  cooldownMs?: number;
138
140
  /** Maximum incoming event age for automatic playback; default 10000. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minicode-dev/chat",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "private": false,
5
5
  "description": "LIRA real-time chat (WebSocket, media, games) as a React package.",
6
6
  "author": "Minicode",