Comparing version 2.0.2 to 2.0.3
@@ -20,3 +20,3 @@ // Type definitions for wif 2.0 | ||
privateKey: Buffer, | ||
compressed: boolean | ||
compressed: boolean, | ||
): Buffer; | ||
@@ -27,3 +27,3 @@ | ||
privateKey: Buffer, | ||
compressed: boolean | ||
compressed: boolean, | ||
): string; |
{ | ||
"name": "@types/wif", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "TypeScript definitions for wif", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wif", | ||
"license": "MIT", | ||
@@ -24,4 +25,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "3ca152da7b316895a01a08ef3086ebce0ef741ca0ef18a60a5401a5407aa90e6", | ||
"typeScriptVersion": "3.2" | ||
"typesPublisherContentHash": "f1445706f0b47b628630960a53175a61841c6dda089331eb9e7e486b06982066", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -9,5 +9,36 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wif. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wif/index.d.ts) | ||
````ts | ||
// Type definitions for wif 2.0 | ||
// Project: https://github.com/bitcoinjs/wif | ||
// Definitions by: Daniel Byrne <https://github.com/danwbyrne> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/// <reference types="node"/> | ||
export interface WIFReturn { | ||
readonly version: number; | ||
readonly privateKey: Buffer; | ||
readonly compressed: boolean; | ||
} | ||
export function decodeRaw(buffer: Buffer, version?: number): WIFReturn; | ||
export function decode(string: string, version?: number): WIFReturn; | ||
export function encodeRaw( | ||
version: number, | ||
privateKey: Buffer, | ||
compressed: boolean, | ||
): Buffer; | ||
export function encode( | ||
version: number, | ||
privateKey: Buffer, | ||
compressed: boolean, | ||
): string; | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 13 Oct 2020 17:10:11 GMT | ||
* Last updated: Mon, 25 Sep 2023 13:39:07 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +45,0 @@ * Global values: none |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4035
0
48