@heliofi/common 0.1.379 → 0.1.380

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,5 +2,5 @@ import { GeneralNetwork } from '../constants';
2
2
  export declare class PublicKeyService {
3
3
  static validateSolAddress(address: string): boolean;
4
4
  static validateEvmAddress(address: string): boolean;
5
- static validateBtcAddress(address: string, generalNetwork: GeneralNetwork): boolean;
5
+ static validateBTCAddress(address: string, generalNetwork: GeneralNetwork): boolean;
6
6
  }
@@ -18,7 +18,7 @@ class PublicKeyService {
18
18
  const evmPKRegex = /^0x[0-9a-fA-F]{40}$/;
19
19
  return evmPKRegex.test(address);
20
20
  }
21
- static validateBtcAddress(address, generalNetwork) {
21
+ static validateBTCAddress(address, generalNetwork) {
22
22
  const network = generalNetwork === constants_1.GeneralNetwork.MAINNET
23
23
  ? bitcoinjs_lib_1.networks.bitcoin
24
24
  : bitcoinjs_lib_1.networks.testnet;