Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@acala-network/api-augment
Advanced tools
TypeScript type definitions that can be used to decorate the @polkadot/api.
npm i @acala-network/api-augment
:warning:
@polkadot/api
should be installed in your project!
Add to your codebase entry point before any imports from the API itself.
import '@acala-network/api-augment'
- applies Moonbeam types and endpoint augmentationimport '@acala-network/api-augment/moonriver'
- applies Moonriver types and endpoint augmentationimport '@acala-network/api-augment/moonbase'
- applies Moonbase Alpha types and endpoint augmentationUpdate package version.
npm version --no-git-tag-version 0.1500.0
Generate new types.
npm run generate
The version change and new generated types should be merged to master.
Build the package.
npm run build
This will build the package and copy necessary files to the build folder.
npm run publish
This will publish content of the build folder.
FAQs
Acala types augment for @polkadot/api
The npm package @acala-network/api-augment receives a total of 0 weekly downloads. As such, @acala-network/api-augment popularity was classified as not popular.
We found that @acala-network/api-augment demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.