From 16c49e965c4056d6b59f8a512ddbe7b888bbbc9b Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Fri, 26 Jun 2015 20:23:42 +0200 Subject: [PATCH] Update json-rpc-peer to 0.10 (fixes #71, fixes #72 and maybe vatesfr/xo-web#297) --- package.json | 3 +-- src/api-errors.js | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ab99fd2b7..a9a5f23dc 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,7 @@ "http-server-plus": "^0.5.1", "human-format": "^0.3.0", "js-yaml": "^3.2.7", - "json-rpc-peer": "^0.9.2", - "json-rpc-protocol": "^0.9.0", + "json-rpc-peer": "^0.10.0", "julien-f-unzip": "^0.2.1", "lodash.assign": "^3.0.0", "lodash.bind": "^3.0.0", diff --git a/src/api-errors.js b/src/api-errors.js index aadc48b25..4e23dae43 100644 --- a/src/api-errors.js +++ b/src/api-errors.js @@ -1,4 +1,4 @@ -import {JsonRpcError} from 'json-rpc-protocol' +import {JsonRpcError} from 'json-rpc-peer' // =================================================================== @@ -9,7 +9,7 @@ export { InvalidRequest, JsonRpcError, MethodNotFound -} from 'json-rpc-protocol' +} from 'json-rpc-peer' // -------------------------------------------------------------------