Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@project-serum/anchor
Advanced tools
TypeScript client for Anchor programs.
@project-serum/anchor
depends on node.js native modules. Therefore, webpack 5 will not work with current version. You will either need to rollback to webpack 4, or use a polyfill for each missing dependency.[0.26.0] - 2022-12-15
--run
to anchor test
for running a subset of test suites (#1828).transaction
functions to RequestBuilder (#1958).create_metadata_accounts_v3
and set_collection_size
wrappers (#2119).MetadataAccount
account deserialization. (#2014).update_primary_sale_happened_via_token
wrapper (#2173).sign_metadata
and remove_creator_verification
wrappers (#2175).initialize_account3
and initialize_mint2
(#2265).serum-dex
to openbook-dex
(#2308).has_one
relations inference so accounts mapped via has_one relationships no longer need to be provided (#2160)..prepare()
to builder pattern (#2160).freeze_delegated_account
and thaw_delegated_account
wrappers (#2164).feePayer
check to AnchorProvider
methods, so that anchor writes the provider's wallet as fee payer if fee payer isn't already set (#2186).AccountsClose
to make it safe to call manually (#2209).test.validator.geyser_plugin_config
support (#2016).account
subcommand to cli (#1923)ticks_per_slot
option to Validator args (#1875).seed
generation for byte string literals (#2125)..fetchNullable()
to be robust towards accounts only holding a balance (#2301).rent
from constraints (#2265).rent
from associated_token::Create
(#2265).Discriminator
and Owner
trait implementation for structures representing instructions (#1997).yarn build
in packages/anchor, see #2299 and #2306.Optional<Account<'info, T>>
. Shouldn't affect existing programs but may be a breaking change to tools that use the anchor generated IDL. #2101.@project-serum/anchor
to the @coral-xyz/anchor
package #2318.FAQs
Anchor client
The npm package @project-serum/anchor receives a total of 70,602 weekly downloads. As such, @project-serum/anchor popularity was classified as popular.
We found that @project-serum/anchor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.