Commit Graph

37 Commits

Author SHA1 Message Date
Michael Lumish b489935b7c grpc-js: Fix how package.json is loaded 2020-04-14 13:58:12 -07:00
Patrick Remy 70a92d2fc3
grpc-js: resolve node/no-unpublished-require 2020-04-12 17:20:28 +02:00
Patrick Remy 873e6d411c
gprc-js: Merge remote-tracking branch 'upstream/master' into patch/grpc-js-linting 2020-04-10 11:32:51 +02:00
Patrick Remy 53f3daa685
Revert "grpc-js: allow any for linting globally"
This reverts commit 16ec0f0f64 and
replaces tslint-disable statements by eslint-disable.
2020-04-10 11:03:53 +02:00
Patrick Remy b84d2f3b39
grpc-js: run gts fix for src 2020-04-09 11:54:09 +02:00
Patrick Remy 16ec0f0f64
grpc-js: allow any for linting globally
The any type is purposely used. All functions validate their input at runtime.
2020-04-09 11:52:24 +02:00
Patrick Remy c62203900e
grpc-js: adjust ts definitions to equal native-core
Export MethodDefinition in index.ts and add generic ImplementationType
to ServiceDefinition
2020-04-09 10:12:47 +02:00
Michael Lumish 91dc475dd5 grpc-js: Update some types and type checks for compatibility with grpc-gcp 2020-03-23 14:09:20 -07:00
murgatroid99 738dbf8f02 Merge branch 'master' into grpc-js_client_interceptors 2020-01-07 10:48:01 -08:00
bcoe c89d4438be chore: address code review 2019-11-21 14:55:01 -08:00
Benjamin Coe 782d5acdb2
feat: allow headers other than authorization 2019-11-21 14:14:23 -08:00
murgatroid99 4285761157 lint and formatting fixes 2019-11-14 17:26:40 -08:00
murgatroid99 3c961140fb Merge branch 'master' into grpc-js_client_interceptors 2019-11-08 15:23:40 -08:00
Natan Sągol 50067fe9c4
style(grpc-js): format files using gts 2019-11-08 08:01:18 +01:00
murgatroid99 acbf17d9b7 Add client interceptors 2019-11-01 10:21:52 -07:00
Mario Minardi 1d7a7f4700 grpc-js: export additional api in index.ts 2019-10-08 11:33:30 -06:00
Michael Lumish b05caec567
Merge branch 'master' into name_resolution_load_balancing 2019-09-23 11:03:25 -07:00
Bjorn Stromberg fc032c0226 grpc-js: Update gts and apply fixes 2019-09-13 12:31:33 +09:00
murgatroid99 4144558ee6 Resolve first comments 2019-08-29 17:03:00 -07:00
murgatroid99 01977e6e08 Add documentation and error handling 2019-08-28 17:06:14 -07:00
murgatroid99 201dab7fa8 Improve server-related types exported by grpc-js 2019-07-16 14:15:55 -07:00
cjihrig 0b4fd1365a
grpc-js: expose Server implementation publicly
This commit exposes the pure JS Server as public API.
2019-06-25 13:53:37 -04:00
cjihrig 69d4377dc2
grpc-js: load semver range from package.json
This commit loads the required semver range from the package.json
file, instead of hard-coding the string in index.ts.
2019-05-31 16:03:59 -04:00
cjihrig be6bdb8c3d
grpc-js: update to gts@1.x.x
This commit updates the gts dependency to 1.x.x.
2019-05-17 17:03:04 -04:00
Alexander Fenster 293ea935f3
grpc-js: add ServiceError 2019-05-02 16:39:01 -07:00
Alexander Fenster fc336307c8 gts fix 2019-05-02 12:56:24 -07:00
Alexander Fenster 6ff835201a
grpc-js: export more types
We (`google-gax`) need these two types exported to switch from C-core gRPC.
2019-05-02 12:53:00 -07:00
cjihrig 7ca94b569d
grpc-js: require non-experimental http2
This commit bumps the required semver range to versions of Node
that include a non-experimental http2 module.
2019-04-26 18:53:41 -04:00
cjihrig 40eef7af22
grpc-js: add ServerCredentials support
This commit adds ServerCredentials to the pure JS implementation.
2019-04-01 20:13:24 -04:00
Michael Lumish 3ae5fdd258
Merge pull request #787 from murgatroid99/grpc-js_missing_types
Export missing types, fix a couple of incorrect types
2019-03-25 13:36:59 -07:00
Nicolas "Pixel" Noble 6bc7184542 Adding missing license on a bunch of source files. 2019-03-19 01:06:57 +01:00
murgatroid99 e0a472d9df Fix lint errors 2019-03-15 12:09:19 -07:00
murgatroid99 c520d5befa Export missing types, fix a couple of incorrect types 2019-03-15 11:32:11 -07:00
Alexander Fenster b9130b239d fix: use getRequestHeaders if available 2019-01-30 12:18:18 -08:00
cjihrig 65bd142114
grpc-js: rename grpc-js-core to match npm
This commit renames grpc-js-core to grpc-js to more closely
match the name used on npm.
2018-11-01 16:56:57 -04:00
murgatroid99 a0d3d4a22c Remove unused packages 2018-03-23 11:24:56 -07:00
Kelvin Jin ad8aa54fd6 simplify gulp commands in package directories 2017-12-14 16:41:24 -08:00