🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@bitgo/unspents

Package Overview
Dependencies
Maintainers
0
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitgo/unspents - npm Package Compare versions

Comparing version

to
0.47.11

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [0.47.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.10...@bitgo/unspents@0.47.11) (2024-10-04)
**Note:** Version bump only for package @bitgo/unspents
## [0.47.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.9...@bitgo/unspents@0.47.10) (2024-09-03)

@@ -8,0 +12,0 @@

2

dist/src/codes.d.ts
import * as tcomb from 'tcomb';
export declare type ChainCode = number;
export type ChainCode = number;
export declare class ErrorInvalidCode extends Error {

@@ -4,0 +4,0 @@ constructor(code: ChainCode);

/// <reference types="node" />
import * as utxolib from '@bitgo/utxo-lib';
import { bitgo } from '@bitgo/utxo-lib';
declare type ChainCode = bitgo.ChainCode;
type ChainCode = bitgo.ChainCode;
import { VirtualSizes } from './virtualSizes';

@@ -6,0 +6,0 @@ export { VirtualSizes };

@@ -5,6 +5,6 @@ /**

export declare function varSliceSize(someScript: Sized): number;
export declare type Sized = {
export type Sized = {
length: number;
};
export declare type Input = {
export type Input = {
script: Sized;

@@ -15,3 +15,3 @@ witness: Sized[];

export declare function getInputWeight(input: Input): number;
export declare type InputComponents = {
export type InputComponents = {
script: number[];

@@ -18,0 +18,0 @@ witness: number[];

import * as utxolib from '@bitgo/utxo-lib';
export declare type InputScriptType = utxolib.bitgo.outputScripts.ScriptType | 'taprootKeyPathSpend';
export type InputScriptType = utxolib.bitgo.outputScripts.ScriptType | 'taprootKeyPathSpend';
//# sourceMappingURL=txCombinations.d.ts.map

@@ -16,3 +16,3 @@ import * as unspents from '../src';

};
export declare type TestUnspentType = string | UnspentTypeOpReturn;
export type TestUnspentType = string | UnspentTypeOpReturn;
export declare class UnspentTypeOpReturn {

@@ -23,3 +23,3 @@ size: number;

}
export declare type InputScriptType = utxolib.bitgo.outputScripts.ScriptType | 'taprootKeyPathSpend';
export type InputScriptType = utxolib.bitgo.outputScripts.ScriptType | 'taprootKeyPathSpend';
export declare function getInputScriptTypes(): InputScriptType[];

@@ -26,0 +26,0 @@ /**

{
"name": "@bitgo/unspents",
"version": "0.47.10",
"version": "0.47.11",
"description": "Defines the chain codes used for different unspent types and methods to calculate bitcoin transaction sizes",

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

"dependencies": {
"@bitgo/utxo-lib": "^10.3.0",
"@bitgo/utxo-lib": "^11.0.0",
"lodash": "~4.17.21",

@@ -54,3 +54,3 @@ "tcomb": "~3.2.29",

},
"gitHead": "54e39bfd304bc375f9669bddefe64d8d2bc5580e"
"gitHead": "46d7ad685ea88ad47b4f9e7dc4f45eee08515dc0"
}

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