Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@metaplex-foundation/cusper
Advanced tools
Resolves Custom Program Errors from Solana program logs or error codes.
Resolves Custom Program Errors from Solana program logs or error codes.
import { initCusper } from '@metaplex-foundation/cusper'
const cusper = initCusper(/* optionally provide custom error resolver here */)
const logs = [
'Program CwrqeMj2U8tFr1Rhkgwc84tpAsqbt9pTt2a4taoTADPr invoke [1]',
'Program log: Custom program error: 0x07D0',
]
function showError() {
try {
const error = { ...new Error('Test error'), logs }
cusper.throwError(error)
} catch (err) {
console.error(err)
}
}
showError()
AnchorError#ConstraintMut: A mut constraint was violated
at showError (/cusper/test/test/ex.ts:13:12)
[ .. ]
Please find the API docs here
Apache-2.0
FAQs
Resolves Custom Program Errors from Solana program logs or error codes.
The npm package @metaplex-foundation/cusper receives a total of 42,026 weekly downloads. As such, @metaplex-foundation/cusper popularity was classified as popular.
We found that @metaplex-foundation/cusper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.