Slightly-breaking upgrade TransactionBuilder to support VersionedTransactions & BuildOptions
Mark TransactionProcessor as deprecated. Newer web3.js have solved the blockhash issues
Add LookupTableFetcher interface for Smart-Router API
Improve performance of AddressUtil with type-checks
Add our own Wallet, Address types (same as anchor, unlikely to change in the future)
[Config]
Add .yalc to .gitignore, .prettierrc
upgrade web3.js to 1.74+
remove dependency on @coral-xyz/anchor. (~10.9% of bundle size)
[Breaking API]
Full removal of deprecated TransactionBuilder.sendAll
TransactionPayload.transaction is now an intersection type between VersionedTransaction & Transaction. This will break code that assumes the transaction is of type Transaction
Some usages of the UI depends on SendTxRequest (TransactionProcess) to have the same types as TransactionPayload (TransactionBuilder). This is no longer true. A fix will be made on the UI.
Changes to orca-sdk
Add .yalc to .gitignore, .prettierrc
Add OrcaLookupTableFetcher for Smart-Router API
Tests
Confirmed that unit-tests results haven't changed
Built this version on whirlpools-sdk. Confirmed that the changes don't break anything + tests passes
Built this version on Orca UI. Confirmed that the breakages listed above are addressable.
A collection of changes to common-sdk & orca-sdk
Changes to common-sdk
[Features]
[Config]
[Breaking API]
TransactionBuilder.sendAll
TransactionPayload.transaction
is now an intersection type betweenVersionedTransaction
&Transaction
. This will break code that assumes the transaction is of typeTransaction
Changes to orca-sdk
Tests
whirlpools-sdk
. Confirmed that the changes don't break anything + tests passes