Skip to content

Commit

Permalink
fix: revert wrong cast (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Aug 14, 2023
1 parent 2c93a6d commit ef5aced
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"access": "public"
},
"dependencies": {
"@bgd-labs/aave-address-book": "^1.31.4",
"@bgd-labs/aave-address-book": "^1.32.0",
"bs58": "^5.0.0",
"chalk": "^4.1.2",
"dotenv": "^16.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/reports/diff-reports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function diffReports<A extends AaveV3Snapshot, B extends AaveV3Snap
if (
!(diffResult.reserves[reserveKey] as any).hasOwnProperty('from') &&
Object.keys(diffResult.reserves[reserveKey]).find(
(fieldKey) => (typeof diffResult.reserves as any)[reserveKey][fieldKey] === 'object'
(fieldKey) => typeof (diffResult.reserves as any)[reserveKey][fieldKey] === 'object'
)
) {
let report = renderReserveDiff(diffResult.reserves[reserveKey] as any, chainId);
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
chalk "^2.0.0"
js-tokens "^4.0.0"

"@bgd-labs/aave-address-book@^1.31.4":
version "1.31.4"
resolved "https://registry.npmjs.org/@bgd-labs/aave-address-book/-/aave-address-book-1.31.4.tgz"
integrity sha512-k3BEtKmo9PjwsMJHxJvsTkSB9IKdEwQSlsGQkbqLb4RwFGbrNAX3ScNUzAhWM0ipj5Q2wORL5VrjAxshkezISw==
"@bgd-labs/aave-address-book@^1.32.0":
version "1.32.0"
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-1.32.0.tgz#5f613ff325cd56c43fd63bed2d04765c18983d60"
integrity sha512-hrxe194835T6zpna5I9mVEZ935WdaSicgfGZLpHppKxnEcte7fZD1aHahJTULscecep8fj4qDXi1aEmVM4/MFw==

"@esbuild/android-arm64@0.17.12":
version "0.17.12"
Expand Down

0 comments on commit ef5aced

Please sign in to comment.