@quenty/soundgroup 1.20.4-canary.559.339cfa7.0 → 1.21.0-canary.0a5db80.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 CHANGED
@@ -3,20 +3,12 @@
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
- ## [1.20.4-canary.559.339cfa7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/soundgroup@1.20.3...@quenty/soundgroup@1.20.4-canary.559.339cfa7.0) (2025-05-10)
6
+ # [1.21.0-canary.0a5db80.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/soundgroup@1.20.2...@quenty/soundgroup@1.21.0-canary.0a5db80.0) (2025-05-10)
7
7
 
8
8
 
9
9
  ### Bug Fixes
10
10
 
11
- * Additional type checking updates ([05ba29a](https://github.com/Quenty/NevermoreEngine/commit/05ba29a03efc9f3feed74b34f1d9dfb237496214))
12
-
13
-
14
-
15
-
16
-
17
- ## [1.20.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/soundgroup@1.20.2...@quenty/soundgroup@1.20.3) (2025-04-10)
18
-
19
- **Note:** Version bump only for package @quenty/soundgroup
11
+ * Additional type checking updates ([7e008c5](https://github.com/Quenty/NevermoreEngine/commit/7e008c58547bd00b5904e56541454a38c8d72ccc))
20
12
 
21
13
 
22
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/soundgroup",
3
- "version": "1.20.4-canary.559.339cfa7.0",
3
+ "version": "1.21.0-canary.0a5db80.0",
4
4
  "description": "Service and utility methods to working with sound groups and sounds in Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,18 +25,18 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/baseobject": "10.8.4-canary.559.339cfa7.0",
29
- "@quenty/counter": "7.17.4-canary.559.339cfa7.0",
30
- "@quenty/instanceutils": "13.17.4-canary.559.339cfa7.0",
31
- "@quenty/loader": "10.8.4-canary.559.339cfa7.0",
32
- "@quenty/maid": "3.4.4-canary.559.339cfa7.0",
33
- "@quenty/observablecollection": "12.20.4-canary.559.339cfa7.0",
34
- "@quenty/rx": "13.17.4-canary.559.339cfa7.0",
35
- "@quenty/table": "3.7.5-canary.559.339cfa7.0",
36
- "@quenty/valueobject": "13.17.4-canary.559.339cfa7.0"
28
+ "@quenty/baseobject": "10.9.0-canary.0a5db80.0",
29
+ "@quenty/counter": "7.18.0-canary.0a5db80.0",
30
+ "@quenty/instanceutils": "13.18.0-canary.0a5db80.0",
31
+ "@quenty/loader": "10.9.0-canary.0a5db80.0",
32
+ "@quenty/maid": "3.5.0-canary.0a5db80.0",
33
+ "@quenty/observablecollection": "12.21.0-canary.0a5db80.0",
34
+ "@quenty/rx": "13.18.0-canary.0a5db80.0",
35
+ "@quenty/table": "3.8.0-canary.0a5db80.0",
36
+ "@quenty/valueobject": "13.18.0-canary.0a5db80.0"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "339cfa778736f08768ed7305041f6221faa35bfc"
41
+ "gitHead": "0a5db8004684dc3e76fd5944599a22602d48cfa9"
42
42
  }
@@ -23,4 +23,4 @@ function SoundGroupServiceClient:Destroy()
23
23
  self._maid:DoCleaning()
24
24
  end
25
25
 
26
- return SoundGroupServiceClient
26
+ return SoundGroupServiceClient
@@ -5,8 +5,8 @@
5
5
  local require = require(script.Parent.loader).load(script)
6
6
 
7
7
  local Maid = require("Maid")
8
- local ServiceBag = require("ServiceBag")
9
8
  local WellKnownSoundGroups = require("WellKnownSoundGroups")
9
+ local ServiceBag = require("ServiceBag")
10
10
 
11
11
  local SoundGroupService = {}
12
12
  SoundGroupService.ServiceName = "SoundGroupService"
@@ -32,4 +32,4 @@ function SoundGroupService:Destroy()
32
32
  self._maid:DoCleaning()
33
33
  end
34
34
 
35
- return SoundGroupService
35
+ return SoundGroupService
@@ -8,14 +8,14 @@
8
8
  local require = require(script.Parent.loader).load(script)
9
9
 
10
10
  local BaseObject = require("BaseObject")
11
- local Counter = require("Counter")
11
+ local ObservableList = require("ObservableList")
12
12
  local Maid = require("Maid")
13
13
  local MaidTaskUtils = require("MaidTaskUtils")
14
- local Observable = require("Observable")
15
- local ObservableList = require("ObservableList")
14
+ local ValueObject = require("ValueObject")
15
+ local Counter = require("Counter")
16
16
  local Rx = require("Rx")
17
17
  local Signal = require("Signal")
18
- local ValueObject = require("ValueObject")
18
+ local Observable = require("Observable")
19
19
 
20
20
  local SoundEffectsList = setmetatable({}, BaseObject)
21
21
  SoundEffectsList.ClassName = "SoundEffectsList"
@@ -140,4 +140,4 @@ function SoundEffectsList.ApplyEffects(self: SoundEffectsList, instance: SoundGr
140
140
  end
141
141
  end
142
142
 
143
- return SoundEffectsList
143
+ return SoundEffectsList
@@ -9,13 +9,13 @@
9
9
  local require = require(script.Parent.loader).load(script)
10
10
 
11
11
  local BaseObject = require("BaseObject")
12
- local Brio = require("Brio")
13
12
  local Maid = require("Maid")
14
- local Observable = require("Observable")
15
13
  local ObservableMap = require("ObservableMap")
16
- local ObservableSet = require("ObservableSet")
17
14
  local SoundEffectsList = require("SoundEffectsList")
18
15
  local SoundGroupPathUtils = require("SoundGroupPathUtils")
16
+ local ObservableSet = require("ObservableSet")
17
+ local Observable = require("Observable")
18
+ local Brio = require("Brio")
19
19
 
20
20
  local SoundEffectsRegistry = setmetatable({}, BaseObject)
21
21
  SoundEffectsRegistry.ClassName = "SoundEffectsRegistry"
@@ -68,10 +68,7 @@ function SoundEffectsRegistry.ObserveActiveEffectsPathBrios(
68
68
  return self._activeEffectsPathSet:ObserveItemsBrio() :: any
69
69
  end
70
70
 
71
- function SoundEffectsRegistry._getOrCreateEffectList(
72
- self: SoundEffectsRegistry,
73
- soundGroupPath: string
74
- ): SoundEffectsList.SoundEffectsList
71
+ function SoundEffectsRegistry._getOrCreateEffectList(self: SoundEffectsRegistry, soundGroupPath: string): SoundEffectsList.SoundEffectsList
75
72
  assert(SoundGroupPathUtils.isSoundGroupPath(soundGroupPath), "Bad soundGroupPath")
76
73
 
77
74
  local found = self._pathToEffectList:Get(soundGroupPath)
@@ -103,4 +100,4 @@ function SoundEffectsRegistry._getOrCreateEffectList(
103
100
  return soundEffectsList
104
101
  end
105
102
 
106
- return SoundEffectsRegistry
103
+ return SoundEffectsRegistry
@@ -6,15 +6,15 @@
6
6
 
7
7
  local require = require(script.Parent.loader).load(script)
8
8
 
9
- local RunService = game:GetService("RunService")
10
9
  local SoundService = game:GetService("SoundService")
10
+ local RunService = game:GetService("RunService")
11
11
 
12
12
  local Maid = require("Maid")
13
- local ServiceBag = require("ServiceBag")
14
13
  local SoundEffectsRegistry = require("SoundEffectsRegistry")
15
14
  local SoundGroupPathUtils = require("SoundGroupPathUtils")
16
15
  local SoundGroupTracker = require("SoundGroupTracker")
17
16
  local WellKnownSoundGroups = require("WellKnownSoundGroups")
17
+ local ServiceBag = require("ServiceBag")
18
18
 
19
19
  local SoundEffectService = {}
20
20
  SoundEffectService.ServiceName = "SoundEffectService"
@@ -97,13 +97,14 @@ function SoundEffectService:_setupEffectApplication()
97
97
  end
98
98
 
99
99
  local maid, soundGroup = brio:ToMaidAndValue()
100
- maid:GiveTask(self._tracker:ObserveSoundGroupPath(soundGroup):Subscribe(function(soundGroupPath)
101
- if soundGroupPath then
102
- maid._currentEffects = self._soundEffectsRegister:ApplyEffects(soundGroupPath, soundGroup)
103
- else
104
- maid._currentEffects = nil
105
- end
106
- end))
100
+ maid:GiveTask(self._tracker:ObserveSoundGroupPath(soundGroup)
101
+ :Subscribe(function(soundGroupPath)
102
+ if soundGroupPath then
103
+ maid._currentEffects = self._soundEffectsRegister:ApplyEffects(soundGroupPath, soundGroup)
104
+ else
105
+ maid._currentEffects = nil
106
+ end
107
+ end))
107
108
  end))
108
109
 
109
110
  -- Render sound groups
@@ -121,8 +122,9 @@ function SoundEffectService:_setupEffectApplication()
121
122
  end))
122
123
  end
123
124
 
125
+
124
126
  function SoundEffectService:Destroy()
125
127
  self._maid:DoCleaning()
126
128
  end
127
129
 
128
- return SoundEffectService
130
+ return SoundEffectService
@@ -6,13 +6,13 @@
6
6
  local require = require(script.Parent.loader).load(script)
7
7
 
8
8
  local BaseObject = require("BaseObject")
9
+ local RxInstanceUtils = require("RxInstanceUtils")
10
+ local ObservableMapList = require("ObservableMapList")
9
11
  local Maid = require("Maid")
10
- local Observable = require("Observable")
11
12
  local ObservableMap = require("ObservableMap")
12
- local ObservableMapList = require("ObservableMapList")
13
- local Rx = require("Rx")
14
- local RxInstanceUtils = require("RxInstanceUtils")
15
13
  local SoundGroupPathUtils = require("SoundGroupPathUtils")
14
+ local Rx = require("Rx")
15
+ local Observable = require("Observable")
16
16
 
17
17
  local SoundGroupTracker = setmetatable({}, BaseObject)
18
18
  SoundGroupTracker.ClassName = "SoundGroupTracker"
@@ -123,4 +123,4 @@ function SoundGroupTracker._track(self: SoundGroupTracker, observeRootPath, pare
123
123
  end
124
124
  end
125
125
 
126
- return SoundGroupTracker
126
+ return SoundGroupTracker
@@ -97,4 +97,4 @@ function SoundGroupPathUtils._findSoundGroup(parent: Instance, soundGroupName: s
97
97
  return nil
98
98
  end
99
99
 
100
- return SoundGroupPathUtils
100
+ return SoundGroupPathUtils
@@ -7,4 +7,4 @@ local require = require(loader).bootstrapGame(loader.Parent)
7
7
  local serviceBag = require("ServiceBag").new()
8
8
  serviceBag:GetService(require("SoundGroupServiceClient"))
9
9
  serviceBag:Init()
10
- serviceBag:Start()
10
+ serviceBag:Start()
@@ -9,4 +9,4 @@ local require = require(loader).bootstrapGame(ServerScriptService.soundgroup)
9
9
  local serviceBag = require("ServiceBag").new()
10
10
  serviceBag:GetService(require("SoundGroupService"))
11
11
  serviceBag:Init()
12
- serviceBag:Start()
12
+ serviceBag:Start()