@quenty/characterutils 12.18.3 → 12.18.4-canary.11a5dcf.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
+ ## [12.18.4-canary.11a5dcf.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/characterutils@12.18.3...@quenty/characterutils@12.18.4-canary.11a5dcf.0) (2025-05-10)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Additional type checking updates ([05ba29a](https://github.com/Quenty/NevermoreEngine/commit/05ba29a03efc9f3feed74b34f1d9dfb237496214))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [12.18.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/characterutils@12.18.2...@quenty/characterutils@12.18.3) (2025-04-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/characterutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/characterutils",
3
- "version": "12.18.3",
3
+ "version": "12.18.4-canary.11a5dcf.0",
4
4
  "description": "CharacterUtils",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,16 +25,16 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/brio": "^14.17.3",
29
- "@quenty/deferred": "^2.2.2",
30
- "@quenty/instanceutils": "^13.17.3",
31
- "@quenty/loader": "^10.8.3",
32
- "@quenty/maid": "^3.4.3",
33
- "@quenty/promise": "^10.10.4",
34
- "@quenty/rx": "^13.17.3"
28
+ "@quenty/brio": "14.17.4-canary.11a5dcf.0",
29
+ "@quenty/deferred": "2.2.3-canary.11a5dcf.0",
30
+ "@quenty/instanceutils": "13.17.4-canary.11a5dcf.0",
31
+ "@quenty/loader": "10.8.4-canary.11a5dcf.0",
32
+ "@quenty/maid": "3.4.4-canary.11a5dcf.0",
33
+ "@quenty/promise": "10.10.5-canary.11a5dcf.0",
34
+ "@quenty/rx": "13.17.4-canary.11a5dcf.0"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "b06c070ae91d5dab7bd8de6e290ad2caabb15d8f"
39
+ "gitHead": "11a5dcf7d4c7a0bfbf3337e97d30e8346ea09d3f"
40
40
  }
@@ -38,8 +38,6 @@ function CharacterPromiseUtils.promiseCharacter(player: Player): Promise.Promise
38
38
  end)
39
39
 
40
40
  return promise
41
-
42
41
  end
43
42
 
44
43
  return CharacterPromiseUtils
45
-
@@ -6,8 +6,8 @@
6
6
 
7
7
  local require = require(script.Parent.loader).load(script)
8
8
 
9
- local Promise = require("Promise")
10
9
  local Maid = require("Maid")
10
+ local Promise = require("Promise")
11
11
 
12
12
  local RootPartUtils = {}
13
13
 
@@ -11,9 +11,9 @@ local Players = game:GetService("Players")
11
11
  local Brio = require("Brio")
12
12
  local Maid = require("Maid")
13
13
  local Observable = require("Observable")
14
+ local Rx = require("Rx")
14
15
  local RxBrioUtils = require("RxBrioUtils")
15
16
  local RxInstanceUtils = require("RxInstanceUtils")
16
- local Rx = require("Rx")
17
17
 
18
18
  local RxCharacterUtils = {}
19
19
 
@@ -37,8 +37,8 @@ end
37
37
  @param player Player
38
38
  @return Observable<Model>
39
39
  ]=]
40
- function RxCharacterUtils.observeCharacter(player: Player): Observable.Observable<Model>
41
- return RxInstanceUtils.observeProperty(player, "Character")
40
+ function RxCharacterUtils.observeCharacter(player: Player): Observable.Observable<Model?>
41
+ return RxInstanceUtils.observeProperty(player, "Character") :: any
42
42
  end
43
43
 
44
44
  --[=[
@@ -93,7 +93,7 @@ function RxCharacterUtils.observeIsOfLocalCharacterBrio(instance: Instance): Obs
93
93
  return RxCharacterUtils.observeIsOfLocalCharacter(instance):Pipe({
94
94
  RxBrioUtils.switchToBrio(function(value)
95
95
  return value
96
- end),
96
+ end) :: any,
97
97
  }) :: any
98
98
  end
99
99
 
@@ -5,10 +5,10 @@
5
5
 
6
6
  local require = require(script.Parent.loader).load(script)
7
7
 
8
- local RxInstanceUtils = require("RxInstanceUtils")
8
+ local Brio = require("Brio")
9
+ local Observable = require("Observable")
9
10
  local RxBrioUtils = require("RxBrioUtils")
10
- local _Observable = require("Observable")
11
- local _Brio = require("Brio")
11
+ local RxInstanceUtils = require("RxInstanceUtils")
12
12
 
13
13
  local RxRootPartUtils = {}
14
14
 
@@ -18,7 +18,7 @@ local RxRootPartUtils = {}
18
18
  @param character Model
19
19
  @return Observable<Brio<BasePart>>
20
20
  ]=]
21
- function RxRootPartUtils.observeHumanoidRootPartBrio(character: Model): _Observable.Observable<_Brio.Brio<BasePart>>
21
+ function RxRootPartUtils.observeHumanoidRootPartBrio(character: Model): Observable.Observable<Brio.Brio<BasePart>>
22
22
  -- let's make a reasonable assumption here about name not changing
23
23
  return RxInstanceUtils.observeChildrenBrio(character, function(part)
24
24
  return part:IsA("BasePart") and part.Name == "HumanoidRootPart"
@@ -31,7 +31,9 @@ end
31
31
  @param humanoid Humanoid
32
32
  @return Observvable<Brio<BasePart>>
33
33
  ]=]
34
- function RxRootPartUtils.observeHumanoidRootPartBrioFromHumanoid(humanoid: Humanoid): _Observable.Observable<_Brio.Brio<BasePart>>
34
+ function RxRootPartUtils.observeHumanoidRootPartBrioFromHumanoid(
35
+ humanoid: Humanoid
36
+ ): Observable.Observable<Brio.Brio<BasePart>>
35
37
  return RxInstanceUtils.observeParentBrio(humanoid):Pipe({
36
38
  RxBrioUtils.switchMapBrio(function(character: Model)
37
39
  return RxRootPartUtils.observeHumanoidRootPartBrio(character)