Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
9e6cb240dd | |||
03175e208a |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartcrypto",
|
"name": "@pushrocks/smartcrypto",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartcrypto",
|
"name": "@pushrocks/smartcrypto",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "easy crypto methods",
|
"description": "easy crypto methods",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -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';
|
||||||
|
@ -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();
|
||||||
|
};
|
||||||
}
|
}
|
Reference in New Issue
Block a user