@quenty/streamingutils 10.23.0 → 10.24.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,14 @@
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.24.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/streamingutils@10.23.1...@quenty/streamingutils@10.24.0) (2026-07-23)
7
+
8
+ **Note:** Version bump only for package @quenty/streamingutils
9
+
10
+ ## [10.23.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/streamingutils@10.23.0...@quenty/streamingutils@10.23.1) (2026-07-23)
11
+
12
+ **Note:** Version bump only for package @quenty/streamingutils
13
+
6
14
  # [10.23.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/streamingutils@10.22.0...@quenty/streamingutils@10.23.0) (2026-07-23)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/streamingutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/streamingutils",
3
- "version": "10.23.0",
3
+ "version": "10.24.0",
4
4
  "description": "Provides utilities for working with Roblox's streaming system",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -29,18 +29,19 @@
29
29
  "Quenty"
30
30
  ],
31
31
  "dependencies": {
32
- "@quenty/instanceutils": "13.33.0",
32
+ "@quenty/instanceutils": "13.34.0",
33
33
  "@quenty/loader": "10.11.0",
34
34
  "@quenty/maid": "3.11.0",
35
35
  "@quenty/nevermore-test-runner": "1.5.0",
36
- "@quenty/promise": "10.21.0",
37
- "@quenty/remoting": "12.36.0",
38
- "@quenty/rx": "13.31.0",
36
+ "@quenty/playermock": "1.2.0",
37
+ "@quenty/promise": "10.22.0",
38
+ "@quenty/remoting": "12.37.0",
39
+ "@quenty/rx": "13.32.0",
39
40
  "@quenty/servicebag": "11.20.0",
40
41
  "@quentystudios/jest-lua": "3.10.0-quenty.2"
41
42
  },
42
43
  "publishConfig": {
43
44
  "access": "public"
44
45
  },
45
- "gitHead": "1de37218a2bedb8e3f8614a2e09bba9eddc812da"
46
+ "gitHead": "88b03743718172ff79cd62ade64a86565fcac17d"
46
47
  }
@@ -15,6 +15,7 @@ local require = require(script.Parent.loader).load(script)
15
15
  local Workspace = game:GetService("Workspace")
16
16
 
17
17
  local Maid = require("Maid")
18
+ local PlayerMock = require("PlayerMock")
18
19
 
19
20
  local FOCUS_PART_NAME = "StreamingCinematicFocus"
20
21
 
@@ -67,7 +68,7 @@ function ReplicationFocusTracker.SetPosition(self: ReplicationFocusTracker, posi
67
68
 
68
69
  self._part = part
69
70
  self._maid:GiveTask(part)
70
- self._subject.ReplicationFocus = part
71
+ self:_writeReplicationFocus(part)
71
72
  end
72
73
 
73
74
  --[=[
@@ -79,9 +80,18 @@ function ReplicationFocusTracker.IsActive(self: ReplicationFocusTracker): boolea
79
80
  end
80
81
 
81
82
  function ReplicationFocusTracker.Destroy(self: ReplicationFocusTracker): ()
82
- self._subject.ReplicationFocus = nil
83
+ self:_writeReplicationFocus(nil)
83
84
  self._maid:DoCleaning()
84
85
  self._part = nil
85
86
  end
86
87
 
88
+ -- Mock-safe: a PlayerMock's backing Folder has no ReplicationFocus property; write its stand-in.
89
+ function ReplicationFocusTracker._writeReplicationFocus(self: ReplicationFocusTracker, part: BasePart?): ()
90
+ if PlayerMock.isMock(self._subject) then
91
+ PlayerMock.write(self._subject, "ReplicationFocus", part)
92
+ else
93
+ self._subject.ReplicationFocus = part
94
+ end
95
+ end
96
+
87
97
  return ReplicationFocusTracker