@shapeshiftoss/hdwallet-core
Advanced tools
Comparing version 1.46.1 to 1.46.2-alpha.0
@@ -162,2 +162,3 @@ import { Bytes } from "@ethersproject/bytes"; | ||
readonly _supportsOptimism: boolean; | ||
readonly _supportsPolygon: boolean; | ||
readonly _supportsBSC: boolean; | ||
@@ -164,0 +165,0 @@ ethGetAddress(msg: ETHGetAddress): Promise<string | null>; |
@@ -45,2 +45,3 @@ /// <reference types="node" /> | ||
readonly BnbSmartChain: 60; | ||
readonly Polygon: 60; | ||
}>; | ||
@@ -47,0 +48,0 @@ declare type Slip44ByCoin<T> = T extends keyof typeof slip44Table ? typeof slip44Table[T] : number | undefined; |
@@ -159,2 +159,3 @@ "use strict"; | ||
BnbSmartChain: 60, | ||
Polygon: 60, | ||
}); | ||
@@ -161,0 +162,0 @@ function slip44ByCoin(coin) { |
@@ -104,2 +104,3 @@ import { BinanceWallet, BinanceWalletInfo } from "./binance"; | ||
export declare function supportsBSC(wallet: HDWallet): wallet is ETHWallet; | ||
export declare function supportsPolygon(wallet: HDWallet): wallet is ETHWallet; | ||
export declare function infoCosmos(info: HDWalletInfo): info is CosmosWalletInfo; | ||
@@ -106,0 +107,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.supportsBSC = 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.supportsPolygon = 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")); | ||
@@ -56,2 +56,6 @@ /** | ||
exports.supportsBSC = supportsBSC; | ||
function supportsPolygon(wallet) { | ||
return isObject_1.default(wallet) && wallet._supportsPolygon; | ||
} | ||
exports.supportsPolygon = supportsPolygon; | ||
function infoCosmos(info) { | ||
@@ -58,0 +62,0 @@ return isObject_1.default(info) && info._supportsCosmosInfo; |
{ | ||
"name": "@shapeshiftoss/hdwallet-core", | ||
"version": "1.46.1", | ||
"version": "1.46.2-alpha.0", | ||
"license": "MIT", | ||
@@ -32,3 +32,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "16f856b870f4ae286667a505f737edba66a243a6" | ||
"gitHead": "95cac9eb62989d8b35de12725b07a612bb525977" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
203296
3314
2
1