Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@types/hdkey
Advanced tools
TypeScript definitions for hdkey
npm install --save @types/hdkey
This package contains type definitions for hdkey (https://github.com/cryptocoinjs/hdkey).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hdkey.
/// <reference types="node"/>
declare class HDNode {
static fromMasterSeed(seed: Buffer, versions?: { private: number; public: number }): HDNode;
publicKey: Buffer | null;
privateKey: Buffer | null;
chainCode: Buffer | null;
constructor(versions?: { private: number; public: number });
derive(path: string): HDNode;
toJSON(): { xpriv: string; xpub: string };
static fromJSON(obj: { xpriv: string; xpub: string }): HDNode;
static fromExtendedKey(
xpriv: string,
versions?: { private: number; public: number },
skipVerification?: boolean,
): HDNode;
sign(hash: Buffer): Buffer;
verify(hash: Buffer, signature: Buffer): boolean;
wipePrivateData(): HDNode;
privateExtendedKey: string | null;
publicExtendedKey: string;
versions: { private: number; public: number };
depth: number;
index: number;
fingerprint: number;
parentFingerprint: number;
identifier: string | undefined;
pubKeyHash: string | undefined;
deriveChild(index: number): HDNode;
static HARDENED_OFFSET: number;
}
export = HDNode;
These definitions were written by Leonid Logvinov, Tvrtko Majstorovic, and Alberto Torre.
FAQs
TypeScript definitions for hdkey
The npm package @types/hdkey receives a total of 5,597 weekly downloads. As such, @types/hdkey popularity was classified as popular.
We found that @types/hdkey demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.