File tree 13 files changed +1168
-118
lines changed
13 files changed +1168
-118
lines changed Original file line number Diff line number Diff line change 20
20
"scripts" : {
21
21
"build" : " lerna exec yarn build --stream" ,
22
22
"lint" : " tslint 'packages/**/*.ts'" ,
23
- "test" : " jest" ,
23
+ "postinstall" : " yarn build" ,
24
+ "test" : " jest && lerna exec --package api yarn test" ,
24
25
"update-docs" : " scripts/update-docs.sh"
25
26
},
26
27
"devDependencies" : {
Original file line number Diff line number Diff line change 26
26
"test" : " jest"
27
27
},
28
28
"dependencies" : {
29
- "recompose" : " ^0.28.2 " ,
29
+ "recompose" : " ^0.30.0 " ,
30
30
"symbol-observable" : " ^1.2.0"
31
31
},
32
32
"devDependencies" : {
42
42
},
43
43
"peerDependencies" : {
44
44
"@parity/light.js" : " ^3.0.0" ,
45
- "rxjs" : " ^ 6.2.1 "
45
+ "rxjs" : " ~ 6.2.2 "
46
46
}
47
47
}
Original file line number Diff line number Diff line change 9
9
"eject" : " react-scripts eject"
10
10
},
11
11
"dependencies" : {
12
- "@parity/api" : " ^2.1.24" ,
12
+ "@parity/api" : " ../../" ,
13
+ "@parity/light.js" : " ../../" ,
14
+ "@parity/light.js-react" : " ../../" ,
13
15
"react" : " ^16.3.2" ,
14
16
"react-dom" : " ^16.3.2" ,
15
17
"react-router-dom" : " ^4.3.1" ,
16
18
"react-scripts" : " 1.1.4" ,
17
- "rxjs" : " ^ 6.2.2" ,
19
+ "rxjs" : " ~ 6.2.2" ,
18
20
"symbol-observable" : " ^1.2.0"
19
21
},
20
22
"devDependencies" : {
Original file line number Diff line number Diff line change 4
4
// SPDX-License-Identifier: MIT
5
5
6
6
import React , { Component } from 'react' ;
7
+ import { defaultAccount$ } from '@parity/light.js' ;
8
+ import light from '@parity/light.js-react' ;
7
9
8
10
import BalanceOfAddress from './BalanceOfAddress' ;
9
- import { defaultAccount$ } from '../light.js' ;
10
- import light from '../hoc' ;
11
11
12
12
@light ( {
13
13
defaultAccount : defaultAccount$
Original file line number Diff line number Diff line change 5
5
6
6
import React , { Component } from 'react' ;
7
7
import { map } from 'rxjs/operators' ;
8
-
9
- import { balanceOf$ , withoutLoading } from '../../light.js' ;
10
- import light from '../../hoc' ;
8
+ import { balanceOf$ , withoutLoading } from '@parity/light.js' ;
9
+ import light from '@parity/light.js-react' ;
11
10
12
11
@light ( {
13
12
balance : ownProps =>
Original file line number Diff line number Diff line change 4
4
// SPDX-License-Identifier: MIT
5
5
6
6
import React , { Component } from 'react' ;
7
-
8
- import { blockNumber$ } from '../light.js' ;
9
- import light from '../hoc' ;
7
+ import { blockNumber$ } from '@parity/light.js' ;
8
+ import light from '@parity/light.js-react' ;
10
9
11
10
@light ( {
12
11
blockNumber : blockNumber$
Original file line number Diff line number Diff line change 4
4
// SPDX-License-Identifier: MIT
5
5
6
6
import React , { Component } from 'react' ;
7
-
8
- import { peerCount$ , withoutLoading } from '../light.js/index.js' ;
9
- import light from '../hoc' ;
7
+ import { peerCount$ , withoutLoading } from '@parity/light.js' ;
8
+ import light from '@parity/light.js-react' ;
10
9
11
10
@light ( {
12
11
peerCount : ( ) => peerCount$ ( ) . pipe ( withoutLoading ( ) )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
//
4
4
// SPDX-License-Identifier: MIT
5
5
6
+ import 'symbol-observable' ; // TODO Remove this once https://github.com/acdlite/recompose/pull/660 is merged
7
+
6
8
import React from 'react' ;
7
9
import ReactDOM from 'react-dom' ;
8
- import 'symbol-observable' ; // TODO Remove this once https://github.com/acdlite/recompose/pull/660 is merged
10
+ import light from '@parity/light.js' ;
9
11
10
12
import App from './App' ;
11
- import light from './light.js' ;
12
13
import provider from './provider' ;
13
14
14
15
light . setProvider ( provider ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments