Releases: SchoolUtils/WebUntis
Releases · SchoolUtils/WebUntis
TypeScript and ESM!
Breaking
- Because this package is now a cjs and esm hybrid, I removed the default export. You now need to import the specific library class like:
esm:
import { WebUntis } from 'webuntis';
cjs:
const { WebUntis } = require('webuntis');
- For the esm version, you need to provide
URL
andAuthenticator
if you want to usesecret
orqr-code
login.
What's Changed
- Throw specific error keys if available for getTimetableForWeek by @wolflu05 in #85
- feat: typescript and esm by @TheNoim in #86
- fix: implement #83 by @TheNoim in #87
New Contributors
Full Changelog: v1.22.1...v2.0.0