conseiljs-softsigner
Advanced tools
Comparing version 5.0.1-beta.4 to 5.0.1-beta.5
/// <reference types="node" /> | ||
import { KeyStore } from 'conseiljs'; | ||
export declare namespace KeyStoreUtils { | ||
function generateMnemonic(strength?: number): Promise<string>; | ||
function generateMnemonic(strength?: number): string; | ||
function generateIdentity(strength?: number, password?: string, mnemonic?: string): Promise<KeyStore>; | ||
@@ -6,0 +6,0 @@ function restoreIdentityFromSecretKey(secretKey: string): Promise<KeyStore>; |
@@ -26,5 +26,3 @@ "use strict"; | ||
function generateMnemonic(strength = 256) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return bip39.generateMnemonic(strength); | ||
}); | ||
return bip39.generateMnemonic(strength); | ||
} | ||
@@ -31,0 +29,0 @@ KeyStoreUtils.generateMnemonic = generateMnemonic; |
{ | ||
"name": "conseiljs-softsigner", | ||
"version": "5.0.1-beta.4", | ||
"version": "5.0.1-beta.5", | ||
"description": "ConseilJS software signer plugin for ConseilJS-core. Supports the ED25519 curve via libsodium for tz1-address operations.", | ||
@@ -5,0 +5,0 @@ "browser": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36661
306