fix(core): update
This commit is contained in:
parent
0d3a8dde59
commit
f3fca605a4
@ -8,4 +8,9 @@ tap.test('first test', async () => {
|
|||||||
expect(testSmartCrypto).toBeInstanceOf(smartcrypto.Smartcrypto);
|
expect(testSmartCrypto).toBeInstanceOf(smartcrypto.Smartcrypto);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
tap.test('should create a private public keypair', async () => {
|
||||||
|
const keypair = await testSmartCrypto.createKeyPair();
|
||||||
|
console.log(keypair);
|
||||||
|
})
|
||||||
|
|
||||||
tap.start();
|
tap.start();
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smartcrypto',
|
name: '@pushrocks/smartcrypto',
|
||||||
version: '2.0.0',
|
version: '2.0.1',
|
||||||
description: 'easy crypto methods'
|
description: 'easy crypto methods'
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,6 @@ import * as smartpromise from '@pushrocks/smartpromise';
|
|||||||
export { smartpromise };
|
export { smartpromise };
|
||||||
|
|
||||||
// third party scope
|
// third party scope
|
||||||
import * as nodeForge from 'node-forge';
|
import nodeForge from 'node-forge';
|
||||||
|
|
||||||
export { nodeForge };
|
export { nodeForge };
|
||||||
|
Loading…
Reference in New Issue
Block a user