Skip to content

Commit

Permalink
feat: Bump version to 1.1.5 and update coinDecimals type to include 9…
Browse files Browse the repository at this point in the history
…; add chainLogo properties to CustomChainInfo
  • Loading branch information
trungbach committed Nov 8, 2024
1 parent b920090 commit 2e59e29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oraichain/common",
"version": "1.1.4",
"version": "1.1.5",
"main": "build/index.js",
"license": "MIT",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion packages/common/src/chain-infos/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type BridgeAppCurrency = FeeCurrency & {
readonly bridgeTo?: string[];
readonly coinGeckoId?: string;
readonly bridgeNetworkIdentifier?: string;
readonly coinDecimals: 6 | 8 | 14 | 18; // 6 for cosmos, 8 for bitcoin, 18 for evm
readonly coinDecimals: 6 | 8 | 9 | 14 | 18; // 6 for cosmos, 8 for bitcoin, 18 for evm
readonly contractAddress?: string;
readonly prefixToken?: string;
};
Expand Down Expand Up @@ -38,6 +38,8 @@ export interface CustomChainInfo
readonly txUrl: string;
readonly accountUrl?: string;
};
readonly chainLogoPng?: string;
readonly chainLogoSvg?: string;
}

export interface ChainInfos {
Expand Down

0 comments on commit 2e59e29

Please sign in to comment.