All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Packaging issues causing it not to build with parcel. This package should be now usable in xnft backpack, which uses parcel.
- type signature bug for
ValidatorStakeInfo
array - missing
null | undefined
type signatures for optional fields in StakePool schema
- export
calcWithdrawalReceipt()
- export
MIN_ACTIVE_STAKE_LAMPORTS
partialSign()
bug for 0 length signers
- Call
signAllTransactions
beforepartialSign
on transactions to suppport Strike Wallet - Set
allowOwnerOffCurve
totrue
forgetAssociatedTokenAddress()
- Export error types
- Export
decodeStakePool
anddecodeValidatorList
updateValidatorListBalanceTransactions
now only creates transactions for validators on the validator list that have not yet been updated.
depositStake
bug that made it unusable in 0.4.0 (release yanked)
depositStake
anddepositStakeTransactions
now take an additionalamount
argument that can be used to split an active stake account before depositing.
onStakePoolChange
andonValidatorListChange
- Export account schema types and classes
Socean
constructor failing whenConnection
is passed in as arg when used in packages that contain their own installation of@solana/web3.js
.
- All
TransactionInstruction
functions are now exported
- utils:
calcSolDepositInverse()
,calcWithdrawalsInverse()
withdrawStake
not following on-chain logic of only withdrawing from transient/reserve stake accounts only if there are no active stake accounts in the entire stake pool- issues with import and package resolution with
tsconfig-paths
- support for large withdrawal
Socean
constructor to accept optional web3 connection or custom rpc urlSoceanConfig
to be publicbuffer-layout
package was replaced by@solana/buffer-layout
- types for bn.js
- devnet support
WithdrawalUnserviceableError
to accept description stringreason
- types:
ConfirmOptions
(default preflightCommitment: "processed", commitment: "confirmed")DepositReceipt
WithdrawalReceipt
ValidatorWithdrawalReceipt
- utils:
calcSolDeposit
calcStakeDeposit
stakeAvailableToWithdraw
- esm module export
- build procedure
- update dependency
@types/node
:17.0.10
->17.0.18
- update dependency
mocha
:9.1.4
->9.2.0
- update dependency
ts-node
:10.4.0
->10.5.0
TODO: intial spec list