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

@thorwallet/xchain-bitcoin

Package Overview
Dependencies
Maintainers
2
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thorwallet/xchain-bitcoin - npm Package Compare versions

Comparing version 0.0.1-alpha.911 to 0.0.1-alpha.914

11

lib/client.d.ts
import { TxHistoryParams, TxsPage, Address, XChainClient, Tx, TxParams, TxHash, Balance, Network, Fees, XChainClientParams } from '@thorwallet/xchain-client';
import { FeesWithRates, FeeRate, FeeRates } from './types/client-types';
import { FeesWithRates, FeeRate, FeeRates, Signature } from './types/client-types';
/**

@@ -187,2 +187,11 @@ * BitcoinClient Interface

/**
* Sign an arbitrary string message.
*
*
* @returns {Signature} The current address.
*
* @throws {"Phrase must be provided"} Thrown if phrase has not been set before.
*/
signMessage: (msg: string) => Promise<Signature>;
/**
* Transfer BTC.

@@ -189,0 +198,0 @@ *

@@ -22,1 +22,5 @@ import { Address, FeeOptionKey, Fees, Network } from '@thorwallet/xchain-client';

};
export declare type Signature = {
signature: string;
pubKey: string;
};

10

package.json
{
"name": "@thorwallet/xchain-bitcoin",
"version": "0.0.1-alpha.911+8fe9224",
"version": "0.0.1-alpha.914+57de1f7",
"description": "Custom Bitcoin client and utilities used by XChainJS clients",

@@ -35,5 +35,5 @@ "keywords": [

"devDependencies": {
"@thorwallet/xchain-client": "0.0.1-alpha.911+8fe9224",
"@thorwallet/xchain-crypto": "0.0.1-alpha.911+8fe9224",
"@thorwallet/xchain-util": "0.0.1-alpha.911+8fe9224",
"@thorwallet/xchain-client": "0.0.1-alpha.914+57de1f7",
"@thorwallet/xchain-crypto": "0.0.1-alpha.914+57de1f7",
"@thorwallet/xchain-util": "0.0.1-alpha.914+57de1f7",
"@types/bitcoinjs-lib": "^5.0.0",

@@ -59,3 +59,3 @@ "@types/wif": "^2.0.1",

},
"gitHead": "8fe922499f18216614fef9bf207444009829f0e3"
"gitHead": "57de1f79fb00049f93534a32735dd75ab6235694"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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