@quenty/sounds 10.13.1 → 10.14.0-canary.882056f.0
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 +11 -0
- package/package.json +7 -7
- package/src/Shared/SoundUtils.lua +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [10.14.0-canary.882056f.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/sounds@10.13.1...@quenty/sounds@10.14.0-canary.882056f.0) (2025-12-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Update declarations and README.md ([882056f](https://github.com/Quenty/NevermoreEngine/commit/882056f4c012f9855a0581750968993fb18241ed))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [10.13.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/sounds@10.13.0...@quenty/sounds@10.13.1) (2025-12-28)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/sounds
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/sounds",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.14.0-canary.882056f.0",
|
|
4
4
|
"description": "Utility functions involving sounds and their state",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"Quenty"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@quenty/loader": "
|
|
30
|
-
"@quenty/maid": "
|
|
31
|
-
"@quenty/promise": "
|
|
32
|
-
"@quenty/promisemaid": "
|
|
33
|
-
"@quenty/rbxasset": "
|
|
29
|
+
"@quenty/loader": "10.9.0",
|
|
30
|
+
"@quenty/maid": "3.5.0",
|
|
31
|
+
"@quenty/promise": "10.12.0",
|
|
32
|
+
"@quenty/promisemaid": "5.12.0",
|
|
33
|
+
"@quenty/rbxasset": "5.10.0"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "882056f4c012f9855a0581750968993fb18241ed"
|
|
39
39
|
}
|
|
@@ -21,6 +21,8 @@ export type SoundOptions = {
|
|
|
21
21
|
SoundId: number | string,
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
export type SoundId = string | number | SoundOptions
|
|
25
|
+
|
|
24
26
|
local SoundUtils = {}
|
|
25
27
|
|
|
26
28
|
--[=[
|
|
@@ -36,7 +38,7 @@ local SoundUtils = {}
|
|
|
36
38
|
|
|
37
39
|
@return Sound
|
|
38
40
|
]=]
|
|
39
|
-
function SoundUtils.playFromId(id:
|
|
41
|
+
function SoundUtils.playFromId(id: SoundId): Sound
|
|
40
42
|
local sound = SoundUtils.createSoundFromId(id)
|
|
41
43
|
|
|
42
44
|
if RunService:IsClient() then
|