fix(core): update

This commit is contained in:
Philipp Kunz 2020-03-28 22:48:17 +00:00
parent f1d180aefc
commit f3e1703eef

View File

@ -73,4 +73,8 @@ export class SmartJwt {
this.setPrivateKey(keypair.privateKey); this.setPrivateKey(keypair.privateKey);
this.setPublicKey(keypair.publicKey); this.setPublicKey(keypair.publicKey);
} }
public async init() {
await this.createNewKeyPair();
}
} }