Skip to content

Commit c10f716

Browse files
committed
added service id
1 parent 0003b7d commit c10f716

File tree

3 files changed

+33
-102
lines changed

3 files changed

+33
-102
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"dependencies": {
99
"react": "^16.0.0",
10-
"react-apollo": "^1.4.2",
10+
"react-apollo": "^2.0.0",
1111
"react-dom": "^16.0.0",
1212
"react-router-dom": "^4.2.2",
1313
"subscriptions-transport-ws": "^0.8.2"

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const networkInterface = createNetworkInterface({
1212
uri: 'https://api.graph.cool/simple/v1/__SERVICE_ID__'
1313
})
1414

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

yarn.lock

Lines changed: 31 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,10 @@
99
address "^1.0.1"
1010
debug "^2.6.0"
1111

12-
"@types/async@^2.0.31":
13-
version "2.0.40"
14-
resolved "https://registry.yarnpkg.com/@types/async/-/async-2.0.40.tgz#ac02de68e66c004a61b7cb16df8b1db3a254cca9"
15-
16-
"@types/graphql@^0.9.0", "@types/graphql@^0.9.1":
12+
"@types/graphql@^0.9.1":
1713
version "0.9.1"
1814
resolved "https://registry.yarnpkg.com/@types/graphql/-/graphql-0.9.1.tgz#b04ebe84bc997cc60dbea2ed4d0d4342c737f99d"
1915

20-
21-
version "0.0.34"
22-
resolved "https://registry.yarnpkg.com/@types/isomorphic-fetch/-/isomorphic-fetch-0.0.34.tgz#3c3483e606c041378438e951464f00e4e60706d6"
23-
2416
abab@^1.0.3:
2517
version "1.0.3"
2618
resolved "https://registry.yarnpkg.com/abab/-/abab-1.0.3.tgz#b81de5f7274ec4e756d797cd834f303642724e5d"
@@ -148,20 +140,16 @@ anymatch@^1.3.0:
148140
arrify "^1.0.0"
149141
micromatch "^2.1.5"
150142

151-
apollo-client@^1.4.0:
152-
version "1.4.2"
153-
resolved "https://registry.yarnpkg.com/apollo-client/-/apollo-client-1.4.2.tgz#3d49d19aefa0baf90edee5401a358e433a6e624f"
154-
dependencies:
155-
graphql "^0.10.0"
156-
graphql-anywhere "^3.0.1"
157-
graphql-tag "^2.0.0"
158-
redux "^3.4.0"
159-
symbol-observable "^1.0.2"
160-
whatwg-fetch "^2.0.0"
161-
optionalDependencies:
162-
"@types/async" "^2.0.31"
163-
"@types/graphql" "^0.9.0"
164-
"@types/isomorphic-fetch" "0.0.34"
143+
apollo-link@^1.0.0:
144+
version "1.0.0"
145+
resolved "https://registry.yarnpkg.com/apollo-link/-/apollo-link-1.0.0.tgz#3d334285789c217f95712ebce434d56ce7f3e991"
146+
dependencies:
147+
apollo-utilities "^0.2.0-beta.0"
148+
zen-observable "^0.6.0"
149+
150+
apollo-utilities@^0.2.0-beta.0:
151+
version "0.2.0-rc.3"
152+
resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-0.2.0-rc.3.tgz#7bd93be0f587f20c5b46e21880272e305759fdc2"
165153

166154
append-transform@^0.4.0:
167155
version "0.4.0"
@@ -2382,18 +2370,6 @@ fbjs@^0.8.16:
23822370
setimmediate "^1.0.5"
23832371
ua-parser-js "^0.7.9"
23842372

2385-
fbjs@^0.8.9:
2386-
version "0.8.12"
2387-
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.12.tgz#10b5d92f76d45575fd63a217d4ea02bea2f8ed04"
2388-
dependencies:
2389-
core-js "^1.0.0"
2390-
isomorphic-fetch "^2.1.1"
2391-
loose-envify "^1.0.0"
2392-
object-assign "^4.1.0"
2393-
promise "^7.1.1"
2394-
setimmediate "^1.0.5"
2395-
ua-parser-js "^0.7.9"
2396-
23972373
figures@^1.3.5:
23982374
version "1.7.0"
23992375
resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e"
@@ -2683,10 +2659,6 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9:
26832659
version "1.0.1"
26842660
resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
26852661

2686-
graphql-anywhere@^3.0.0, graphql-anywhere@^3.0.1:
2687-
version "3.1.0"
2688-
resolved "https://registry.yarnpkg.com/graphql-anywhere/-/graphql-anywhere-3.1.0.tgz#3ea0d8e8646b5cee68035016a9a7557c15c21e96"
2689-
26902662
graphql-subscriptions@^0.4.4:
26912663
version "0.4.4"
26922664
resolved "https://registry.yarnpkg.com/graphql-subscriptions/-/graphql-subscriptions-0.4.4.tgz#39cff32d08dd3c990113864bab77154403727e9b"
@@ -2695,20 +2667,10 @@ graphql-subscriptions@^0.4.4:
26952667
es6-promise "^4.0.5"
26962668
iterall "^1.1.1"
26972669

2698-
graphql-tag@^2.0.0:
2699-
version "2.3.0"
2700-
resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.3.0.tgz#b3e528f7ab9af865512d7fe15384e67c1386a3ca"
2701-
27022670
graphql-tag@^2.4.2:
27032671
version "2.4.2"
27042672
resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.4.2.tgz#6a63297d8522d03a2b72d26f1b239aab343840cd"
27052673

2706-
graphql@^0.10.0:
2707-
version "0.10.1"
2708-
resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.10.1.tgz#75c93c2ce73aeb5bae2eefb555a8e9e39c36027d"
2709-
dependencies:
2710-
iterall "^1.1.0"
2711-
27122674
growly@^1.3.0:
27132675
version "1.3.0"
27142676
resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
@@ -2811,11 +2773,7 @@ [email protected]:
28112773
version "2.16.3"
28122774
resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed"
28132775

2814-
hoist-non-react-statics@^1.2.0:
2815-
version "1.2.0"
2816-
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz#aa448cf0986d55cc40773b17174b7dd066cb7cfb"
2817-
2818-
hoist-non-react-statics@^2.3.0:
2776+
hoist-non-react-statics@^2.2.0, hoist-non-react-statics@^2.3.0:
28192777
version "2.3.1"
28202778
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.3.1.tgz#343db84c6018c650778898240135a1420ee22ce0"
28212779

@@ -3333,7 +3291,7 @@ istanbul-reports@^1.1.1:
33333291
dependencies:
33343292
handlebars "^4.0.3"
33353293

3336-
iterall@^1.1.0, iterall@^1.1.1:
3294+
iterall@^1.1.1:
33373295
version "1.1.1"
33383296
resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.1.tgz#f7f0af11e9a04ec6426260f5019d9fcca4d50214"
33393297

@@ -3767,10 +3725,6 @@ locate-path@^2.0.0:
37673725
p-locate "^2.0.0"
37683726
path-exists "^3.0.0"
37693727

3770-
lodash-es@^4.2.1:
3771-
version "4.17.4"
3772-
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.4.tgz#dcc1d7552e150a0640073ba9cb31d70f032950e7"
3773-
37743728
lodash._reinterpolate@~3.0.0:
37753729
version "3.0.0"
37763730
resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
@@ -3791,13 +3745,9 @@ lodash.defaults@^4.2.0:
37913745
version "4.2.0"
37923746
resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz#d09178716ffea4dde9e5fb7b37f6f0802274580c"
37933747

3794-
lodash.flatten@^4.2.0:
3795-
version "4.4.0"
3796-
resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f"
3797-
3798-
lodash.isequal@^4.1.1:
3799-
version "4.5.0"
3800-
resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"
3748+
lodash.flowright@^3.5.0:
3749+
version "3.5.0"
3750+
resolved "https://registry.yarnpkg.com/lodash.flowright/-/lodash.flowright-3.5.0.tgz#2b5fff399716d7e7dc5724fe9349f67065184d67"
38013751

38023752
lodash.isobject@^3.0.2:
38033753
version "3.0.2"
@@ -3832,7 +3782,7 @@ lodash.uniq@^4.5.0:
38323782
version "4.5.0"
38333783
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
38343784

3835-
"lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0:
3785+
"lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.2.0, lodash@^4.3.0:
38363786
version "4.17.4"
38373787
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
38383788

@@ -4790,14 +4740,7 @@ [email protected], promise@^7.1.1:
47904740
dependencies:
47914741
asap "~2.0.3"
47924742

4793-
prop-types@^15.5.4, prop-types@^15.5.8:
4794-
version "15.5.10"
4795-
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.10.tgz#2797dfc3126182e3a95e3dfbb2e893ddd7456154"
4796-
dependencies:
4797-
fbjs "^0.8.9"
4798-
loose-envify "^1.3.1"
4799-
4800-
prop-types@^15.6.0:
4743+
prop-types@^15.5.4, prop-types@^15.5.8, prop-types@^15.6.0:
48014744
version "15.6.0"
48024745
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.0.tgz#ceaf083022fc46b4a35f69e13ef75aed0d639856"
48034746
dependencies:
@@ -4895,23 +4838,16 @@ rc@^1.0.1, rc@^1.1.6, rc@^1.1.7:
48954838
minimist "^1.2.0"
48964839
strip-json-comments "~2.0.1"
48974840

4898-
react-apollo@^1.4.2:
4899-
version "1.4.2"
4900-
resolved "https://registry.yarnpkg.com/react-apollo/-/react-apollo-1.4.2.tgz#e8ee035310b564fd1b42ee7e4f116086b5b06834"
4841+
react-apollo@^2.0.0:
4842+
version "2.0.0"
4843+
resolved "https://registry.yarnpkg.com/react-apollo/-/react-apollo-2.0.0.tgz#c9cbda2956585d422800f1686d870258637170f8"
49014844
dependencies:
4902-
apollo-client "^1.4.0"
4903-
graphql-anywhere "^3.0.0"
4904-
graphql-tag "^2.0.0"
4905-
hoist-non-react-statics "^1.2.0"
4845+
apollo-link "^1.0.0"
4846+
hoist-non-react-statics "^2.2.0"
49064847
invariant "^2.2.1"
4907-
lodash.flatten "^4.2.0"
4908-
lodash.isequal "^4.1.1"
4909-
lodash.isobject "^3.0.2"
4848+
lodash.flowright "^3.5.0"
49104849
lodash.pick "^4.4.0"
4911-
object-assign "^4.0.1"
49124850
prop-types "^15.5.8"
4913-
optionalDependencies:
4914-
react-dom "0.14.x || 15.* || ^15.0.0 || ^16.0.0-alpha"
49154851

49164852
react-dev-utils@^3.0.0:
49174853
version "3.0.0"
@@ -4935,7 +4871,7 @@ react-dev-utils@^3.0.0:
49354871
strip-ansi "3.0.1"
49364872
text-table "0.2.0"
49374873

4938-
"[email protected] || 15.* || ^15.0.0 || ^16.0.0-alpha", react-dom@^16.0.0:
4874+
react-dom@^16.0.0:
49394875
version "16.0.0"
49404876
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.0.0.tgz#9cc3079c3dcd70d4c6e01b84aab2a7e34c303f58"
49414877
dependencies:
@@ -5123,15 +5059,6 @@ reduce-function-call@^1.0.1:
51235059
dependencies:
51245060
balanced-match "^0.4.2"
51255061

5126-
redux@^3.4.0:
5127-
version "3.6.0"
5128-
resolved "https://registry.yarnpkg.com/redux/-/redux-3.6.0.tgz#887c2b3d0b9bd86eca2be70571c27654c19e188d"
5129-
dependencies:
5130-
lodash "^4.2.1"
5131-
lodash-es "^4.2.1"
5132-
loose-envify "^1.1.0"
5133-
symbol-observable "^1.0.2"
5134-
51355062
regenerate@^1.2.1:
51365063
version "1.3.2"
51375064
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.2.tgz#d1941c67bad437e1be76433add5b385f95b19260"
@@ -5782,7 +5709,7 @@ sw-toolbox@^3.4.0:
57825709
path-to-regexp "^1.0.1"
57835710
serviceworker-cache-polyfill "^4.0.0"
57845711

5785-
symbol-observable@^1.0.2, symbol-observable@^1.0.4:
5712+
symbol-observable@^1.0.4:
57865713
version "1.0.4"
57875714
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d"
57885715

@@ -6245,7 +6172,7 @@ whatwg-encoding@^1.0.1:
62456172
dependencies:
62466173
iconv-lite "0.4.13"
62476174

6248-
[email protected], whatwg-fetch@>=0.10.0, whatwg-fetch@^2.0.0:
6175+
[email protected], whatwg-fetch@>=0.10.0:
62496176
version "2.0.3"
62506177
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz#9c84ec2dcf68187ff00bc64e1274b442176e1c84"
62516178

@@ -6415,3 +6342,7 @@ yargs@~3.10.0:
64156342
cliui "^2.1.0"
64166343
decamelize "^1.0.0"
64176344
window-size "0.1.0"
6345+
6346+
zen-observable@^0.6.0:
6347+
version "0.6.0"
6348+
resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.6.0.tgz#8a6157ed15348d185d948cfc4a59d90a2c0f70ee"

0 commit comments

Comments
 (0)