Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ngx-grpc/common

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngx-grpc/common - npm Package Versions

13

2.3.0

Diff

Changelog

Source

2.3.0 (2021-06-13)

Features

  • protoc-gen-ng: add support for proto3 optional bytes and string (d2367a6)
smnbbrv
published 2.2.0 •

Changelog

Source

2.2.0 (2021-06-02)

Features

  • protoc-gen-ng: add support for proto3 optional primitives (6184c5a)
smnbbrv
published 2.1.0 •

Changelog

Source

2.1.0 (2021-04-09)

Bug Fixes

  • well-known-types: fix constructor parameter type (75f1155)

Features

  • protoc-gen-ng: use google-protobuf plugin data source instead of third-party proto-plugin package (7b327b8)
smnbbrv
published 2.0.4 •

Changelog

Source

2.0.4 (2021-01-20)

Bug Fixes

  • protoc-gen-ng: fix test of map with int64 key (eb3310b)
  • protoc-gen-ng: handle map int64/uin64 key as string (53b3616)
smnbbrv
published 2.0.3 •

Changelog

Source

2.0.3 (2020-12-07)

Bug Fixes

  • fix GrpcMessageClass constructor (ad0c695)
smnbbrv
published 2.0.2 •

Changelog

Source

2.0.2 (2020-12-07)

Bug Fixes

  • common: fix uint8ArrayToBase64 implementation (a36104d)
  • protoc-gen-ng: use AsObject type as constructor argument instead of a message type, closes #37 (834811f)
  • oneof binary types which are strings are now handled as expected. (f4d5401)
smnbbrv
published 2.0.1 •

Changelog

Source

2.0.1 (2020-12-01)

Bug Fixes

  • grpc-web-client: properly create errors metadata (462a5e4)
  • improbable-eng-grpc-web-client: use proper name to publish the package (29f2af4)
smnbbrv
published 2.0.0 •

Changelog

Source

2.0.0 (2020-11-26)

Bug Fixes

  • core: add missing request metadata for logger errors (32ea435)
  • grpc-web-client: use MethodDescriptor instead of deprecated MethodInfo (3ef868e)
  • grpc-worker: use MethodDescriptor instead of deprecated MethodInfo (a4d5444)
  • protoc-gen-ng: do not re-export js modules and care of duplicate dependencies (99c592b)
  • protoc-gen-ng: properly initialize and cast to object the maps with message as value, close #29 (a6d4568)

Features

  • common: add withCredentials flag to GrpcClientSettings, close #30 (e4645f8)
  • core: add advanced logger settings, shortening the logger service and its corresponding types names; the logger is enabled by default (7bbf215)
  • core: add client settings to the logger output, close #21 (dfe019a)
  • protoc-gen-ng: add configuration file support (7d753b8)
  • protoc-gen-ng: add support for jstype field option (dae4e6a)
  • add @improbable-eng/grpc-web client implementation (4d0a2ff)
  • add child / lazy / feature modules support, close #18 (ec2e7aa)
  • add method getSettings to each client's implementation (ec1995d)
  • add protobuf JSON mapping implementation and full support of google.protobuf.Any (718edf6)
  • move all well-known types to a separate package @ngx-grpc/well-known-types, close #15 (c8360ea)
  • reduce service client clutter by moving all raw (former $eventStream) methods under a $raw property (f16d58c)
  • remove GrpcClientSettings in favour of having the settings defined by each client implementation (259e658)
  • update all dependencies (cdf7d82)
  • use class GrpcMetadata instead of metadata hashmap (d081377)

BREAKING CHANGES

  • $eventStream methods are moved to $raw property
  • metadata is not a hashmap anymore, use GrpcMetadata instead. GrpcStatusEvent properties code and details are renamed to statusCode and statusMessage correspondingly
  • The way to configure the project has been changed. Use corresponding modules for core, logger and client implementations. All services are injected with providedIn: 'any' instead of 'root'. If you want to change this behaviour use corresponding generator setting
  • protoc-gen-ng: worker=true compiler argument is removed; the same configuration can be achieved within the config file
  • GrpcClientSettings is removed, use the specific client settings instead; e.g. GrpcWebClientSettings or GrpcWorkerClientSettings for corresponding clients
  • core: GRPC_CONSOLE_LOGGER_ENABLED is removed in favour of more general GRPC_LOGGER_SETTINGS. The logger is renamed to GrpcLoggerInterceptor. By default, the logger is enabled (before it was disabled by default).
  • all well-known types are served with separate package that needs to be installed with npm i @ngx-grpc/well-known-types. If you want to keep the old behaviour, use generateWellKnownTypes plugin option
  • protoc-gen-ng: messages re-exports are no longer available, use direct imports instead
smnbbrv
published 1.0.4 •

Changelog

Source

1.0.4 (2020-10-09)

Bug Fixes

  • protoc-gen-ng: properly handle explicit [packed=false] fields (5abae75)
smnbbrv
published 1.0.3 •

Changelog

Source

1.0.3 (2020-10-05)

Bug Fixes

  • protoc-gen-ng: fix recursive public imports & fix possible import duplication, see #13 (d60dffd)
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