Skip to content

Commit

Permalink
ALL-6219 - Added AVAX to Blockchain enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Hathoriel committed May 6, 2024
1 parent 20dec77 commit 3b50b6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tatumio",
"version": "2.2.70",
"version": "2.2.71",
"license": "MIT",
"repository": "https://github.com/tatumio/tatum-js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion packages/shared/core/src/lib/models/Blockchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export enum Blockchain {
FLR = 'FLR',
CRO = 'CRO',
BASE = 'BASE',
AVAX = 'AVAX',
}

export const EvmBasedBlockchains = [
Expand All @@ -45,7 +46,7 @@ export const EvmBasedBlockchains = [

// @TODO tmp solution
export const BtcBasedBlockchains = [Blockchain.BTC, Blockchain.LTC, Blockchain.DOGE, Blockchain.BCH] as const
export type BtcBasedBlockchain = typeof BtcBasedBlockchains[number]
export type BtcBasedBlockchain = (typeof BtcBasedBlockchains)[number]

export type EvmBasedBlockchain =
| Blockchain.ETH
Expand Down

0 comments on commit 3b50b6c

Please sign in to comment.