
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@onflow/transport-grpc
Advanced tools
This package is deprecated and will will no receive updates for new features. Please migrate your projects to use the [HTTP Transport] package (@onflow/transport-http
) instead.
Latest versions of FCL/JS-SDK will automatically use the HTTP Transport as long as the sdk.transport
configuration key is not set.
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.