diff --git a/package.json b/package.json index c4555fb2af4..3213a682c99 100644 --- a/package.json +++ b/package.json @@ -170,6 +170,7 @@ "devDependencies": { "@babel/core": "7.3.4", "@babel/runtime": "7.5.0", + "@metamask/mobile-provider": "^1.2.0", "assert": "1.4.1", "babel-core": "7.0.0-bridge.0", "babel-eslint": "10.0.3", @@ -188,7 +189,6 @@ "jest": "24.5.0", "jest-serializer": "24.4.0", "lint-staged": "8.1.5", - "metamask-mobile-provider": "^1.1.0", "metro": "0.55.0", "metro-react-native-babel-preset": "0.53.0", "octonode": "0.9.5", diff --git a/scripts/build.sh b/scripts/build.sh index a2aa26782aa..d18a8ab856c 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -108,7 +108,7 @@ checkParameters(){ prebuild(){ # Import provider - cp node_modules/metamask-mobile-provider/dist/index.js app/core/InpageBridgeWeb3.js + cp node_modules/@metamask/mobile-provider/dist/index.js app/core/InpageBridgeWeb3.js # Load JS specific env variables if [ "$PRE_RELEASE" = false ] ; then diff --git a/yarn.lock b/yarn.lock index 165f4300f98..d99339792fa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -909,6 +909,11 @@ "@types/istanbul-reports" "^1.1.1" "@types/yargs" "^13.0.0" +"@metamask/mobile-provider@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@metamask/mobile-provider/-/mobile-provider-1.2.0.tgz#d28f58f213ca364c9a732b867eef74301542699a" + integrity sha512-W4kmc6wXDiEkdh69OmI26IrDNhp5vDfsRBnOWLhQ/c3Prl+jz05D2n9u4Ryx/4FUTUa5G0LpCwR2KS9SMz0ZIw== + "@react-native-community/async-storage@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@react-native-community/async-storage/-/async-storage-1.9.0.tgz#af26a8879bd2987970fbbe81a9623851d29a56f1" @@ -7304,11 +7309,6 @@ merkle-patricia-tree@^2.1.2, merkle-patricia-tree@^2.3.2: rlp "^2.0.0" semaphore ">=1.0.1" -metamask-mobile-provider@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/metamask-mobile-provider/-/metamask-mobile-provider-1.1.0.tgz#477aa8ee55d91bd79a0f4c00a5083be159a5a678" - integrity sha512-GZLiq2sCPvYlHT4xYVklrAg6hWA/RZyFoekCtQz+842LbFtajHYmSb0DW5GDgEdQ/unaABU9A6BfKpfUurOe2A== - methods@^1.1.1: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"