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

@flytio/protos

Package Overview
Dependencies
Maintainers
10
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flytio/protos

Flyt service protos

  • 2.7.13
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
10
Weekly downloads
 
Created
Source

npm version

What are protocol buffers?

See https://developers.google.com/protocol-buffers/docs/overview

Installation

First you need to install google's proto buffers on your system and typescript

> brew install protobuf
> yarn install

Services

Documentation for each service

How to update the proto definitions for TypeScript

Since there is no protobuf compiler support for TypeScript, we are maintaining the compiled version manually. We are aware that this is a pain, and we'll look to a way of add support to TypeScript, either as our own open source project, or improving the existing plugin (which, at the moment, is not working correctly).

So, when you update proto definitions, you have to:

  • Update the TS definitions in the index.ts file.
  • Update CHANGELOG.md
  • Update the version in package.json.
  • Open your PR for review.

After your PR is approved and merged to master:

Generating protobuf Go files

If you want to generate protos in go you have to:

  1. Install protobuf using brew: brew install protobuf

  2. Install golang support for protobufs from here: https://github.com/golang/protobuf

  3. Clone https://github.com/flypay/protos-go into the parent directory of this repo

  4. Run this command

> make golang

Troubleshooting

If make golang complains that it can not find executable protoc-gen-go execute the following command from the terminal:

go get -u github.com/golang/protobuf/{proto,protoc-gen-go}

FAQs

Package last updated on 26 Apr 2022

Did you know?

Socket

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.

Install

Related posts

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