Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@solana/assertions
Advanced tools
Helpers for asserting that a JavaScript environment supports certain features necessary for the operation of the Solana JavaScript SDK
This package contains utilities for asserting that a JavaScript environment supports certain features necessary for the operation of the Solana JavaScript SDK.
assertKeyExporterIsAvailable()
Throws an exception unless crypto.subtle.exportKey()
is available in the current JavaScript environment.
assertKeyGenerationIsAvailable()
Throws an exception unless crypto.subtle.generateKey()
is available in the current JavaScript environment and has support for the Ed25519
curve.
assertSigningCapabilityIsAvailable()
Throws an exception unless crypto.subtle.sign()
is available in the current JavaScript environment.
assertVerificationCapabilityIsAvailable()
Throws an exception unless crypto.subtle.sign()
is available in the current JavaScript environment.
FAQs
Helpers for asserting that a JavaScript environment supports certain features necessary for the operation of the Solana JavaScript SDK
The npm package @solana/assertions receives a total of 9,369 weekly downloads. As such, @solana/assertions popularity was classified as popular.
We found that @solana/assertions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 14 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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.