Add @parity/jsonrpc
This commit is contained in:
@@ -14,13 +14,13 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import ethereumRpc from '@parity/jsonrpc';
|
||||
|
||||
import { TEST_HTTP_URL, endpointTest } from '../../test/mockRpc';
|
||||
|
||||
import util from './util';
|
||||
import Api from './api';
|
||||
|
||||
import ethereumRpc from '../jsonrpc/';
|
||||
|
||||
describe('api/Api', () => {
|
||||
describe('constructor', () => {
|
||||
it('requires defined/non-null transport object', () => {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@parity/abi": "file:../abi",
|
||||
"@parity/jsonrpc": "file:../jsonrpc",
|
||||
"bignumber.js": "~2.3.0",
|
||||
"eventemitter3": "2.0.2",
|
||||
"js-sha3": "~0.5.2",
|
||||
|
||||
Reference in New Issue
Block a user