From: Chris Duncan Date: Sat, 25 Apr 2026 06:39:45 +0000 (-0700) Subject: Apply markdown lint fixes. X-Git-Tag: v0.12.0~1 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=c0c68a97cd29892c51c6b983379ad9d848cf9d1f;p=libnemo.git Apply markdown lint fixes. --- diff --git a/CHANGELOG.md b/CHANGELOG.md index d568dee..e65c08c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -74,19 +74,23 @@ Updated dependencies. An event detailing the current Ledger status is now emitted when the status is changed. -``` -Ledger.addEventListener('ledgerstatuschanged', (event) => { - console.log(event.detail) - // output displays current status -}) +```javascript +Ledger.addEventListener("ledgerstatuschanged", (event) => { + console.log(event.detail); + // output displays current status +}); ``` An event is also emitted when a wallet is locked or unlocked, including Ledger wallets. -``` -myWallet.addEventListener('locked', () => { // no other event data... }) -myWallet.addEventListener('unlocked', () => { // no other event data... }) +```javascript +myWallet.addEventListener("locked", () => { + /* no other event data... */ +}); +myWallet.addEventListener("unlocked", () => { + /* no other event data... */ +}); ``` ## v0.10.1 @@ -144,9 +148,9 @@ use, in order of preference, HID then Bluetooth then USB, and now, calling the `wallet.config()` method with a settings object can set the desired transport explicitly. For example: -``` -const myLedger = await Wallet.create('Ledger') -await myLedger.config({ connection: 'ble' }) // other options are 'hid' or 'usb' +```javascript +const myLedger = await Wallet.create("Ledger"); +await myLedger.config({ connection: "ble" }); // other options are 'hid' or 'usb' ``` ### Other Changes @@ -462,7 +466,8 @@ Workers, further isolating the keys from the main thread and any remote access. Proof-of-work required to publish blocks is now provided by the `nano-pow` package. This enables fast PoW using the best available browser GPU technology and frees up `libnemo` to focus on wallet, account, and block interactions. More -information on `nano-pow` can be found [here](https://npmjs.com/nano-pow). +information on `nano-pow` can be found at its +[npm package page](https://npmjs.com/nano-pow). #### Persistent rolodex