Skip to content

Latest commit

 

History

History
110 lines (78 loc) · 3.13 KB

CHANGELOG.md

File metadata and controls

110 lines (78 loc) · 3.13 KB

Changelog

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.

[0.4.6] - 2022-11-21

Fixed

  • 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

Changed

  • export calcWithdrawalReceipt()
  • export MIN_ACTIVE_STAKE_LAMPORTS

[0.4.5] - 2022-10-25

Fixed

  • partialSign() bug for 0 length signers

[0.4.4] - 2022-10-25 (YANKED)

Changed

  • Call signAllTransactions before partialSign on transactions to suppport Strike Wallet
  • Set allowOwnerOffCurve to true for getAssociatedTokenAddress()

[0.4.3] - 2022-09-16

Changed

  • Export error types
  • Export decodeStakePool and decodeValidatorList

[0.4.2] - 2022-05-16

Changed

  • updateValidatorListBalanceTransactions now only creates transactions for validators on the validator list that have not yet been updated.

[0.4.1] - 2022-05-10

Fixed

  • depositStake bug that made it unusable in 0.4.0 (release yanked)

[0.4.0] - 2022-05-10

Changed

  • depositStake and depositStakeTransactions now take an additional amount argument that can be used to split an active stake account before depositing.

Added

  • onStakePoolChange and onValidatorListChange
  • Export account schema types and classes

[0.3.0] - 2022-04-28

Fixed

  • Socean constructor failing when Connection is passed in as arg when used in packages that contain their own installation of @solana/web3.js.

Changed

  • All TransactionInstruction functions are now exported

Added

  • utils:
    • calcSolDepositInverse(), calcWithdrawalsInverse()

[0.2.1 - 0.2.4] - 2022-03/04

Fixed

  • 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

[0.2.0] - 2022-03-10

Changed

  • support for large withdrawal
  • Socean constructor to accept optional web3 connection or custom rpc url
  • SoceanConfig to be public
  • buffer-layout package was replaced by @solana/buffer-layout

Added

  • types for bn.js
  • devnet support
  • WithdrawalUnserviceableError to accept description string reason
  • types:
    • ConfirmOptions (default preflightCommitment: "processed", commitment: "confirmed")
    • DepositReceipt
    • WithdrawalReceipt
    • ValidatorWithdrawalReceipt
  • utils:
    • calcSolDeposit
    • calcStakeDeposit
    • stakeAvailableToWithdraw

[0.1.2] - 2022-02-15

Fixed

  • esm module export
  • build procedure

[0.1.1] - 2022-02-13

Changed

  • 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

[0.1.0] - 2022-02-13

Added

TODO: intial spec list