@quenty/timesyncservice 13.19.0-canary.ae8d76d.0 → 13.19.1-canary.39d0eda.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,15 @@
|
|
|
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
|
-
|
|
6
|
+
## [13.19.1-canary.39d0eda.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/timesyncservice@13.19.0...@quenty/timesyncservice@13.19.1-canary.39d0eda.0) (2025-08-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/timesyncservice
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [13.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/timesyncservice@13.18.3...@quenty/timesyncservice@13.19.0) (2025-05-10)
|
|
7
15
|
|
|
8
16
|
|
|
9
17
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/timesyncservice",
|
|
3
|
-
"version": "13.19.
|
|
3
|
+
"version": "13.19.1-canary.39d0eda.0",
|
|
4
4
|
"description": "Quenty's TimeSyncService keeps time synchronized between all clients and the server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"Quenty"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@quenty/baseobject": "10.
|
|
30
|
-
"@quenty/loader": "10.
|
|
31
|
-
"@quenty/maid": "3.
|
|
32
|
-
"@quenty/promise": "10.11.
|
|
33
|
-
"@quenty/remoting": "12.19.
|
|
34
|
-
"@quenty/rx": "13.18.
|
|
35
|
-
"@quenty/signal": "7.
|
|
36
|
-
"@quenty/table": "3.
|
|
37
|
-
"@quenty/valueobject": "13.18.
|
|
29
|
+
"@quenty/baseobject": "10.9.0",
|
|
30
|
+
"@quenty/loader": "10.9.0",
|
|
31
|
+
"@quenty/maid": "3.5.0",
|
|
32
|
+
"@quenty/promise": "10.11.1-canary.39d0eda.0",
|
|
33
|
+
"@quenty/remoting": "12.19.1-canary.39d0eda.0",
|
|
34
|
+
"@quenty/rx": "13.18.1-canary.39d0eda.0",
|
|
35
|
+
"@quenty/signal": "7.11.1-canary.39d0eda.0",
|
|
36
|
+
"@quenty/table": "3.8.0",
|
|
37
|
+
"@quenty/valueobject": "13.18.1-canary.39d0eda.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "39d0edaa45d0c4812b43f2a64ad543fac3f79423"
|
|
43
43
|
}
|
|
@@ -7,11 +7,11 @@ local Observable = require("Observable")
|
|
|
7
7
|
export type ClockFunction = () -> number
|
|
8
8
|
|
|
9
9
|
export type BaseClock = {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
GetTime: (self: BaseClock) -> number,
|
|
11
|
+
GetPing: (self: BaseClock) -> number,
|
|
12
|
+
IsSynced: (self: BaseClock) -> boolean,
|
|
13
|
+
ObservePing: (self: BaseClock) -> Observable.Observable<number>,
|
|
14
|
+
GetClockFunction: (self: BaseClock) -> ClockFunction,
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
return {}
|
|
17
|
+
return {}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
local require = require(script.Parent.loader).load(script)
|
|
8
8
|
|
|
9
|
+
local BaseClock = require("BaseClock")
|
|
9
10
|
local BaseObject = require("BaseObject")
|
|
10
|
-
local Rx = require("Rx")
|
|
11
11
|
local Observable = require("Observable")
|
|
12
|
-
local
|
|
12
|
+
local Rx = require("Rx")
|
|
13
13
|
|
|
14
14
|
local MasterClock = setmetatable({}, BaseObject)
|
|
15
15
|
MasterClock.__index = MasterClock
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
local require = require(script.Parent.loader).load(script)
|
|
8
8
|
|
|
9
|
+
local BaseClock = require("BaseClock")
|
|
9
10
|
local BaseObject = require("BaseObject")
|
|
10
|
-
local ValueObject = require("ValueObject")
|
|
11
11
|
local Observable = require("Observable")
|
|
12
|
-
local
|
|
12
|
+
local ValueObject = require("ValueObject")
|
|
13
13
|
|
|
14
14
|
local SlaveClock = setmetatable({}, BaseObject)
|
|
15
15
|
SlaveClock.__index = SlaveClock
|
|
@@ -153,7 +153,6 @@ function TimeSyncService.ObserveSyncedClock(self: TimeSyncService): Observable.O
|
|
|
153
153
|
return Rx.fromPromise(self:PromiseSyncedClock()) :: any
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
-
|
|
157
156
|
function TimeSyncService._buildMasterClock(self: TimeSyncService): MasterClock.MasterClock
|
|
158
157
|
local remoteEvent = GetRemoteEvent(TimeSyncConstants.REMOTE_EVENT_NAME)
|
|
159
158
|
local remoteFunction = GetRemoteFunction(TimeSyncConstants.REMOTE_FUNCTION_NAME)
|
|
@@ -183,4 +182,4 @@ function TimeSyncService.Destroy(self: TimeSyncService)
|
|
|
183
182
|
self._maid:DoCleaning()
|
|
184
183
|
end
|
|
185
184
|
|
|
186
|
-
return TimeSyncService
|
|
185
|
+
return TimeSyncService
|
|
@@ -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 TimeSyncUtils = {}
|
|
13
13
|
|
|
@@ -40,4 +40,4 @@ function TimeSyncUtils.promiseClockSynced(clock: any): Promise.Promise<any>
|
|
|
40
40
|
return promise
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
return TimeSyncUtils
|
|
43
|
+
return TimeSyncUtils
|