@quenty/pathfindingutils 10.10.1 → 10.10.2

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
+ ## [10.10.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/pathfindingutils@10.10.1...@quenty/pathfindingutils@10.10.2) (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
  ## [10.10.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/pathfindingutils@10.10.0...@quenty/pathfindingutils@10.10.1) (2025-03-21)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/pathfindingutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/pathfindingutils",
3
- "version": "10.10.1",
3
+ "version": "10.10.2",
4
4
  "description": "Utilities involving pathfinding in Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -26,13 +26,13 @@
26
26
  "Quenty"
27
27
  ],
28
28
  "dependencies": {
29
- "@quenty/draw": "^7.8.1",
30
- "@quenty/loader": "^10.8.0",
31
- "@quenty/maid": "^3.4.0",
32
- "@quenty/promise": "^10.10.1"
29
+ "@quenty/draw": "^7.8.2",
30
+ "@quenty/loader": "^10.8.1",
31
+ "@quenty/maid": "^3.4.1",
32
+ "@quenty/promise": "^10.10.2"
33
33
  },
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "6b7c3e15e60cdb185986207b574e2b5591261e7a"
37
+ "gitHead": "78c3ac0ab08dd18085b6e6e6e4f745e76ed99f68"
38
38
  }
@@ -1,3 +1,4 @@
1
+ --!strict
1
2
  --[=[
2
3
  Utilities involving pathfinding in Roblox
3
4
  @class PathfindingUtils
@@ -19,7 +20,7 @@ local PathfindingUtils = {}
19
20
  @param finish Vector3
20
21
  @return Promise<Path>
21
22
  ]=]
22
- function PathfindingUtils.promiseComputeAsync(path: Path, start: Vector3, finish: Vector3)
23
+ function PathfindingUtils.promiseComputeAsync(path: Path, start: Vector3, finish: Vector3): Promise.Promise<Path>
23
24
  assert(path, "Bad path")
24
25
  assert(start, "Bad start")
25
26
  assert(finish, "Bad finish")
@@ -43,7 +44,7 @@ end
43
44
  @param startIndex number
44
45
  @return Promise<number>
45
46
  ]=]
46
- function PathfindingUtils.promiseCheckOcclusion(path: Path, startIndex: number)
47
+ function PathfindingUtils.promiseCheckOcclusion(path: Path, startIndex: number): Promise.Promise<number>
47
48
  return Promise.spawn(function(resolve, _)
48
49
  resolve(path:CheckOcclusionAsync(startIndex))
49
50
  end)
@@ -56,7 +57,7 @@ end
56
57
  @param path Path
57
58
  @return MaidTask
58
59
  ]=]
59
- function PathfindingUtils.visualizePath(path: Path)
60
+ function PathfindingUtils.visualizePath(path: Path): Maid.Maid
60
61
  local maid = Maid.new()
61
62
 
62
63
  local parent = Instance.new("Folder")