Socket
Socket
Sign inDemoInstall

@keplr-wallet/stores

Package Overview
Dependencies
15
Maintainers
1
Versions
533
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.12.83 to 0.12.84-rc.0

4

build/query/cosmos/staking/delegations.js

@@ -82,3 +82,5 @@ "use strict";

}
return this.response.data.delegation_responses;
return this.response.data.delegation_responses.filter((del) => {
return new unit_1.Int(del.balance.amount).gt(new unit_1.Int(0));
});
}

@@ -85,0 +87,0 @@ }

@@ -30,10 +30,8 @@ import { CoinPrimitive } from "../../../common";

validator_address: string;
entries: [
{
creation_height: string;
completion_time: string;
initial_balance: string;
balance: string;
}
];
entries: {
creation_height: string;
completion_time: string;
initial_balance: string;
balance: string;
}[];
};

@@ -40,0 +38,0 @@ export type Validator = {

@@ -77,3 +77,11 @@ "use strict";

}
return this.response.data.unbonding_responses;
const res = [];
for (const unbonding of this.response.data.unbonding_responses) {
const u = Object.assign({}, unbonding);
u.entries = u.entries.filter((entry) => {
return new unit_1.Int(entry.balance).gt(new unit_1.Int(0));
});
res.push(u);
}
return res;
}

@@ -80,0 +88,0 @@ }

{
"name": "@keplr-wallet/stores",
"version": "0.12.83",
"version": "0.12.84-rc.0",
"main": "build/index.js",

@@ -19,12 +19,12 @@ "author": "chainapsis",

"devDependencies": {
"@keplr-wallet/provider-mock": "0.12.83"
"@keplr-wallet/provider-mock": "0.12.84-rc.0"
},
"dependencies": {
"@keplr-wallet/common": "0.12.83",
"@keplr-wallet/cosmos": "0.12.83",
"@keplr-wallet/crypto": "0.12.83",
"@keplr-wallet/proto-types": "0.12.83",
"@keplr-wallet/simple-fetch": "0.12.83",
"@keplr-wallet/types": "0.12.83",
"@keplr-wallet/unit": "0.12.83",
"@keplr-wallet/common": "0.12.84-rc.0",
"@keplr-wallet/cosmos": "0.12.84-rc.0",
"@keplr-wallet/crypto": "0.12.84-rc.0",
"@keplr-wallet/proto-types": "0.12.84-rc.0",
"@keplr-wallet/simple-fetch": "0.12.84-rc.0",
"@keplr-wallet/types": "0.12.84-rc.0",
"@keplr-wallet/unit": "0.12.84-rc.0",
"buffer": "^6.0.3",

@@ -34,8 +34,10 @@ "deepmerge": "^4.2.2",

"long": "^4.0.0",
"mobx": "^6.1.7",
"mobx-utils": "^6.0.3",
"p-queue": "^6.6.2",
"utility-types": "^3.10.0"
},
"gitHead": "ea9f2a9a26b5fa171b1a3b96217ef649455851c5"
"peerDependencies": {
"mobx": "^6",
"mobx-utils": "^6"
},
"gitHead": "a2119ee929e68da6d424fe3935c87f1f7df9a47f"
}

@@ -102,3 +102,5 @@ import {

return this.response.data.delegation_responses;
return this.response.data.delegation_responses.filter((del) => {
return new Int(del.balance.amount).gt(new Int(0));
});
}

@@ -105,0 +107,0 @@

@@ -39,10 +39,8 @@ import { CoinPrimitive } from "../../../common";

validator_address: string;
entries: [
{
creation_height: string;
completion_time: string;
initial_balance: string;
balance: string;
}
];
entries: {
creation_height: string;
completion_time: string;
initial_balance: string;
balance: string;
}[];
};

@@ -49,0 +47,0 @@

@@ -112,3 +112,15 @@ import {

return this.response.data.unbonding_responses;
const res: UnbondingDelegation[] = [];
for (const unbonding of this.response.data.unbonding_responses) {
const u = {
...unbonding,
};
u.entries = u.entries.filter((entry) => {
return new Int(entry.balance).gt(new Int(0));
});
res.push(u);
}
return res;
}

@@ -115,0 +127,0 @@ }

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

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

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc