Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
add rpc-cap; remove json-rpc-capabilities-middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed Nov 7, 2019
1 parent 704df97 commit ac7e4ed
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion app/scripts/controllers/permissions/permissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const JsonRpcEngine = require('json-rpc-engine')
const asMiddleware = require('json-rpc-engine/src/asMiddleware')
const createAsyncMiddleware = require('json-rpc-engine/src/createAsyncMiddleware')
const ObservableStore = require('obs-store')
const RpcCap = require('json-rpc-capabilities-middleware').CapabilitiesController
const RpcCap = require('rpc-cap').CapabilitiesController
const { errors: rpcErrors } = require('eth-json-rpc-errors')

const {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
"gaba": "^1.6.0",
"human-standard-token-abi": "^2.0.0",
"jazzicon": "^1.2.0",
"json-rpc-capabilities-middleware": "^0.17.1",
"json-rpc-engine": "^5.1.4",
"json-rpc-middleware-stream": "^2.1.1",
"jsonschema": "^1.2.4",
Expand Down Expand Up @@ -169,6 +168,7 @@
"redux-thunk": "^2.2.0",
"request-promise": "^4.2.1",
"reselect": "^3.0.1",
"rpc-cap": "^1.0.0",
"safe-event-emitter": "^1.0.1",
"safe-json-stringify": "^1.2.0",
"ses": "^0.6.4",
Expand Down
30 changes: 15 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15557,21 +15557,6 @@ json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2:
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==

json-rpc-capabilities-middleware@^0.17.1:
version "0.17.1"
resolved "https://registry.yarnpkg.com/json-rpc-capabilities-middleware/-/json-rpc-capabilities-middleware-0.17.1.tgz#17aba4a70730ddee05e9b1ab764574bcff4c990a"
integrity sha512-mLY9f7qLQoCL+5zGc91DlNtF/Yw6CeuUzoNiQMREB3opxchntesGi1K5LcOQTGEiDhqrd3Jm+QICqA4qi0et8w==
dependencies:
clone "^2.1.2"
eth-json-rpc-errors "^2.0.0"
fast-deep-equal "^2.0.1"
gaba "^1.6.0"
intersect-objects "^1.0.0"
is-subset "^0.1.1"
json-rpc-engine "^5.1.3"
obs-store "^4.0.3"
uuid "^3.3.2"

json-rpc-engine@^3.4.0, json-rpc-engine@^3.6.0:
version "3.8.0"
resolved "https://registry.yarnpkg.com/json-rpc-engine/-/json-rpc-engine-3.8.0.tgz#9d4ff447241792e1d0a232f6ef927302bb0c62a9"
Expand Down Expand Up @@ -23313,6 +23298,21 @@ rn-host-detect@^1.1.5:
resolved "https://registry.yarnpkg.com/rn-host-detect/-/rn-host-detect-1.1.5.tgz#fbecb982b73932f34529e97932b9a63e58d8deb6"
integrity sha512-ufk2dFT3QeP9HyZ/xTuMtW27KnFy815CYitJMqQm+pgG3ZAtHBsrU8nXizNKkqXGy3bQmhEoloVbrfbvMJMqkg==

rpc-cap@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/rpc-cap/-/rpc-cap-1.0.0.tgz#a4568a35749d59c24212e608d37590c41ac1198d"
integrity sha512-40HhfODqm8kV7PpheDlT0aVs4JqeCws6aMwwd7KdZtMI9DY8FnCQGzOyUf6zsTPgmWPPxEW5Z4hc2pV7SsuyMw==
dependencies:
clone "^2.1.2"
eth-json-rpc-errors "^2.0.0"
fast-deep-equal "^2.0.1"
gaba "^1.6.0"
intersect-objects "^1.0.0"
is-subset "^0.1.1"
json-rpc-engine "^5.1.3"
obs-store "^4.0.3"
uuid "^3.3.2"

rsa-pem-to-jwk@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/rsa-pem-to-jwk/-/rsa-pem-to-jwk-1.1.3.tgz#245e76bdb7e7234cfee7ca032d31b54c38fab98e"
Expand Down

0 comments on commit ac7e4ed

Please sign in to comment.