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.
@protobuf-ts/grpcweb-transport
Advanced tools
gRPC-web transport for clients generated by the protoc plugin "protobuf-ts"
gRPC-web transport for clients generated by protobuf-ts.
Installation:
# with npm:
npm install @protobuf-ts/grpcweb-transport
# with yarn:
yarn add @protobuf-ts/grpcweb-transport
You probably want the protoc plugin as well:
# with npm:
npm install -D @protobuf-ts/plugin
# with yarn:
yarn add --dev @protobuf-ts/plugin
Usage:
let transport = new GrpcWebFetchTransport({
baseUrl: "localhost:3000"
});
let client = new HaberdasheryClient(transport);
let {response} = await client.makeHat({ inches: 11 });
console.log("got a small hat! " + response)
let streamingCall = client.makeRowOfHats({ inches: 23 });
for await (let hat of streamingCall.responses) {
console.log("got another hat! " + hat)
}
To learn more, please read the MANUAL.
The gRPC status codes are Copyright 2016 gRPC authors.
FAQs
gRPC-web transport for clients generated by the protoc plugin "protobuf-ts"
The npm package @protobuf-ts/grpcweb-transport receives a total of 31,686 weekly downloads. As such, @protobuf-ts/grpcweb-transport popularity was classified as popular.
We found that @protobuf-ts/grpcweb-transport demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.