BREAKING CHANGE(core): switch to esm and allow specification of redirect url

This commit is contained in:
2022-04-18 18:54:53 +02:00
parent bdd7419d3d
commit dca6f9ef0b
10 changed files with 5562 additions and 13937 deletions

View File

@@ -27,7 +27,6 @@ Platform support | [![Supports Windows 10](https://badgen.net/badge/supports%20W
Use TypeScript for best inclass intellisense
```typescript
// this example assumes toplevel await
import * as tink from '@mojoio/tink';
@@ -48,11 +47,10 @@ for (const providerConsent of tinkProviderConsents) {
}
// additional stuff
const existingTinkUser = await tinkAccount.getUser('<YourOwnUniqueUserId/externalUserId>')
const existingTinkUser = await tinkAccount.getUser('<YourOwnUniqueUserId/externalUserId>');
await existingTinkuser.delete(); // delete the user on the tink platform
```
## Contribution
We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can [contribute one time](https://lossless.link/contribute-onetime) or [contribute monthly](https://lossless.link/contribute). :)