@shapeshiftoss/hdwallet-core
Advanced tools
Comparing version 1.44.0 to 1.45.0
@@ -162,2 +162,3 @@ import { Bytes } from "@ethersproject/bytes"; | ||
readonly _supportsOptimism: boolean; | ||
readonly _supportsBSC: boolean; | ||
ethGetAddress(msg: ETHGetAddress): Promise<string | null>; | ||
@@ -164,0 +165,0 @@ ethSignTx(msg: ETHSignTx): Promise<ETHSignedTx | null>; |
@@ -44,2 +44,3 @@ /// <reference types="node" /> | ||
readonly Optimism: 60; | ||
readonly BnbSmartChain: 60; | ||
}>; | ||
@@ -46,0 +47,0 @@ declare type Slip44ByCoin<T> = T extends keyof typeof slip44Table ? typeof slip44Table[T] : number | undefined; |
@@ -158,2 +158,3 @@ "use strict"; | ||
Optimism: 60, | ||
BnbSmartChain: 60, | ||
}); | ||
@@ -160,0 +161,0 @@ function slip44ByCoin(coin) { |
@@ -103,2 +103,3 @@ import { BinanceWallet, BinanceWalletInfo } from "./binance"; | ||
export declare function supportsOptimism(wallet: HDWallet): wallet is ETHWallet; | ||
export declare function supportsBSC(wallet: HDWallet): wallet is ETHWallet; | ||
export declare function infoCosmos(info: HDWalletInfo): info is CosmosWalletInfo; | ||
@@ -105,0 +106,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.supportsOptimism = exports.supportsAvalanche = 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.supportsBSC = exports.supportsOptimism = exports.supportsAvalanche = exports.supportsEthSwitchChain = exports.supportsCosmos = exports.infoETH = exports.supportsETH = exports.infoBTC = exports.supportsBTC = void 0; | ||
const isObject_1 = __importDefault(require("lodash/isObject")); | ||
@@ -52,2 +52,6 @@ /** | ||
exports.supportsOptimism = supportsOptimism; | ||
function supportsBSC(wallet) { | ||
return isObject_1.default(wallet) && wallet._supportsBSC; | ||
} | ||
exports.supportsBSC = supportsBSC; | ||
function infoCosmos(info) { | ||
@@ -54,0 +58,0 @@ return isObject_1.default(info) && info._supportsCosmosInfo; |
{ | ||
"name": "@shapeshiftoss/hdwallet-core", | ||
"version": "1.44.0", | ||
"version": "1.45.0", | ||
"license": "MIT", | ||
@@ -32,3 +32,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "6835007a3ee5702fd74e7f407571fff66ef37f13" | ||
"gitHead": "c6db304e004b23b5945176cb57d5fec1eef76120" | ||
} |
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
202722
3306