nice-grpc-web
Advanced tools
Comparing version 3.3.1 to 3.3.2
@@ -111,3 +111,3 @@ "use strict"; | ||
if (status == null) { | ||
throw new nice_grpc_common_1.ClientError(definition.path, nice_grpc_common_1.Status.UNKNOWN, 'Response stream closed without gRPC status'); | ||
throw new nice_grpc_common_1.ClientError(definition.path, nice_grpc_common_1.Status.UNKNOWN, 'Response stream closed without gRPC status. This may indicate a misconfigured CORS policy on the server: Access-Control-Expose-Headers must include "grpc-status" and "grpc-message".'); | ||
} | ||
@@ -114,0 +114,0 @@ } |
{ | ||
"name": "nice-grpc-web", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "A Browser gRPC library that is nice to you", | ||
@@ -46,4 +46,5 @@ "keywords": [ | ||
"@tsconfig/recommended": "^1.0.1", | ||
"@types/get-port": "^4.2.0", | ||
"@types/google-protobuf": "^3.15.2", | ||
"@types/jasmine": "^4.3.1", | ||
"@types/jasmine": "^5.1.0", | ||
"@types/karma": "^6.3.3", | ||
@@ -57,5 +58,6 @@ "@types/tcp-port-used": "^1.0.0", | ||
"detect-browser": "^5.3.0", | ||
"get-port": "^5.1.1", | ||
"google-protobuf": "^3.17.3", | ||
"grpc-tools": "^1.11.2", | ||
"jasmine": "^4.5.0", | ||
"jasmine": "^5.1.0", | ||
"jasmine-spec-reporter": "^7.0.0", | ||
@@ -69,3 +71,3 @@ "just-cartesian-product": "^4.2.0", | ||
"karma-typescript-es6-transform": "^5.5.3", | ||
"mkdirp": "^2.1.6", | ||
"mkdirp": "^3.0.1", | ||
"path-exists-cli": "^2.0.0", | ||
@@ -76,3 +78,3 @@ "request": "^2.88.2", | ||
"tcp-port-used": "^1.0.2", | ||
"testcontainers": "^9.0.0", | ||
"testcontainers": "^10.2.1", | ||
"ts-proto": "^1.112.0", | ||
@@ -90,3 +92,3 @@ "ts-protoc-gen": "^0.15.0", | ||
}, | ||
"gitHead": "e25d70ac3d241c17781797bfd075f2ade2f28268" | ||
"gitHead": "dcb7b98bb34e99d16e276e806fdccad60e6072ab" | ||
} |
@@ -148,5 +148,5 @@ import {isAbortError, rethrowAbortError} from 'abort-controller-x'; | ||
Status.UNKNOWN, | ||
'Response stream closed without gRPC status', | ||
'Response stream closed without gRPC status. This may indicate a misconfigured CORS policy on the server: Access-Control-Expose-Headers must include "grpc-status" and "grpc-message".', | ||
); | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
177167
40