From f3fca605a4c41211e9d4c861fc6ef3ff3d420edc Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Mon, 24 Oct 2022 07:06:13 +0200 Subject: [PATCH] fix(core): update --- test/test.ts | 5 +++++ ts/00_commitinfo_data.ts | 2 +- ts/smartcrypto.plugins.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) 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 };