@clockworkdog/timesync 3.0.0-alpha.4 → 3.0.0-alpha.6

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.
Files changed (2) hide show
  1. package/dist/timesync.js +1 -1
  2. package/package.json +1 -1
package/dist/timesync.js CHANGED
@@ -4,7 +4,7 @@ function getId() {
4
4
  return ++id;
5
5
  }
6
6
  const SYNC_SAMPLE_SIZE = 5;
7
- const SYNC_REQUEST_TIMEOUT = 10000;
7
+ const SYNC_REQUEST_TIMEOUT = 10_000;
8
8
  export function createTimeSyncClient({ interval, send, onChange = setDate, syncSampleSize = SYNC_SAMPLE_SIZE, syncRequestTimeout = SYNC_REQUEST_TIMEOUT, }) {
9
9
  const requests = {};
10
10
  async function synchronize() {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A library to synchronize a client's clock to a server's",
4
4
  "author": "Clockwork Dog <info@clockwork.dog>",
5
5
  "homepage": "https://github.com/clockwork-dog/cogs-sdk/tree/main/packages/timesync",
6
- "version": "3.0.0-alpha.4",
6
+ "version": "3.0.0-alpha.6",
7
7
  "keywords": [],
8
8
  "license": "MIT",
9
9
  "repository": {