Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bitgo-beta/utxo-lib

Package Overview
Dependencies
Maintainers
2
Versions
1103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitgo-beta/utxo-lib - npm Package Compare versions

Comparing version 2.4.2-beta.54 to 2.4.2-beta.55

4

dist/src/bitgo/Unspent.d.ts

@@ -78,3 +78,5 @@ /// <reference types="node" />

*/
export declare function unspentSum<TNumber extends number | bigint>(unspents: Unspent<TNumber>[], amountType?: 'number' | 'bigint'): TNumber;
export declare function unspentSum<TNumber extends number | bigint>(unspents: {
value: TNumber;
}[], amountType?: 'number' | 'bigint'): TNumber;
//# sourceMappingURL=Unspent.d.ts.map

@@ -95,2 +95,2 @@ "use strict";

exports.unspentSum = unspentSum;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVW5zcGVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9iaXRnby9VbnNwZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUVBLHdDQUE0QztBQTJCNUMsU0FBZ0IsbUJBQW1CLENBQ2pDLENBQW1CO0lBRW5CLE9BQU8sTUFBTSxDQUFDLFFBQVEsQ0FBRSxDQUFnQyxDQUFDLE1BQU0sQ0FBQyxDQUFDO0FBQ25FLENBQUM7QUFKRCxrREFJQztBQUVEOztHQUVHO0FBQ0gsU0FBZ0IsUUFBUSxDQUFrQyxDQUFtQixFQUFFLE9BQWdCO0lBQzdGLE9BQU87UUFDTCxNQUFNLEVBQUUsd0JBQWMsQ0FBQyxDQUFDLENBQUMsT0FBTyxFQUFFLE9BQU8sQ0FBQztRQUMxQyxLQUFLLEVBQUUsQ0FBQyxDQUFDLEtBQUs7S0FDZixDQUFDO0FBQ0osQ0FBQztBQUxELDRCQUtDO0FBRUQ7OztHQU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UoKHN1bSwgdSkgPT4gc3VtICsgKHUudmFsdWUgYXMgYmlnaW50KSwgQmlnSW50KDApKSBhcyBUTnVtYmVyO1xuICB9IGVsc2Uge1xuICAgIGNvbnN0IHN1bSA9IHVuc3BlbnRzLnJlZHVjZSgoc3VtLCB1KSA9PiBzdW0gKyAodS52YWx1ZSBhcyBudW1iZXIpLCBOdW1iZXIoMCkpO1xuICAgIGlmICghTnVtYmVyLmlzU2FmZUludGVnZXIoc3VtKSkge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCd1bnNwZW50IHN1bSBpcyBub3QgYSBzYWZlIGludGVnZXIgbnVtYmVyLCBjb25zaWRlciB1c2luZyBiaWdpbnQnKTtcbiAgICB9XG4gICAgcmV0dXJuIHN1bSBhcyBUTnVtYmVyO1xuICB9XG59XG4iXX0=
{
"name": "@bitgo-beta/utxo-lib",
"version": "2.4.2-beta.54",
"version": "2.4.2-beta.55",
"description": "Client-side Bitcoin JavaScript library",

@@ -49,3 +49,3 @@ "main": "./dist/src/index.js",

"dependencies": {
"@bitgo-beta/blake2b": "3.0.4-beta.54",
"@bitgo-beta/blake2b": "3.0.4-beta.55",
"@noble/secp256k1": "1.6.3",

@@ -85,3 +85,3 @@ "bip174": "npm:@bitgo/bip174@3.0.0",

"license": "MIT",
"gitHead": "efb431e522aa5ae38bc5d897a94c331569508fea"
"gitHead": "3da47ed64f9ad0b515ef827d0364eb12f8ffcb01"
}

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