@chain-registry/keplr
Advanced tools
Comparing version 1.27.0 to 1.28.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [1.28.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/keplr@1.27.0...@chain-registry/keplr@1.28.0) (2023-12-15) | ||
**Note:** Version bump only for package @chain-registry/keplr | ||
# [1.27.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/keplr@1.26.0...@chain-registry/keplr@1.27.0) (2023-12-15) | ||
@@ -8,0 +16,0 @@ |
@@ -32,3 +32,2 @@ "use strict"; | ||
switch (spaces) { | ||
case 0: | ||
case 1: | ||
@@ -45,3 +44,3 @@ return ver + '.0.0'; | ||
var chainRegistryChainToKeplr = function chainRegistryChainToKeplr(chain, assets) { | ||
var _chain$codebase$cosmo, _chain$codebase, _chain$codebase2, _assets$find, _chain$fees, _chain$fees2, _chain$fees2$fee_toke, _chain$staking, _currencies$find; | ||
var _chain$codebase, _chain$codebase2, _chain$codebase3, _assets$find, _chain$fees, _chain$fees2, _chain$fees2$fee_toke, _chain$staking, _currencies$find; | ||
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : { | ||
@@ -57,5 +56,6 @@ getRpcEndpoint: getRpc, | ||
// if NOT specified, we assume stargate, sorry not sorry | ||
var sdkVer = cleanVer((_chain$codebase$cosmo = (_chain$codebase = chain.codebase) === null || _chain$codebase === void 0 ? void 0 : _chain$codebase.cosmos_sdk_version) !== null && _chain$codebase$cosmo !== void 0 ? _chain$codebase$cosmo : '0.4'); | ||
var sdkVer = (_chain$codebase = chain.codebase) !== null && _chain$codebase !== void 0 && _chain$codebase.cosmos_sdk_version ? cleanVer((_chain$codebase2 = chain.codebase) === null || _chain$codebase2 === void 0 ? void 0 : _chain$codebase2.cosmos_sdk_version) : '0.40'; | ||
// stargate | ||
if (_semver["default"].satisfies(sdkVer, '>=0.4')) features.push('stargate'); | ||
if (_semver["default"].satisfies(sdkVer, '>=0.40')) features.push('stargate'); | ||
// no-legacy-stdTx | ||
@@ -68,3 +68,3 @@ if (_semver["default"].satisfies(sdkVer, '>=0.43')) features.push('no-legacy-stdTx'); | ||
if (_semver["default"].satisfies(sdkVer, '>=0.45')) features.push('ibc-go'); | ||
if ((_chain$codebase2 = chain.codebase) !== null && _chain$codebase2 !== void 0 && _chain$codebase2.cosmwasm_enabled) { | ||
if ((_chain$codebase3 = chain.codebase) !== null && _chain$codebase3 !== void 0 && _chain$codebase3.cosmwasm_enabled) { | ||
var _chain$codebase$cosmw; | ||
@@ -71,0 +71,0 @@ features.push('cosmwasm'); |
{ | ||
"name": "@chain-registry/keplr", | ||
"version": "1.27.0", | ||
"version": "1.28.0", | ||
"description": "Chain Registry to Keplr", | ||
@@ -60,3 +60,3 @@ "author": "Dan Lynch <pyramation@gmail.com>", | ||
"babel-watch": "^7.7.2", | ||
"chain-registry": "^1.22.0", | ||
"chain-registry": "^1.23.0", | ||
"cross-env": "^7.0.2", | ||
@@ -82,3 +82,3 @@ "eslint": "8.38.0", | ||
}, | ||
"gitHead": "d84cc036263e918e0805ed0687a9ca36da9c1e80" | ||
"gitHead": "ec245667c9c628c8f9a57d2c57a97339d25c8764" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29228
159