Skip to content

Commit

Permalink
upgrade request 0.21.0 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjlevesque authored Sep 2, 2020
1 parent 01aaa2d commit c2209be
Show file tree
Hide file tree
Showing 6 changed files with 331 additions and 552 deletions.
4 changes: 2 additions & 2 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@material-ui/core": "^4.9.7",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.46",
"@requestnetwork/types": "0.15.0",
"@requestnetwork/types": "0.20.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
Expand Down Expand Up @@ -57,4 +57,4 @@
"@types/react-infinite-scroller": "^1.2.1",
"@types/testing-library__react": "^10.2.0"
}
}
}
4 changes: 2 additions & 2 deletions packages/gnosis-safe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@material-ui/core": "^4.9.7",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.46",
"@requestnetwork/types": "0.14.0",
"@requestnetwork/types": "0.20.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
Expand Down Expand Up @@ -51,4 +51,4 @@
"last 1 safari version"
]
}
}
}
6 changes: 3 additions & 3 deletions packages/pay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"@material-ui/core": "^4.9.7",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.46",
"@requestnetwork/payment-processor": "0.18.0",
"@requestnetwork/request-client.js": "0.18.0",
"@requestnetwork/payment-processor": "0.21.1-next.1281",
"@requestnetwork/request-client.js": "0.21.0",
"@web3-react/core": "^6.0.7",
"@web3-react/injected-connector": "^6.0.7",
"@web3-react/walletconnect-connector": "^6.0.7",
Expand Down Expand Up @@ -56,4 +56,4 @@
"last 1 safari version"
]
}
}
}
2 changes: 1 addition & 1 deletion packages/pay/src/contexts/PaymentContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export const PaymentProvider: React.FC = ({ children }) => {
if (active) return;
setActive(true);

approveErc20(request!.raw, library, {
approveErc20(request.raw, library, {
gasPrice: ethers.utils.parseUnits(gasPrice.toString(), "gwei"),
})
.then(async () => {
Expand Down
8 changes: 4 additions & 4 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"build": "tsc"
},
"dependencies": {
"@requestnetwork/request-client.js": "0.16.0",
"@requestnetwork/types": "0.15.0",
"@requestnetwork/web3-signature": "0.4.12",
"@requestnetwork/request-client.js": "0.21.0",
"@requestnetwork/types": "0.20.0",
"@requestnetwork/web3-signature": "0.4.17",
"ethers": "^4.0.46",
"wallet-address-validator": "^0.2.4"
}
}
}
Loading

0 comments on commit c2209be

Please sign in to comment.