conseiljs-softsigner
Advanced tools
Comparing version 5.0.2-beta.3 to 5.0.3-beta.0
/// <reference types="node" /> | ||
import { Signer } from 'conseiljs'; | ||
import { Signer, SignerCurve } from 'conseiljs'; | ||
export declare class SoftSigner implements Signer { | ||
@@ -11,2 +11,3 @@ readonly _secretKey: Buffer; | ||
private constructor(); | ||
getSignerCurve(): SignerCurve; | ||
static createSigner(secretKey: Buffer, validity?: number): Promise<Signer>; | ||
@@ -13,0 +14,0 @@ private getKey; |
@@ -34,2 +34,5 @@ "use strict"; | ||
} | ||
getSignerCurve() { | ||
return conseiljs_1.SignerCurve.ED25519; | ||
} | ||
static createSigner(secretKey, validity = 60) { | ||
@@ -36,0 +39,0 @@ return __awaiter(this, void 0, void 0, function* () { |
{ | ||
"name": "conseiljs-softsigner", | ||
"version": "5.0.2-beta.3", | ||
"version": "5.0.3-beta.0", | ||
"description": "ConseilJS software signer plugin for ConseilJS-core. Supports the ED25519 curve via libsodium for tz1-address operations.", | ||
@@ -67,3 +67,3 @@ "browser": "dist/index.js", | ||
"bip39": "3.0.2", | ||
"conseiljs": "5.0.2-beta.3", | ||
"conseiljs": "5.0.3-beta.2", | ||
"generate-password": "1.5.1", | ||
@@ -70,0 +70,0 @@ "libsodium-wrappers-sumo": "0.7.6" |
@@ -51,3 +51,3 @@ # ConseilJS-softsigner | ||
<script src="https://cdn.jsdelivr.net/gh/cryptonomic/conseiljs-softsigner/dist-web/conseiljs-softsigner.min.js" | ||
integrity="sha384-gmo96y8/A1pPfu7t/0LS4DjMG4Djzg8ouw5ke9DzwuXDf5mRY4sK6m9M5K/GSVJZ" | ||
integrity="sha384-V1iaajn0x/SMFcZ9Y/xNQmqQSKyll6Dzt27U6OWiv8NdbHTVaHOGHdQ8g0G68HPd" | ||
crossorigin="anonymous"></script> | ||
@@ -54,0 +54,0 @@ <script> |
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
44481
383
+ Addedconseiljs@5.0.3-beta.2(transitive)
- Removedconseiljs@5.0.2-beta.3(transitive)
Updatedconseiljs@5.0.3-beta.2