2056 Commits

Author SHA1 Message Date
Kelvin Jin
22438ae678 grpc-js-core: rename streamClosed event to close 2017-12-20 15:53:58 -08:00
Kelvin Jin
aea5bf82e5 grpc-js-core: handle eos headers as trailers 2017-12-20 15:53:58 -08:00
Kelvin Jin
cc231f1f67 grpc-js-core: merge all eventemitter overloads 2017-12-20 14:11:15 -08:00
Kelvin Jin
78f6458888
Merge pull request #128 from kjin/grpc-js-core-work-2 2017-12-20 13:47:18 -05:00
Kelvin Jin
da73a0fff0 grpc-js-core: emit status on client stream calls 2017-12-19 17:01:06 -08:00
Kelvin Jin
ea92b1b16c grpc-js-core: fixes for interop test 2017-12-19 17:01:06 -08:00
Kelvin Jin
6ec3091273 grpc-js-core: unref http2 client socket 2017-12-19 17:01:06 -08:00
Kelvin Jin
d060cea5e9 grpc-js-core: fixing credentials functions 2017-12-19 17:01:06 -08:00
Kelvin Jin
ac186ec8d1
Merge pull request #119 from kjin/gulp-ts
build: simplify gulp commands in package directories
2017-12-18 13:31:07 -05:00
André Wachter
3692053a4e Add missing properties to ServerDuplexStream
- cancelled: boolean;
- metadata: Metadata;
2017-12-18 14:44:15 +01:00
André Wachter
6d21f12cfe Export UntypedServiceImplementation 2017-12-18 14:44:15 +01:00
André Wachter
4ab448e40f Fix typos and whitespace 2017-12-18 14:44:15 +01:00
André Wachter
9b6537545a Remove type parameter from ClientUnaryCall
The type parameter is currently not used and also matches the pure Js implementation this way.
2017-12-18 14:44:15 +01:00
André Wachter
bf330585d0 Make values in callbacks nullable
Values are null in case of errors.
2017-12-18 14:44:15 +01:00
André Wachter
680d60584a Rename all type parameters related to requests/responses 'RequestType' and 'ResponseType'
This improves clarity and consistency with the pure Js implementation.
2017-12-18 14:44:15 +01:00
André Wachter
d20bf6f49e Make type 'handleCall' and related types take a RequestType and ResponseType parameter 2017-12-18 14:44:15 +01:00
André Wachter
0cdc2855c2 Make types 'serialize' and 'deserialize' parametric with their serialization types 2017-12-18 14:44:15 +01:00
André Wachter
55eec06946 Make MethodDefinition parametric with request and response types 2017-12-18 14:44:15 +01:00
André Wachter
7d5547b2dd Drop Service<T> in favour of ServiceDefinition<ImplementationType> 2017-12-18 14:44:15 +01:00
André Wachter
71bee4ab41 Fix the definition of Service<T>
Type aliases will not give the correct inferred type in Server.addService() so use an interface here.
2017-12-18 14:44:15 +01:00
André Wachter
b68e5dd73b Add generic parameters in index.d.ts to some functions and types 2017-12-18 14:44:15 +01:00
André Wachter
98864a343b Fix index.d.ts error: Type 'Message' is not generic. 2017-12-18 14:44:15 +01:00
murgatroid99
7edc14bb1a Attach the proper fields to the Error object 2017-12-15 11:35:47 -08:00
murgatroid99
c2164913e2 Add error code name to status error messages 2017-12-15 11:00:05 -08:00
Kelvin Jin
ad8aa54fd6 simplify gulp commands in package directories 2017-12-14 16:41:24 -08:00
Michael Lumish
31b75d7f07
Merge pull request #124 from murgatroid99/v1.8.0_update
Update to v1.8.0
v1.8.0
2017-12-13 16:24:14 -08:00
murgatroid99
d90a5d4e61 Update to v1.8.0 2017-12-13 13:58:34 -08:00
Michael Lumish
e48ac4ee4e
Merge pull request #120 from kjin/grpc-js-core-work
grpc-js-core: compiler error and http2-facing fixes
2017-12-08 13:04:14 -08:00
Kelvin Jin
b7eb3d6988 grpc-js-core: various fixes 2017-12-07 14:52:38 -08:00
Kelvin Jin
09cb531f9b grpc-js-core: prepend protocol before creating URL object from address 2017-12-07 14:52:38 -08:00
Kelvin Jin
58206feb3f grpc-js-core: compiler error fixes 2017-12-07 14:52:38 -08:00
Michael Lumish
e397ad5063
Merge pull request #118 from grpc/revert-116-move-api-tests
Revert "Copy API tests back to grpc-native-core"
2017-12-07 11:35:56 -08:00
Michael Lumish
dd140c463f
Revert "Copy API tests back to grpc-native-core" 2017-12-07 10:40:08 -08:00
Michael Lumish
eaf4e4fed2
Merge pull request #116 from kjin/move-api-tests
Copy API tests back to grpc-native-core
2017-12-06 16:35:12 -08:00
Kelvin Jin
11416e9d70 missed require change 2017-12-06 15:29:56 -08:00
Kelvin Jin
ed78037353 Copy API tests back to grpc-native-core 2017-12-06 13:20:42 -08:00
Michael Lumish
c1063eb73c
Merge pull request #108 from murgatroid99/master_1.9
Update master to 1.9.0-dev
2017-12-04 10:12:56 -08:00
murgatroid99
872f1de0ae Merge branch 'master' into master_1.9 2017-12-01 15:41:55 -08:00
Nicolas Noble
6b4f75b5dc
Merge pull request #107 from murgatroid99/v1.8.x_branch_update
Update v1.8.x branch to 1.8.0-pre2
2017-12-01 15:35:08 -08:00
murgatroid99
f900cfb3dd Update a core header inclusion to stop using extern C 2017-11-30 14:01:05 -08:00
murgatroid99
eba77f295e Update master to 1.9.0-dev 2017-11-30 12:57:20 -08:00
murgatroid99
74c6bd5106 Update v1.8.x branch to 1.8.0-pre2 2017-11-30 12:25:07 -08:00
Michael Lumish
36eb23e9e7
Merge pull request #105 from murgatroid99/alpine_build
Add Alpine build script and Dockerfile, improve existing build scripts
2017-11-30 09:30:37 -08:00
Michael Lumish
89c60cbe49
Merge pull request #106 from murgatroid99/helpful_load_error_messages
Add more helpful error message for failure to load extension
2017-11-30 09:30:25 -08:00
murgatroid99
02e70cba37 Improve message wording 2017-11-29 16:57:13 -08:00
murgatroid99
0ab70b9cb7 Resolve comments 2017-11-29 16:34:34 -08:00
murgatroid99
7652ef74ed Add more helpful error message for failure to load extension 2017-11-29 16:10:56 -08:00
murgatroid99
087d67441b Add alpine build script and Dockerfile, improve existing build scripts 2017-11-29 13:15:34 -08:00
Nicolas Noble
82b03c3f1b
Merge pull request #98 from nicolasnoble/upmerge
Upmerge from 1.7.x
2017-11-18 09:10:40 -08:00
Nicolas "Pixel" Noble
d87f2652b3 Merge remote-tracking branch 'google/v1.7.x' into upmerge 2017-11-17 22:39:17 +01:00