Comparing version 0.1.20 to 0.1.21
@@ -369,2 +369,23 @@ export = Obyte; | ||
} | ||
interface WIFReturn { | ||
readonly version: number; | ||
readonly privateKey: Buffer; | ||
readonly compressed: boolean; | ||
} | ||
interface IObjUnit { | ||
version: string; | ||
signed_message: any; | ||
authors: Array<Author> | ||
} | ||
module utils { | ||
function isValidAddress(address: string): boolean; | ||
function getChash160(object: object | Array<any>): string; | ||
function toWif(privateKey: Buffer, testnet: boolean): string; | ||
function fromWif(string: string, testnet: boolean): WIFReturn; | ||
function signMessage(message: any, options: object): IObjUnit; | ||
function validateSignedMessage(objSignedMessage: object, address: string | null, message: any | null): boolean; | ||
} | ||
} |
{ | ||
"name": "obyte", | ||
"version": "0.1.20", | ||
"version": "0.1.21", | ||
"description": "A pure and powerful JavaScript Obyte library", | ||
@@ -5,0 +5,0 @@ "homepage": "https://obytejs.com", |
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
3326790
2067