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.
@onflow/transport-grpc
Advanced tools
This package is working and in active development, breaking changes may happen.
npm install --save @onflow/transport-grpc
By default @onflow/fcl
defaults to using the HTTP Access Node endpoint via the HTTP Transport package (@onflow/transport-http
). This may be overriden, however.
If using the gRPC Access API, the sdk.transport
configuration key must be populated as this value defaults to the HTTP API transport. The SDK can be configured to use the gRPC API transport as follows:
import { config } from "@onflow/fcl"
import { send as transportGRPC } from "@onflow/transport-grpc"
config({
"accessNode.api": "https://access-testnet.onflow.org",
"sdk.transport": transportGRPC
})
This will override the HTTP Transport and use the gRPC Transport instead.
📖 gRPC Access API URLs can be found here. The public Flow gRPC access nodes are accessible at:
https://access-testnet.onflow.org
https://access-mainnet.onflow.org
127.0.0.1:3569
For more information, please consult the FCL-JS SDK guidelines.
For information about installing and configuring FCL, see the FCL Quick Start Tutorial.
FAQs
Flow SDK GRPC Transport Module
We found that @onflow/transport-grpc 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.
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.