Socket
Socket
Sign inDemoInstall

@chain-registry/keplr

Package Overview
Dependencies
Maintainers
1
Versions
320
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chain-registry/keplr - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.4.5](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/keplr@0.4.4...@chain-registry/keplr@0.4.5) (2022-08-18)
**Note:** Version bump only for package @chain-registry/keplr
## [0.4.4](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/keplr@0.4.3...@chain-registry/keplr@0.4.4) (2022-08-17)

@@ -8,0 +16,0 @@

11

main/index.js

@@ -41,9 +41,12 @@ "use strict";

var sdkVersion = Number((_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);
if (sdkVersion >= 0.4) features.push('stargate'); // until further notice, assume 'ibc-transfer'
var sdkVersion = Number((_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); // stargate
features.push('ibc-transfer'); // until further notice, assume 'no-legacy-stdTx'
if (sdkVersion >= 0.4) features.push('stargate'); // no-legacy-stdTx
features.push('no-legacy-stdTx');
if (sdkVersion >= 0.43) features.push('no-legacy-stdTx'); // until further notice, assume 'ibc-transfer'
features.push('ibc-transfer'); // ibc-go
if (sdkVersion >= 0.43) features.push('ibc-go');
if ((_chain$codebase2 = chain.codebase) !== null && _chain$codebase2 !== void 0 && _chain$codebase2.cosmwasm_enabled) {

@@ -50,0 +53,0 @@ features.push('cosmwasm');

@@ -19,9 +19,12 @@ import { Bech32Address } from '@keplr-wallet/cosmos';

const sdkVersion = Number(chain.codebase?.cosmos_sdk_version ?? 0.4);
if (sdkVersion >= 0.4) features.push('stargate'); // until further notice, assume 'ibc-transfer'
const sdkVersion = Number(chain.codebase?.cosmos_sdk_version ?? 0.4); // stargate
features.push('ibc-transfer'); // until further notice, assume 'no-legacy-stdTx'
if (sdkVersion >= 0.4) features.push('stargate'); // no-legacy-stdTx
features.push('no-legacy-stdTx');
if (sdkVersion >= 0.43) features.push('no-legacy-stdTx'); // until further notice, assume 'ibc-transfer'
features.push('ibc-transfer'); // ibc-go
if (sdkVersion >= 0.43) features.push('ibc-go');
if (chain.codebase?.cosmwasm_enabled) {

@@ -28,0 +31,0 @@ features.push('cosmwasm');

{
"name": "@chain-registry/keplr",
"version": "0.4.4",
"version": "0.4.5",
"description": "Chain Registry to Keplr",

@@ -84,3 +84,3 @@ "author": "Dan Lynch <pyramation@gmail.com>",

},
"gitHead": "c1d6ebaef4b2bfeb836a9beb7e8f246ea0311b5e"
"gitHead": "aa7bab1ab4370b16d50260d2bc583ae7169d15ee"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc