@travetto/web-connect 6.0.0-rc.5 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -16,7 +16,7 @@ yarn add @travetto/web-connect
16
16
  This module provides basic integration for calling [connect](https://github.com/senchalabs/connect) related middleware with [Web API](https://github.com/travetto/travetto/tree/main/module/web#readme "Declarative api for Web Applications with support for the dependency injection."). This logic is not intended to be exhaustive, but intended to provide a quick bridge. This only consumer of this is [Web Auth Passport](https://github.com/travetto/travetto/tree/main/module/auth-web-passport#readme "Web authentication integration support for the Travetto framework") as it needs to bind the [WebRequest](https://github.com/travetto/travetto/tree/main/module/web/src/types/request.ts#L11) and [WebResponse](https://github.com/travetto/travetto/tree/main/module/web/src/types/response.ts#L3) to standard contracts for [passport](http://passportjs.org).
17
17
 
18
18
  This module is already most likely compatible with quite a bit of middleware, but will fail under any of the following conditions:
19
- * The calling code expects the request or response to be a proper [EventEmitter](https://nodejs.org/api/events.html#class-eventemitter)
19
+ * The calling code expects the request or response to be a proper [EventEmitter](https://nodejs.org/api/events.html#class-eventemitter), beyond `.on('end', callback)`
20
20
  * The calling code expects the request/response sockets to be live.
21
21
  * The calling code modifies the shape of the objects (e.g. rewrites the close method on response).
22
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/web-connect",
3
- "version": "6.0.0-rc.5",
3
+ "version": "6.0.0",
4
4
  "description": "Web integration for Connect-Like Resources",
5
5
  "keywords": [
6
6
  "web",
@@ -24,11 +24,11 @@
24
24
  "directory": "module/web-connect"
25
25
  },
26
26
  "dependencies": {
27
- "@travetto/web": "^6.0.0-rc.5"
27
+ "@travetto/web": "^6.0.0"
28
28
  },
29
29
  "peerDependencies": {
30
- "@travetto/cli": "^6.0.0-rc.3",
31
- "@travetto/test": "^6.0.0-rc.3"
30
+ "@travetto/cli": "^6.0.0",
31
+ "@travetto/test": "^6.0.0"
32
32
  },
33
33
  "peerDependenciesMeta": {
34
34
  "@travetto/test": {