@xlabs-libs/wallet-aggregator-cosmos
Advanced tools
Comparing version 0.0.1-alpha.14 to 0.0.1-alpha.15
@@ -253,4 +253,4 @@ "use strict"; | ||
const tm37Client = yield tendermint_rpc_1.Tendermint37Client.connect(rpc); | ||
const version = (yield tm37Client.status()).nodeInfo.version; | ||
if (version.startsWith("0.37.")) { | ||
const [_major, minor, _patch] = (yield tm37Client.status()).nodeInfo.version.split('.'); | ||
if (parseInt(minor, 10) >= 37) { | ||
tmClient = tm37Client; | ||
@@ -257,0 +257,0 @@ } |
@@ -213,4 +213,4 @@ import { SigningCosmWasmClient, } from "@cosmjs/cosmwasm-stargate"; | ||
const tm37Client = await Tendermint37Client.connect(rpc); | ||
const version = (await tm37Client.status()).nodeInfo.version; | ||
if (version.startsWith("0.37.")) { | ||
const [_major, minor, _patch] = (await tm37Client.status()).nodeInfo.version.split('.'); | ||
if (parseInt(minor, 10) >= 37) { | ||
tmClient = tm37Client; | ||
@@ -217,0 +217,0 @@ } |
{ | ||
"name": "@xlabs-libs/wallet-aggregator-cosmos", | ||
"repository": "https://github.com/XLabs/wallet-aggregator-sdk/tree/master/packages/wallets/cosmos", | ||
"version": "0.0.1-alpha.14", | ||
"version": "0.0.1-alpha.15", | ||
"license": "MIT", | ||
@@ -27,3 +27,3 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.18" | ||
"@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.21" | ||
}, | ||
@@ -30,0 +30,0 @@ "scripts": { |
@@ -322,4 +322,4 @@ import { AccountData, StdSignature } from "@cosmjs/amino"; | ||
const tm37Client = await Tendermint37Client.connect(rpc); | ||
const version = (await tm37Client.status()).nodeInfo.version; | ||
if (version.startsWith("0.37.")) { | ||
const [_major, minor, _patch] = (await tm37Client.status()).nodeInfo.version.split('.'); | ||
if (parseInt(minor, 10) >= 37) { | ||
tmClient = tm37Client; | ||
@@ -326,0 +326,0 @@ } else { |
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
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
189259