461 Commits

Author SHA1 Message Date
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
446d560fde Fix stream.write type incompatibility 2018-08-06 10:58:07 -07:00
Michael Lumish
1af773ca54
Merge pull request #468 from murgatroid99/pure_js_naive_keepalive
Pure js: add simple keepalive logic
2018-08-03 15:37:42 -07:00
murgatroid99
2c0359f230 Fix spelling error, make narrower cast in dereference 2018-08-03 14:28:40 -07:00
murgatroid99
500642b5ac Create separate subchannel class, fix default keepalive time value 2018-08-03 13:43:23 -07:00
murgatroid99
8bbd4752d9 Make default keepalive time fit in a 32-bit integer 2018-08-01 11:20:42 -07:00
murgatroid99
3d3b381637 Bump grpc to 1.14.0-pre2 2018-07-31 14:48:28 -07:00
murgatroid99
a750587bb0 Pure js: add simple keepalive logic 2018-07-31 11:30:15 -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
Ian Haken
e54b50c77b Update credentials.js documentation for verify options and add verify options to typescript definition. 2018-07-19 11:31:59 -07:00
Ian Haken
0c49a57ff7 Simplify getting checkServerIdentity out of the fourth createSsl argument. Add some tests asserting type-checking behavior. 2018-07-19 11:31:59 -07:00
Ian Haken
e0df402151 Simplify userdata being passed to checkServerIdentity callback. 2018-07-19 11:31:59 -07:00
Ian Haken
15c82e08c8 Add type assertion on createSsl's fourth argument. 2018-07-19 11:31:59 -07:00
Ian Haken
637f961706 Regenerate project files and add test covering checkServerIdentity callback. 2018-07-19 11:31:59 -07:00
Ian Haken
4e551aea7b Add checkServerIdentity callback. 2018-07-19 11:31:59 -07:00
Tomas Alabes
2015e3d32c
Updated doc in readme.md
Explaining the option to change the location of the precompiled-binaries. Related to #441 and #117.
2018-07-18 15:49:06 -07:00
Thomas Ladd
d7da553a03 grpc-native-core: Update CallOptions type to allow custom options (#433)
Allow custom options as a means of passing data per call to client interceptors
2018-07-13 10:14:17 -05:00
Nicolas "Pixel" Noble
339f4c0433 Properly create slices from utf8 strings.
Fixes #426.
2018-07-10 20:03:55 +02:00
Nicolas Noble
1ca2555cae
Merge pull request #428 from nicolasnoble/utf8-details
Properly create slices from utf8 strings.
2018-07-10 20:00:52 +02:00
murgatroid99
9da1bb14c4 proto loader: make options properly optional. +minor documentation fix 2018-07-09 14:39:26 -07:00
Nicolas "Pixel" Noble
9a5da08497 Properly create slices from utf8 strings.
Fixes #426.
2018-07-09 22:32:14 +02:00
murgatroid99
7d8865003c Update to v1.13.0 2018-07-02 11:21:33 -07:00
Nicolas "Pixel" Noble
b6be0d955f Actually publish for arm32... 2018-06-26 01:21:35 +02:00
Nicolas Noble
98c4710f11
Adding a line about silver bullets. 2018-06-22 13:29:40 -07:00
Nicolas Noble
50d4a9f298
Typos. 2018-06-22 13:00:58 -07:00
Nicolas Noble
6e74e6fb0c
Adding Electron instructions. 2018-06-22 12:59:10 -07:00
murgatroid99
9fed412727 Update usage of modifed core credentials API 2018-06-20 12:43:09 -07:00
murgatroid99
91e1837d16 Publish .d.ts files in grpc-js. Also bump the version 2018-06-14 14:58:04 -07:00