Skip to content

Commit

Permalink
chore: fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
junjieit committed Oct 18, 2024
1 parent 7630606 commit bf4bf07
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
12 changes: 8 additions & 4 deletions packages/dodoex-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@
]
},
"peerDependencies": {
"lodash": ">=4",
"bignumber.js": ">=9"
"bignumber.js": ">=9",
"lodash": ">=4"
},
"dependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/properties": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@ethersproject/web": "^5.7.1",
"cross-fetch": "^4.0.0",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
Expand Down Expand Up @@ -89,10 +93,10 @@
"jest-environment-jsdom": "^29.0.3",
"np": "^7.6.1",
"rollup": "^4.18.0",
"rollup-plugin-typescript2": "^0.36.0",
"rollup-plugin-dynamic-import-variables": "^1.1.0",
"rollup-plugin-typescript2": "^0.36.0",
"svg-jest": "^1.0.1",
"ts-jest": "^29.0.1",
"typescript": "^5.6.3"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const time = 10;
const maxCallCount = 800;

export class BatchProvider extends StaticJsonRpcProvider {
_pendingBatchAggregator: NodeJS.Timer | null = null;
_pendingBatchAggregator: any | null = null;
_pendingBatch: Array<{
request: {
method: string;
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2214,7 +2214,7 @@
resolved "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz"
integrity sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==

"@ethersproject/[email protected]", "@ethersproject/abi@>=5", "@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.7.0":
"@ethersproject/[email protected]", "@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz"
integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==
Expand Down Expand Up @@ -2405,9 +2405,9 @@
dependencies:
"@ethersproject/logger" "^5.7.0"

"@ethersproject/[email protected]", "@ethersproject/providers@>=5", "@ethersproject/providers@^5":
"@ethersproject/[email protected]", "@ethersproject/providers@^5", "@ethersproject/providers@^5.7.2":
version "5.7.2"
resolved "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz"
resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.2.tgz#f8b1a4f275d7ce58cf0a2eec222269a08beb18cb"
integrity sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==
dependencies:
"@ethersproject/abstract-provider" "^5.7.0"
Expand Down Expand Up @@ -2534,9 +2534,9 @@
"@ethersproject/transactions" "^5.7.0"
"@ethersproject/wordlists" "^5.7.0"

"@ethersproject/[email protected]", "@ethersproject/web@^5.7.0":
"@ethersproject/[email protected]", "@ethersproject/web@^5.7.0", "@ethersproject/web@^5.7.1":
version "5.7.1"
resolved "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz"
resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.7.1.tgz#de1f285b373149bee5928f4eb7bcb87ee5fbb4ae"
integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==
dependencies:
"@ethersproject/base64" "^5.7.0"
Expand Down

0 comments on commit bf4bf07

Please sign in to comment.