Socket
Socket
Sign inDemoInstall

@keplr-wallet/cosmos

Package Overview
Dependencies
Maintainers
1
Versions
571
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keplr-wallet/cosmos - npm Package Compare versions

Comparing version 0.9.6 to 0.9.7

build/account/account.spec.d.ts

6

build/account/index.js

@@ -39,2 +39,8 @@ "use strict";

let value = "value" in obj ? obj.value : obj;
// If the chain modifies the account type, handle the case where the account type embeds the base account.
// (Actually, the only existent case is ethermint, and this is the line for handling ethermint)
const baseAccount = value.BaseAccount || value.baseAccount || value.base_account;
if (baseAccount) {
value = baseAccount;
}
// If the account is the vesting account that embeds the base vesting account,

@@ -41,0 +47,0 @@ // the actual base account exists under the base vesting account.

9

package.json
{
"name": "@keplr-wallet/cosmos",
"version": "0.9.6",
"version": "0.9.7",
"main": "build/index.js",

@@ -13,4 +13,5 @@ "author": "chainapsis",

"clean": "rm -rf node_modules; rm -rf build",
"build": "tsc; mkdir -p build/stargate/proto/generated && cp ./src/stargate/proto/generated/* ./build/stargate/proto/generated",
"dev": "tsc -w",
"build": "yarn build:proto && tsc",
"build:proto": "mkdir -p build/stargate/proto/generated && cp ./src/stargate/proto/generated/* ./build/stargate/proto/generated",
"dev": "yarn build:proto && tsc -w",
"test": "jest --passWithNoTests",

@@ -30,3 +31,3 @@ "lint-test": "eslint \"src/**/*\" && prettier --check \"src/**/*\"",

},
"gitHead": "e78b5b9d3a30e42a28cace30ed4b97a14bc92803"
"gitHead": "5295e9b866f01459b7809b54b6cf9c146b115721"
}

@@ -49,2 +49,10 @@ import { Int } from "@keplr-wallet/unit";

// If the chain modifies the account type, handle the case where the account type embeds the base account.
// (Actually, the only existent case is ethermint, and this is the line for handling ethermint)
const baseAccount =
value.BaseAccount || value.baseAccount || value.base_account;
if (baseAccount) {
value = baseAccount;
}
// If the account is the vesting account that embeds the base vesting account,

@@ -51,0 +59,0 @@ // the actual base account exists under the base vesting account.

Sorry, the diff of this file is not supported yet

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