@grpc/grpc-js
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -126,3 +126,3 @@ "use strict"; | ||
compressMessage(message) { | ||
return Promise.reject(new Error(`Received message compressed wth unsupported compression method ${this.compressionName}`)); | ||
return Promise.reject(new Error(`Received message compressed with unsupported compression method ${this.compressionName}`)); | ||
} | ||
@@ -129,0 +129,0 @@ decompressMessage(message) { |
@@ -38,3 +38,3 @@ /// <reference types="node" /> | ||
export declare const closeClient: (client: Client) => void; | ||
export declare const waitForClientReady: (client: Client, deadline: Deadline, callback: (error?: Error | undefined) => void) => void; | ||
export declare const waitForClientReady: (client: Client, deadline: number | Date, callback: (error?: Error | undefined) => void) => void; | ||
export { ChannelCredentials, CallCredentials, Deadline, Serialize as serialize, Deserialize as deserialize, ClientUnaryCall, ClientReadableStream, ClientWritableStream, ClientDuplexStream, CallOptions, StatusObject, ServiceError, ServerUnaryCall, ServerReadableStream, ServerWritableStream, ServerDuplexStream, UntypedHandleCall, UntypedServiceImplementation, }; | ||
@@ -41,0 +41,0 @@ export declare type Call = ClientUnaryCall | ClientReadableStream<any> | ClientWritableStream<any> | ClientDuplexStream<any, any>; |
@@ -45,7 +45,7 @@ "use strict"; | ||
* Matches `[dns:][//authority/]host[:port]`, where `authority` and `host` are | ||
* both arbitrary sequences of alphanumeric characters and `port` is a sequence | ||
* of digits. Group 1 contains the hostname and group 2 contains the port | ||
* number if provided. | ||
* both arbitrary sequences of dot-separated strings of alphanumeric characters | ||
* and `port` is a sequence of digits. Group 1 contains the hostname and group | ||
* 2 contains the port number if provided. | ||
*/ | ||
const DNS_REGEX = /^(?:dns:)?(?:\/\/\w+\/)?(\w+)(?::(\d+))?$/; | ||
const DNS_REGEX = /^(?:dns:)?(?:\/\/(?:[a-zA-Z0-9-]+\.?)+\/)?((?:[a-zA-Z0-9-]+\.?)+)(?::(\d+))?$/; | ||
/** | ||
@@ -52,0 +52,0 @@ * The default TCP port to connect to if not explicitly specified in the target. |
{ | ||
"name": "@grpc/grpc-js", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "gRPC Library for Node - pure JS implementation", | ||
@@ -25,3 +25,2 @@ "homepage": "https://grpc.io/", | ||
"@types/ncp": "^2.0.1", | ||
"@types/node": "^12.7.5", | ||
"@types/pify": "^3.0.2", | ||
@@ -28,0 +27,0 @@ "@types/semver": "^6.0.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
289781