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

@grpc.ts/core

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grpc.ts/core - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

3

lib/index.d.ts
export { createSecureContext } from 'tls';
export { status, Metadata, credentials, StatusBuilder, type ServiceError, type StatusObject, type ServerUnaryCall, } from '@grpc/grpc-js';
export type { UnaryCallback } from '@grpc/grpc-js/build/src/client';
export type { ServiceClient } from '@grpc/grpc-js/build/src/make-client';

@@ -10,2 +9,2 @@ export type { Timestamp } from 'google-protobuf/google/protobuf/timestamp_pb';

export * from './utils';
export type { IClientProps, IServerProps, TUnaryHandlerFunc, IServerWrapperProps, TAddUnaryHandlerFunc, IAddUnaryHandlerOptionsProps, } from './interface';
export type { IClientProps, IServerProps, TUnaryCallback, TUnaryHandlerFunc, IServerWrapperProps, TAddUnaryHandlerFunc, IAddUnaryHandlerOptionsProps, } from './interface';
import type { Options } from '@grpc/proto-loader';
import type { UnaryCallback } from '@grpc/grpc-js/build/src/client';
import type { ServiceClient } from '@grpc/grpc-js/build/src/make-client';
import type { Server, Metadata, ServerUnaryCall, ServerCredentials, ChannelCredentials } from '@grpc/grpc-js';
import type { Server, Metadata, ServiceError, StatusObject, ServerUnaryCall, ServerCredentials, ChannelCredentials } from '@grpc/grpc-js';
export type TCompressionAlgorithms = 'identity' | 'deflate' | 'gzip';
export type TUnaryCallback<ResponseType> = (err: ServiceError | Partial<StatusObject> | null, value?: ResponseType) => void;
export interface IChannelOptionsProps {

@@ -59,3 +59,3 @@ serviceConfig?: string;

}
export type TUnaryHandlerFunc<TRequest = unknown, TResponse = unknown> = (request: TRequest, metadata: Metadata, call: ServerUnaryCall<TRequest, TResponse>, callback: UnaryCallback<TResponse>) => TResponse;
export type TUnaryHandlerFunc<TRequest = unknown, TResponse = unknown> = (request: TRequest, metadata: Metadata, call: ServerUnaryCall<TRequest, TResponse>, callback: TUnaryCallback<TResponse>) => TResponse;
export type TAddUnaryHandlerFunc<TRequest = unknown> = (serviceName: string, rpcName: string, impl: TUnaryHandlerFunc<TRequest>, options?: IAddUnaryHandlerOptionsProps) => void;

@@ -62,0 +62,0 @@ export interface IServerWrapperProps<TRequest = unknown> {

{
"name": "@grpc.ts/core",
"version": "1.1.3",
"version": "1.1.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "directories": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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