@quenty/modeltransparencyeffect 11.17.1 → 11.19.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,16 @@
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.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/modeltransparencyeffect@11.18.0...@quenty/modeltransparencyeffect@11.19.0) (2026-07-18)
7
+
8
+ **Note:** Version bump only for package @quenty/modeltransparencyeffect
9
+
10
+ # [11.18.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/modeltransparencyeffect@11.17.1...@quenty/modeltransparencyeffect@11.18.0) (2026-07-14)
11
+
12
+ ### Features
13
+
14
+ - **modeltransparencyeffect:** convert package to --!strict ([5f79b2d](https://github.com/Quenty/NevermoreEngine/commit/5f79b2db483728f247be010729a1564735c08d20))
15
+
6
16
  ## [11.17.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/modeltransparencyeffect@11.17.0...@quenty/modeltransparencyeffect@11.17.1) (2026-05-30)
7
17
 
8
18
  **Note:** Version bump only for package @quenty/modeltransparencyeffect
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/modeltransparencyeffect",
3
- "version": "11.17.1",
3
+ "version": "11.19.0",
4
4
  "description": "Allows a model to have transparent set locally on the client",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -31,8 +31,8 @@
31
31
  "@quenty/acceltween": "2.7.0",
32
32
  "@quenty/baseobject": "10.13.0",
33
33
  "@quenty/enums": "1.3.0",
34
- "@quenty/hide": "11.38.1",
35
- "@quenty/instanceutils": "13.30.1",
34
+ "@quenty/hide": "11.40.0",
35
+ "@quenty/instanceutils": "13.31.0",
36
36
  "@quenty/loader": "10.11.0",
37
37
  "@quenty/servicebag": "11.18.1",
38
38
  "@quenty/steputils": "3.6.3",
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "598b2b62b36bdcbdbbd56f7db10c399831cc6eba"
44
+ "gitHead": "cbbb89635bfdcbf32f26a40422ac736292917cca"
45
45
  }
@@ -1,4 +1,4 @@
1
- --!nonstrict
1
+ --!strict
2
2
  --[=[
3
3
  Allows a model to have transparency set locally on the client
4
4
 
@@ -62,7 +62,7 @@ function ModelTransparencyEffect.new(
62
62
  self._transparency = AccelTween.new(20)
63
63
  self._transparencyServiceMethodName = transparencyServiceMethodName or ModelTransparencyMode.TRANSPARENCY
64
64
 
65
- self._startAnimation, self._maid._stop = StepUtils.bindToRenderStep(self._update)
65
+ self._startAnimation, self._maid._stop = StepUtils.bindToRenderStep(self._update :: any)
66
66
 
67
67
  return self
68
68
  end
@@ -110,7 +110,7 @@ end
110
110
  finish the animation.
111
111
  @param callback function
112
112
  ]=]
113
- function ModelTransparencyEffect.FinishTransparencyAnimation(self: ModelTransparencyEffect, callback)
113
+ function ModelTransparencyEffect.FinishTransparencyAnimation(self: ModelTransparencyEffect, callback: () -> ()): ()
114
114
  self:SetTransparency(0)
115
115
 
116
116
  if self._transparency.rtime == 0 then
@@ -156,6 +156,8 @@ function ModelTransparencyEffect._setupParts(self: ModelTransparencyEffect)
156
156
 
157
157
  self._parts = {}
158
158
 
159
+ local obj = assert(self._obj, "No obj")
160
+
159
161
  local transparencyServiceMethod = self._transparencyService[self._transparencyServiceMethodName]
160
162
 
161
163
  local function canHide(part: Instance): boolean
@@ -164,11 +166,11 @@ function ModelTransparencyEffect._setupParts(self: ModelTransparencyEffect)
164
166
  else (part:IsA("BasePart") or part:IsA("Decal"))
165
167
  end
166
168
 
167
- if canHide(self._obj) then
168
- self._parts[self._obj] = true
169
+ if canHide(obj) then
170
+ self._parts[obj] = true
169
171
  end
170
172
 
171
- self._maid:GiveTask(RxInstanceUtils.observeDescendantsBrio(self._obj, canHide):Subscribe(function(brio)
173
+ self._maid:GiveTask(RxInstanceUtils.observeDescendantsBrio(obj, canHide):Subscribe(function(brio)
172
174
  if brio:IsDead() then
173
175
  return
174
176
  end