Skip to content

Commit

Permalink
ALL-7315 - Add Cosmos additional api (#1107)
Browse files Browse the repository at this point in the history
ALL-7315 - Add Cosmos additional api
  • Loading branch information
Hathoriel authored Jun 6, 2024
1 parent 12bc802 commit e181a1c
Show file tree
Hide file tree
Showing 11 changed files with 2,062 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [4.2.32] - 2024.6.5

### Added

- Support for cosmos additional api

## [4.2.31] - 2024.6.3

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tatumio/tatum",
"version": "4.2.31",
"version": "4.2.32",
"description": "Tatum JS SDK",
"author": "Tatum",
"repository": "https://github.com/tatumio/tatum-js",
Expand Down
5 changes: 5 additions & 0 deletions src/dto/Network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ export const CARDANO_NETWORKS = [
Network.CARDANO_ROSETTA_PREPROD,
Network.COSMONS_ROSETTA,
]
export const COSMOS_NETWORKS = [
Network.COSMONS_ROSETTA,
]
export const STELLAR_LOAD_BALANCER_NETWORKS = [Network.STELLAR]
export const KADENA_LOAD_BALANCER_NETWORKS = [Network.KADENA, Network.KADENA_TESTNET]
export const ROSTRUM_LOAD_BALANCER_NETWORKS = [Network.ROSTRUM, Network.BITCOIN_ELECTRS]
Expand Down Expand Up @@ -364,6 +367,8 @@ export const isAlgorandIndexerNetwork = (network: Network) => ALGORAND_INDEXER_N

export const isCardanoNetwork = (network: Network) => CARDANO_NETWORKS.includes(network)

export const isCosmosNetwork = (network: Network) => COSMOS_NETWORKS.includes(network)

export const isStellarLoadBalancerNetwork = (network: Network) =>
STELLAR_LOAD_BALANCER_NETWORKS.includes(network)

Expand Down
Loading

0 comments on commit e181a1c

Please sign in to comment.