New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@coinmasters/toolbox-utxo

Package Overview
Dependencies
Maintainers
2
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coinmasters/toolbox-utxo - npm Package Compare versions

Comparing version 11.0.1 to 11.0.2

dist/index-ca398625.js

2

dist/index.es.js

@@ -1,2 +0,2 @@

import { n as e, o as t, B as T, D as i, p as l, I as p, L as u, M as r, O as x, w as S, T as E, U as O, Z as b, u as d, y as c, v as g, t as n, z, C as A, A as C, x as D, G as H, q as m, E as B, H as R, F as _ } from "./index-c9c4815d.js";
import { n as e, o as t, B as T, D as i, p as l, I as p, L as u, M as r, O as x, w as S, T as E, U as O, Z as b, u as d, y as c, v as g, t as n, z, C as A, A as C, x as D, G as H, q as m, E as B, H as R, F as _ } from "./index-ca398625.js";
import "@coinmasters/helpers";

@@ -3,0 +3,0 @@ export {

@@ -13,3 +13,3 @@ {

"tiny-secp256k1": "1.1.6",
"@coinmasters/types": "4.7.1"
"@coinmasters/types": "4.7.2"
},

@@ -25,4 +25,4 @@ "description": "THORSwap utxo",

"vitest": "0.34.6",
"@internal/config": "2.7.1",
"@coinmasters/helpers": "11.0.1"
"@internal/config": "2.7.2",
"@coinmasters/helpers": "11.0.2"
},

@@ -44,3 +44,3 @@ "eslintConfig": {

"peerDependencies": {
"@coinmasters/helpers": "11.0.1"
"@coinmasters/helpers": "11.0.2"
},

@@ -59,3 +59,3 @@ "homepage": "https://github.com/thorswap/SwapKit",

"types": "./dist/index.d.ts",
"version": "11.0.1",
"version": "11.0.2",
"scripts": {

@@ -62,0 +62,0 @@ "build": "vite build",

@@ -140,3 +140,3 @@ import { AssetValue, SwapKitNumber } from '@coinmasters/helpers';

const getBalance = async ({ pubkeys, chain, apiClient }: { pubkeys: any[] } & any) => {
//console.log('getBalance pubkeys: ', pubkeys);
console.log('getBalance pubkeys: ', pubkeys);
//legacy support

@@ -159,10 +159,11 @@ if (typeof pubkeys === 'string') {

let balance = await getPubkeyBalance(pubkey, type, apiClient);
console.log('PRE BaseUTXO getPubkeyBalance balance: ', balance);
if (typeof balance === 'object') balance = 0;
//console.log('BaseUTXO getPubkeyBalance balance: ', balance);
console.log('POST BaseUTXO getPubkeyBalance balance: ', balance);
totalBalance = totalBalance + balance;
}
totalBalance = totalBalance / 100000000;
//console.log(`BaseUTXO totalBalance:`, totalBalance);
console.log(`BaseUTXO totalBalance:`, totalBalance);
const asset = await AssetValue.fromChainOrSignature(chain, totalBalance);
//console.log('BaseUTXO asset: ', asset);
console.log('BaseUTXO asset: ', asset);
return [asset];

@@ -169,0 +170,0 @@ };

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc