File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
client-sdk/ts-web/core/docs Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Unreleased changes
4
4
5
+ Breaking changes:
6
+
7
+ - ` signature.NaclSigner ` is moved out to a new
8
+ ` @oasisprotocol/signer-tweetnacl ` package.
9
+ - ` hdkey.HDKey.getAccountSigner ` now returns a ` signature.Signer ` instead of
10
+ a tweetnacl ` SignKeyPair ` .
11
+ To get the private key, use the new ` hdkey.HDKey.seedFromMnemonic ` and
12
+ ` hdkey.HDKey.privateKeyFromSeed ` functions.
13
+
5
14
New features:
6
15
7
16
- Hashing and many related functions that internally need to compute a hash,
@@ -10,11 +19,19 @@ New features:
10
19
We had implementations that used synchronous hashing libraries all along,
11
20
but this is us giving up on eventually using the Web Crypto API for
12
21
SHA-512/256.
22
+ - For Ed25519 signing, there's a new ` signature.WebCryptoSigner ` taking the
23
+ place of ` signature.NaclSigner ` .
24
+ ` await signature.WebCryptoSigner.generate(extractable) ` is equivalent to
25
+ ` signature.NaclSigner.fromRandom(note) ` , and
26
+ ` await signature.WebCryptoSigner.fromPrivateKey(priv) ` is equivalent to
27
+ ` signature.NaclSigner.fromSeed(priv, note) ` .
13
28
14
29
Little things:
15
30
31
+ - Removed dependency on tweetnacl.
16
32
- We're switching lots of cryptography dependencies to noble cryptography
17
33
libraries.
34
+ - Ed25519 verification now uses the Web Crypto API.
18
35
19
36
## v1.1.0
20
37
You can’t perform that action at this time.
0 commit comments