Add @parity/jsonrpc

This commit is contained in:
Jaco Greeff
2017-04-20 10:41:06 +02:00
parent 0d9e849162
commit 94c8cceb42
6 changed files with 33 additions and 4 deletions

View File

@@ -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', () => {

View File

@@ -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",