@bufbuild/connect-express
Advanced tools
Comparing version 0.12.0 to 0.13.0
{ | ||
"name": "@bufbuild/connect-express", | ||
"version": "0.12.0", | ||
"version": "0.13.0", | ||
"license": "Apache-2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/bufbuild/connect-es.git", | ||
"url": "https://github.com/connectrpc/connect-es.git", | ||
"directory": "packages/connect-express" | ||
@@ -29,4 +29,4 @@ }, | ||
"dependencies": { | ||
"@bufbuild/connect": "0.12.0", | ||
"@bufbuild/connect-node": "^0.12.0", | ||
"@bufbuild/connect": "0.13.0", | ||
"@bufbuild/connect-node": "^0.13.0", | ||
"@types/express": "^4.17.17" | ||
@@ -33,0 +33,0 @@ }, |
@@ -7,3 +7,3 @@ # @bufbuild/connect-express | ||
`@bufbuild/connect-express` provides a middleware for [Express](https://expressjs.com/), the fast, | ||
`@bufbuild/connect-express` provides a middleware for [Express](https://expressjs.com/), the fast, | ||
unopinionated, minimalist web framework for Node.js | ||
@@ -36,4 +36,4 @@ | ||
+ app.use(expressConnectMiddleware({ | ||
+ routes | ||
+ app.use(expressConnectMiddleware({ | ||
+ routes | ||
+ })); | ||
@@ -52,3 +52,3 @@ | ||
--data '{"sentence": "I feel happy."}' \ | ||
http://localhost:8080/buf.connect.demo.eliza.v1.ElizaService/Say | ||
http://localhost:8080/connectrpc.eliza.v1.ElizaService/Say | ||
``` | ||
@@ -74,6 +74,6 @@ | ||
A client for the web browser actually looks identical to this example - it would | ||
simply use `createConnectTransport` from [@bufbuild/connect-web](https://www.npmjs.com/package/@bufbuild/connect-web) | ||
simply use `createConnectTransport` from [@bufbuild/connect-web](https://www.npmjs.com/package/@bufbuild/connect-web) | ||
instead. | ||
Note that support for gRPC is limited, since many gRPC clients require HTTP/2, | ||
Note that support for gRPC is limited, since many gRPC clients require HTTP/2, | ||
and Express does not support the Node.js `http2` module. | ||
@@ -84,3 +84,3 @@ | ||
To get started with Connect, head over to the [docs](https://connect.build/docs/node/getting-started) | ||
for a tutorial, or take a look at [our example](https://github.com/bufbuild/connect-es/tree/main/packages/example). | ||
To get started with Connect, head over to the [docs](https://connectrpc.com/docs/node/getting-started) | ||
for a tutorial, or take a look at [our example](https://github.com/connectrpc/connect-es/tree/main/packages/example). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12383
+ Added@bufbuild/connect@0.13.0(transitive)
+ Added@bufbuild/connect-node@0.13.0(transitive)
- Removed@bufbuild/connect@0.12.0(transitive)
- Removed@bufbuild/connect-node@0.12.0(transitive)
Updated@bufbuild/connect@0.13.0