322 Commits

Author SHA1 Message Date
Alexander Fenster
2b291ed901 revert package.json change 2018-09-13 10:37:58 -07:00
Alexander Fenster
73a97f0aff fix: use getRequestHeaders instead of getRequestMetadata 2018-09-13 10:25:23 -07:00
Michael Lumish
bbddf3d103
Merge pull request #450 from mvaldesdeleon/patch-1
Replaces `string` type with actual possible values
2018-08-21 10:14:43 -07:00
murgatroid99
79d96a8e87 Remove forced version from local build.yaml 2018-08-17 15:51:23 -07:00
murgatroid99
41ac29ddd5 Upmerge 1.14 to master 2018-08-17 13:50:05 -07:00
murgatroid99
128610da3d Update submodule to 1.15.0-dev 2018-08-17 12:40:33 -07:00
murgatroid99
a703493efe Fix some file includes in package.json 2018-08-16 15:41:06 -07:00
murgatroid99
29a24e0899 Bump to version 1.14.1 2018-08-15 11:11:14 -07:00
Michael Lumish
803e854a4d
Merge pull request #445 from servel333/patch-1
properly pass `options` to `getDefaultValues`
2018-08-15 09:01:10 -07:00
Kelvin Jin
7720d068ca Add return type definition to watchConnectivityState 2018-08-14 10:29:53 -07:00
Michael Lumish
92f4367d62
Merge pull request #492 from nicolasnoble/channel-unwrap-check
Fix potential segmentation fault.
2018-08-13 13:07:01 -07:00
Michael Lumish
6d520c522c
Propagate channel closed errors up through waitForReady
The errors thrown by `Channel#getConnectivityState` and `Channel#watchConnectivityState` need to be passed to the callback for `Client#waitForReady`.
2018-08-13 11:41:36 -07:00
Michael Lumish
17e6c5d1c9
Merge pull request #442 from tomasAlabes/patch-1
Updated doc in readme.md
2018-08-13 11:33:10 -07:00
Nicolas "Pixel" Noble
db291906fa Fix potential segmentation fault.
Described in #490.
2018-08-11 15:27:56 +02:00
Michael Lumish
7db315d094
Merge pull request #488 from murgatroid99/v1.14.0_update
Update to v1.14.0
2018-08-10 09:43:12 -07:00
murgatroid99
936c38d7e2 Update to v1.14.0 2018-08-09 15:47:37 -07:00
murgatroid99
40e5bb4a73 Fix typo in typescript definitions file 2018-08-09 11:42:43 -07:00
murgatroid99
94d1b1264c Bump to v1.14.0-pre4 2018-08-08 11:39:51 -07:00
murgatroid99
e24ea39cf3 Update to v1.14.0-pre3 2018-08-07 11:02:35 -07:00
Michael Lumish
5b57e43de5 Update package.json template to match package.json 2018-08-06 15:40:22 -07:00
Ian Haken
5f77bcda1f Add some missing descriptions to typescript. 2018-08-06 15:40:22 -07:00
Ian Haken
51c97b559d Update typescript to properly reflect the format of the certificate received by the checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Ian Haken
0201c218a6 Refactor checkServerIdentity callback to pass in cert as an object with raw DER buffer. 2018-08-06 15:40:22 -07:00
Ian Haken
1fd96966d7 Correct checkServerIdentity behavior to return a verification failure if an error is returned. Clean up documentation and add a test assertion on returned Error. 2018-08-06 15:40:22 -07:00
Ian Haken
a48629fa83 Update credentials.js documentation for verify options and add verify options to typescript definition. 2018-08-06 15:40:22 -07:00
Ian Haken
03c5d98b1e Simplify getting checkServerIdentity out of the fourth createSsl argument. Add some tests asserting type-checking behavior. 2018-08-06 15:40:22 -07:00
Ian Haken
c70df88fc0 Simplify userdata being passed to checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Ian Haken
b6ad568c09 Add type assertion on createSsl's fourth argument. 2018-08-06 15:40:22 -07:00
Ian Haken
f368e50102 Regenerate project files and add test covering checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Ian Haken
ac7c1bc2e5 Add checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Michael Lumish
58ca800014
Merge pull request #403 from JackOfMostTrades/verify-callback
Add checkServerIdentity callback
2018-08-06 15:37:40 -07:00
Michael Lumish
264d8043fe
Update package.json template to match package.json 2018-08-06 14:29:43 -07:00
murgatroid99
3d3b381637 Bump grpc to 1.14.0-pre2 2018-07-31 14:48:28 -07:00
murgatroid99
3680966be5 Don't refer to node-pre-gyp with a relative path 2018-07-27 15:03:49 -07:00
Nicolas Noble
f9c9edc4ec
Merge pull request #460 from nicolasnoble/submodule
Updating submodule to 1.14.x
2018-07-25 18:58:34 -07:00
Nicolas "Pixel" Noble
d71dd337ef Updating submodule to 1.14.x 2018-07-26 01:33:16 +02:00
Nicolas "Pixel" Noble
f0e9dfd85f Merge branch 'grpc@1.13.x' of https://github.com/grpc/grpc-node into upmerge 2018-07-25 23:56:06 +02:00
Nicolas "Pixel" Noble
cc01eed631 Changing hosting path. 2018-07-25 21:54:24 +02:00
Michael Lumish
e66462933a
Merge pull request #446 from murgatroid99/native_channel_API
Add Channel class and Client channel override options to public API
2018-07-25 10:36:16 -07:00
Nicolas "Pixel" Noble
88adf94cb6 Bumping to 1.13.1. 2018-07-24 22:41:41 +02:00
Nicolas "Pixel" Noble
25f49bee8b Stop using lodash's template generator. 2018-07-24 20:02:23 +02:00
murgatroid99
36f326281b Fix a function call 2018-07-23 13:49:58 -07:00
Nicolas "Pixel" Noble
cc9427dede Stop using lodash's template generator. 2018-07-23 19:24:48 +02:00
Martín Valdés de León
671b5837e0
Replaces string type with actual possible values
Enhances documentation of the `type` argument for `grpc.Server.register`, leveraging on JSDoc's support for literal enumerations.

This keeps developers from having to dig through the source code to find the valid values.
2018-07-20 11:55:48 +02:00
murgatroid99
c4e3f1b7a0 Add Channel class and Client channel override options to public API 2018-07-19 15:57:33 -07:00
Ian Haken
c04d71521f Add some missing descriptions to typescript. 2018-07-19 14:06:51 -07:00
Ian Haken
045d938bc8 Update typescript to properly reflect the format of the certificate received by the checkServerIdentity callback. 2018-07-19 14:05:10 -07:00
Ian Haken
34930310d2 Refactor checkServerIdentity callback to pass in cert as an object with raw DER buffer. 2018-07-19 14:00:44 -07:00
Nathan Perry
44cb04b948
properly pass options to getDefaultValues
Fixed call in `deprecated_request_wrap` to properly pass `options` to `getDefaultValues`
2018-07-19 16:10:21 -04:00
Ian Haken
ac0718883a Correct checkServerIdentity behavior to return a verification failure if an error is returned. Clean up documentation and add a test assertion on returned Error. 2018-07-19 11:32:00 -07:00