Releases: MatthiasKunnen/node-itsme-client
Releases · MatthiasKunnen/node-itsme-client
v4.0.0
Breaking:
serviceCodes
is now required in ItsmeClient constructor.
New features:
ItsmeClient.generateAuthUrl
which returns a URL to be used in
exchangeAuthorizationCode
.- Service codes are now a generic parameter which should prevent typos
and a guaranteed not null onItsmeClient.getRedirectUrl
Dependencies:
- Upgrade node-jose to v2
v4.0.0-rc.1
Breaking:
- serviceCodes is now required in ItsmeClient constructor.
New features:
ItsmeClient.generateAuthUrl
which returns a URL to be used in
exchangeAuthorizationCode
.- Service codes are now a generic parameter which should prevent typos
and a guaranteed not null onItsmeClient.getRedirectUrl
Dependencies:
- Upgrade node-jose to v2
Restructure of build process and more
-
Instruct to add own @types to typeRoots
This will fix problems with node-jose being any. -
Fix implicity any return in node-jose typings
-
Improve building process and result
Building now takes 2 seconds instead of 6.Build directory is lib and all different types (esm5, cjs, es2015) get their own directory. Remove
.npmignore and use whitelisting via package.json's files field. Resulting package tree should be
cleaner due to files in lib instead of root. Also improved publish script. -
Improve TypeScript config files
It should be stricter and cleaner now. -
Move to Yarn and Node >= 12