Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
038f7e2e9f | |||
f3fca605a4 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartcrypto",
|
"name": "@pushrocks/smartcrypto",
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "easy crypto methods",
|
"description": "easy crypto methods",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -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 };
|
||||||
|
Reference in New Issue
Block a user