File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ import * as RemoteDev from './remotedev';
18
18
import { getRequiredModules , ignoreRNDIntervalSpy } from './utils' ;
19
19
import { toggleNetworkInspect } from './networkInspect' ;
20
20
import { getSafeAsyncStorage } from './asyncStorage' ;
21
- import Bridge from 'apollo-client-devtools/bridge' ;
22
- import { initBackend , sendBridgeReady } from 'apollo-client-devtools/backend' ;
21
+ import Bridge from 'apollo-client-devtools/src/ bridge' ;
22
+ import { initBackend , sendBridgeReady } from 'apollo-client-devtools/src/ backend' ;
23
23
import { version as devToolsVersion } from 'apollo-client-devtools/package.json' ;
24
24
/* eslint-disable no-underscore-dangle */
25
25
self . __REMOTEDEV__ = RemoteDev ;
@@ -64,7 +64,7 @@ const setupRNDebugger = async message => {
64
64
65
65
const hook = {
66
66
ApolloClient : self . __APOLLO_CLIENT__ ,
67
- devToolsVersion
67
+ devToolsVersion,
68
68
} ;
69
69
70
70
let listener ;
@@ -89,12 +89,11 @@ const setupRNDebugger = async message => {
89
89
sendBridgeReady ( ) ;
90
90
} ) ;
91
91
92
- bridge . on ( " shutdown" , ( ) => {
92
+ bridge . on ( ' shutdown' , ( ) => {
93
93
self . removeEventListener ( 'message' , listener ) ;
94
94
} ) ;
95
95
96
96
initBackend ( bridge , hook , getSafeAsyncStorage ( modules . AsyncStorage ) ) ;
97
-
98
97
} , 1000 ) ;
99
98
} ;
100
99
Original file line number Diff line number Diff line change 70
70
},
71
71
"dependencies" : {
72
72
"adbkit" : " ^2.11.0" ,
73
- "apollo-dev-tools " : " * " ,
73
+ "apollo-client-devtools " : " 2.1.7-alpha.1 " ,
74
74
"electron-context-menu" : " jhen0409/electron-context-menu#async-popup" ,
75
75
"electron-fetch" : " ^1.2.1" ,
76
76
"electron-gh-releases" : " ^2.0.4" ,
You can’t perform that action at this time.
0 commit comments