@smartledger/bsv 7.0.0 → 7.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bsv.d.ts CHANGED
@@ -251,7 +251,8 @@ declare module '@smartledger/bsv' {
251
251
  toString(): string;
252
252
  inspect(): string;
253
253
 
254
- static fromRandom(wordlist?: Array<string>): Mnemonic;
254
+ static fromRandom(wordlist?: Array<string>, ent?: number): Mnemonic;
255
+ static fromRandom(ent: number, wordlist?: Array<string>): Mnemonic;
255
256
  static fromString(mnemonic: String, wordList?: Array<string>): Mnemonic;
256
257
  static isValid(mnemonic: String, wordList?: Array<string>): boolean;
257
258
  static fromSeed(seed: Buffer, wordlist: Array<string>): Mnemonic
@@ -281,7 +282,7 @@ declare module '@smartledger/bsv' {
281
282
  toHex(): string;
282
283
  inspect(): string;
283
284
 
284
- static fromRandom(): HDPrivateKey;
285
+ static fromRandom(network?: string): HDPrivateKey;
285
286
  static fromString(str: string): HDPrivateKey;
286
287
  static fromObject(obj: object): HDPrivateKey;
287
288
  static fromSeed(hexa: string | Buffer, network: string | Networks.Network): HDPrivateKey;