]> git.codecow.com Git - libnemo.git/commitdiff
v0.2.0
authorChris Duncan <chris@zoso.dev>
Tue, 5 Aug 2025 00:20:43 +0000 (17:20 -0700)
committerChris Duncan <chris@zoso.dev>
Tue, 5 Aug 2025 00:20:43 +0000 (17:20 -0700)
CHANGELOG.md
package-lock.json
package.json

index bd24914a8f53dd6f9be6ca68595da7294b303e3f..60471ecc36b9cd1abc274b0feb1aa4ca1130bc06 100644 (file)
@@ -3,6 +3,43 @@ SPDX-FileCopyrightText: 2025 Chris Duncan <chris@zoso.dev>
 SPDX-License-Identifier: GPL-3.0-or-later
 -->
 
+## v0.2.0
+
+### Notable Changes
+
+#### Wallet merge
+
+Wallets have been merged into a single class for simplicity's sake. Now, the
+`create()` and `import()` static methods have a `type` parameter to indicate the
+algorithm to use when generating the wallet seed, either 'BIP-44' or 'BLAKE2b'.
+Ledger wallets are still supported and extend the base Wallet class for its
+additional implementation details, but the API is largely shared between the
+two.
+
+#### Wallet security
+
+Security has been improved by removing wallet secrets from the main thread
+entirely. All sensitive actions - seed generation, account derivation, signing -
+happen within the isolated Web Worker introduced in v0.1, and the mnemonic and
+seed are never available for export. The only exception is when calling
+`create()` so that they can be backed up; after they are accessed once, the data
+self-destructs and can only be accessed by the wallet itself and its isolated
+worker environment. The wallet is unlocked with a password as usual and will now
+automatically relock after 5 minutes.
+
+#### Account handling
+
+Accounts can still be imported via private keys, but only the public keys are
+retained. Signing should happen using a Wallet or by passing a key directly to a
+block.
+
+### Other Changes
+
+Pretty much every other component has been refactored or improved to accomodate the new
+wallet system.
+
+
+
 ## v0.1.0
 
 ### Notable Changes
index bbe2428e017b6d8a8bec91b8bdcd1281e3f93a51..78f22ebef9478c3b941736e8485ae213f6e53590 100644 (file)
@@ -1,12 +1,12 @@
 {
        "name": "libnemo",
-       "version": "0.1.0",
+       "version": "0.2.0",
        "lockfileVersion": 3,
        "requires": true,
        "packages": {
                "": {
                        "name": "libnemo",
-                       "version": "0.1.0",
+                       "version": "0.2.0",
                        "license": "(GPL-3.0-or-later AND MIT AND ISC)",
                        "dependencies": {
                                "nano-pow": "^5.1.4"
index 9b8b2cc1a5f49a7d052fa9fd5122bad439ec75b1..4b3321e5e2587571b3a4ed3dd91ee82706beec3e 100644 (file)
@@ -1,6 +1,6 @@
 {
        "name": "libnemo",
-       "version": "0.1.0",
+       "version": "0.2.0",
        "description": "Asynchronous, non-blocking Nano cryptocurrency integration toolkit.",
        "keywords": [
                "nemo",