Skip to content

Commit

Permalink
ALL-2483 - Update Horizen class (#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hathoriel authored Sep 18, 2023
1 parent d8cbd0d commit 0a8582d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [3.1.3] - 2023.09.18
### Fixed
- Update horizen class

## [3.1.2] - 2023.09.15
### Fixed
- Horizen EON notifications
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": "3.1.2",
"version": "3.1.3",
"description": "Tatum JS SDK",
"author": "Tatum",
"repository": "https://github.com/tatumio/tatum-js",
Expand Down
6 changes: 3 additions & 3 deletions src/e2e/tatum.address.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
BaseTatumSdk,
Bitcoin,
Dogecoin,
Eon,
Ethereum,
HorizenEon,
Litecoin,
Solana,
TatumSDK,
Expand Down Expand Up @@ -332,7 +332,7 @@ describe.skip('Address', () => {
})

describe('getBalance EON', () => {
let tatum: Eon
let tatum: HorizenEon

beforeEach(async () => {
tatum = await TatumSDK.init({
Expand Down Expand Up @@ -664,7 +664,7 @@ describe.skip('Address', () => {
})

describe('getTransactions EON', () => {
let tatum: Eon
let tatum: HorizenEon

beforeEach(async () => {
tatum = await TatumSDK.init({
Expand Down
2 changes: 1 addition & 1 deletion src/service/tatum/tatum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class Palm extends BaseEvmClass {}
export class Polygon extends BaseEvmClass {}
export class Vechain extends BaseEvmClass {}
export class Xdc extends BaseEvmClass {}
export class Eon extends BaseEvmClass {}
export class HorizenEon extends BaseEvmClass {}

// UTXO chains
export class Bitcoin extends BaseUtxoClass {}
Expand Down
4 changes: 2 additions & 2 deletions src/util/util.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import {
Celo,
Cronos,
Dogecoin,
Eon,
Ethereum,
EthereumClassic,
EvmLoadBalancerRpc,
Expand All @@ -43,6 +42,7 @@ import {
Gnosis,
Haqq,
HarmonyOne,
HorizenEon,
Klaytn,
Kucoin,
Litecoin,
Expand Down Expand Up @@ -383,7 +383,7 @@ export const Utils = {
case Network.TEZOS:
return new Tezos(id) as T
case Network.HORIZEN_EON:
return new Eon(id) as T
return new HorizenEon(id) as T
default:
return new BaseTatumSdk(id) as T
}
Expand Down

0 comments on commit 0a8582d

Please sign in to comment.