Skip to content

Commit

Permalink
Merge pull request #316 from inevitable-changes/develop
Browse files Browse the repository at this point in the history
[web] Bump version to 1.3.33
  • Loading branch information
junhoyeo authored Oct 12, 2022
2 parents 1bfdea6 + bddb2c6 commit ae55c46
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions packages/bento-core/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class EthereumChain implements Chain {
price,
};
}) as Promise<TokenBalance>[];
return safePromiseAll(promises);
return safePromiseAll(promises).then((items) => items.flat());
};
}

Expand Down Expand Up @@ -170,7 +170,7 @@ export class BNBChain implements Chain {
price,
};
}) as Promise<TokenBalance>[];
return safePromiseAll(promises);
return safePromiseAll(promises).then((items) => items.flat());
};
}

Expand Down Expand Up @@ -245,7 +245,7 @@ export class PolygonChain implements Chain {
price,
};
}) as Promise<TokenBalance>[];
return safePromiseAll(promises);
return safePromiseAll(promises).then((items) => items.flat());
};
}

Expand Down Expand Up @@ -320,7 +320,7 @@ export class AvalancheChain implements Chain {
price,
};
}) as Promise<TokenBalance>[];
return safePromiseAll(promises);
return safePromiseAll(promises).then((items) => items.flat());
};
}

Expand Down Expand Up @@ -430,7 +430,7 @@ export class KlaytnChain implements Chain {
};
return balanceInfo;
}) as Promise<TokenBalance>[];
return safePromiseAll(promises);
return safePromiseAll(promises).then((items) => items.flat());
};
}

Expand Down Expand Up @@ -507,7 +507,7 @@ export class SolanaChain implements Chain {
price,
};
}) as Promise<TokenBalance>[];
return safePromiseAll(promises);
return safePromiseAll(promises).then((items) => items.flat());
};
}

Expand Down
2 changes: 1 addition & 1 deletion packages/bento-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bento/web",
"version": "1.3.32",
"version": "1.3.33",
"private": true,
"scripts": {
"dev": "env-cmd -f .env.debug.local next dev",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const getDeFiStakingsByWalletAddress = async (
const promisesForDelegations = KlayStation.getDelegations(walletAddress);

const stakings = (
await safePromiseAll([
await Promise.all([
promisesForStakings.catch(handleError),
promisesForDelegations.catch(handleError),
])
Expand Down

1 comment on commit ae55c46

@vercel
Copy link

@vercel vercel bot commented on ae55c46 Oct 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.