@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/CHANGELOG.md +38 -0
- package/README.md +38 -38
- package/bsv-ecies.min.js +1 -1
- package/bsv-gdaf.min.js +24 -24
- package/bsv-ltp.min.js +24 -24
- package/bsv-mnemonic.min.js +8 -8
- package/bsv-smartcontract.min.js +1 -1
- package/bsv.bundle.js +24 -24
- package/bsv.d.ts +3 -2
- package/bsv.min.js +24 -24
- package/docs/MODULE_REFERENCE_COMPLETE.md +27 -27
- package/docs/advanced/UTXO_MANAGER_GUIDE.md +1 -1
- package/docs/getting-started/INSTALLATION.md +23 -23
- package/docs/getting-started/QUICK_START.md +7 -7
- package/docs/migration/FROM_BSV_1_5_6.md +5 -5
- package/lib/ecies/bitcore-ecies.js +4 -1
- package/lib/encoding/base58check.js +4 -1
- package/lib/hdprivatekey.js +6 -2
- package/lib/mnemonic/mnemonic.js +32 -2
- package/package.json +1 -1
- package/test/ecies/bitcore-ecies.js +8 -0
- package/test/encoding/base58check.js +9 -0
- package/test/hdprivatekey.js +9 -0
- package/test/mnemonic/mnemonic.js +32 -0
- package/version.js +1 -1
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
|
|
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;
|