0.0.10 • Published 1 month ago

remotivelabs-grpc-web-stubs v0.0.10

Weekly downloads
-
License
apache-v2
Repository
github
Last release
1 month ago

RemotiveLabs WEB-GRPC Stubs

npm version

These are generated grpc-web stubs to be used in a browser context, not intended to bu used with nodejs, read more here https://github.com/grpc/grpc-web

Usage

Installation

npm install --save remotivelabs-grpc-web-stubs

or

yarn add remotivelabs-grpc-web-stubs

Import

import {SystemServiceClient} from 'remotivelabs-grpc-web-stubs'

const client = new SystemServiceClient(brokerUrl)

Development

Build grpc-web-generator

This image is on dockerhub so you do not have to build it

docker build -t remotivelabs/grpc-web-generator .

Generate stubs

From this directory run the following commands and update src/index.ts to explicitly export types.

sh ./generate-ts.sh

Release Instructions

  1. Commit changes.
  2. Generate stubs sh ./generate-ts.sh.
  3. Update version with npm version x.y.z and commit it with release: Prepare a release for version x.y.z.
  4. Publish with npm publish.
0.0.10

1 month ago

0.0.9

4 months ago

0.0.8

8 months ago

0.0.7

11 months ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.4-alpha.0

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago