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",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartkey",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"private": false,
|
||||
"description": "handle private/public key creation",
|
||||
"main": "dist/index.js",
|
||||
|
@ -3,7 +3,7 @@ import { KeyPair } from './smartkey.classes.keypair';
|
||||
|
||||
export class SmartKey {
|
||||
// instance
|
||||
public async getKeypair(passohrase?: string): Promise<KeyPair> {
|
||||
return KeyPair.createKeyPair();
|
||||
public async getKeypair(passphraseArg?: string): Promise<KeyPair> {
|
||||
return KeyPair.createKeyPair(passphraseArg);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user