@shapeshiftoss/hdwallet-core
Advanced tools
Comparing version 1.36.0 to 1.37.0
@@ -155,2 +155,3 @@ import { Bytes } from "@ethersproject/bytes"; | ||
readonly _supportsEthSwitchChain: boolean; | ||
readonly _supportsAvalanche: boolean; | ||
ethGetAddress(msg: ETHGetAddress): Promise<string | null>; | ||
@@ -157,0 +158,0 @@ ethSignTx(msg: ETHSignTx): Promise<ETHSignedTx | null>; |
@@ -42,2 +42,3 @@ /// <reference types="node" /> | ||
readonly Kava: 459; | ||
readonly Avalanche: 9000; | ||
}>; | ||
@@ -44,0 +45,0 @@ declare type Slip44ByCoin<T> = T extends keyof typeof slip44Table ? typeof slip44Table[T] : number | undefined; |
@@ -155,2 +155,3 @@ "use strict"; | ||
Kava: 459, | ||
Avalanche: 9000, | ||
}); | ||
@@ -157,0 +158,0 @@ function slip44ByCoin(coin) { |
@@ -110,2 +110,3 @@ import { BinanceWallet, BinanceWalletInfo } from "./binance"; | ||
export declare function supportsEthSwitchChain(wallet: HDWallet): wallet is ETHWallet; | ||
export declare function supportsAvalanche(wallet: HDWallet): wallet is ETHWallet; | ||
export declare function infoCosmos(info: HDWalletInfo): info is CosmosWalletInfo; | ||
@@ -112,0 +113,0 @@ export declare function supportsOsmosis(wallet: HDWallet): wallet is OsmosisWallet; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.supportsDebugLink = exports.infoBinance = exports.supportsBinance = exports.infoRipple = exports.supportsRipple = exports.infoKava = exports.supportsKava = exports.infoTerra = exports.supportsTerra = exports.infoSecret = exports.supportsSecret = exports.infoFio = exports.supportsFio = exports.infoEos = exports.supportsEos = exports.infoThorchain = exports.supportsThorchain = exports.infoOsmosis = exports.supportsOsmosis = exports.infoCosmos = exports.supportsEthSwitchChain = exports.supportsCosmos = exports.infoETH = exports.supportsETH = exports.infoBTC = exports.supportsBTC = void 0; | ||
exports.supportsDebugLink = exports.infoBinance = exports.supportsBinance = exports.infoRipple = exports.supportsRipple = exports.infoKava = exports.supportsKava = exports.infoTerra = exports.supportsTerra = exports.infoSecret = exports.supportsSecret = exports.infoFio = exports.supportsFio = exports.infoEos = exports.supportsEos = exports.infoThorchain = exports.supportsThorchain = exports.infoOsmosis = exports.supportsOsmosis = exports.infoCosmos = exports.supportsAvalanche = exports.supportsEthSwitchChain = exports.supportsCosmos = exports.infoETH = exports.supportsETH = exports.infoBTC = exports.supportsBTC = void 0; | ||
const isObject_1 = __importDefault(require("lodash/isObject")); | ||
@@ -44,2 +44,6 @@ /** | ||
exports.supportsEthSwitchChain = supportsEthSwitchChain; | ||
function supportsAvalanche(wallet) { | ||
return isObject_1.default(wallet) && wallet._supportsAvalanche; | ||
} | ||
exports.supportsAvalanche = supportsAvalanche; | ||
function infoCosmos(info) { | ||
@@ -46,0 +50,0 @@ return isObject_1.default(info) && info._supportsCosmosInfo; |
{ | ||
"name": "@shapeshiftoss/hdwallet-core", | ||
"version": "1.36.0", | ||
"version": "1.37.0", | ||
"license": "MIT", | ||
@@ -31,3 +31,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "4095af8c2bf9069b93750f22b782748ac926bd78" | ||
"gitHead": "da7ead6d16c2e502efa74ee88b5190b0e6bba568" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
199832
3275