@smartledger/bsv 7.0.1 → 7.1.0
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 +160 -0
- package/README.md +38 -38
- package/bsv-ecies.min.js +1 -1
- package/bsv-gdaf.min.js +46 -46
- package/bsv-ltp.min.js +46 -46
- package/bsv-smartcontract.min.js +15 -15
- package/bsv.bundle.js +46 -46
- package/bsv.d.ts +1 -1
- package/bsv.min.js +46 -46
- 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/crypto/ecdsa.js +24 -2
- package/lib/crypto/signature.js +33 -6
- package/lib/crypto/smartledger_verify.js +5 -6
- package/lib/ecies/bitcore-ecies.js +4 -1
- package/lib/encoding/base58check.js +4 -1
- package/lib/hdprivatekey.js +6 -2
- package/lib/ltp/claim.js +2 -3
- package/lib/ltp/obligation.js +2 -6
- package/lib/ltp/registry.js +7 -6
- package/lib/ltp/right.js +2 -6
- package/lib/util/id.js +48 -0
- package/package.json +1 -1
- package/test/build/esm_wrapper.js +10 -3
- package/test/crypto/ecdsa.js +73 -0
- package/test/crypto/security.js +51 -2
- package/test/crypto/signature.js +81 -0
- package/test/ecies/bitcore-ecies.js +8 -0
- package/test/encoding/base58check.js +9 -0
- package/test/hdprivatekey.js +9 -0
- package/test/ltp/ids.js +74 -0
- package/test/script/script.js +4 -2
- package/test/util/id.js +72 -0
- package/version.js +1 -1
package/bsv.d.ts
CHANGED
|
@@ -282,7 +282,7 @@ declare module '@smartledger/bsv' {
|
|
|
282
282
|
toHex(): string;
|
|
283
283
|
inspect(): string;
|
|
284
284
|
|
|
285
|
-
static fromRandom(): HDPrivateKey;
|
|
285
|
+
static fromRandom(network?: string): HDPrivateKey;
|
|
286
286
|
static fromString(str: string): HDPrivateKey;
|
|
287
287
|
static fromObject(obj: object): HDPrivateKey;
|
|
288
288
|
static fromSeed(hexa: string | Buffer, network: string | Networks.Network): HDPrivateKey;
|