@quenty/hide 11.21.0 → 11.21.1-canary.545.2374fb2.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,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
|
+
## [11.21.1-canary.545.2374fb2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/hide@11.21.0...@quenty/hide@11.21.1-canary.545.2374fb2.0) (2025-04-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [11.21.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/hide@11.20.2...@quenty/hide@11.21.0) (2025-04-02)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/hide
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/hide",
|
|
3
|
-
"version": "11.21.0",
|
|
3
|
+
"version": "11.21.1-canary.545.2374fb2.0",
|
|
4
4
|
"description": "Utility system that leverages the binder system to hide authored objects. Centralized here for cross-system communication.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"Quenty"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@quenty/binder": "
|
|
30
|
-
"@quenty/loader": "
|
|
31
|
-
"@quenty/servicebag": "
|
|
29
|
+
"@quenty/binder": "14.19.1-canary.545.2374fb2.0",
|
|
30
|
+
"@quenty/loader": "10.8.1-canary.545.2374fb2.0",
|
|
31
|
+
"@quenty/servicebag": "11.11.2-canary.545.2374fb2.0"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "2374fb2b043cfbe0e9b507b3316eec46a4e353a0"
|
|
37
37
|
}
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
local require = require(script.Parent.loader).load(script)
|
|
6
6
|
|
|
7
|
+
local _ServiceBag = require("ServiceBag")
|
|
8
|
+
|
|
7
9
|
local HideServiceClient = {}
|
|
8
10
|
HideServiceClient.ServiceName = "HideServiceClient"
|
|
9
11
|
|
|
10
|
-
function HideServiceClient:Init(serviceBag)
|
|
12
|
+
function HideServiceClient:Init(serviceBag: _ServiceBag.ServiceBag)
|
|
11
13
|
assert(not self._serviceBag, "Already initialized")
|
|
12
14
|
self._serviceBag = assert(serviceBag, "No serviceBag")
|
|
13
15
|
|
package/src/Server/Hide.lua
CHANGED
|
@@ -29,7 +29,7 @@ function Hide.new(adornee)
|
|
|
29
29
|
if self._obj:IsA("BasePart") then
|
|
30
30
|
self:_setupPart(self._obj)
|
|
31
31
|
elseif self._obj:IsA("Model") then
|
|
32
|
-
for _, item in
|
|
32
|
+
for _, item in self._obj:GetChildren() do
|
|
33
33
|
if item:IsA("BasePart") then
|
|
34
34
|
self:_setupPart(item)
|
|
35
35
|
end
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
local require = require(script.Parent.loader).load(script)
|
|
6
6
|
|
|
7
|
+
local _ServiceBag = require("ServiceBag")
|
|
8
|
+
|
|
7
9
|
local HideService = {}
|
|
8
10
|
HideService.ServiceName = "HideService"
|
|
9
11
|
|
|
10
|
-
function HideService:Init(serviceBag)
|
|
12
|
+
function HideService:Init(serviceBag: _ServiceBag.ServiceBag)
|
|
11
13
|
assert(not self._serviceBag, "Already initialized")
|
|
12
14
|
self._serviceBag = assert(serviceBag, "No serviceBag")
|
|
13
15
|
|
package/src/Shared/HideUtils.lua
CHANGED