File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ import * as RemoteDev from './remotedev';
1818import { getRequiredModules , ignoreRNDIntervalSpy } from './utils' ;
1919import { toggleNetworkInspect } from './networkInspect' ;
2020import { 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' ;
2323import { version as devToolsVersion } from 'apollo-client-devtools/package.json' ;
2424/* eslint-disable no-underscore-dangle */
2525self . __REMOTEDEV__ = RemoteDev ;
@@ -64,7 +64,7 @@ const setupRNDebugger = async message => {
6464
6565 const hook = {
6666 ApolloClient : self . __APOLLO_CLIENT__ ,
67- devToolsVersion
67+ devToolsVersion,
6868 } ;
6969
7070 let listener ;
@@ -89,12 +89,11 @@ const setupRNDebugger = async message => {
8989 sendBridgeReady ( ) ;
9090 } ) ;
9191
92- bridge . on ( " shutdown" , ( ) => {
92+ bridge . on ( ' shutdown' , ( ) => {
9393 self . removeEventListener ( 'message' , listener ) ;
9494 } ) ;
9595
9696 initBackend ( bridge , hook , getSafeAsyncStorage ( modules . AsyncStorage ) ) ;
97-
9897 } , 1000 ) ;
9998} ;
10099
Original file line number Diff line number Diff line change 7070 },
7171 "dependencies" : {
7272 "adbkit" : " ^2.11.0" ,
73- "apollo-dev-tools " : " * " ,
73+ "apollo-client-devtools " : " 2.1.7-alpha.1 " ,
7474 "electron-context-menu" : " jhen0409/electron-context-menu#async-popup" ,
7575 "electron-fetch" : " ^1.2.1" ,
7676 "electron-gh-releases" : " ^2.0.4" ,
You can’t perform that action at this time.
0 commit comments