@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/README.md +6 -2
- package/dist/chunks/{BattleshipGameCard-CW_A8Nim.js → BattleshipGameCard-S-UdM6rn.js} +100 -100
- package/dist/chunks/{BattleshipGameCard-CW_A8Nim.js.map → BattleshipGameCard-S-UdM6rn.js.map} +1 -1
- package/dist/chunks/{BattleshipPrototype-Duz-S1JE.js → BattleshipPrototype-Dm6U_mCr.js} +52 -52
- package/dist/chunks/{BattleshipPrototype-Duz-S1JE.js.map → BattleshipPrototype-Dm6U_mCr.js.map} +1 -1
- package/dist/chunks/{connect4Sounds-Do3nvVFx.js → connect4Sounds-9u0p-dAf.js} +7 -7
- package/dist/chunks/{connect4Sounds-Do3nvVFx.js.map → connect4Sounds-9u0p-dAf.js.map} +1 -1
- package/dist/index.js +3035 -2947
- package/dist/index.js.map +1 -1
- package/index.d.ts +2 -0
- package/package.json +1 -1
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. */
|