diff --git a/test/test.ts b/test/test.ts index abdeea1..4093e95 100644 --- a/test/test.ts +++ b/test/test.ts @@ -8,4 +8,9 @@ tap.test('first test', async () => { expect(testSmartCrypto).toBeInstanceOf(smartcrypto.Smartcrypto); }); +tap.test('should create a private public keypair', async () => { + const keypair = await testSmartCrypto.createKeyPair(); + console.log(keypair); +}) + tap.start(); diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index fccc681..b9d66e2 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartcrypto', - version: '2.0.0', + version: '2.0.1', description: 'easy crypto methods' } diff --git a/ts/smartcrypto.plugins.ts b/ts/smartcrypto.plugins.ts index 4aa87b4..7a6f705 100644 --- a/ts/smartcrypto.plugins.ts +++ b/ts/smartcrypto.plugins.ts @@ -4,6 +4,6 @@ import * as smartpromise from '@pushrocks/smartpromise'; export { smartpromise }; // third party scope -import * as nodeForge from 'node-forge'; +import nodeForge from 'node-forge'; export { nodeForge };