@tsed/graphql-ws 8.0.0-beta.4 → 8.0.0-beta.5
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.
- package/package.json +9 -9
- package/readme.md +3 -2
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/graphql-ws",
|
|
3
3
|
"description": "An extension to allow GraphQL over WebSockets using graphql-ws protocol",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.0.0-beta.
|
|
5
|
+
"version": "8.0.0-beta.5",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -23,21 +23,21 @@
|
|
|
23
23
|
"tslib": "2.7.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@tsed/barrels": "8.0.0-beta.
|
|
27
|
-
"@tsed/core": "8.0.0-beta.
|
|
28
|
-
"@tsed/di": "8.0.0-beta.
|
|
26
|
+
"@tsed/barrels": "8.0.0-beta.5",
|
|
27
|
+
"@tsed/core": "8.0.0-beta.5",
|
|
28
|
+
"@tsed/di": "8.0.0-beta.5",
|
|
29
29
|
"@tsed/logger": "^6.7.8",
|
|
30
|
-
"@tsed/platform-http": "8.0.0-beta.
|
|
31
|
-
"@tsed/typescript": "8.0.0-beta.
|
|
30
|
+
"@tsed/platform-http": "8.0.0-beta.5",
|
|
31
|
+
"@tsed/typescript": "8.0.0-beta.5",
|
|
32
32
|
"eslint": "9.12.0",
|
|
33
33
|
"graphql-ws": "5.16.0",
|
|
34
34
|
"typescript": "5.4.5"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@tsed/core": "8.0.0-beta.
|
|
38
|
-
"@tsed/di": "8.0.0-beta.
|
|
37
|
+
"@tsed/core": "8.0.0-beta.5",
|
|
38
|
+
"@tsed/di": "8.0.0-beta.5",
|
|
39
39
|
"@tsed/logger": ">=6.7.5",
|
|
40
|
-
"@tsed/platform-http": "8.0.0-beta.
|
|
40
|
+
"@tsed/platform-http": "8.0.0-beta.5",
|
|
41
41
|
"graphql-ws": ">=5.14.2"
|
|
42
42
|
},
|
|
43
43
|
"repository": "https://github.com/tsedio/tsed",
|
package/readme.md
CHANGED
|
@@ -43,7 +43,7 @@ npm install --save @tsed/graphql-ws graphql-ws
|
|
|
43
43
|
Now, we can configure the Ts.ED server by importing `@tsed/gr` in your Server:
|
|
44
44
|
|
|
45
45
|
```typescript
|
|
46
|
-
import {Configuration} from "@tsed/
|
|
46
|
+
import {Configuration} from "@tsed/di";
|
|
47
47
|
import "@tsed/apollo";
|
|
48
48
|
|
|
49
49
|
@Configuration({
|
|
@@ -63,7 +63,8 @@ export class Server {}
|
|
|
63
63
|
ApolloService let you retrieve an instance of ApolloServer.
|
|
64
64
|
|
|
65
65
|
```typescript
|
|
66
|
-
import {Injectable
|
|
66
|
+
import {Injectable} from "@tsed/di";
|
|
67
|
+
import {AfterRoutesInit} from "@tsed/platform-http";
|
|
67
68
|
import {graphQLService} from "@tsed/apollo";
|
|
68
69
|
import {ApolloServer} from "@apollo/server";
|
|
69
70
|
|