@quenty/timesyncservice 13.18.4-canary.559.9f38947.0 → 13.19.0-canary.0a5db80.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,20 +3,12 @@
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
- ## [13.18.4-canary.559.9f38947.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/timesyncservice@13.18.3...@quenty/timesyncservice@13.18.4-canary.559.9f38947.0) (2025-05-10)
6
+ # [13.19.0-canary.0a5db80.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/timesyncservice@13.18.2...@quenty/timesyncservice@13.19.0-canary.0a5db80.0) (2025-05-10)
7
7
 
8
8
 
9
9
  ### Bug Fixes
10
10
 
11
- * Additional type checking updates ([05ba29a](https://github.com/Quenty/NevermoreEngine/commit/05ba29a03efc9f3feed74b34f1d9dfb237496214))
12
-
13
-
14
-
15
-
16
-
17
- ## [13.18.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/timesyncservice@13.18.2...@quenty/timesyncservice@13.18.3) (2025-04-10)
18
-
19
- **Note:** Version bump only for package @quenty/timesyncservice
11
+ * Additional type checking updates ([7e008c5](https://github.com/Quenty/NevermoreEngine/commit/7e008c58547bd00b5904e56541454a38c8d72ccc))
20
12
 
21
13
 
22
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/timesyncservice",
3
- "version": "13.18.4-canary.559.9f38947.0",
3
+ "version": "13.19.0-canary.0a5db80.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.8.4-canary.559.9f38947.0",
30
- "@quenty/loader": "10.8.4-canary.559.9f38947.0",
31
- "@quenty/maid": "3.4.4-canary.559.9f38947.0",
32
- "@quenty/promise": "10.10.5-canary.559.9f38947.0",
33
- "@quenty/remoting": "12.18.4-canary.559.9f38947.0",
34
- "@quenty/rx": "13.17.4-canary.559.9f38947.0",
35
- "@quenty/signal": "7.10.4-canary.559.9f38947.0",
36
- "@quenty/table": "3.7.5-canary.559.9f38947.0",
37
- "@quenty/valueobject": "13.17.4-canary.559.9f38947.0"
29
+ "@quenty/baseobject": "10.9.0-canary.0a5db80.0",
30
+ "@quenty/loader": "10.9.0-canary.0a5db80.0",
31
+ "@quenty/maid": "3.5.0-canary.0a5db80.0",
32
+ "@quenty/promise": "10.11.0-canary.0a5db80.0",
33
+ "@quenty/remoting": "12.19.0-canary.0a5db80.0",
34
+ "@quenty/rx": "13.18.0-canary.0a5db80.0",
35
+ "@quenty/signal": "7.11.0-canary.0a5db80.0",
36
+ "@quenty/table": "3.8.0-canary.0a5db80.0",
37
+ "@quenty/valueobject": "13.18.0-canary.0a5db80.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "9f38947767d202411936a5c98898033df5865da0"
42
+ "gitHead": "0a5db8004684dc3e76fd5944599a22602d48cfa9"
43
43
  }
@@ -7,11 +7,11 @@ local Observable = require("Observable")
7
7
  export type ClockFunction = () -> number
8
8
 
9
9
  export type BaseClock = {
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,
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")
10
9
  local BaseObject = require("BaseObject")
11
- local Observable = require("Observable")
12
10
  local Rx = require("Rx")
11
+ local Observable = require("Observable")
12
+ local BaseClock = require("BaseClock")
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")
10
9
  local BaseObject = require("BaseObject")
11
- local Observable = require("Observable")
12
10
  local ValueObject = require("ValueObject")
11
+ local Observable = require("Observable")
12
+ local BaseClock = require("BaseClock")
13
13
 
14
14
  local SlaveClock = setmetatable({}, BaseObject)
15
15
  SlaveClock.__index = SlaveClock
@@ -153,6 +153,7 @@ function TimeSyncService.ObserveSyncedClock(self: TimeSyncService): Observable.O
153
153
  return Rx.fromPromise(self:PromiseSyncedClock()) :: any
154
154
  end
155
155
 
156
+
156
157
  function TimeSyncService._buildMasterClock(self: TimeSyncService): MasterClock.MasterClock
157
158
  local remoteEvent = GetRemoteEvent(TimeSyncConstants.REMOTE_EVENT_NAME)
158
159
  local remoteFunction = GetRemoteFunction(TimeSyncConstants.REMOTE_FUNCTION_NAME)
@@ -182,4 +183,4 @@ function TimeSyncService.Destroy(self: TimeSyncService)
182
183
  self._maid:DoCleaning()
183
184
  end
184
185
 
185
- return TimeSyncService
186
+ return TimeSyncService
@@ -6,8 +6,8 @@
6
6
 
7
7
  local require = require(script.Parent.loader).load(script)
8
8
 
9
- local Maid = require("Maid")
10
9
  local Promise = require("Promise")
10
+ local Maid = require("Maid")
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