Skip to content

Commit 450cb73

Browse files
committed
cleanup and added project id
1 parent 62aaeec commit 450cb73

File tree

3 files changed

+17
-23
lines changed

3 files changed

+17
-23
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"react-apollo": "^1.4.2",
1111
"react-dom": "^15.6.1",
1212
"react-router-dom": "^4.1.1",
13-
"subscriptions-transport-ws": "^0.7.3"
13+
"subscriptions-transport-ws": "^0.8.2"
1414
},
1515
"scripts": {
1616
"start": "react-scripts start",

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import { SubscriptionClient, addGraphQLSubscriptions } from 'subscriptions-trans
99
import { GC_AUTH_TOKEN } from './constants'
1010

1111
const networkInterface = createNetworkInterface({
12-
uri: 'https://api.graph.cool/simple/v1/cj42lk4w4zmuh0185cbrpgvp9'
12+
uri: 'https://api.graph.cool/simple/v1/cj5s6lcr2e1hz0160w8uapdgo'
1313
})
1414

15-
const wsClient = new SubscriptionClient('wss://subscriptions.graph.cool/v1/cj42lk4w4zmuh0185cbrpgvp9', {
15+
const wsClient = new SubscriptionClient('wss://subscriptions.graph.cool/v1/cj5s6lcr2e1hz0160w8uapdgo', {
1616
reconnect: true,
1717
connectionParams: {
1818
authToken: localStorage.getItem(GC_AUTH_TOKEN),

yarn.lock

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,6 @@
2121
version "0.0.34"
2222
resolved "https://registry.yarnpkg.com/@types/isomorphic-fetch/-/isomorphic-fetch-0.0.34.tgz#3c3483e606c041378438e951464f00e4e60706d6"
2323

24-
"@types/node@*":
25-
version "7.0.31"
26-
resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.31.tgz#80ea4d175599b2a00149c29a10a4eb2dff592e86"
27-
28-
"@types/ws@^3.0.0":
29-
version "3.0.0"
30-
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-3.0.0.tgz#4682a04d385484e73f7d8275cabc8b672d66143c"
31-
dependencies:
32-
"@types/node" "*"
33-
3424
abab@^1.0.3:
3525
version "1.0.3"
3626
resolved "https://registry.yarnpkg.com/abab/-/abab-1.0.3.tgz#b81de5f7274ec4e756d797cd834f303642724e5d"
@@ -2693,9 +2683,9 @@ graphql-anywhere@^3.0.0, graphql-anywhere@^3.0.1:
26932683
version "3.1.0"
26942684
resolved "https://registry.yarnpkg.com/graphql-anywhere/-/graphql-anywhere-3.1.0.tgz#3ea0d8e8646b5cee68035016a9a7557c15c21e96"
26952685

2696-
graphql-subscriptions@^0.4.3:
2697-
version "0.4.3"
2698-
resolved "https://registry.yarnpkg.com/graphql-subscriptions/-/graphql-subscriptions-0.4.3.tgz#2aed6ba87551cc747742b793497ff24b22991867"
2686+
graphql-subscriptions@^0.4.4:
2687+
version "0.4.4"
2688+
resolved "https://registry.yarnpkg.com/graphql-subscriptions/-/graphql-subscriptions-0.4.4.tgz#39cff32d08dd3c990113864bab77154403727e9b"
26992689
dependencies:
27002690
"@types/graphql" "^0.9.1"
27012691
es6-promise "^4.0.5"
@@ -2705,6 +2695,10 @@ graphql-tag@^2.0.0:
27052695
version "2.3.0"
27062696
resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.3.0.tgz#b3e528f7ab9af865512d7fe15384e67c1386a3ca"
27072697

2698+
graphql-tag@^2.4.2:
2699+
version "2.4.2"
2700+
resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.4.2.tgz#6a63297d8522d03a2b72d26f1b239aab343840cd"
2701+
27082702
graphql@^0.10.0:
27092703
version "0.10.1"
27102704
resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.10.1.tgz#75c93c2ce73aeb5bae2eefb555a8e9e39c36027d"
@@ -5704,19 +5698,19 @@ [email protected]:
57045698
dependencies:
57055699
loader-utils "^1.0.2"
57065700

5707-
subscriptions-transport-ws@^0.7.3:
5708-
version "0.7.3"
5709-
resolved "https://registry.yarnpkg.com/subscriptions-transport-ws/-/subscriptions-transport-ws-0.7.3.tgz#15858f03e013e1fc28f8c2d631014ec1548d38f0"
5701+
subscriptions-transport-ws@^0.8.2:
5702+
version "0.8.2"
5703+
resolved "https://registry.yarnpkg.com/subscriptions-transport-ws/-/subscriptions-transport-ws-0.8.2.tgz#2325b3cff1bdcd824b60a8ba7135cdfeb6161091"
57105704
dependencies:
5711-
"@types/ws" "^3.0.0"
57125705
backo2 "^1.0.2"
57135706
eventemitter3 "^2.0.3"
5714-
graphql-subscriptions "^0.4.3"
5715-
graphql-tag "^2.0.0"
5707+
graphql-subscriptions "^0.4.4"
5708+
graphql-tag "^2.4.2"
57165709
iterall "^1.1.1"
57175710
lodash.assign "^4.2.0"
57185711
lodash.isobject "^3.0.2"
57195712
lodash.isstring "^4.0.1"
5713+
symbol-observable "^1.0.4"
57205714
ws "^3.0.0"
57215715

57225716
supports-color@^2.0.0:
@@ -5771,7 +5765,7 @@ sw-toolbox@^3.4.0:
57715765
path-to-regexp "^1.0.1"
57725766
serviceworker-cache-polyfill "^4.0.0"
57735767

5774-
symbol-observable@^1.0.2:
5768+
symbol-observable@^1.0.2, symbol-observable@^1.0.4:
57755769
version "1.0.4"
57765770
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d"
57775771

0 commit comments

Comments
 (0)