From 900cd0d9854f281f8629acac6b9037ef9cd11012 Mon Sep 17 00:00:00 2001 From: Andres Aiello Date: Fri, 29 Sep 2023 12:16:06 -0300 Subject: [PATCH 1/2] Add bsc-mainnet to addresses pkg --- packages/addresses/package.json | 4 ++-- packages/addresses/src/addresses.helpers.ts | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/addresses/package.json b/packages/addresses/package.json index 91690818..e2930f5a 100644 --- a/packages/addresses/package.json +++ b/packages/addresses/package.json @@ -1,6 +1,6 @@ { "name": "@zetachain/addresses", - "version": "0.0.11", + "version": "0.0.12", "license": "MIT", "author": "zetachain", "publishConfig": { @@ -22,4 +22,4 @@ "vite": "^3.1.0", "vite-plugin-dts": "^1.4.1" } -} +} \ No newline at end of file diff --git a/packages/addresses/src/addresses.helpers.ts b/packages/addresses/src/addresses.helpers.ts index e3a21f84..37d2fedd 100644 --- a/packages/addresses/src/addresses.helpers.ts +++ b/packages/addresses/src/addresses.helpers.ts @@ -107,11 +107,11 @@ export const getTestnetList = (): Record; export const isMainnetNetworkName = (networkName: string): networkName is MainnetNetworkName => - networkName === "eth-mainnet" || networkName === "klaytn-cypress"; + networkName === "bsc-mainnet" || networkName === "eth-mainnet" || networkName === "klaytn-cypress"; export const isZetaMainnet = (networkName: string | undefined): networkName is ZetaMainnetNetworkName => networkName === "mainnet"; @@ -131,6 +131,7 @@ export const getChainId = (networkName: NetworkName) => { athens: 7001, "bitcoin-test": 18332, "bsc-localnet": 97, + "bsc-mainnet": 56, "bsc-testnet": 97, "eth-localnet": 5, "eth-mainnet": 1, From 59ad552fb97e5fe05010d0025fdd22ae1e4c61b9 Mon Sep 17 00:00:00 2001 From: Andres Aiello Date: Fri, 29 Sep 2023 12:18:59 -0300 Subject: [PATCH 2/2] Move to v0.0.13 --- packages/addresses/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/addresses/package.json b/packages/addresses/package.json index e2930f5a..0e081e1c 100644 --- a/packages/addresses/package.json +++ b/packages/addresses/package.json @@ -1,6 +1,6 @@ { "name": "@zetachain/addresses", - "version": "0.0.12", + "version": "0.0.13", "license": "MIT", "author": "zetachain", "publishConfig": {