Skip to content

Commit

Permalink
ALL-7315 - Add Cosmos additional api
Browse files Browse the repository at this point in the history
  • Loading branch information
Hathoriel committed Jun 6, 2024
1 parent 12bc802 commit ed04d4b
Show file tree
Hide file tree
Showing 10 changed files with 2,061 additions and 7 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 ed04d4b

Please sign in to comment.