bsv2 2.4.0 → 2.5.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/README.md +5 -3
- package/dist/bsv2.cjs +7 -7
- package/dist/bsv2.cjs.map +1 -1
- package/dist/bsv2.mjs +3885 -3693
- package/dist/bsv2.mjs.map +1 -1
- package/dist/bsv2.umd.js +7 -7
- package/dist/bsv2.umd.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ of the `bsv` 2.x codebase: same class-based API, published on npm as
|
|
|
18
18
|
pre-Genesis and Chronicle policy modes.
|
|
19
19
|
- Keys, addresses, BIP32 hierarchical deterministic wallets and BIP39 mnemonics
|
|
20
20
|
(English, Spanish and Japanese wordlists).
|
|
21
|
-
- Block and block-header serialization,
|
|
21
|
+
- Block and block-header serialization, mining utilities, and BEEF/BUMP SPV proofs.
|
|
22
22
|
- ECIES and AES encryption helpers.
|
|
23
23
|
- Web Worker support for cryptography-heavy operations.
|
|
24
24
|
- Dependency-light, auditable source under `lib/`.
|
|
@@ -193,7 +193,7 @@ All symbols below are exported from the package root (`entry.js`).
|
|
|
193
193
|
| Cryptography and math | `Bn`, `Point`, `Ecdsa`, `Hash`, `Random`, `Aes`, `Aescbc`, `Cbc`, `Ecies`, `Ach` |
|
|
194
194
|
| Serialization / utilities | `Struct`, `Br`, `Bw`, `Bsm`, `VarInt`, `Base58`, `Base58Check`, `cmp`, `Constants` |
|
|
195
195
|
| Workers | `Workers`, `WorkersResult` |
|
|
196
|
-
| BRC helpers | `P2PKH`, `RPuzzle`, `PushDrop`, `AesGcm`, `SafeRecord`, `Reader`, `Writer` |
|
|
196
|
+
| BRC helpers | `P2PKH`, `RPuzzle`, `PushDrop`, `AesGcm`, `SafeRecord`, `Reader`, `Writer`, `Beef`, `Bump` |
|
|
197
197
|
| Fees and sizing | `FeeModel`, `SatoshisPerKilobyte`, `varUintSize`, `transactionInputSize`, `transactionOutputSize`, `transactionSize` |
|
|
198
198
|
| Package | `deps`, `version` |
|
|
199
199
|
|
|
@@ -276,7 +276,9 @@ See [BRC-100](https://bsv.brc.dev/wallet/0100.md) for the normative interface.
|
|
|
276
276
|
- `Reader`/`Writer` are bounds-checked byte helpers with canonical varint
|
|
277
277
|
decoding; `SafeRecord` rejects prototype-polluting keys in untrusted JSON.
|
|
278
278
|
|
|
279
|
-
BEEF (BRC-62) and BUMP (BRC-74)
|
|
279
|
+
BEEF (BRC-62) and BUMP (BRC-74) can be parsed/serialized with `Beef` and
|
|
280
|
+
`Bump`; `Bump.computeRoot()` verifies inclusion proofs. SPV header lookup is
|
|
281
|
+
left to the caller (`ChainTracker`-style service).
|
|
280
282
|
|
|
281
283
|
## Known differences from the C++ reference
|
|
282
284
|
|