From 428d177d61d4f322a9eb779474ac0bc532c1d249 Mon Sep 17 00:00:00 2001 From: Warren He Date: Thu, 17 Oct 2024 19:03:39 -0700 Subject: [PATCH] ts-web/rt: add changelog --- client-sdk/ts-web/rt/docs/changelog.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/client-sdk/ts-web/rt/docs/changelog.md b/client-sdk/ts-web/rt/docs/changelog.md index 671026de0f..a98aa4d292 100644 --- a/client-sdk/ts-web/rt/docs/changelog.md +++ b/client-sdk/ts-web/rt/docs/changelog.md @@ -2,16 +2,28 @@ ## Unreleased changes +Breaking changes: + +- `callformat.encodeCallWithNonceAndKeys` now takes a client `CryptoKeyPair` + instead of `sk` and `pk` `Uint8Array`s. + You can generate one with `mraeDeoxysii.generateKeyPair` and export its + public key with `mraeDeoxysii.publicKeyFromKeyPair`. +- `mraeDeoxysii` functions `deriveSymmetricKey`, `boxSeal`, and `boxOpen` are + now async. + New features: - Functions that internally need to compute a hash, such as `address.fromSigspec`, are declared as synchronous now. - secp256k1 verification is declared as synchronous now. +- `callformat.decodeResult`'s `meta` parameter now takes `unknown`, matching + what you get from `callformat.encodeCall`. Little things: - We're switching lots of cryptography dependencies to noble cryptography libraries. +- X25519 key exchange now uses the Web Crypto API. ## v1.1.0