Skip to content

TypeScript and ESM!

Latest
Compare
Choose a tag to compare
@TheNoim TheNoim released this 20 Oct 16:47
· 57 commits to master since this release

Breaking

  1. 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'); 
  1. For the esm version, you need to provide URL and Authenticator if you want to use secret or qr-code login.

What's Changed

New Contributors

Full Changelog: v1.22.1...v2.0.0