fix(core): update

This commit is contained in:
Philipp Kunz 2019-10-01 15:32:19 +02:00
parent 2be99bdf48
commit 03175e208a
2 changed files with 7 additions and 1 deletions

View File

@ -1 +1,4 @@
export * from './smartcrypto.classes.smartcrypto'; export * from './smartcrypto.classes.smartcrypto';
export * from './smartcrypto.classes.keypair';
export * from './smartcrypto.classes.privatekey';
export * from './smartcrypto.classes.publickey';

View File

@ -1,5 +1,8 @@
import * as plugins from './smartcrypto.plugins'; import * as plugins from './smartcrypto.plugins';
import { KeyPair } from './smartcrypto.classes.keypair';
export class Smartcrypto { export class Smartcrypto {
public async createKeyPair (): Promise<KeyPair> {
return KeyPair.createNewKeyPair();
};
} }