@orion-js/graphql 3.4.4 → 3.4.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/lib/startWebsocket.js +1 -3
- package/package.json +2 -2
package/lib/startWebsocket.js
CHANGED
|
@@ -6,7 +6,6 @@ const ws_1 = require("ws");
|
|
|
6
6
|
const ws_2 = require("graphql-ws/lib/use/ws");
|
|
7
7
|
const websockerViewer_1 = require("./websockerViewer");
|
|
8
8
|
const http_1 = require("@orion-js/http");
|
|
9
|
-
const env_1 = require("@orion-js/env");
|
|
10
9
|
function default_1(apolloOptions, options,
|
|
11
10
|
/**
|
|
12
11
|
* For testing purposes
|
|
@@ -21,8 +20,7 @@ wsServer) {
|
|
|
21
20
|
if (!wsServer) {
|
|
22
21
|
wsServer = new ws_1.WebSocketServer({
|
|
23
22
|
server: (0, http_1.getServer)(),
|
|
24
|
-
path: '/subscriptions'
|
|
25
|
-
port: Number((0, env_1.internalGetEnv)('http_port', 'PORT'))
|
|
23
|
+
path: '/subscriptions'
|
|
26
24
|
});
|
|
27
25
|
}
|
|
28
26
|
// Hand in the schema we just created and have the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orion-js/graphql",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.5",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"author": "nicolaslopezj",
|
|
6
6
|
"license": "MIT",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "bb84206348fcd846596a1cc3e08dd64704d0d66a"
|
|
55
55
|
}
|