Skip to content

Commit

Permalink
Add new mobile provider (#1517)
Browse files Browse the repository at this point in the history
Co-authored-by: Esteban Miño <[email protected]>
  • Loading branch information
rekmarks and estebanmino authored May 7, 2020
1 parent 95844af commit 97eb3fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]":
version "1.9.0"
resolved "https://registry.yarnpkg.com/@react-native-community/async-storage/-/async-storage-1.9.0.tgz#af26a8879bd2987970fbbe81a9623851d29a56f1"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 97eb3fc

Please sign in to comment.