Linus Groh
fdddd8e035
Add cancel button to loading modal
2021-02-24 20:07:47 +01:00
Linus Groh
245c1295e5
Fix JSDoc return type annotations of async functions
...
These don't return the mentioned type directly, but a promise containing
this type, which has to be await'ed first. This was confusing my IDE's
tslint which suggested await would not be necessary.
2021-02-24 20:07:47 +01:00
Linus Groh
c8b0ec8b9e
Upgrade dependencies
...
This includes a major version bump of ESLint and Prettier, so also some
reformatting.
2020-05-16 13:58:48 +01:00
Linus Groh
2c4ead262a
Add api.fetchOptions to allow customising fetch() behaviour
...
This allows sending custom HTTP headers or including cookies in the
request!
2020-05-09 15:40:50 +01:00
Linus Groh
b3fdf1eabe
Improve verbose mode logging
...
- Support passing a log message function to `logging.log` for lazy
evaluation
- Log results (or at least lengths) of all API functions
- Log merged config during initialisation
- Log distance calculation duration
2020-03-07 00:22:56 +00:00
Linus Groh
798a0af97d
Update function documentations
2020-03-01 20:56:28 +00:00
Linus Groh
b252a6580a
Use TypeScript interface for websocket calllback
2020-03-01 20:53:38 +00:00
Linus Groh
f22db6301b
Merge branch 'master' into clean-up-the-typing-mess
2020-03-01 20:33:00 +00:00
Linus Groh
95613753a9
Enable ESLint max-len rule
2020-01-26 00:49:15 +00:00
Linus Groh
0bd84f4de5
s/@return/@returns
2020-01-26 00:38:36 +00:00
Linus Groh
a20fbf7e10
Remove all @typedef definitions
2020-01-24 21:02:24 +00:00
Linus Groh
639e96cae8
Upgrade dependencies
2020-01-24 20:43:21 +00:00
Linus Groh
7767a06875
Add support for time selection
2019-12-14 09:35:46 -05:00
Linus Groh
f14f97b416
Add verbose mode
2019-10-22 22:12:59 +01:00
Linus Groh
98cb52b31b
Add JSDoc to more functions
2019-09-29 08:01:45 +01:00
Linus Groh
4d971d57f7
Publish 2.0.0-alpha source
2019-09-27 18:34:41 +01:00