@quenty/modeltransparencyeffect 11.10.0-canary.00067520041c.0 → 11.10.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,7 +3,7 @@
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.10.0-canary.00067520041c.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/modeltransparencyeffect@11.9.1...@quenty/modeltransparencyeffect@11.10.0-canary.00067520041c.0) (2025-12-29)
6
+ # [11.10.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/modeltransparencyeffect@11.9.5...@quenty/modeltransparencyeffect@11.10.0) (2026-01-16)
7
7
 
8
8
  **Note:** Version bump only for package @quenty/modeltransparencyeffect
9
9
 
@@ -11,6 +11,44 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
+ ## [11.9.5](https://github.com/Quenty/NevermoreEngine/compare/@quenty/modeltransparencyeffect@11.9.4...@quenty/modeltransparencyeffect@11.9.5) (2026-01-12)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * Fix dependency installation process for pnpm ([9651b09](https://github.com/Quenty/NevermoreEngine/commit/9651b09af34f252ef3f9c7c539793cc878dd8cba))
20
+
21
+
22
+
23
+
24
+
25
+ ## [11.9.4](https://github.com/Quenty/NevermoreEngine/compare/@quenty/modeltransparencyeffect@11.9.3...@quenty/modeltransparencyeffect@11.9.4) (2026-01-10)
26
+
27
+ **Note:** Version bump only for package @quenty/modeltransparencyeffect
28
+
29
+
30
+
31
+
32
+
33
+ ## [11.9.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/modeltransparencyeffect@11.9.2...@quenty/modeltransparencyeffect@11.9.3) (2026-01-03)
34
+
35
+ **Note:** Version bump only for package @quenty/modeltransparencyeffect
36
+
37
+
38
+
39
+
40
+
41
+ ## [11.9.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/modeltransparencyeffect@11.9.1...@quenty/modeltransparencyeffect@11.9.2) (2025-12-31)
42
+
43
+
44
+ ### Bug Fixes
45
+
46
+ * Fix dependencies missing in packages ([97bd47d](https://github.com/Quenty/NevermoreEngine/commit/97bd47d341017152f91a28d8444252d20a8de9fa))
47
+
48
+
49
+
50
+
51
+
14
52
  ## [11.9.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/modeltransparencyeffect@11.9.0...@quenty/modeltransparencyeffect@11.9.1) (2025-12-28)
15
53
 
16
54
  **Note:** Version bump only for package @quenty/modeltransparencyeffect
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014-2025 James Onnen (Quenty)
3
+ Copyright (c) 2014-2026 James Onnen (Quenty)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,13 @@
1
1
  {
2
2
  "name": "modeltransparencyeffect",
3
- "globIgnorePaths": [ "**/.package-lock.json" ],
3
+ "globIgnorePaths": [
4
+ "**/.package-lock.json",
5
+ "**/.pnpm",
6
+ "**/.pnpm-workspace-state-v1.json",
7
+ "**/.modules.yaml",
8
+ "**/.ignored",
9
+ "**/.ignored_*"
10
+ ],
4
11
  "tree": {
5
12
  "$path": "src"
6
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/modeltransparencyeffect",
3
- "version": "11.10.0-canary.00067520041c.0",
3
+ "version": "11.10.0",
4
4
  "description": "Allows a model to have transparent set locally on the client",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -21,18 +21,22 @@
21
21
  "url": "https://www.patreon.com/quenty"
22
22
  },
23
23
  "license": "MIT",
24
+ "scripts": {
25
+ "preinstall": "npx only-allow pnpm"
26
+ },
24
27
  "contributors": [
25
28
  "Quenty"
26
29
  ],
27
30
  "dependencies": {
28
- "@quenty/acceltween": "2.5.3",
29
- "@quenty/baseobject": "10.9.0",
30
- "@quenty/loader": "10.9.0",
31
- "@quenty/steputils": "3.6.0",
32
- "@quenty/transparencyservice": "11.9.0"
31
+ "@quenty/acceltween": "2.6.0",
32
+ "@quenty/baseobject": "10.9.3",
33
+ "@quenty/loader": "10.9.3",
34
+ "@quenty/servicebag": "11.13.6",
35
+ "@quenty/steputils": "3.6.3",
36
+ "@quenty/transparencyservice": "11.9.3"
33
37
  },
34
38
  "publishConfig": {
35
39
  "access": "public"
36
40
  },
37
- "gitHead": "00067520041c809a1cf0d94230a08118a8f62212"
41
+ "gitHead": "8d2e7927e4399b4297a04d474d29bdd85692051d"
38
42
  }
@@ -1,3 +1,4 @@
1
+ --!nonstrict
1
2
  --[=[
2
3
  Allows a model to have transparent set locally on the client
3
4
 
@@ -22,10 +23,12 @@ export type TransparencyMode = "SetTransparency" | "SetLocalTransparencyModifier
22
23
  export type ModelTransparencyEffect =
23
24
  typeof(setmetatable(
24
25
  {} :: {
26
+ _serviceBag: ServiceBag.ServiceBag,
25
27
  _transparency: AccelTween.AccelTween,
26
28
  _transparencyService: TransparencyService.TransparencyService,
27
29
  _transparencyServiceMethodName: TransparencyMode,
28
30
  _parts: { [Instance]: boolean },
31
+ _startAnimation: (self: ModelTransparencyEffect) -> (),
29
32
  },
30
33
  {} :: typeof({ __index = ModelTransparencyEffect })
31
34
  ))
@@ -42,16 +45,18 @@ function ModelTransparencyEffect.new(
42
45
  adornee: Instance,
43
46
  transparencyServiceMethodName: TransparencyMode?
44
47
  ): ModelTransparencyEffect
48
+ assert(adornee, "Bad adornee")
49
+
45
50
  local self: ModelTransparencyEffect = setmetatable(BaseObject.new(adornee) :: any, ModelTransparencyEffect)
46
51
 
47
- assert(serviceBag, "Bad serviceBag")
48
- assert(adornee, "Bad adornee")
52
+ self._serviceBag = assert(serviceBag, "No serviceBag")
53
+
49
54
  assert(
50
55
  type(transparencyServiceMethodName) == "string" or transparencyServiceMethodName == nil,
51
56
  "Bad transparencyServiceMethodName"
52
57
  )
53
58
 
54
- self._transparencyService = serviceBag:GetService(TransparencyService)
59
+ self._transparencyService = self._serviceBag:GetService(TransparencyService :: any)
55
60
 
56
61
  self._transparency = AccelTween.new(20)
57
62
  self._transparencyServiceMethodName = transparencyServiceMethodName or "SetTransparency"
@@ -116,9 +121,9 @@ function ModelTransparencyEffect.FinishTransparencyAnimation(self: ModelTranspar
116
121
  end
117
122
  end
118
123
 
119
- function ModelTransparencyEffect._update(self: ModelTransparencyEffect)
124
+ function ModelTransparencyEffect._update(self: ModelTransparencyEffect): boolean
120
125
  if self._transparencyService:IsDead() then
121
- return
126
+ return false
122
127
  end
123
128
 
124
129
  local transparency = self._transparency.p