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

@ngx-grpc/core

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngx-grpc/core - npm Package Compare versions

Comparing version 2.4.1 to 3.0.0

esm2020/lib/grpc-core.module.mjs

4

lib/grpc-core.module.d.ts
import { ModuleWithProviders } from '@angular/core';
import * as i0 from "@angular/core";
export declare class GrpcCoreModule {

@@ -11,2 +12,5 @@ /**

static forChild(): ModuleWithProviders<GrpcCoreModule>;
static ɵfac: i0.ɵɵFactoryDeclaration<GrpcCoreModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<GrpcCoreModule, never, never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<GrpcCoreModule>;
}
import { GrpcEvent, GrpcMessage, GrpcRequest } from '@ngx-grpc/common';
import { Observable } from 'rxjs';
import { GrpcInterceptor } from './grpc-interceptor';
import * as i0 from "@angular/core";
/**

@@ -20,2 +21,6 @@ * Core gRPC transport class. Implements creation and binding of RPCs to the clients.

handle<Q extends GrpcMessage, S extends GrpcMessage>(request: GrpcRequest<Q, S>): Observable<GrpcEvent<S>>;
private message;
private stream;
static ɵfac: i0.ɵɵFactoryDeclaration<GrpcHandler, [{ optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<GrpcHandler>;
}

@@ -6,2 +6,3 @@ import { InjectionToken } from '@angular/core';

import { GrpcInterceptor } from './grpc-interceptor';
import * as i0 from "@angular/core";
/**

@@ -66,2 +67,4 @@ * A configuration for GrpcLoggerInterceptor

export declare class GrpcLoggerInterceptor implements GrpcInterceptor {
private static requestId;
private clientDataStyle;
private dataStyle;

@@ -73,2 +76,4 @@ private errorStyle;

intercept<Q extends GrpcMessage, S extends GrpcMessage>(request: GrpcRequest<Q, S>, next: GrpcHandler): Observable<GrpcEvent<S>>;
static ɵfac: i0.ɵɵFactoryDeclaration<GrpcLoggerInterceptor, [{ optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<GrpcLoggerInterceptor>;
}
import { ModuleWithProviders } from '@angular/core';
import { GrpcLoggerSettings } from './grpc-logger-interceptor';
import * as i0 from "@angular/core";
export interface GrpcLoggerRootOptions {

@@ -20,2 +21,5 @@ settings: GrpcLoggerSettings;

static forChild(options?: GrpcLoggerChildOptions): ModuleWithProviders<GrpcLoggerModule>;
static ɵfac: i0.ɵɵFactoryDeclaration<GrpcLoggerModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<GrpcLoggerModule, never, never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<GrpcLoggerModule>;
}

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/core" />
export * from './public-api';

@@ -17,5 +17,5 @@ {

"peerDependencies": {
"@ngx-grpc/common": "2.4.1",
"@angular/core": ">=8.0.0",
"rxjs": "^6.0.0"
"@ngx-grpc/common": "3.0.0",
"@angular/core": ">=12.0.0",
"rxjs": ">=6.0.0"
},

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

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