@quenty/networkropeutils 10.8.0 → 10.8.1

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.8.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/networkropeutils@10.8.0...@quenty/networkropeutils@10.8.1) (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.8.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/networkropeutils@10.7.1...@quenty/networkropeutils@10.8.0) (2025-02-18)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/networkropeutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/networkropeutils",
3
- "version": "10.8.0",
3
+ "version": "10.8.1",
4
4
  "description": "Utility function to create network ropes which hint to Roblox that two assemblies should be considered to be owned by the same network owner.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,11 +25,11 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/loader": "^10.8.0",
29
- "@quenty/maid": "^3.4.0"
28
+ "@quenty/loader": "^10.8.1",
29
+ "@quenty/maid": "^3.4.1"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "184a407d8d7366c39009444c3c9a7023cb176471"
34
+ "gitHead": "78c3ac0ab08dd18085b6e6e6e4f745e76ed99f68"
35
35
  }
@@ -1,3 +1,4 @@
1
+ --!strict
1
2
  --[=[
2
3
  Utility function to create network ropes which hint to Roblox that two assemblies
3
4
  should be considered to be owned by the same network owner.
@@ -23,7 +24,7 @@ local NetworkRopeUtils = {}
23
24
  @param part1 BasePart
24
25
  @return Maid
25
26
  ]=]
26
- function NetworkRopeUtils.hintSharedMechanism(part0, part1)
27
+ function NetworkRopeUtils.hintSharedMechanism(part0: BasePart, part1: BasePart): Maid.Maid
27
28
  assert(typeof(part0) == "Instance", "Bad part0")
28
29
  assert(typeof(part1) == "Instance", "Bad part1")
29
30
 
@@ -61,11 +62,11 @@ end
61
62
  Removes all network owner hints from a given part
62
63
  @param part Part
63
64
  ]=]
64
- function NetworkRopeUtils.clearNetworkOwnerHints(part)
65
+ function NetworkRopeUtils.clearNetworkOwnerHints(part: BasePart)
65
66
  -- Preemptively clears the ownership of a part so we don't transfer ownership
66
67
  -- accidently
67
68
 
68
- for _, item in pairs(part:GetChildren()) do
69
+ for _, item in part:GetChildren() do
69
70
  if CollectionService:HasTag(item, NETWORK_OWNER_ROPE_TAG) then
70
71
  item:Destroy()
71
72
  end