This repository was archived by the owner on Mar 11, 2025. It is now read-only.
SPL Token JS - v0.4.0
·
1117 commits
to master
since this release
This change repairs two notable bugs in the Token JS client:
- Removes and replaces the broken
addExtraAccountsToInstruction
with the new offchain helperaddExtraAccountMetasForExecute
. Fixes #6064. - Adds serialization support to various instructions to properly serialize a
COption::None
. Fixes #6113.
What's Changed
- token js: create new offchain helper by @buffalojoec in #6108
- token 2022 & transfer hook: drop deprecated helpers by @buffalojoec in #6122
- token-js: add
COption<Pubkey>
support toInitializeTransferFeeConfig
instruction by @buffalojoec in #6164 - fix: Use COptionPubkeyLayout for all COption fields by @qiweiii in #6173
- token js: bump to 0.4.0 by @buffalojoec in #6188
Shout out to @qiweiii for the contributions!!