Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package.json updates #930

Merged
merged 20 commits into from
Jul 4, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
},
"devDependencies": {
"@ethersproject/providers": "^5.6.2",
"@nomiclabs/hardhat-ethers": "^2.0.5",
"@nomiclabs/hardhat-ethers": "^2.0.6",
"@nomiclabs/hardhat-waffle": "^2.0.3",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/test-helpers": "^0.5.15",
"@truffle/hdwallet-provider": "^1.7.0",
"@typechain/ethers-v5": "^8.0.5",
"@typechain/hardhat": "^3.1.0",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.2",
"@types/chai": "^4.3.0",
"@types/lodash": "^4.14.181",
"@types/mocha": "^9.1.0",
Expand All @@ -47,7 +47,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"ethereum-waffle": "^3.4.4",
"hardhat": "^2.9.3",
"hardhat": "^2.9.9",
"husky": "^5.2.0",
"lerna": "^3.22.1",
"node-jq": "^1.12.0",
Expand All @@ -59,7 +59,7 @@
"syncpack": "^6.2.0",
"truffle": "^5.5.10",
"ts-node": "^10.7.0",
"typechain": "^6.1.0",
"typechain": "^8.1.0",
"typedoc": "^0.22.15",
"typescript": "^4.6.3",
"web3": "^1.7.3"
Expand Down
20 changes: 12 additions & 8 deletions packages/sdk-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,25 @@
"dependencies": {
"ajv": "^8.11.0",
"browserify": "^17.0.0",
"ethers": "^5.6.2",
"graphql-request": "^3.7.0",
"ethers": "^5.6.9",
0xdavinchee marked this conversation as resolved.
Show resolved Hide resolved
"graphql-request": "^4.3.0",
"lodash": "^4.17.21",
"tsify": "^5.0.4"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/cli": "^2.6.3",
"@graphql-codegen/introspection": "^2.1.1",
"@graphql-codegen/near-operation-file-preset": "^2.2.9",
"@graphql-codegen/typed-document-node": "^2.2.8",
"@graphql-codegen/typescript": "^2.4.8",
"@graphql-codegen/typescript-operations": "^2.3.5",
"@graphql-codegen/near-operation-file-preset": "^2.2.14",
"@graphql-codegen/typed-document-node": "^2.2.13",
"@graphql-codegen/typescript": "^2.5.1",
"@graphql-codegen/typescript-operations": "^2.4.2",
"@graphql-typed-document-node/core": "^3.1.1",
"get-graphql-schema": "^2.1.2",
"mocha": "^9.2.2"
"mocha": "^10.0.0"
},
"peerDependencies": {
"ethers": "^5.6.9",
"graphql": "^16.0.0"
},
"resolutions": {
"graphql": "^16.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-core/scripts/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const setup = async (props: ISetupProps) => {
superTokenClass.underlyingToken.address,
TestTokenABI,
Deployer
) as TestToken;
) as unknown as TestToken;
if (props.amount) {
const initialAmount = ethers.utils.parseUnits(props.amount);
for (let i = 0; i < signers.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-core/src/Framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { isEthersProvider, isInjectedWeb3 } from "./utils";

type SupportedProvider =
| ethers.providers.Provider
| (typeof ethers & HardhatEthersHelpers)
| HardhatEthersHelpers
| Web3;

// TODO: add convenience function of utilizing provider (optional)
Expand Down