- Fix #51: upgrade
debug
dependency to the latest version.
- Fix #22: Emit error when the HTTP StatusCode is not 200 (see #44). Thanks @gioid.
- (oopsie, no changes merged, see 1.0.10)
- Fix #31: add fields
"browser"
and"react-native"
to package.json, referring to the browser bundle./dist/timesync.min.js
.
- Fixed a try/catch using optional catch not supported by all JavaScript engines. Thanks @cracker0dks.
- Fix #31: library not working in React Native.
- Make the server side robust against requests with an invalid, unparsable body: return ah HTTP 400 error. Thanks @calebTomlinson.
- Upgraded the dependency
debug
and all devDependencies.
- Fix handing invalid JSON responses, see #27. Thanks @Poky85.
- Move the
dependencies
only used in examples todevDependencies
:express
,body-parser
,socket.io
, promise`. To run the examples, you will have to install these dependencies yourself.
- Fixed the
send
method passing a wrong parameter torequest.post
.
- Fixed a broken example. Thanks @gokayokyay.
- Upgraded some dependencies containing security vulnerabilities.
- Function
send
now needs to return a Promise, and has to handle timeouts itself. This fixes timeouts occurring before xhr success. Thanks @DerekKeeler. - Upgraded dependencies.
- Fixed syncing to peers not using custom configuration
now
. Thanks @reklawnos.
- Made examples robust against a varying working directory.
- Fixed #11: added timeout to http requests to fix infinite call / response loops. Thanks @dfeblowitz.
- Added support for
https
. Thanks @jaquadro. - Added a tutorial on how to use
timesync
in Android. Thanks @NicoHerbig.
- Fixed a bug where JSON could be truncated on the server. Thanks Matt Kincaid.
- Deliver ES5 version of the library in lib, bundled files in dist. Thanks @electrified.
- Fixed some of the browser examples not working on Firefox.
- Fixed library not working as part of a browserify setup. Thanks @SupremeTechnopriest.
- Fixed
sendTimestamp
not working in an express application. Thanks @SupremeTechnopriest.
- Fixed #6: error when loading
timesync
in a node.js client.
- Implemented an
'error'
event. - Fixed unnecessary wait of 1 sec before the new offset is applied.
- Fixed #3: stat.median not using sorted array.
- The first usable version.
- Library name reserved at npm and bower.