Socket
Book a DemoInstallSign in
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
Package was removed
Sorry, it seems this package was removed from the registry

@flytio/protos

Flyt service protos

2.7.13
unpublished
latest
Source
npmnpm
Version published
Maintainers
10
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:

> 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.