Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
11f574536c | |||
b3d1dfc607 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartkey",
|
"name": "@pushrocks/smartkey",
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartkey",
|
"name": "@pushrocks/smartkey",
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "handle private/public key creation",
|
"description": "handle private/public key creation",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -3,7 +3,7 @@ import { KeyPair } from './smartkey.classes.keypair';
|
|||||||
|
|
||||||
export class SmartKey {
|
export class SmartKey {
|
||||||
// instance
|
// instance
|
||||||
public async getKeypair(passohrase?: string): Promise<KeyPair> {
|
public async getKeypair(passphraseArg?: string): Promise<KeyPair> {
|
||||||
return KeyPair.createKeyPair();
|
return KeyPair.createKeyPair(passphraseArg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user