Compare commits

..

2 commits
v2.3.0 ... main

Author SHA1 Message Date
MAZE
aa2b47ace4 chore(release): 2.4.0 2025-11-25 20:09:52 +03:30
MAZE
3a96d38a77 feat: add audio session type 2025-11-25 19:45:54 +03:30
4 changed files with 14 additions and 3 deletions

View file

@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [2.4.0](https://github.com/remvze/moodist/compare/v2.3.0...v2.4.0) (2025-11-25)
### ✨ Features
* add audio session type ([3a96d38](https://github.com/remvze/moodist/commit/3a96d38a774c7675811d5a3ea323a49d9d129bbc))
## [2.3.0](https://github.com/remvze/moodist/compare/v2.2.0...v2.3.0) (2025-11-24) ## [2.3.0](https://github.com/remvze/moodist/compare/v2.2.0...v2.3.0) (2025-11-24)

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "moodist", "name": "moodist",
"version": "2.3.0", "version": "2.4.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "moodist", "name": "moodist",
"version": "2.3.0", "version": "2.4.0",
"dependencies": { "dependencies": {
"@astrojs/react": "3.6.0", "@astrojs/react": "3.6.0",
"@floating-ui/react": "0.26.0", "@floating-ui/react": "0.26.0",

View file

@ -1,7 +1,7 @@
{ {
"name": "moodist", "name": "moodist",
"type": "module", "type": "module",
"version": "2.3.0", "version": "2.4.0",
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
"start": "astro dev", "start": "astro dev",

View file

@ -47,6 +47,10 @@ export function useSound(
preload: options.preload ?? false, preload: options.preload ?? false,
src: src, src: src,
}); });
if (window.navigator.audioSession) {
window.navigator.audioSession.type = 'playback';
}
} }
return sound; return sound;