Commit Graph

1699 Commits

Author SHA1 Message Date
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
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
Michael Lumish b608290727
Merge pull request #437 from TLadd/trl/call-options-custom-options-ts
grpc-native-core: Update CallOptions type to allow custom options (#433)
2018-07-17 11:17:32 -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 Noble 1ca2555cae
Merge pull request #428 from nicolasnoble/utf8-details
Properly create slices from utf8 strings.
2018-07-10 20:00:52 +02:00
Michael Lumish 278e7fe237
Merge pull request #429 from murgatroid99/proto_loader_type_fix
proto loader: make options properly optional. +minor documentation fix
2018-07-10 09:51:10 -07: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
Nicolas Noble fd5393d262
Merge pull request #414 from grpc/electron-usage-notes
Adding Electron instructions.
2018-06-25 12:40:57 -07:00
Nicolas Noble efad104457
Merge pull request #415 from grpc/protobuf-js-is-fixed
Delete protobufjs_redos.md
2018-06-25 10:49:44 -07:00
Nicolas Noble 98c4710f11
Adding a line about silver bullets. 2018-06-22 13:29:40 -07:00
Nicolas Noble ae0fe677e0
Delete protobufjs_redos.md 2018-06-22 13:07:13 -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
Michael Lumish 3fc29c46e7
Merge pull request #405 from murgatroid99/credentials_API_change
Update usage of modifed core credentials API
2018-06-20 13:53:22 -07:00
murgatroid99 9fed412727 Update usage of modifed core credentials API 2018-06-20 12:43:09 -07:00
Michael Lumish ad9b9dc8d7
Merge pull request #398 from murgatroid99/grpc-js_typescript_types
Publish .d.ts files in grpc-js. Also bump the version
2018-06-15 10:12:14 -07:00
murgatroid99 91e1837d16 Publish .d.ts files in grpc-js. Also bump the version 2018-06-14 14:58:04 -07:00
Nicolas Noble 35181c0886
Merge pull request #395 from dgquintas/nanopb_nodejs
Changes needed for the nanopb dep refactoring work
2018-06-13 20:54:06 -07:00
David Garcia Quintas 6abb43aa44 Changes needed for the nanopb dep refactoring work 2018-06-13 17:18:03 -07:00
Michael Lumish 6b1afba773
Merge pull request #394 from murgatroid99/v1.12.x_upmerge
V1.12.x upmerge
2018-06-13 16:18:40 -07:00
murgatroid99 233d04e7af Merge remote-tracking branch 'upstream/v1.12.x' into v1.12.x_upmerge 2018-06-13 15:18:01 -07:00
Michael Lumish 58a43a542e
Merge pull request #393 from kjin/grpc-message
Make Protobuf.js Message type non-generic
2018-06-12 12:08:24 -07:00
Kelvin Jin abb05f0c12 Make Protobuf.js Message type non-generic 2018-06-12 11:03:23 -07:00
Michael Lumish 9bad7403a4
Merge pull request #392 from murgatroid99/load_function_deprecation
Add deprecation notice to grpc.load
2018-06-11 17:54:34 -07:00
murgatroid99 efa3d430dd Add deprecation notice to grpc.load 2018-06-11 15:05:47 -07:00
Michael Lumish 8e30235086
Merge pull request #391 from murgatroid99/version_1.12.3_bump
Update version to 1.12.3
2018-06-11 08:50:01 -07:00
murgatroid99 2ac31223f7 Update version to 1.12.3 2018-06-08 13:51:58 -07:00
Michael Lumish 09fe69fc2e
Merge pull request #385 from murgatroid99/generic_client_interceptor_fix
Fix generic client interceptor resolution
2018-06-07 16:31:14 -07:00
Michael Lumish 3a72b9f514
Merge pull request #390 from murgatroid99/test_install_retries
Increase npm retries when downloading packages
2018-06-07 16:25:45 -07:00
murgatroid99 717d9f79f7 Increase npm retries when downloading packages 2018-06-07 14:55:55 -07:00
Michael Lumish fc074428cc
Merge pull request #387 from murgatroid99/master_submodule_update
Update grpc submodule on master
2018-06-07 08:51:03 -07:00
murgatroid99 c4af9cd433 Update grpc submodule on master 2018-06-05 17:08:21 -07:00
murgatroid99 01e0d32722 Fix generic client interceptor resolution 2018-06-05 11:14:58 -07:00
Michael Lumish 49298d20fa
Merge pull request #381 from murgatroid99/pure_js_compression_support
Add compression handling to grpc-js
2018-05-30 17:18:59 -07:00
murgatroid99 acfcc9f981 Format code 2018-05-30 16:08:42 -07:00
murgatroid99 3edea49bb3 Compile grpc-js to ES6 to improve debugging 2018-05-30 15:57:58 -07:00
murgatroid99 aa9d47da14 Make grpc-js tests run on Node 8.11.2 2018-05-30 15:57:35 -07:00
murgatroid99 14cf37fdd9 Add compression handling on send and receive paths 2018-05-30 15:56:58 -07:00
Nicolas Noble 3fa4898e77
Merge pull request #370 from nicolasnoble/1.12.2-upmerge
1.12.2 upmerge
2018-05-25 13:55:48 -07:00
Nicolas Noble e6a64a3720
Merge pull request #372 from nicolasnoble/increase-mocha-timeout
Increasing mocha timeout to 5s up from 2s.
2018-05-25 11:22:15 -07:00
Nicolas "Pixel" Noble eff1f8d826 Increasing mocha timeout to 5s up from 2s.
Our fleet of macos is a bit less powerful than the rest, so we
regularly flake tests there due to this timeout.
2018-05-25 19:16:04 +02:00