From 48e8ac53ec83f668dabe944f6bc290b66f5c699b Mon Sep 17 00:00:00 2001 From: maayan Date: Tue, 14 Nov 2023 20:03:45 -0500 Subject: [PATCH] update changeset --- .changeset/forty-avocados-hide.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .changeset/forty-avocados-hide.md diff --git a/.changeset/forty-avocados-hide.md b/.changeset/forty-avocados-hide.md new file mode 100644 index 00000000..ba6f1682 --- /dev/null +++ b/.changeset/forty-avocados-hide.md @@ -0,0 +1,19 @@ +--- +"@aptos-labs/wallet-adapter-ant-design": major +"@aptos-labs/wallet-adapter-mui-design": major +"@aptos-labs/wallet-adapter-react": major +"@aptos-labs/wallet-adapter-core": major +"@aptos-labs/wallet-adapter-nextjs-example": major +--- + +Support TypeScript SDK V2. Fully compatible with existing SDK V1 and Wallet Adapter V1 +but with a full SDK V2 support for the dapp. + +- Add support for SDK V2 input types +- `signAndSubmitTransaction()` accept only SDK V2 transaction input type +- Implement a `submitTransaction()` function for multi signers transactions +- `signTransaction()` to support both SDK V1 and V2 versions +- Convert wallet `SignedTransaction` response from `signTransaction()` to TS SDK V2 `AccountAuthenticator` +- Demo app to demonstrate different trnsaction flows - single signer, sponsor and multi agent transactions +- Reject promise on core and/or provider errors instead of just returning `false` +- Use `@aptos-labs/ts-sdk@experimental` version `0.0.6`