Skip to content

SDK v0.4.0

Choose a tag to compare

@tenequm tenequm released this 02 Dec 18:29
· 60 commits to main since this release
6211736

Added

  • SplitsError class hierarchy for instanceof error handling
  • matchesDiscriminator() utility for indexers
  • Comprehensive tests for PDA derivation, deserialization, and discriminators
  • Export sharesToBasisPoints/basisPointsToShares for advanced use

Changed

  • Separate Raw/User-facing types (RawRecipient vs Recipient)
  • Expanded share range to 1-100 (single recipient can have 100%)
  • Pre-validate vault state in update/close operations