Releases: LiterateInk/Pawnote
Releases · LiterateInk/Pawnote
js v0.10.0
New
- implement getResourcesForInterval (8a08e32)
- implement getLessonResource and getLessonHomework (338adf7)
- implement constants for categories, single fetch resource and themes (b2b3f38)
- implement a single lesson fetch for its resource (2638988)
- implement a single lesson fetch for homework (34b4c71)
- implement student resources page (82bde48)
- implement queueing for requests (0ca76f6)
js v0.9.0
js v0.8.1
js v0.8.0
js v0.7.0
js v0.6.0
js v0.5.0
js v0.4.1
js v0.4.0
- Implement custom fetcher for every API call to Pronote (a36a500)
Breaking
findPronoteInstances({ latitude, longitude })
now becomes findPronoteInstances(fetcher, { latitude, longitude })
where fetcher
is type PawnoteFetcher
.
If you want to use fetch
(so keep default fetcher), you can do this :
import { defaultPawnoteFetcher } from "pawnote";
// and use it directly...
findPronoteInstances(defaultPawnoteFetcher, { latitude, longitude });
New
fetcher
property in authenticate functions (so authenticatePronoteCredentials
and authenticateToken
).
If the fetcher
is not given, it'll use the default fetcher which is defaultPawnoteFetcher
.