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

@gobob/bob-sdk

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gobob/bob-sdk - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

3

dist/esplora.d.ts

@@ -71,2 +71,4 @@ export declare const MAINNET_ESPLORA_BASE_PATH = "https://btc-mainnet.gobob.xyz";

}
export type ConfirmationTarget = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 144 | 504 | 1008;
export type EsploraFeeEstimates = Record<ConfirmationTarget, number>;
export declare class EsploraClient {

@@ -85,2 +87,3 @@ private basePath;

getFeeEstimate(confirmationTarget: number): Promise<number>;
getFeeEstimates(): Promise<EsploraFeeEstimates>;
getAddressUtxos(address: string, confirmed?: boolean): Promise<Array<UTXO>>;

@@ -87,0 +90,0 @@ broadcastTx(txHex: string): Promise<string>;

@@ -63,2 +63,5 @@ "use strict";

}
async getFeeEstimates() {
return this.getJson(`${this.basePath}/fee-estimates`);
}
async getAddressUtxos(address, confirmed) {

@@ -65,0 +68,0 @@ const response = await this.getJson(`${this.basePath}/address/${address}/utxo`);

2

package.json
{
"name": "@gobob/bob-sdk",
"version": "3.0.2",
"version": "3.0.3",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

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