Skip to content

Commit

Permalink
Special token's symbol support
Browse files Browse the repository at this point in the history
  • Loading branch information
edolganov committed Aug 26, 2024
1 parent 78a7fa1 commit 20eeee7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "smartypay-client-web3-common",
"version": "2.36.0",
"version": "2.36.1",
"description": "Common classes for supporting web3 with SmartyPay api",
"author": "Evgeny Dolganov <evgenij.dolganov@gmail.com>",
"repository": "https://github.com/smarty-pay/smartypay-client-web3-common",
Expand All @@ -23,7 +23,7 @@
},
"dependencies": {
"ethers": "^6.13.2",
"smartypay-client-model": "^2.36.0"
"smartypay-client-model": "^2.36.1"
},
"devDependencies": {
"@types/jest": "^29.5.12",
Expand Down
2 changes: 1 addition & 1 deletion src/Web3Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export const Web3Common = {
type: 'ERC20',
options: {
address: token.tokenId,
symbol: token.abbr,
symbol: token.symbol ?? token.abbr,
decimals: token.decimals,
},
} as any,
Expand Down

0 comments on commit 20eeee7

Please sign in to comment.