New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@onflow/transport-grpc

Package Overview
Dependencies
Maintainers
16
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onflow/transport-grpc - npm Package Compare versions

Comparing version 1.1.1-alpha.0 to 1.1.1

12

CHANGELOG.md
# @onflow/transport-grpc
## 1.1.1
### Patch Changes
- [#1227](https://github.com/onflow/fcl-js/pull/1227) [`352f1460`](https://github.com/onflow/fcl-js/commit/352f1460a2f34d228a74fa4bbc6fcf6e68a968b6) Thanks [@jribbink](https://github.com/jribbink)! - Switch to fcl-bundle instead of microbundle for build scripts
- Updated dependencies [[`352f1460`](https://github.com/onflow/fcl-js/commit/352f1460a2f34d228a74fa4bbc6fcf6e68a968b6)]:
- @onflow/rlp@1.0.2
- @onflow/util-address@1.0.2
- @onflow/util-invariant@1.0.2
- @onflow/util-template@1.0.3
## 1.1.1-alpha.0

@@ -4,0 +16,0 @@

12

package.json
{
"name": "@onflow/transport-grpc",
"version": "1.1.1-alpha.0",
"version": "1.1.1",
"description": "Flow SDK GRPC Transport Module",

@@ -21,3 +21,3 @@ "license": "Apache-2.0",

"devDependencies": {
"@onflow/fcl-bundle": "^1.0.1-alpha.0",
"@onflow/fcl-bundle": "^1.0.1",
"jest": "^27.0.6",

@@ -43,7 +43,7 @@ "jest-esm-transformer": "1.0.0"

"@onflow/protobuf": "^1.1.0",
"@onflow/rlp": "^1.0.2-alpha.0",
"@onflow/util-address": "^1.0.2-alpha.0",
"@onflow/util-invariant": "^1.0.2-alpha.0",
"@onflow/util-template": "^1.0.3-alpha.0"
"@onflow/rlp": "^1.0.2",
"@onflow/util-address": "^1.0.2",
"@onflow/util-invariant": "^1.0.2",
"@onflow/util-template": "^1.0.3"
}
}

@@ -14,6 +14,35 @@ ---

## Install
## Usage
### Install
```bash
npm install --save @onflow/transport-grpc
```
```
### Integration with FCL
By default `@onflow/fcl` defaults to using the HTTP Access Node endpoint via the [HTTP Transport](/packages/transport-http/) 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:
```javascript
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](https://docs.onflow.org/access-api/#flow-access-node-endpoints). The public Flow gRPC access nodes are accessible at:
- Testnet `https://access-testnet.onflow.org`
- Mainnet `https://access-mainnet.onflow.org`
- Local Emulator `127.0.0.1:3569`
For more information, please consult the [FCL-JS SDK guidelines](/docs/reference/sdk-guidelines.mdx).
For information about installing and configuring FCL, see the [FCL Quick Start Tutorial](/docs/tutorials/flow-app-quickstart.mdx).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc