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 Compare versions

Comparing version 2.4.1 to 3.0.0

esm2020/lib/grpc-client.mjs

26

lib/grpc-client.d.ts

@@ -50,2 +50,22 @@ import { Observable } from 'rxjs';

serverStream<Q extends GrpcMessage, S extends GrpcMessage>(path: string, req: Q, metadata: GrpcMetadata, reqclss: GrpcMessageClass<Q>, resclss: GrpcMessageClass<S>): Observable<GrpcEvent<S>>;
/**
* Handle client stream RPC
*
* @param path gRPC method path (rpc path)
* @param inputStream streamed request data
* @param metadata request metadata
* @param reqclss request message class
* @param resclss response message class
*/
clientStream<Q extends GrpcMessage, S extends GrpcMessage>(path: string, inputStream: Observable<Q>, metadata: GrpcMetadata, reqclss: GrpcMessageClass<Q>, resclss: GrpcMessageClass<S>): Observable<GrpcEvent<S>>;
/**
* Handle bidirectional stream RPC
*
* @param path gRPC method path (rpc path)
* @param inputStream streamed request data
* @param metadata request metadata
* @param reqclss request message class
* @param resclss response message class
*/
bidiStream<Q extends GrpcMessage, S extends GrpcMessage>(path: string, inputStream: Observable<Q>, metadata: GrpcMetadata, reqclss: GrpcMessageClass<Q>, resclss: GrpcMessageClass<S>): Observable<GrpcEvent<S>>;
}

@@ -57,3 +77,5 @@ /**

unary = 0,
serverStream = 1
serverStream = 1,
clientStream = 2,
bidiStream = 3
}

@@ -67,3 +89,3 @@ /**

type: GrpcCallType;
requestData: Q;
requestData: Q | Observable<Q>;
requestMetadata: GrpcMetadata;

@@ -70,0 +92,0 @@ requestClass: GrpcMessageClass<Q>;

3

LICENSE.md

@@ -5,3 +5,4 @@ # MIT License

Copyright (c) 2020 Semen Bobrov (smnbbrv)
Copyright (c) 2019-2022 Semen Bobrov (smnbbrv)
Permission is hereby granted, free of charge, to any person

@@ -8,0 +9,0 @@ obtaining a copy of this software and associated documentation

/**
* Generated bundle index. Do not edit.
*/
/// <amd-module name="@ngx-grpc/common" />
export * from './public-api';

@@ -12,3 +12,3 @@ {

"google-protobuf": "^3.10.0",
"rxjs": "^6.0.0"
"rxjs": ">=6.0.0"
},

@@ -18,11 +18,23 @@ "dependencies": {

},
"main": "bundles/ngx-grpc-common.umd.js",
"module": "fesm2015/ngx-grpc-common.js",
"es2015": "fesm2015/ngx-grpc-common.js",
"esm2015": "esm2015/ngx-grpc-common.js",
"fesm2015": "fesm2015/ngx-grpc-common.js",
"module": "fesm2015/ngx-grpc-common.mjs",
"es2020": "fesm2020/ngx-grpc-common.mjs",
"esm2020": "esm2020/ngx-grpc-common.mjs",
"fesm2020": "fesm2020/ngx-grpc-common.mjs",
"fesm2015": "fesm2015/ngx-grpc-common.mjs",
"typings": "ngx-grpc-common.d.ts",
"metadata": "ngx-grpc-common.metadata.json",
"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"types": "./ngx-grpc-common.d.ts",
"esm2020": "./esm2020/ngx-grpc-common.mjs",
"es2020": "./fesm2020/ngx-grpc-common.mjs",
"es2015": "./fesm2015/ngx-grpc-common.mjs",
"node": "./fesm2015/ngx-grpc-common.mjs",
"default": "./fesm2020/ngx-grpc-common.mjs"
}
},
"sideEffects": false,
"version": "2.4.1"
"version": "3.0.0"
}
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