541 Commits

Author SHA1 Message Date
murgatroid99
bda109e655 Add package definition loader function to native package 2018-02-21 16:12:02 -08:00
murgatroid99
5124538466 Regenerate build file with updated BoringSSL submodule 2018-02-20 09:56:03 -08:00
murgatroid99
ba404dce91 Update core on master 2018-02-15 18:20:05 -08:00
murgatroid99
d6c5c4f9da Update version to 1.9.1 2018-02-13 17:50:16 -08:00
murgatroid99
ca2704912c Fix handling of undefined values for optional call arguments 2018-02-12 16:57:48 -08:00
murgatroid99
2f649e5d05 Fix usage of Protobuf.js Message type in TS file 2018-02-09 11:12:27 -08:00
Michael Lumish
f4d3139242
Merge pull request #174 from murgatroid99/v1.9.0_update
Update version to 1.9.0
2018-02-08 14:14:10 -08:00
Michael Lumish
650b5d5781
Merge pull request #175 from murgatroid99/file_error_improvement
Improve module load error message when the directory does not exist
2018-02-08 13:50:23 -08:00
murgatroid99
b7f122bb6c Merge two lines of the error message 2018-02-08 11:35:20 -08:00
murgatroid99
51c8503c01 Improve module load error message when the directory does not exist 2018-02-08 10:23:54 -08:00
murgatroid99
2f77364fe5 Update version to 1.9.0 2018-02-08 09:48:24 -08:00
murgatroid99
e87552d918 Fix documentation of part of the type signature for server credentials 2018-02-05 14:35:20 -08:00
murgatroid99
a248009cb9 Merge remote-tracking branch 'upstream/v1.9.x' into v1.9.x_initial_version_bump 2018-02-01 10:47:36 -08:00
murgatroid99
56d5bbdf21 Bump version to 1.9.0-pre3 2018-01-31 15:02:10 -08:00
murgatroid99
081c157f78 Merge remote-tracking branch 'upstream/v1.8.x' into v1.8.4_upmerge 2018-01-31 14:11:43 -08:00
Michael Lumish
5e07d6096f
Merge pull request #159 from murgatroid99/v1.8.x_upmerge
V1.8.x upmerge
2018-01-26 09:37:01 -05:00
murgatroid99
a50ba76838 Replace Argue.js usage with inline argument checking 2018-01-23 15:55:36 -05:00
Michael Lumish
fcba0c101c
Merge pull request #84 from andrew8er/feature/generic-ts-definitions
Generic Ts definitions
2018-01-22 13:05:40 -05:00
murgatroid99
cd4c45d712 Merge branch 'v1.8.x' into v1.8.x_upmerge 2018-01-22 13:00:51 -05:00
murgatroid99
a7aaf31ef6 Generate projects 2018-01-16 12:28:25 -05:00
murgatroid99
83da9b4b12 Merge branch 'master' into metadata_plugin_test_fix 2018-01-16 12:23:05 -05:00
murgatroid99
e0bd6b19cc Update submodule 2018-01-16 12:22:05 -05:00
Michael Lumish
57ae01ab4f
Merge pull request #150 from murgatroid99/v1.8.4_update
Update version and submodule to 1.8.4
2018-01-12 16:51:55 -05:00
Michael Lumish
28fcd46d0a
Merge pull request #126 from murgatroid99/status_error_output_improvement
Add error code name to status error messages
2018-01-12 16:09:16 -05:00
murgatroid99
01d66dd0b5 Add original details string to errors, update tests 2018-01-12 15:11:21 -05:00
murgatroid99
264cc4767a Update version and submodule to 1.8.4 2018-01-10 14:48:35 -05:00
André Wachter
0d19268ef9 Tighten the definition of ServiceDefinition 2018-01-10 11:08:34 +01:00
André Wachter
a0abff8b8e Rename generic parameter to 'RequestType' in ServerReadableStream for consistency 2018-01-10 10:30:51 +01:00
murgatroid99
843d063037 Add JS error for missing callback to sever#tryShutdown 2018-01-05 13:09:15 -08: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
murgatroid99
d90a5d4e61 Update to v1.8.0 2017-12-13 13:58:34 -08:00
Michael Lumish
dd140c463f
Revert "Copy API tests back to grpc-native-core" 2017-12-07 10:40:08 -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
murgatroid99
f900cfb3dd Update a core header inclusion to stop using extern C 2017-11-30 14:01:05 -08:00